[comp.unix.questions] stty SANE flag.

Herndon@HI-MULTICS.arpa (04/13/87)

Does anybody know exactly which terminal flags are set by the "sane"
argument of the "stty" command.  I'm using AT&T System V r2.0.  My
documentation says nothing more than, "...  SANE takes care of most of
the other flags that need to be set so that the processor and terminal
are communicating in a rational fashion."

The command that I am using is:

    stty sane < /dev/ttyxx

I also am trying to use the sane argument in my gettydefs file.

Any all help is appreciated. 

                                               - Bill

------------------------------------------------------------------

William R. Herndon                Secure Computing Technology Center
                                  Honeywell


ARPA:  herndon@hi-multics.arpa
AT&T:  (612) 782-7108

jim@forgen.UUCP (Jim Hood) (04/16/87)

In article <6856@brl-adm.ARPA>, Herndon@HI-MULTICS.arpa writes:
> Does anybody know exactly which terminal flags are set by the "sane"
> argument of the "stty" command.  I'm using AT&T System V r2.0.  My
> documentation says nothing more than, "...  SANE takes care of most of
> the other flags that need to be set so that the processor and terminal
> are communicating in a rational fashion."

I'm running VENIX 2.0 (SysV.2) and the  STTY(1) man page of my documentation
says the following about "sane":

	sane		resets all options to some reasonable values.
			Specifically, it sets the options to: brkint,
			ignpar, istrip, icrnl, ixon, opost, onclr,
			cread, clocal, isig, icanon, echo, echoe, echok.

--
Jim Hood
{decvax!utcsri, ihnp4!utzoo, seismo!mnetor, watmath}!lsuc!forgen!jim