On Fri, 17 Jul 2009 21:11:56 -0500, Joe Snikeris <j...@snikeris.com> wrote:
> Hi all,
> As the subject suggests, I'd like to clear ttyv0 immediately after
> booting so that it looks exactly like the other ttys.  I suspect I
> might have to add a local rc script, but I'm fairly new to FreeBSD and
> am not sure if this is the correct way to go.
> Does anyone have any pointers?

You could add the command

        /usr/bin/tput clear

as the last line (prior to "exit 0") to /etc/rc - but it's not encouraged
to modify this file because it can cause "trouble" on updating. But
it will work.

Note that you can still press the Scroll Lock key and see the messages
that have been scrolled off the terminal. If you want, you can use
an additional call to /usr/sbin/vidcontrol to clear the buffer. Refer
to the vidcontrol manpage for how to do that.

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to