| To: | <scsh-bugs@zurich.ai.mit.edu> |
|---|---|
| Subject: | Output to control terminal |
| From: | RT Happe <rthappe@mathematik.uni-freiburg.de> |
| Date: | Fri, 12 Jul 2002 19:26:57 +0200 (CEST) |
I cannot write to the control terminal opened as input file, then dupped.
[ Linux PC, kernel 2.2.17 ]
Welcome to scsh 0.6.2 (Gambit-C 4.0) Type ,? for help.
> (close-after (dup->outport (open-input-file (control-tty-file-name)))
(lambda (op) (display 'beep op)))
Error: exception
os-error
(channel-maybe-write '#{Byte-vector 98 101 101 112 0 0 ---} 0 4
'#{Output-channel 4} "Bad file descriptor")
rthappe
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Problems compiling SCSH under Cygwin, Martin Gasbichler |
|---|---|
| Next by Date: | Re: Problems compiling SCSH under Cygwin, Pedro Pinto |
| Previous by Thread: | Problems compiling SCSH under Cygwin, Pedro Pinto |
| Next by Thread: | Re: Output to control terminal, Martin Gasbichler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |