From: Ed S. <got...@gm...> - 2006-04-11 20:17:30
|
Hello all, I have a perl script using Expect, called by a shell script (which spawns the perl script endlessly), the shell script launched by cron.=20 This is on Solaris 9. The output that my perl script is getting via expect is chopped off at 80 characters. I tried doing : system("stty columns 512"); then $sqsh->slave->clone_winsize_from(\*STDIN); before doing the spawn, but this doesn't do anything. I'm not clear on how I can pass a 'window' size in to Expect in a background script. Any thoughts? -- Back to the Earth I screamed, and no one listened. Back to the Earth I lived, and they all followed. |