[OpenIndiana-discuss] stty source code
Reginald Beardsley
pulaskite at yahoo.com
Wed Sep 5 21:52:06 UTC 2012
--- On Wed, 9/5/12, James Carlson <carlsonj at workingcode.com> wrote:
> From: James Carlson <carlsonj at workingcode.com>
> Subject: Re: [OpenIndiana-discuss] stty source code
> To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
> Date: Wednesday, September 5, 2012, 1:26 PM
> Reginald Beardsley wrote:
> > This is an example of one symptom:
> >
> > oi%rhb {9} stty -a | egrep opost
> > opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
>
> > oi%rhb {10} stty -onlcr
> > oi%rhb {11} stty -a | egrep opost
> > opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
>
[snip]
>
> As an experiment, try this:
>
> stty -onlcr ; stty -a
>
> You may well find that the output is jagged (due to the lack
> of
> "onlcr"), and that the output includes "-onlcr".
Well, well...
Apparently /bin/tcsh "helpfully" resets certain of the tty modes. Can't trust a user to know what they need. /bin/sh and /bin/csh behave as expected.
What a staggering waste of time. Command line retrieval and editing is nice, but not at this price.
Sigh...
Reg
More information about the OpenIndiana-discuss
mailing list