Any reason for no ostrip?

Yar Tikhiy yar at comp.chem.msu.su
Thu Oct 6 04:21:10 PDT 2005


On Thu, Oct 06, 2005 at 12:32:05PM +0200, Poul-Henning Kamp wrote:
> In message <20051006085716.GB66584 at comp.chem.msu.su>, Yar Tikhiy writes:
> >All,
> >
> >I've been missing the ostrip terminal option for quite a while.
> >Frankly, it is of use mostly to Cyrillic users because our main
> >Unix encoding, KOI8, has a funny property: It can be readable if
> >mapped to US-ASCII by stripping the high bit, so if you happen to
> >land at a terminal w/o Cyrillic support, you still can read your
> >mail if you manage to strip the 8th bit off.  Unfortunately, far
> >from all terminals, hardware as well as software, have an option
> >to strip the 8th bit.  Since we have istrip already, adding ostrip
> >would be just complementary.  Any objections?
> 
> Couldn't you get the same result with cs7 and space parity ?

I failed to find how to set space parity with stty or termios,
but cs7 and cstopb seem just ignored when working over pty (ssh)
--I still get 8-bit chars on my end of the connection.  I've had
no chance to check this with a serial connection yet, but pty is
most interesting today anyway.

-- 
Yar


More information about the freebsd-arch mailing list