home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aix / 8299 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.4 KB  |  30 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!csusac!cdsac!scotte
  3. From: scotte@cdsac.uucp (L. Scott Emmons)
  4. Subject: Re: 3.2 BSD Line discipline...
  5. Message-ID: <1992Jul29.151615.20336@cdsac.uucp>
  6. Date: Wed, 29 Jul 1992 15:16:15 GMT
  7. References: <92210.105840JGROVER@MAINE.MAINE.EDU>
  8. Organization: Cable Data (U.S. Computer Services), Sacramento, CA
  9. Lines: 19
  10.  
  11. In article <92210.105840JGROVER@MAINE.MAINE.EDU> JGROVER@MAINE.MAINE.EDU (John Grover) writes:
  12. >I have this set of programs written to use bsd line discipline. The easiest
  13. >way out for me was to  issue stty disp bsd in a shell script before running
  14. >the programs and then stty disp posix afterwards. Now that I've "upgraded"
  15. >to 3.2, after I issue the command, nothing I type is echoed to the screen,
  16. >and carriage returns don't seem to work. Line feeds do, so if I issue
  17. >something like ls -l, the output stair steps down the screen.
  18.  
  19. Try doing an "stty sane" afterwards...Sounds like you are being left in
  20. noncannonical mode after the program finishes...If an "stty sane" works,
  21. make sure it sets everything properly, as "sane" mode is just a best guess
  22. at reasonable settings. If it still isn't right, you will want to look at
  23. the man pages for "stty" and figure out exactly what modes you want, and
  24. explicitly set them.
  25.  
  26. Hope this helps.
  27. -- 
  28.                L. Scott Emmons
  29.              csusac.csus.edu!cdsac!scotte
  30.