Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-11-2003, 11:34 PM   #1
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,177

Rep: Reputation: 52
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.
Old 05-12-2003, 09:09 AM   #2
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
It's when mingetty is called, it does a refresh to start ...
Old 05-12-2003, 05:30 PM   #3
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,177

Original Poster
Rep: Reputation: 52
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)
mingetty - minimal getty for consoles
mingetty [--noclear] [--long-hostname] tty
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.
Do not clear the screen before prompting for the
login name (the screen is normally cleared).

Last edited by whansard; 05-12-2003 at 06:30 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i replace the clear "clear screen" with the cls command thefedexguy SUSE / openSUSE 2 12-02-2005 05:02 PM
Redhat login screen size odd Linux - Software 0 06-26-2004 02:04 PM
Changing login screen on RedHat 9.0 dubya Linux - General 2 03-03-2004 04:18 PM
RedHat Generic Login Screen bfloeagle Linux - General 8 02-07-2004 05:35 PM
RedHat login screen. Citizen Bleys Linux - General 1 08-14-2001 05:04 AM

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration