Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!bcm!lib!thesis1.hsch.utexas.edu From: jmaynard@thesis1.hsch.utexas.edu (Jay Maynard) Newsgroups: comp.unix.programmer Subject: Exiting a program logs me out! Message-ID: <4366@lib.tmc.edu> Date: 26 Nov 90 06:29:04 GMT Sender: usenet@lib.tmc.edu Organization: University of Texas Medical School at Houston Lines: 20 Nntp-Posting-Host: thesis1.hsch.utexas.edu Originator: jmaynard@thesis1.hsch.utexas.edu I'm trying to get the dte editor, which was recently posted to comp.binaries.ibm.pc, to work on my System V. The author, Douglas Thomson, included complete source, as well as an I/O module for HP-UX. Unfortunately, it used the TIOCGETA and TIOCSETA functions and the sgttyb structure, which aren't supported under vanilla System V. I figured out how to convert them to termio calls, and got everything to compile. When I run the program, though, it runs fine until I exit. It then gives me a shell prompt - and then logs me off. I'm sure this is something dumb that I'm doing, but I can't for the life of me figure out what. Anyone out there run into this kind of problem before? If you have, please drop me a note; I'll summarize if there's interest. Thanks! -- Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can jmaynard@thesis1.hsch.utexas.edu | adequately be explained by stupidity. "With design like this, who needs bugs?" - Boyd Roberts