Path: utzoo!utgpu!water!watmath!clyde!rutgers!uwvax!oddjob!gargoyle!ihnp4!occrsh!occrsh.ATT.COM!rjd From: rjd@occrsh.ATT.COM Newsgroups: comp.sys.att Subject: Re: SANE Values Message-ID: <144800018@occrsh.ATT.COM> Date: 26 Jan 88 15:53:00 GMT References: <145@mccc.UUCP> Lines: 29 Nf-ID: #R:mccc.UUCP:-14500:occrsh.ATT.COM:144800018:000:1027 Nf-From: occrsh.ATT.COM!rjd Jan 26 09:53:00 1988 >SysVr3.0 on a 3B2/400 > >My docs for stty(1) say: > > "sane resets all modes to some reasonable values." > >But, nowhere does it say what those reasonable values are, nor why they >are considered reasonable. Can anyone help? Thanks. Ahh, this is an EASY one (at least the first question - your guess is as good as mine as to the reason why).... # stty sane # stty -a speed 9600 baud; line = 0; intr = DEL; quit = ^|; erase = #; kill = @; eof = ^d; eol = ^`; swtch = ^` parenb -parodd cs7 -cstopb hupcl cread -clocal -loblk -ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc ixon ixany -ixoff isig icanon -xcase echo -echoe echok -echonl -noflsh opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel It will not change your baud rate, of course, and possibly other things are also untouched, but this was executed on a 3B2 model 400 running 3.1 (which should be the same sane defaults as any other version of AT&T system V). But really, though, you could have done this yourself..... Randy