From owner-freebsd-questions Thu Oct 24 22:22:33 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA22090 for questions-outgoing; Thu, 24 Oct 1996 22:22:33 -0700 (PDT) Received: from freenet.hamilton.on.ca (main.freenet.hamilton.on.ca [199.212.94.65]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA22085 for ; Thu, 24 Oct 1996 22:22:28 -0700 (PDT) Received: from james.freenet.hamilton.on.ca (james.freenet.hamilton.on.ca [199.212.94.66]) by freenet.hamilton.on.ca (8.7.5/8.7.3) with ESMTP id BAA07001; Fri, 25 Oct 1996 01:22:27 -0400 (EDT) Received: from localhost (ac199@localhost) by james.freenet.hamilton.on.ca (8.7.5/8.7.3) with SMTP id BAA09435; Fri, 25 Oct 1996 01:24:16 -0400 (EDT) X-Authentication-Warning: james.freenet.hamilton.on.ca: ac199 owned process doing -bs Date: Fri, 25 Oct 1996 01:24:15 -0400 (EDT) From: Tim Vanderhoek To: Veggy Vinny cc: Tim Vanderhoek , questions@FreeBSD.org Subject: Re: quick question 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 Thu, 24 Oct 1996, Veggy Vinny wrote: > On Thu, 24 Oct 1996, Tim Vanderhoek wrote: > > > >From where I'm sitting, that seems to set discard to `u'.... ;) > > You're right but I forgot what someone said on the list as to > set it to nothing at all since ^- sets it to - ;) Are you _SURE_ ??? ;) bash$ stty -a | grep discard cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; bash$ stty discard undef bash$ stty -a | grep discard cchars: discard = ; dsusp = ^Y; eof = ^D; eol = ; bash$ echo Hmmm... That did work.... Hmmm... That did work.... bash$ stty discard ^j bash$ stty -a | grep discard cchars: discard = ^J; dsusp = ^Y; eof = ^D; eol = ; bash$ stty discard ^- bash$ stty -a | grep discard cchars: discard = ; dsusp = ^Y; eof = ^D; eol = ; bash$ echo 'I'\''d quote the manpage to you, but that would be mean! ;)' I'd quote the manpage to you, but that would be mean! ;) bash$ echo 'Also, I seem to remember saying something about `undef'\''...' Also, I seem to remember saying something about `undef'... > > For even more fun, try `stty discard def' and then try unsetting it > > without switching vtys or logging out! ;) (It _can_ be done! And no, > > `reset' doesn't do it) > > Hmmm, there is only one way to unset it and I forgot what the word > after stty discard was ;) Well, the idea is that `stty discard def' will set your discard character to `d', which makes it hard to type `stty discard def' since it's impossible to type a `d'.... :) -- Outnumbered? Maybe. Outspoken? Never! tIM...HOEk