Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!shelby!agate!ICSI.Berkeley.EDU!stolcke From: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke) Newsgroups: comp.windows.x Subject: Re: How to get *bold* with nroff in an xterm-window? Message-ID: <1991Feb4.184204.23859@agate.berkeley.edu> Date: 4 Feb 91 18:42:04 GMT References: <399@rc6.urc.tue.nl> Sender: usenet@agate.berkeley.edu (USENET Administrator) Reply-To: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke) Organization: International Computer Science Institute, Berkeley, CA Lines: 19 In article <399@rc6.urc.tue.nl>, rcpt@rw7.urc.tue.nl (Piet Tutelaers) writes: |> Can somebody explain how nroff (the `device independant'-version) can |> generate bold in an xterm window? I use `nroff -man manual' but on my NCD |> Xterminal I don't get a nice bold. Does there exist a tab.xterm file for |> putting it in /usr/local/lib/nterm? Or is there another method? Some nroff version won't even generate boldface via backspacing, I think. For example, Sun's nroff won't do it, but when we compiled the BSD source of nroff and using the very same tables for the standard lpr terminal, boldface came out just fine with overprinting using backspaces. The output can be fed through a pager like less to translate boldfacing into the right terminal controls. Works beautifully with xterm. BTW, if your nroff is broken and you don't have access to the source you might want to use groff. The -Tascii options generates both underlining and boldfacing correctly. -- Andreas Stolcke stolcke@icsi.berkeley.edu International Computer Science Institute stolcke@ucbicsi.bitnet 1957 Center St., Suite 600, Berkeley, CA 94704 (415) 642-4274 ext. 126