home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.hardware:3562 comp.sys.sun.misc:3354 comp.sys.sun.admin:5008
- 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
- From: tarsa@elijah.mv.com (Greg Tarsa)
- Newsgroups: comp.sys.sun.hardware,comp.sys.sun.misc,comp.sys.sun.admin
- Subject: Help: stty won't set terminal characteristics
- Message-ID: <1394@sousa.ltn.dec.com>
- Date: 27 Jul 92 16:12:59 GMT
- Sender: newsa@sousa.ltn.dec.com
- Reply-To: tarsa@elijah.mv.com (Greg Tarsa)
- Followup-To: comp.sys.sun.hardware
- Distribution: na
- Organization: Contract Software Services, Inc.
- Lines: 39
-
-
-
- We are trying to connect an HP LaserJet IIID to a Sparcstation.
-
- In the process of trying to get this going (no luck yet), I have encountered
- a problem: I can't seem to set the terminal characteristics of /dev/ttya.
-
- /dev/ttya is set to "OFF" in the ttytab file and, therefore, has an entry
- of "02ttya" in the /dev/ttys file. The following command:
-
- stty > /dev/ttya
-
- indicates a line speed of 9600 baud. The version of stty I am using is
- coming from /bin/stty (i.e., UCB syntax and not SYSV syntax).
-
- Hence, the command:
- stty 19200 > /dev/ttya
-
- should set the line speed to 19.2K, but there appears to be no change, either
- as mortal user or super user.
-
- I have re-read the stty(1v) and tty(4), ttytab(5), but have no clue as
- to what the problem could be. In fact, I am not even sure whether the
- problem is the stty command failing, or whether something on the system
- is immediately setting the characteristics back to some known default.
-
- Any ideas?
-
- Also, if anyone has a printcap entry for a LaserJet printer that they would be
- willing to share, we would appreciate getting a copy.
-
- Thanks,
- Greg
- --
- Contract Software Services, Inc.
- --------------------------------
- 34 Wright Acres Road
- Bedford, NH 03102 tarsa@elijah.mv.com
- (603)472-7399 {decuac,decvax}!elijah!tarsa
-