From owner-freebsd-questions Thu Sep 24 09:40:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28498 for freebsd-questions-outgoing; Thu, 24 Sep 1998 09:40:59 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28484 for ; Thu, 24 Sep 1998 09:40:46 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.1/8.9.1) id LAA23754; Thu, 24 Sep 1998 11:37:40 -0500 (CDT) Date: Thu, 24 Sep 1998 11:37:40 -0500 From: Dan Nelson To: vs@lucy.wrath.oche.de, freebsd-questions@FreeBSD.ORG Subject: Re: mesg: ttyname: Inappropriate ioctl for device? Message-ID: <19980924113740.B9068@emsphone.com> References: <199809231744.TAA02626@lucy.wrath.oche.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.3i In-Reply-To: <199809231744.TAA02626@lucy.wrath.oche.de>; from "Volker Stolz" on Wed Sep 23 19:44:20 GMT 1998 X-OS: FreeBSD 2.2.7-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Sep 23), Volker Stolz said: > This is the message I get when using {r,s}cp. The copy is made > nevertheless. Any hints on the origin of this message? /dev/tty* > looks like the same on another FreeBSD-machine where I don't get this > message. > > Regards, > Volker Check your login scripts and make sure you aren't running "mesg n" in a script that's called on every invocation. If your shell is zsh, for example, the following files are executed, in this order: .zshenv -- always loaded .zprofile -- loaded if login shell .zshrc -- loaded if interactive shell .zlogin -- loaded if login shell So you would put "mesg n" in .zprofile or .zlogin. Check your shell's manpage for more info. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message