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

  1. Xref: sparky comp.sys.sun.hardware:3562 comp.sys.sun.misc:3354 comp.sys.sun.admin:5008
  2. Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!datum.nyo.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.hardware,comp.sys.sun.misc,comp.sys.sun.admin
  5. Subject: Help: stty won't set terminal characteristics
  6. Message-ID: <1394@sousa.ltn.dec.com>
  7. Date: 27 Jul 92 16:12:59 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: 39
  14.  
  15.  
  16.  
  17. We are trying to connect an HP LaserJet IIID to a Sparcstation.
  18.  
  19. In the process of trying to get this going (no luck yet), I have encountered
  20. a problem: I can't seem to set the terminal characteristics of /dev/ttya.
  21.  
  22. /dev/ttya is set to "OFF" in the ttytab file and, therefore, has an entry
  23. of "02ttya" in the /dev/ttys file.  The following command:
  24.  
  25.     stty > /dev/ttya
  26.  
  27. indicates a line speed of 9600 baud.  The version of stty I am using is
  28. coming from /bin/stty (i.e., UCB syntax and not SYSV syntax).
  29.  
  30. Hence, the command:
  31.     stty 19200 > /dev/ttya
  32.  
  33. should set the line speed to 19.2K, but there appears to be no change, either
  34. as mortal user or super user.
  35.  
  36. I have re-read the stty(1v) and tty(4), ttytab(5), but have no clue as
  37. to what the problem could be.  In fact, I am not even sure whether the
  38. problem is the stty command failing, or whether something on the system
  39. is immediately setting the characteristics back to some known default.
  40.  
  41. Any ideas?
  42.  
  43. Also, if anyone has a printcap entry for a LaserJet printer that they would be
  44. willing to share, we would appreciate getting a copy.
  45.  
  46. Thanks,
  47. Greg
  48. --
  49. Contract Software Services, Inc.
  50. --------------------------------
  51.             34 Wright Acres Road
  52.                Bedford, NH 03102        tarsa@elijah.mv.com
  53.                    (603)472-7399    {decuac,decvax}!elijah!tarsa
  54.