home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 5002 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.9 KB

  1. Xref: sparky comp.sys.sun.admin:5002 comp.sys.sun.hardware:3558 comp.sys.sun.misc:3352
  2. Path: sparky!uunet!decwrl!deccrl!news.crl.dec.com!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!sousa.ltn.dec.com!decvax!elijah!tarsa
  3. From: tarsa@elijah.mv.com (Greg Tarsa)
  4. Newsgroups: comp.sys.sun.admin,comp.sys.sun.hardware,comp.sys.sun.misc
  5. Subject: Using STTY to change TTY characteristics
  6. Message-ID: <1392@sousa.ltn.dec.com>
  7. Date: 27 Jul 92 15:14:20 GMT
  8. Sender: newsa@sousa.ltn.dec.com
  9. Reply-To: tarsa@elijah.mv.com (Greg Tarsa)
  10. Followup-To: comp.sys.sun.hardware
  11. Distribution: na
  12. Organization: Contract Software Services, Inc.
  13. Lines: 33
  14.  
  15.  
  16. We are trying to hook an HP LaserJet IIID to our Sparcstation.
  17.  
  18. In trying to do this I have encountered a strange problem: I cannot seem to set
  19. the terminal line characteristics with stty.  As far as I can tell, the stty
  20. call is either having no effect, or something is changing the characteristics
  21. back as soon as my stty request is complete.
  22.  
  23. I am using the UCB version of stty as follows (for example):
  24.     stty > /dev/ttya
  25.  
  26. and the speed indicated is 9600.  When I execute the following:
  27.     stty 19200 > /dev/ttya
  28.  
  29. I expect the speed to change to 19200 and it does not, likewise for any other
  30. terminal characteristic.  Executing the command as superuser or regular user does not change the outcome.  The terminal line is turned off in ttytab, that is
  31. the entry in /etc/tty (produced at startup) is "02ttya".
  32.  
  33. I have perused the stty(1v) and tty(4) manual pages but have no clue as to what
  34. I am doing wrong.  This command seqence works fine under ULTRIX.
  35.  
  36. Can anyone help?
  37.  
  38. Similarly, if anyone has connected an LJ3D to a Sparc and has a printcap entry they would be willing to share, I would also appreciate that.
  39.  
  40. Thanks,
  41. Greg
  42. --
  43. Contract Software Services, Inc.
  44. --------------------------------
  45.             34 Wright Acres Road
  46.                Bedford, NH 03102        tarsa@elijah.mv.com
  47.                    (603)472-7399    {decuac,decvax}!elijah!tarsa
  48.