From owner-freebsd-questions Fri Oct 25 00:20:19 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA00413 for questions-outgoing; Fri, 25 Oct 1996 00:20:19 -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 AAA00408 for ; Fri, 25 Oct 1996 00:20:15 -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 DAA10079; Fri, 25 Oct 1996 03:20:24 -0400 (EDT) Received: from localhost (ac199@localhost) by james.freenet.hamilton.on.ca (8.7.5/8.7.3) with SMTP id DAA16556; Fri, 25 Oct 1996 03:22:14 -0400 (EDT) X-Authentication-Warning: james.freenet.hamilton.on.ca: ac199 owned process doing -bs Date: Fri, 25 Oct 1996 03:22:14 -0400 (EDT) From: Tim Vanderhoek Reply-To: 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 Fri, 25 Oct 1996, Tim Vanderhoek wrote: > > > > 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_ ??? ;) > > Yikes, I was on the wrong screen window! Was on the SUN machine > instead of the FreeBSD machine! ;) Hmm... I seem to recall SysV supporting ^-, too, so SUN must be the odd man out... > > bash$ stty discard ^j > > bash$ stty -a | grep discard > > cchars: discard = ^J; dsusp = ^Y; eof = ^D; eol = ; > > This is supposed to be the case... Just resetting discard to something resembling its initial state.... Standard test procedure, as I'm sure you know... :) > Hmmm, now why does ^- do the same thing as undef? Can't you use > CTRL and - at all? ;) Because that's what the manpage says, and if that's what the manpage says...! :) As for using CTRL and -.... Well, let's just say I wrote a quick little hack to see what happened if I set VSUSP to ^- and quickly found out I could no longer press .. :) `stty -f /dev/ttyv0 -a' did report that SUSP character to be ^M, though, for what it's worth! :) > > bash$ echo 'Also, I seem to remember saying something about `undef'\''...' > > Also, I seem to remember saying something about `undef'... > > Hmmm, I thought I was the one who said that? ;) Well, I sorta said `stty discard undef' would set discard to `u'... -- Outnumbered? Maybe. Outspoken? Never! tIM...HOEk