Path: utzoo!censor!geac!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!bu.edu!m2c!wpi.WPI.EDU!fenn From: fenn@wpi.WPI.EDU (Brian Fennell) Newsgroups: comp.windows.x Subject: Re: How to get *bold* with nroff in an xterm-window? Message-ID: <1991Feb5.073828.2193@wpi.WPI.EDU> Date: 5 Feb 91 07:38:28 GMT Article-I.D.: wpi.1991Feb5.073828.2193 References: <399@rc6.urc.tue.nl> Organization: Worcester Polytechnic Institute Lines: 19 In article <399@rc6.urc.tue.nl> rcpt@urc.tue.nl 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? > funny you should ask this, I was just answering a simmilar question. nroff generates x^Hx for bold and x^H_ for underlined text. ul and less handle this very well. nroff -man manual | less -s or nroff -man manual | cat -s | ul I don't suggest puting a more at the end of the second example unless you make your xterm (about) 132 cols wide. more can't handle the invisable characters ul adds. Brian Fennell == fenn@wpi.wpi.edu