I wrote a program that spawns a telnet session and interacts with it using Expect.pm and it works well when run in the foreground in the Bash shell in Solaris 8. The problem happens when I try to run it in the background. The process stops as soon as the telnet session is spawned and does nothing.
I have tried messing with the tty settings, changing it to raw and sane but, to no avail.
I am using Expect.pm version 1.15 and Perl version 5.6.1. Any suggestions would be greatly appreciated.