jeff@cjsa.wa.com (Jeffery Small) (10/14/89)
I am running the latest version of the Korn shell (11-16-88) on a Sun 3/60. This is a binary-only version purchased from Aspen Technologies so there is no source for me to refer to. This problem existed in the previous version (06-03-86a) as well. Under normal conditions, ksh functions properly. The original login shell and ksh shelltool/cmdtool windows spawned by sunview all work properly. The problem that I have found is that if I launch a process from ksh, placing it in the background with '&', the stty values are not being properly set. This becomes a problem when interactive processes (including another ksh) are spawned. Specifically, what happens is that -icanon and -echo are set (should be icanon and echo) and eof is left undefined (should be set to ^D). Example: Say we are running a C-shell. If I enter the command "shelltool ksh &" then the new tty window is fired up running ksh and all of the stty settings are correct. Now if I am runing a Korn-shell and issue the same command, the stty problems described above occur. This can be fixed by issuing a "stty sane" but this is a real pain in the ... Has anyone else noticed this problem and is there a fix for this? I have reported this to Aspen Technologies on a number of occasions but cannot even get them to confirm the problem so I am turning to this group for help. Thanks. Jeffery Small (206) 485-5596 uw-beaver!uw-nsr!uw-warp C. Jeffery Small and Associates !cjsa!jeff 19112 152nd Ave NE - Woodinville, WA 98072 uunet!nwnexus