nroff driver tables / italics mode

Joe Chapman joe at cadmus.UUCP
Thu Apr 19 04:40:07 AEST 1984



> 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



More information about the Comp.unix.wizards mailing list