Fossapup64 9.5: Xdialog Still Problematic?

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
ozboomer
Posts: 92
Joined: Sun Dec 20, 2020 12:49 am
Location: Blackburn, Australia
Has thanked: 10 times
Been thanked: 8 times

Fossapup64 9.5: Xdialog Still Problematic?

Post by ozboomer »

Hi, again...

I'm continuing to work my way through transitioning to Fossapup... and have fallen over a problem with Xdialog's --logbox not working.

The issue was identified (at least) back in v9.0.3 (see the old forum post: https://oldforum.puppylinux.com/viewtop ... &start=161)... and I'm seeing it again now in a few Puppies, specifically: Fossapup64 9.5 64-bit, Slacko 6.3.2 32-bit, Xenialpup 7.5 64-bit & Bionicpup 8.0 64-bit.

Is it something that has been resolved or would I do better to use another method to actively monitor log files?

A simple script I've been using to test things out:

Code: Select all

#!/bin/sh
# xdfault - check operation of 'XDialog --logbox' under various Puppies
# jjg, 26-Aug-2023
#
# Fossapup64 9.5 64-bit = FAIL
# Slacko 6.3.2 32-bit = OK
# Xenialpup 7.5 64-bit = OK
# Bionicpup 8.0 64-bit = OK
#
# Note: All XDialog versions are 2.3.1
#

MYPROC=`basename $0`
LOGFILE=/tmp/$MYPROC.log
Xdialog --title "$MYPROC: Watching $LOGFILE" \
        --buttons-style text \
        --no-cancel \
        --logbox "$LOGFILE" 20 70 &
           
for i in {1..5}
do
   echo `date +%r`: Iteration: $i
   echo ---------- MARKER `date +%r` ---------- >> $LOGFILE
   ls -l ~ >> $LOGFILE
   echo ---------- END MARKER `date +%r` ---------- >> $LOGFILE
   echo " " >> $LOGFILE
   sleep 5

done       
           
echo `date +%r`: Exiting... | tee -a $LOGFILE

exit 0

# [eof]

Thanks.

Daily Use Puppies: F96-CE (migrating), Xenial64 7.5, Slacko 6.3.2... Proud Puppy enthusiast since 2004
C, Perl, cmd/DCL/bash... for sysadmin, CLI tools... under DOS, Windoze, VMS, Linux... on PC, VAX... for 45+ years... :roll:

Post Reply

Return to “Users”