home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!gumby!destroyer!ubc-cs!news.UVic.CA!news.uvic.ca!mberkley
- From: mberkley@visions.uvic.ca (Mike Berkley)
- Subject: Equivalent of BSD Cbreak mode in POSIX line discipline?
- Message-ID: <MBERKLEY.92Jul28141749@visions.uvic.ca>
- Lines: 27
- Sender: news@sol.UVic.CA
- Nntp-Posting-Host: visions.uvic.ca
- Reply-To: mberkley@sirius.uvic.ca (J. Michael Berkley)
- Organization: University of Victoria
- Date: 28 Jul 92 14:17:49
-
- Does anybody know what the equivalent of BSD cbreak mode is when using
- POSIX line discipline?
-
- We have a set of old Fortran routines that try to read a character at
- a time from the terminal for user interaction. Under AIX 3.1.5, we
- used (this is simplified):
-
- stty disp bsd
- stty cbreak -echo
- fortstuff
-
- Under AIX 3.2, the BSD line discipline seems to be broken (we either
- don't get a character, or we start losing line feeds, etc. Since it
- will take time for IBM to fix BSD line discipline, we would like to
- know if there is a way to get cbreak behaviour out of POSIX line
- discipline.
-
- I have tried -icanon, but it doesn't seem to persist, that is -icanon
- applies to the shell in which "stty -icanon min..." is invoked, but
- has no effect on the Fortran program.
-
- Thanks
-
-
- Mike Berkley
- Barrodale Computing Services
- mberkley@visions.UVic.CA
-