Re: How do I give a 'clear' command when leaving kdm/X?
On Sun, Feb 27, 2000 at 08:47:37PM +0000, Phillip Deackes generated a stream of 1s and 0s:
> How do I issue a 'clear' command to the terminal so that when I leave
> kdm to shutdown or reboot I have a clean text screen? I need to do this
> to clear up some screen corruption which responds to 'clear'.
>
Here's a very elegant way that appeared in one of LG issues. Put this in
your .bash_profile 'trap /usr/bin/clear EXIT'. Put this in your .bashrc if
desired also. trap is a very interesting internal bash command.
--
Windows NT: n.
32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit
operating system originally coded for a 4-bit microprocessor, written
by a 2-bit company that can't stand for 1 bit of competition.
Reply to: