Linux系统调用详解之grn

上传人:油条 文档编号:20267713 上传时间:2017-09-09 格式:PDF 页数:5 大小:19.12KB
返回 下载 相关 举报
Linux系统调用详解之grn_第1页
第1页 / 共5页
Linux系统调用详解之grn_第2页
第2页 / 共5页
Linux系统调用详解之grn_第3页
第3页 / 共5页
Linux系统调用详解之grn_第4页
第4页 / 共5页
Linux系统调用详解之grn_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《Linux系统调用详解之grn》由会员分享,可在线阅读,更多相关《Linux系统调用详解之grn(5页珍藏版)》请在金锄头文库上搜索。

1、GRN(1) GRN(1)NAMEgrn groffpreprocessor for gremlin filesSYNOPSISgrn Cv Tdev Mdir Fdir file. It is possible to have whitespace between a command line option and its parameter.DESCRIPTIONgrn is a preprocessor for including gremlin pictures in groff input. grn writes to standard output, process-ing onl

2、y input lines between twothat start with .GS and .GE. Those lines must contain grn commands (seebelow). These commands request a gremlin file, and the picture in that file is converted and placed in thetroff input stream. The .GS request may be followed by a C, L, or R to center,left, or right justi

3、fy thewhole gremlin picture (default justification is center). If no file is mentioned, the standard input is read. Atthe end of the picture, the position on the page is the bottom of the gremlin picture. If the grn entry isended with .GF instead of .GE,the position is left at the top of the picture

4、.Please note that currently only the me macro package has support for .GS, .GE,and .GF.The following command-line options are understood:Tdev Prepare output for printer dev.The default device is ps.See groff(1) for acceptable devices.Mdir Prepend dir to the default search path for gremlin files. The

5、 default path is (in that order) the cur-rent directory,the home directory, /usr/share/groff/site-tmac, /usr/share/groff/site-tmac,and/usr/share/groff/1.18.1.4/tmac.Fdir Search dir for subdirectories devname (name is the name of the device) for the DESC file beforethe default font directories /usr/s

6、hare/groff/site-font, /usr/share/groff/1.18.1.4/font,and/usr/lib/font.C Recognize .GS and .GE (and .GF)evenwhen followed by a character other than space or newline.v Print the version number.GRN COMMANDSEach input line between .GS and .GE may have one grn command. Commands consist of one or twostrin

7、gs separated by white space, the first string being the command and the second its operand. Com-mands may be upper or lower case and abbreviated down to one character.Commands that affect a picturesenvironment (those listed before default,see below) are only in effect forthe current picture: The env

8、ironment is reinitialized to the defaults at the start of the next picture. The com-mands are as follows:1 N2 N3 N4 N Set gremlins textsize number 1 (2, 3, or 4) to N points. The default is 12 (16, 24, and 36, respec-tively).roman fitalics fbold fspecial fSet the roman (italics, bold, or special) fo

9、nt to troff s font f (either a name or number). Thedefault is R (I, B, and S, respectively).l fstipple fSet the stipple font to troff s stipple font f (name or number). The command stipple may beabbreviated down as far as st (to avoid confusion with special). There is no default for stipples(unless

10、one is set by the default command), and it is invalid to include a gremlin picture with poly-gons without specifying a stipple font.GroffVersion 1.18.1.4 24 February 2006 1GRN(1) GRN(1)x Nscale N Magnify the picture (in addition to anydefault magnification) by N,afloating point number largerthan zer

11、o. The command scale may be abbreviated down to sc.narrow Nmedium Nthick NSet the thickness of gremlins narrow(medium and thick, respectively) lines to N times 0.15pt(this value can be changed at compile time). The default is 1.0 (3.0 and 5.0, respectively), whichcorresponds to 0.15pt (0.45pt and 0.

12、75pt, respectively). A thickness value of zero selects thesmallest available line thickness. Negative values cause the line thickness to be proportional to thecurrent point size.pointscale Scale text to match the picture. Gremlin text is usually printed in the point size specified with thecommands 1

13、, 2, 3,or 4,reg ardless of anyscaling factors in the picture. Setting pointscale willcause the point sizes to scale with the picture (within troff s limitations, of course). An operand ofanything but off will turn text scaling on.default Reset the picture environment defaults to the settings in the

14、current picture. This is meant to beused as a global parameter setting mechanism at the beginning of the troff input file, but can beused at anytime to reset the default settings.width NForces the picture to be N inches wide. This overrides anyscaling factors present in the same pic-ture. width 0isi

15、gnored.height NForces picture to be N inches high, overriding other scaling factors. If both width and heightare specified the tighter constraint will determine the scale of the picture. Height and width com-mands are not savedwith a default command. Theywill, however, affect point size scaling if t

16、hatoption is set.file nameGet picture from gremlin file name located the current directory (or in the library directory; see theM option above). If two file commands are given, the second one overrides the first. If namedoesntexist, an error message is reported and processing continues from the .GE line.NOTES ABOUT GROFFSince grn is a preprocessor,itdoesntknowabout current indents, point sizes, margins, number registers,etc. Consequently,no troff

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号