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