tags 426328 = pending
thankyou

Hi,

I've now implemented a fix on my own to make the program's behaviour
match the documentation. Plain '-q -ls' tells you only the existence
and number of non-dead screens (9 for no sockets at all, 10 for
some sockets (which may be dead) and +1 for each non-dead) - all
combinations involving '-r' or '-x' really try to attach to each
socket they find and return the number of successful attempts + 10
(so -qdr -ls is the same as -qx -ls because it doesn't matter for
testing purposes if the other display would be detached).

Oh, and a side note: the output of 'screen -ls -q' is correct:

] [EMAIL PROTECTED]:~$ screen -ls
] There is a screen on:
]         2395.pts-7.hejre        (Attached)
] 1 Socket in /var/run/screen/S-jcn.
] 
] [EMAIL PROTECTED]:~$ screen -ls -q
] No Sockets found in /var/run/screen/S-jcn.
] 
] [EMAIL PROTECTED]:~$ 

Maybe it should be reworded to "no *matching* sockets found"...
the manpage says about the '-ls' option "...or the specified
parameter, if any", i.e. -ls takes a match parameter just like '-r':

] [EMAIL PROTECTED]:~$ screen -ls jcn/ -q
] [EMAIL PROTECTED]:~$ 

(I'll fix the synopsis info for -ls in one of my future uploads.)


Regards,

Jan

Attachment: signature.asc
Description: Digital signature

Reply via email to