[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: clear screen on logout



>>>>> "Ryan" == Ryan Shaw <ryans@rio.com> writes:

    Ryan> i've looked through the archives and haven't found an answer
    Ryan> as of yet.  i'd like the screen cleared on logout and the
    Ryan> login prompt to appear at the top.  i've worked around this
    Ryan> by using an alias in bashrc, but i'm sure there is a better
    Ryan> way.

 See if this works:

$ su root
# cd /etc
# mv issue issue.body
# TERM=linux tput clear > issue.clear
# cat issue.clear > issue
# cat issue.body >> issue
# exit
$

Attachment: issue
Description: Sample /etc/issue with clear screen and figlet logo.


-- 
Karl M. Hegbloom <karlheg@inetarena.com>
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.2  Linux 2.0.30t


Reply to: