home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9272 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.5 KB  |  38 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!caen!uwm.edu!csd4.csd.uwm.edu!hardiman
  3. From: hardiman@csd4.csd.uwm.edu (Paul V Hardiman)
  4. Subject: Problem with stty
  5. Message-ID: <1992Sep1.202101.15051@uwm.edu>
  6. Originator: hardiman@csd4.csd.uwm.edu
  7. Sender: news@uwm.edu (USENET News System)
  8. Organization: Computing Services Division, University of Wisconsin - Milwaukee
  9. Distribution: usa
  10. Date: Tue, 1 Sep 1992 20:21:01 GMT
  11. Lines: 25
  12.  
  13.  
  14. We're trying to set up a generic AIX userid to be used only for TN3270
  15. access to our mainframe from an RS/6000.  We'd like this userid to be
  16. automatically put into the TN3270 session upon login and to be logged
  17. off AIX when the TN3270 session ends.  While this userid is logged in,
  18. we don't want it to be able to interrupt or suspend the TN3270 session.
  19. I'm trying to accomplish this by having the entire session controlled
  20. from the .profile command file.
  21.  
  22. I've run into a problem with stty.  According to 'man', the stty command
  23. "stty intr 'undef'" is supposed to undefine the interrupt character.
  24. Ditto for "susp" and "dsusp".  However, when these stty commands are
  25. executed from .profile, they set the interrupt and suspend characters
  26. to 'u'.  As a result, whenever the users types a 'u' in the TN3270
  27. session, the session is interrupted and the users are left at the AIX
  28. command prompt - just what we don't want to happen.
  29.  
  30. Is this a bug?  Is something going on that I don't understand?  Or is
  31. the whole approach wrong?
  32.  
  33. Thanks for any insights you might have.
  34.  
  35. Paul Hardiman
  36. University of Wisconsin - Milwaukee
  37. hardiman@csd4.csd.uwm.edu
  38.