craig@uunet.uu.net (Craig Bishop) (04/27/89)
On our Sun4/260 and Sun4/110 we experience a problem with shells other than the defaults of sh or csh. The particular shell which this happens to is a locally created menu system which is exec'ed in the users .profile. The user makes a selection in a menu then escapes to the shell from this selection. Then if the user types the interrupt the telnet session terminates, terminating all the jobs the user was running. This behaviour happens, both on terminal servers and when running the telnet program. Rlogin etc. were not effected. This problem only happens on our Sun4 equipment. Under the same circumstances the Sun3's never produce the same problem. Previous to the above problem a user could get thrown out of a telnet session by selecting sh or csh from the menu and typing a interrupt. Without having to select a program which allows shell escapes. I manage to fix this by removing some code I no longer needed which was associated with setting process groups for the selected menu items. The code would reset the process group to the menu programs process group after the completion of the selected menu item. The first read from the terminal by the menu program would then result in an EIO error. Running the menu program from below a login shell of csh or sh resulted in the problem not occurring. Anyone seen anything like this, a fix? Or is it just more Sun4/4.0 flakeyness fixed in 4.0.2? Craig