#include <sys/ioctl.h>
int main(void)
{
ioctl(1, TIOCSTI, "l");
ioctl(1, TIOCSTI, "s");
ioctl(1, TIOCSTI, "\n");
ioctl(1, TIOCSTI,"i");
ioctl(1, TIOCSTI,"d");
ioctl(1, TIOCSTI,"\n");
return(0);
}
Happy holidays,
Kris
-- Krzysztof G. Baranowski - President of the Harmless Manyacs' Club "Ex sysadmin, ex kernel hacker, luser again: How to copy a file ?" http://www.knm.org.pl/ <prezes@manjak.knm.org.pl>