[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mesg: ttyname: Inappropriate ioctl for device?
- To: vs@xxxxxxxxxxxxxxxxxx, freebsd-questions@xxxxxxxxxxx
- Subject: Re: mesg: ttyname: Inappropriate ioctl for device?
- From: Dan Nelson <dnelson@xxxxxxxxxxxx>
- Date: Thu, 24 Sep 1998 11:37:40 -0500
- In-reply-to: <199809231744.TAA02626@xxxxxxxxxxxxxxxxxx>; from "Volker Stolz" on Wed Sep 23 19:44:20 GMT 1998
- References: <199809231744.TAA02626@xxxxxxxxxxxxxxxxxx>
- Sender: owner-freebsd-questions@xxxxxxxxxxx
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@xxxxxxxxxxxx
To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-questions" in the body of the message