[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(SSTATUS TTY ...)
- To: SOLEY at MIT-MC
- Subject: (SSTATUS TTY ...)
- From: Kent M. Pitman <KMP at MIT-MC>
- Date: Mon, 13 Apr 81 23:52:00 GMT
- Cc: BUG-LISP at MIT-MC, BUG-NIL at MIT-MC, NILE at MIT-MC
- Original-date: 13 April 1981 18:52-EST
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