🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.intel
Article #1691

Re: 386 machines and NFS ??

#1691
From: Guy Harris
Date: Sat, 23 Jan 1988 07:25
30 lines
2102 bytes
> 	If you want to use a PC type printer on the network,
> 	such as an HP Laserjet+, be warned that (in our
> 	experience), the SUN strips the 8th bit off of data
> 	going to the printer in "cooked" and CBREAK mode.  If
> 	you want to be able to send rasters and graphic characters,
> 	you will have to put the printer in raw mode.  Unfortunately
> 	you will lose flow control in raw mode, so you have to 
> 	slow the baud rate down to 2400 or so (and don't run 
> 	out of paper).  Someone from HP suggested configuring the
> 	printer as a *modem* ... it's on our list to try.

Someone from Sun is now suggesting using LITOUT mode rather than RAW mode.
The Berkeley manuals, from which the Sun manuals are derived, unfortunately
don't mention that LITOUT not only turns off output translation but also turns
off stripping of the 8th bit and puts the port into 8 bits, no parity mode.
LITOUT mode *does* leave XON/XOFF flow control on; the tty line discipline will
still do stripping of characters on input, so if the printer doesn't put out 8
bit, no parity XONs or XOFFs it should still work.

This should work on most systems with 4BSD tty drivers, although there are bugs
in the 4.2BSD version of the VAX serial port drivers that require you to do a
TIOCSETP after doing the TIOCLSET because the drivers forget to jam the new
settings into the serial port hardwire after you do the TIOCLSET.  This bug is
not present in SunOS 3.2 or later, and may never have been present.

(L)LITOUT is in the "local mode" word; PRINTCAP(5) should say how to change
flags in this word, and TTY(4) should say which bit this is.
	Guy Harris
	{ihnp4, decvax, seismo, decwrl, ...}!sun!guy
	guy@sun.com
Technical Details
Message-ID: <39803@sun.uucp>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!gorodish!guy
References: <210@turbo.RAY.COM> <4038@ptsfa.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!gorodish!guy
From: guy@gorodish.Sun.COM (Guy Harris)
Newsgroups: comp.sys.intel,comp.unix.questions,comp.sys.ibm.pc
Subject: Re: 386 machines and NFS ??
Message-ID: <39803@sun.uucp>
Date: 23 Jan 88 07:25:50 GMT
References: <210@turbo.RAY.COM> <4038@ptsfa.UUCP>
Sender: news@sun.uucp
Lines: 30
Keywords: unix sun nfs intel ada