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

[Sheflug] making /etc/issue clear the screen



I want to make [a]getty clear the screen before prompting for username
and password

I know I can clear the screen from the console with Ctrl-L or Alt-012 to
produce the ASCII character 'form-feed'.

However echo -e "\012" only produces a couple of blank lines, it doesn't
clear the screen.

If I put ASCII char 012 'Ctrl-L' at the start of my my /etc/issue it
also has the same effect.

Any ideas?

--Andrew

Attachment: pgp00010.pgp
Description: PGP signature