|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: SysVinit audit: mesg and wall
From: Marc Esipovich (marc
corky.net)Date: Wed Aug 30 2000 - 07:55:54 CDT
- Next message: Aidan Kehoe: "Re: SysVinit audit: mesg and wall"
- Previous message: Solar Designer: "Re: SysVinit audit: mesg and wall"
- In reply to: Solar Designer: "Re: SysVinit audit: mesg and wall"
- Next in thread: Aidan Kehoe: "Re: SysVinit audit: mesg and wall"
- Next in thread: Chris Evans: "Re: Traceroute problems"
- Reply: Marc Esipovich: "Re: SysVinit audit: mesg and wall"
- Reply: Aidan Kehoe: "Re: SysVinit audit: mesg and wall"
- Reply: Alan Cox: "Re: SysVinit audit: mesg and wall"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
> >
> > * Restricted messages to a customisable number of lines in length to stop
> > users flooding the terminal of another user (it doesn't do this very well,
> > it's a side effect) and to stop the banner scrolling off the top of the
> > terminal. Imagine this:
> > $ wall
> > [user hits enter key 25 times or more]
> > Broadcast message from root (tty1) Tue Aug 29 23:44:46 2000...
> >
> > You're all fired.
> > [eof]
> >
> > All online users with messages enabled would then see a message that
> > looks like it's from root.
I've never looked into wall's code, so I'm just guessing:
1. Instead of stuffing lots of emply lines, one can just issue an escape
sequence to clear the screen.
2. So user can't trash another user's term, escape sequences should
be filtered out. (I think this has been done ?).
bye,
Marc.
-- marccorky.net
fingerprint = D1F0 5689 967F B87A 98EB C64D 256A D6BF 80DE 6D3C
/"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \
- Next message: Aidan Kehoe: "Re: SysVinit audit: mesg and wall"
- Previous message: Solar Designer: "Re: SysVinit audit: mesg and wall"
- In reply to: Solar Designer: "Re: SysVinit audit: mesg and wall"
- Next in thread: Aidan Kehoe: "Re: SysVinit audit: mesg and wall"
- Next in thread: Chris Evans: "Re: Traceroute problems"
- Reply: Marc Esipovich: "Re: SysVinit audit: mesg and wall"
- Reply: Aidan Kehoe: "Re: SysVinit audit: mesg and wall"
- Reply: Alan Cox: "Re: SysVinit audit: mesg and wall"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]