Umm, well
You could create a shell function like
clear () {
/usr/bin/clear
/bin/echo -e '\033[05;25r'; /bin/echo -e "Hackers Beware \n\n\n"
}
Somewhere in you .bashrc file. It should work, I haven't tried it though.
Uday K Verma
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rakesh
Ambati
Sent: Thursday, April 08, 2004 08:52 AM
To: lih; fsf
Subject: [LIH]Shell hackers::solve this
Hi list,
So this piece of shell displays a warning on the top five lines of the
shell.
The problem is 'clear' wipes it.Now how to prevent it ?
<code>
/bin/echo -e '\033[05;25r'; /bin/echo -e "Hackers Beware \n\n\n"
</code>
--arky
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help