Date: Thu, 24 Sep 1998 11:37:40 -0500 From: Dan Nelson <dnelson@emsphone.com> To: vs@lucy.wrath.oche.de, freebsd-questions@FreeBSD.ORG Subject: Re: mesg: ttyname: Inappropriate ioctl for device? Message-ID: <19980924113740.B9068@emsphone.com> In-Reply-To: <199809231744.TAA02626@lucy.wrath.oche.de>; from "Volker Stolz" on Wed Sep 23 19:44:20 GMT 1998 References: <199809231744.TAA02626@lucy.wrath.oche.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980924113740.B9068>
