|
|
|
|
|
|
| Author |
Message |
Johan Karlsson *nix forums beginner
Joined: 24 Apr 2002
Posts: 11
|
|
| Back to top |
|
 |
Sheldon Hearn *nix forums beginner
Joined: 03 May 2002
Posts: 34
|
Posted: Wed Jul 24, 2002 5:47 am Post subject:
Re: adding '-t tty' to biff(1)/mesg(1)
|
|
|
On (2002/07/23 22:52), Johan Karlsson wrote:
| Quote: | Currently there is no way of changing the biff/mesg
status of a tty where another program is running.
(except if you know all the gory details about biff and mesg)
|
For mesg(1), you can use shell redirection to accomplish your goal,
as with tools like vidcontrol(1):
mesg y < /dev/ttyp7
This doesn't work for biff(1).
I'm not saying you shouldn't consider adding new options, but suggesting
that maybe the correct path forward is simply to fix biff(1) so that it
operates like other tools designed to change the behaviour of a
terminal.
Ciao,
Sheldon.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message |
|
| Back to top |
|
 |
Johan Karlsson *nix forums beginner
Joined: 24 Apr 2002
Posts: 11
|
Posted: Wed Jul 24, 2002 11:21 am Post subject:
Re: adding '-t tty' to biff(1)/mesg(1)
|
|
|
On Wed, Jul 24, 2002 at 09:47 (+0200) +0000, Sheldon Hearn wrote:
| Quote: | For mesg(1), you can use shell redirection to accomplish your goal,
as with tools like vidcontrol(1):
mesg y < /dev/ttyp7
This doesn't work for biff(1).
|
You are absolutly correct.
This is a good enough reason for not committing my changes.
Instead I will teach biff(1) to work in this way.
Thanks for pointing this out.
/Johan
--
Johan Karlsson mailto:johan@FreeBSD.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message |
|
| Back to top |
|
 |
Sheldon Hearn *nix forums beginner
Joined: 03 May 2002
Posts: 34
|
Posted: Wed Jul 24, 2002 11:40 am Post subject:
Re: adding '-t tty' to biff(1)/mesg(1)
|
|
|
On (2002/07/24 15:21), Johan Karlsson wrote:
| Quote: | For mesg(1), you can use shell redirection to accomplish your goal,
as with tools like vidcontrol(1):
mesg y < /dev/ttyp7
This doesn't work for biff(1).
You are absolutly correct.
This is a good enough reason for not committing my changes.
Instead I will teach biff(1) to work in this way.
|
Be aware that Robert Drehmel already has a patch for this, but has been
having trouble sending email. He told me this a few moments ago on IRC.
Ciao,
Sheldon.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message |
|
| Back to top |
|
 |
Cyrille Lefevre *nix forums beginner
Joined: 12 Jun 2002
Posts: 48
|
Posted: Wed Jul 24, 2002 12:48 pm Post subject:
Re: adding '-t tty' to biff(1)/mesg(1)
|
|
|
On Wed, Jul 24, 2002 at 09:47:30AM +0200, Sheldon Hearn wrote:
| Quote: | On (2002/07/23 22:52), Johan Karlsson wrote:
Currently there is no way of changing the biff/mesg
status of a tty where another program is running.
(except if you know all the gory details about biff and mesg)
For mesg(1), you can use shell redirection to accomplish your goal,
as with tools like vidcontrol(1):
mesg y < /dev/ttyp7
This doesn't work for biff(1).
|
it works using :
biff n 2< /dev/ttyv3
see comments on PR #13073.
Cyrille.
--
Cyrille Lefevre mailto:cyrille.lefevre@laposte.net
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 3:43 am | All times are GMT
|
|
Mortgage insurance | Debt | Problem Mortgage | Mortgage | Bankruptcy
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|