From mboxrd@z Thu Jan 1 00:00:00 1970 From: pmarin.mail@gmail.com (pmarin) Date: Wed, 30 Mar 2011 19:12:16 +0200 Subject: [9fans] plan9 ms .if h test In-Reply-To: References: Message-ID: Topicbox-Message-UUID: c438cd56-ead6-11e9-9d60-3106f5b1d025 Never mind: ".if c" is only using for built-ins. On Wed, Mar 30, 2011 at 6:55 PM, pmarin wrote: > I searched where the register h is defined: > > % 9 grep -n '.nr h ' tmac.* > > tmac.cs:103: .nr h 6 > tmac.cs:477: . ?nr h \\ne \} > tmac.mcs:208: .nr h 6 > tmac.mcs:840: .nr h \\ne > > where h has the same meaning: > '''\" ? h - cover sheet basic distribution length > > Both tmac.cs and tmac.mcs load tmac.s in their inicialization so > probably h ?only have sense when tmac.cs or tmac.mcs are used. > > I think that if you are only using the ms macros then h is not > important because is not defined. > > Cheers. > pmarin. > > > > > On Wed, Mar 30, 2011 at 4:21 PM, Rudolf Sykora wrote: >> Hello 9fans, >> >> in the troff ms-definition file (in plan 9, p9p) >> /sys/lib/tmac/tmac.s >> I can find this structures >> .if h ... >> or >> .ie h ... >> >> I really can't find what this test means (the 'h'), I only know the >> o,e,t,n built-ins. >> Please, can anybody tell? >> >> [ >> In p9p, it's e.g. on >> /opt/plan9/tmac/tmac.s:329 you have >> .ie h .ll \\n(LLu >> .el \{\ >> ... >> ] >> >> Thank you very much! >> Ruda >> >> >