Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!wivax!decvax!decwrl!flairvax!ellis
From: ellis@flairvax.UUCP
Newsgroups: net.unix-wizards
Subject: Re: raw/cooked single char i/o
Message-ID: <135@flairvax.UUCP>
Date: Wed, 15-Jun-83 15:43:00 EDT
Article-I.D.: flairvax.135
Posted: Wed Jun 15 15:43:00 1983
Date-Received: Thu, 16-Jun-83 21:18:15 EDT
References: sri-arpa.2119
Lines: 15


    While we're on this topic, does anyone out there have any idea
    how to switch back & forth between 7-bit & 8-bit character input
    modes WITHOUT flushing queued input characters ?

    Currently, switching to RAW mode is the only way to get all 8 bits,
    and doing this (even if you use TIOCSETN) causes input flushing.

    This is all for a program that reads from a keyboard with a META-shift
    key (which sets the 'parity' bit) and then executes programs expecting
    the normal UNIX tty environment. Currently, all type-ahead is lost.

    I realize that several kernel mods would be required to do what I want..

    Michael Ellis - Fairchild AI Lab - Palo Alto CA - (415) 858 4270