Article View: comp.bugs.4bsd
Article #215rlogin -8 uses RAW rather than CBREAK mode
From: Barry Margolin
Date: Fri, 21 Dec 1990 00:16
Date: Fri, 21 Dec 1990 00:16
22 lines
1495 bytes
1495 bytes
I ran into this problem on a Sun, but I notice that the 4.3bsd source has
the same thing.
Normally, rlogin puts the local terminal in CBREAK mode and disables all
the local control characters except the stop and start character (normally
^S and ^Q). During the session it disables and enables these characters
when it receives TIOC_NOSTOP and TIOC_DOSTOP out-of-band messages from the
remote host.
However, when the "-8" option is supplied, rlogin instead puts the local
terminal in RAW mode, leaves ^S/^Q set as the stop/start characters, and
ignores the TIOC_DOSTOP and TIOC_NOSTOP messages. This means that the
remote host must implement the stop/start processing. Why should this be
dependent on 8-bit mode? The only explanation I can think of is that 8-bit
mode was envisioned to support binary file transfers. However, the remote
system will still have to disable stop/start, which will still result in
the out-of-band message, so there should be no problem.
--
Barry Margolin, Thinking Machines Corp.
barmar@think.com
{uunet,harvard}!think!barmar
Technical Details
Message-ID:
<1990Dec21.001643.14510@Think.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!think.com!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!think.com!news From: barmar@think (Barry Margolin) Newsgroups: comp.bugs.4bsd Subject: rlogin -8 uses RAW rather than CBREAK mode Message-ID: <1990Dec21.001643.14510@Think.COM> Date: 21 Dec 90 00:16:43 GMT Sender: news@Think.COM Organization: Thinking Machines Corporation, Cambridge MA, USA Lines: 22