Path: utzoo!attcan!uunet!lll-winken!ames!elan!jenni From: jenni@elan.UUCP (Jenni Hufnagel) Newsgroups: comp.unix.questions Subject: Re: VI/NROFF symbolics question Message-ID: <418@elan.UUCP> Date: 24 Jan 89 02:53:09 GMT References: <108@mdiva1.uucp> Organization: Elan Computer Group, Inc., Palo Alto, CA Lines: 35 From article <108@mdiva1.uucp>, by fontana@mdiva1.uucp: > I am a IBM SCRIPT and GGML user. I need to know how to > do a symbolic reference in VI and NROFF. (i.e. I want to > be able to define a table of symbolic strings and their > expanded names or string. Then I want to only type the > symbolics in the text and have the system input the expanded > names when I run off the text.) > > Any helpful hints would be appreciated. In nroff you can define any string you want in a nterm file. These files are found in /usr/lib/nterm. Pick the one that is correct for your printer. In the nterm file an example would be as follows charset sq 2 [] +- 1 +\b_ you would reference sq in your document by \*(sq. Jenni Hufnagel Elan Computer Group, Inc. ..!{ames,hplabs,uunet}!elan!jenni -- Jenni Hufnagel ..!{ames,hplabs}!elan!jenni Elan Computer Group, Inc. 410 Cambridge Avenue, Suite A, Palo Alto, CA 94306, (415) 322-2450