Re: clear old output in login screen?



On Sun, May 3, 2009 at 1:51 PM, Paul B. Mahol <onemda@xxxxxxxxx> wrote:

echo $TERM | grep cons25 >> /dev/null && clear && vidcontrol -C


Aha! I didn't know about 'vidcontrol -C'
That combined with 'clear' does the trick.

However...
Is there any way I could have this execute when the "login:" prompt
displays, rather than having each user need to do it themselves?

In other words, I want this clearing to happen for all users
regardless of shell, etc.

I haven't seen anything in login(1) or login.conf(5) that allows this
kind of customization, but maybe I missed it...

-John
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Running into a roadblock when using execute as and sys.databas
    ... With the execute as clause, ... you use EXECUTE AS LOGIN in the body, and sign them with the certificate. ... CREATE LOGIN imperscert_login FROM CERTIFICATE imperscert ...
    (microsoft.public.sqlserver.security)
  • Re: limit sql agent job resource with resource governor
    ... during the job run and still see the same login. ... If you have a sample classifier function code that uses ... do its work (including "execute as")... ... before Agent executes the EXECUTE AS command. ...
    (microsoft.public.sqlserver.server)
  • Re: 5.0.7 machine locks up!
    ... I tried a terminal login, a virtual console, and even a telnet ... understand "All I had was one shell that responded, ... that already had a "login:" prompt waiting. ... disk activity. ...
    (comp.unix.sco.misc)
  • Re: limit sql agent job resource with resource governor
    ... I run the DMV query multiple times ... during the job run and still see the same login. ... do its work (including "execute as")... ... before Agent executes the EXECUTE AS command. ...
    (microsoft.public.sqlserver.server)
  • Re: disable double clicking attachments
    ... Double click a file and the app opens. ... There's no prompt to save it before the default action takes place. ... It does once you flag their attachment directory as deny execute. ...
    (microsoft.public.outlook.general)