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

Re: clearing screen after logout & login screen



> How do I clear the screen after logout? so...instead of walking up on 
> the remnants of the X server terminating and a login prompt, all that 
> shows on the screen is the login prompt... what script is it? 
> 
> For that matter, how can I change the login prompt itself?....both lines 
> (Debian GNU/Linux (name) ttyX and login: )?

Two escape-sequences do that: [2J (clear) and [0H (home).

modify /etc/issue (I use ae, it inserts esc-char) e.g.:

^[[2J^[[0HDebian GNU/\s 2.0 \n \l

the escape-key is shown as ^[.


Best regards

Juergen Fornoff


Reply to: