Article View: net.text
Article #245nroff driver tables / italics mode
From: Joe Chapman
Date: Wed, 18 Apr 1984 18:40
Date: Wed, 18 Apr 1984 18:40
25 lines
1506 bytes
1506 bytes
> 2) the remark about boldface mode being reset automatically by the "twnl"
> string is *not* generically true; it was a local modification made here due
> to the braindamage of the Spinwriter printers we have - a carriage return
> turns off boldfacing on those printers,
We had exactly the opposite problem with a SysIII - flavor nroff; it did
move()'s without turning bdmode/itmode off. When our Qume printer came to
the end of a line while in italics (underline) mode, it rather insolently
did a line feed and underlined the left margin on the next line. I added
some stuff to move() to turn off italics just before it does lead/escape
motions:
if(itmode) {
oputs(t.itoff);
itmode = 0;
}
Since ptout1() (at least on our system) checks to see if t.iton/t.bdon
should be sent before printing characters, I didn't need to worry about
restoring italics after turning them off.
-- Joe Chapman
{linus,wivax}!cadmus!joe
Technical Details
Message-ID:
<662@cadmus.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!linus!cadmus!joeShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site cadmus.UUCP Path: arc1-ca.pugleaf.net!utzoo!linus!cadmus!joe From: joe@cadmus.UUCP (Joe Chapman ) Newsgroups: net.text,net.unix-wizards Subject: nroff driver tables / italics mode Message-ID: <662@cadmus.UUCP> Date: Wed, 18-Apr-84 13:40:07 EST Article-I.D.: cadmus.662 Posted: Wed Apr 18 13:40:07 1984 Date-Received: Thu, 19-Apr-84 01:28:33 EST Organization: Cadmus, Lowell, Mass Lines: 27