LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Where does redhat clear screen for login? (https://www.linuxquestions.org/questions/linux-general-1/where-does-redhat-clear-screen-for-login-59321/)

whansard 05-11-2003 11:34 PM

Where does redhat clear screen for login?
 
where does redhat clear the screen before putting
up the login prompt? I've dug around in the init
scripts, and i can't find it.

vladkrack 05-12-2003 09:09 AM

It's when mingetty is called, it does a refresh to start ...

whansard 05-12-2003 05:30 PM

Do you know if it's in a config file, or is it in the source
code? I've looked at gettydefs. I guess I'll download
the mingetty source.

i can't believe i missed this.
i spotted it in the mingetty.c source code before
i saw this. i was looking at the getty man page.
as you can see the first option is --noclear,
so i just had to add that to my inittab entries.
Thanks for the help.

MINGETTY(8) Linux Programmer's Manual MINGETTY(8)
NAME
mingetty - minimal getty for consoles
SYNOPSIS
mingetty [--noclear] [--long-hostname] tty
DESCRIPTION
mingetty is a minimal getty for use on virtual consoles.
Unlike agetty(8), mingetty is not suitable for serial
lines. I recommend using mgetty(8) for this purpose.
OPTIONS
--noclear
Do not clear the screen before prompting for the
login name (the screen is normally cleared).



All times are GMT -5. The time now is 09:12 AM.