Page 1 of 1

Fossapup64 9.5: Xdialog Still Problematic?

Posted: Sat Aug 26, 2023 1:05 pm
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.