Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!samsung!uunet!mtxinu!jaap From: jaap@mtxinu.COM (Jaap Akkerhuis) Newsgroups: comp.text Subject: Re: Esc and Nroff Keywords: nroff Message-ID: <1991May22.202817.7380@mtxinu.COM> Date: 22 May 91 20:28:17 GMT References: <1991May18.202457.26294@ux1.cso.uiuc.edu> <1991May22.131730.19938@ux1.cso.uiuc.edu> Reply-To: jaap@mtxinu.COM (Jaap Akkerhuis) Organization: mt Xinu, Berkeley Lines: 22 In article <1991May22.131730.19938@ux1.cso.uiuc.edu> funk@osiris.cso.uiuc.edu (Bruce Funk) writes: > I wrote: > >I need to imbed some Printer control Escape sequences in my nroff source, > >but the formatter keeps eating the Esc character. > > From several of the replies, I 'm getting the idea that my nroff may be > somewhat unique (flawed??) in eating the Esc character. All troffs/nroffs eat escape characters. It is even mentioned in the menual. > > Many solutions, including fake characters that are later sed'd into Esc, > but a tip of the hat to Dan Berry for pointing out that ditroff derived > nroff's will accept \N'x' to generate the xth character of the current font. > Thus \N'27' solved my problem Although this might work in modern versions of n/troff, the proper way to deal with Printer control Escape sequences is in the appropriate ``terminal description files''. jaap