[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(SSTATUS TTY ...)



On ITS, you should use (SYSCALL n 'TTYSET TYI x y z) as in LIBDOC;TTY >
since (SSTATUS TTY ...) or (STATUS TTY ...) -- I forget -- has the severe
`bug' that if the job does not have the TTY, it simply does nothing. It 
does not hang waiting for the job to get the TTY, but rather just returns
NIL. (STATUS TTY) is, sadly, used all over as a predicate to tell if a job
has the TTY. This is a total loss, but...
On non-ITS, I guess you have to work out the LAP for a jsys or suffer with
([S]STATUS TTY ...). At least on those sites, people don't tend to control-P
their jobs so won't be as inclined to lose.
-kmp