Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 1998 01:51:50 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Matt Behrens <matt@zigg.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Weird messages from fmt called by vi
Message-ID:  <Pine.BSF.4.03.9811070150430.6949-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.BSF.4.02A.9811021007130.11590-100000@megaweapon.zigg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Nov 1998, Matt Behrens wrote:

> I get the following when I push <Esc>!}fmt<Enter> in vi:
> 
> stty: stdin isn't a terminal
> mesg: ttyname: Inappropriate ioctl for device
> 
> Any ideas?  It seemed to have worked before (maybe a recent make
> world broke it?)

No, you have 'stty' and 'mesg' commands that aren't masked out for
non-interactive sessions.  Take a look at the stock .cshrc; note the line 

if ($?prompt) then

and the comment below it.  Move your stty and mesg commands into that if
block and it should be quiet.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9811070150430.6949-100000>