From owner-freebsd-questions Thu Apr 18 01:38:27 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA22407 for questions-outgoing; Thu, 18 Apr 1996 01:38:27 -0700 (PDT) Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.43.52]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA22398 for ; Thu, 18 Apr 1996 01:38:23 -0700 (PDT) Received: (from richardc@localhost) by soda.CSUA.Berkeley.EDU (8.6.12/8.6.12) id BAA14771; Thu, 18 Apr 1996 01:38:05 -0700 Date: Thu, 18 Apr 1996 01:38:04 -0700 (PDT) From: Richard Chang To: Marc Ramirez cc: questions@FreeBSD.org Subject: Re: Keyboard bindings In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 17 Apr 1996, Marc Ramirez wrote: > On Wed, 17 Apr 1996, Richard Chang wrote: > > > Hmmm, so is ^O the only discard character? > > No, you use the stty program to set the discard character (or any other > special control characters for that matter). For instance, > > $ stty discard ^a > > sets the discard character to Control-A, > > $ stty discard ^o > > sets it to Control-O, > > $ stty discard 7 > > sets it to '7', and > > $ stty discard undef > > undefines it (after which there is no discard key). To see what other > control characters you can set, do 'stty -a' and look under the "cchars:" > section. > > > Also, do you mean that > > you can just hit ^O and then another key and ^O will work correctly? > > Well, you hit the discard key and it works correctly. :) If you do the > 'stty discard undef', there is no discard key. > > > Hmmm, what is discard anyways? > > I think at this point you'll just have to play with it to get a feel for > it. :) I can also suggest the stty(1) and termios(4) man pages for terse > but fairly complete explanations of what is going on. I just read the termios man page but what do they mean by flushing the terminal output? Richard