From owner-freebsd-arch@FreeBSD.ORG Thu Oct 6 11:21:10 2005 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8B6416A41F for ; Thu, 6 Oct 2005 11:21:10 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81F9243D45 for ; Thu, 6 Oct 2005 11:21:09 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.3/8.13.3) with ESMTP id j96BL6hE077036; Thu, 6 Oct 2005 15:21:06 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.3/8.13.3/Submit) id j96BL56P077035; Thu, 6 Oct 2005 15:21:05 +0400 (MSD) (envelope-from yar) Date: Thu, 6 Oct 2005 15:21:05 +0400 From: Yar Tikhiy To: Poul-Henning Kamp Message-ID: <20051006112105.GA76625@comp.chem.msu.su> References: <20051006085716.GB66584@comp.chem.msu.su> <10436.1128594725@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10436.1128594725@critter.freebsd.dk> User-Agent: Mutt/1.5.9i Cc: arch@freebsd.org Subject: Re: Any reason for no ostrip? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 11:21:10 -0000 On Thu, Oct 06, 2005 at 12:32:05PM +0200, Poul-Henning Kamp wrote: > In message <20051006085716.GB66584@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