From owner-freebsd-questions Sat Nov 7 01:52:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA15533 for freebsd-questions-outgoing; Sat, 7 Nov 1998 01:52:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA15527 for ; Sat, 7 Nov 1998 01:52:08 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id BAA26802; Sat, 7 Nov 1998 01:51:51 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Sat, 7 Nov 1998 01:51:50 -0800 (PST) From: Doug White To: Matt Behrens cc: questions@FreeBSD.ORG Subject: Re: Weird messages from fmt called by vi In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 2 Nov 1998, Matt Behrens wrote: > I get the following when I push !}fmt 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