Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!cmcl2!phri!uccba!finegan From: finegan@uccba.UUCP (Mike Finegan) Newsgroups: comp.misc,comp.text Subject: Re: nroff eats my esc codes Message-ID: <1208@uccba.UUCP> Date: Thu, 13-Aug-87 10:16:15 EDT Article-I.D.: uccba.1208 Posted: Thu Aug 13 10:16:15 1987 Date-Received: Sat, 15-Aug-87 10:49:07 EDT References: <4219@sunybcs.UUCP> <1874@kitty.UUCP> <380@root44.co.uk> Organization: Univ of Cincinnati, College of Business Admin. Lines: 40 Summary: Speaking of swallowing esc codes ... Xref: mnetor comp.misc:1006 comp.text:1064 > i don't know what the real way of doing this is because i'm not an nroff guru > (although i have no problems getting ditroff to produce really wizzo output > on our laser printers), ... I have a problem with neqn, and since DEC software support can't help, maybe someone has solved the problem already, or can at least send me a copy of a tabXXXX.c file that definitely works for the problem. The problem: I follow the directions of BSD manuals, and enter control codes into a file containing a structure (took the default, and put my codes in) appropriate for terminal definition file for nroff -TXXXX . I can get everything to work for DEC LN03 laser printer (as well as for LA100f w/ greek/math character rom), except the square root 'macro?'. If I print the same escape sequence (via C program), it creates a beautiful square root. Assuming strings in parens represent one octal code, or one character, I use a line similar to: "/201{char to shift font}{char to go up half line}{bottom of sqr root} {char to go back up half line}|{char to go up another half line}{the top char of sqr root}{char to go back down half line}{char to go back to default font}", For the LA100f output goes through a filter, for LN03, it goes right to the printer. Obviously neqn/nroff must split the sqr root symbols up into several categories. Characters appearing once before a repeatable character, the repeatable character, and characters appearing once after the repeatable character. There is obviously some format neqn/nroff is looking for, assuming it ever worked. Can anyone help? I have older source for nroff, but couldn't find mention of sqrt, or similar. The root en 'macro?' has a similar problem, but only two characters. > not having source to regenerate the file, he hacked it using adb ... Is there a readable guide for adb, and can it be used gainfully by mere mortals ? :-) Thanks for anything, Mike Finegan Univ. of Cinti. ...!hal!uccba!ucece1!finegan