a2p
accept
access
acct
addftinfo
addr2line
adjtime
afmtodit
after
aio_cancel
aio_error
aio_read
aio_return
aio_suspend
aio_waitcomplete
aio_write
alias
aliases
alloc
anvil
append
apply
apropos
ar
array
as
asa
asn1parse
at
atq
atrm
attemptckalloc
attemptckrealloc
authlib
authtest
autopoint
awk
b64decode
b64encode
basename
batch
bc
bdes
bell
bg
bgerror
biff
big5
binary
bind
bindkey
bindtags
bindtextdomain
bio
bitmap
blowfish
bn
bootparams
bootptab
bounce
brandelf
break
breaksw
brk
bsdiff
bsdtar
bsnmpd
bspatch
bthost
btsockstat
buffer
builtin
builtins
bunzip2
button
byacc
bzcat
bzegrep
bzfgrep
bzgrep
bzip2
c2ph
c89
c99
ca
cal
calendar
canvas
cap_mkdb
case
cat
catch
catman
cc
cd
cdcontrol
chdir
checkbutton
checknr
chflags
chfn
chgrp
chio
chkey
chmod
chown
chpass
chroot
chsh
ci
ciphers
ckalloc
ckdist
ckfree
ckrealloc
cksum
cleanup
clear
clipboard
clock
clock_getres
clock_gettime
clock_settime
close
cmp
co
col
colcrt
colldef
colors
colrm
column
comm
command
compile_et
complete
compress
concat
config
connect
console
continue
core
courierlogger
couriertcpd
cp
cpan
cpio
cpp
creat
crl
crontab
crunchgen
crunchide
crypt
crypto
csh
csplit
ctags
ctm
ctm_dequeue
ctm_rmail
ctm_smail
cu
cursor
cursors
cut
cvs
date
dbiprof
dbiproxy
dc
dcgettext
dcngettext
dd
dde
default
defer
deliverquota
des
destroy
devfs
df
dgettext
dgst
dh
dhparam
dialog
diff
diff3
dig
dir
dirent
dirname
dirs
discard
disktab
dngettext
do
domainname
done
dprofpp
dsa
dsaparam
dtmfdecode
du
dup
dup2
eaccess
ec
ecdsa
echo
echotc
ecparam
ed
edit
editrc
ee
egrep
elf
elfdump
elif
else
enc
enc2xs
encoding
end
endif
endsw
engine
enigma
entry
env
envsubst
eof
eqn
err
errno
error
errstr
esac
ethers
euc
eui64
eval
event
evp
ex
exec
execve
exit
expand
export
exports
expr
extattr
extattr_delete_fd
extattr_delete_file
extattr_get_fd
extattr_get_file
extattr_set_fd
extattr_set_file
f77
false
famm
famx
fblocked
fbtab
fc
fchdir
fchflags
fchmod
fchown
fcntl
fconfigure
fcopy
fdescfs
fdformat
fdread
fdwrite
fetch
fg
fgrep
fhopen
fhstat
fhstatfs
fi
file
file2c
fileevent
filename
filetest
find
find2perl
finger
flex
flock
flush
fmt
focus
fold
font
fontedit
for
foreach
fork
format
forward
fpathconf
frame
from
fs
fstab
fstat
fstatfs
fsync
ftp
ftpchroot
ftpusers
ftruncate
futimes
g711conv
gb2312
gb18030
gbk
gcc
gcore
gcov
gdb
gencat
gendsa
genrsa
gensnmptree
getconf
getdents
getdirentries
getdtablesize
getegid
geteuid
getfacl
getfh
getfsstat
getgid
getgroups
getitimer
getlogin
getopt
getopts
getpeername
getpgid
getpgrp
getpid
getppid
getpriority
getresgid
getresuid
getrlimit
getrusage
gets
getsid
getsockname
getsockopt
gettext
gettextize
gettimeofday
gettytab
getuid
glob
global
gmake
goto
gperf
gprof
grab
grep
grid
grn
grodvi
groff
groff_font
groff_out
groff_tmac
grog
grolbp
grolj4
grops
grotty
group
groups
gunzip
gzcat
gzexe
gzip
h2ph
h2xs
hash
hashstat
hd
head
help2man
hesinfo
hexdump
history
host
hostname
hosts
hosts_access
hosts_options
hpftodit
http
hup
i386_get_ioperm
i386_get_ldt
i386_set_ioperm
i386_set_ldt
i386_vm86
iconv
id
ident
idprio
if
ifnames253
ifnames259
image
imapd
incr
indent
indxbib
info
infokey
inode
install
instmodsh
interp
intro
introduction
ioctl
ipcrm
ipcs
ipf
ipftest
ipnat
ippool
ipresend
issetugid
jail
jail_attach
jobid
jobs
join
jot
kbdcontrol
kbdmap
kcon
kdestroy
kdump
kenv
kevent
keycap
keylogin
keylogout
keymap
keysyms
kgdb
kill
killall
killpg
kinit
kldfind
kldfirstmod
kldload
kldnext
kldstat
kldsym
kldunload
klist
kpasswd
kqueue
kse
kse_create
kse_exit
kse_release
kse_switchin
kse_thr_interrupt
kse_wakeup
ktrace
label
labelframe
lam
lappend
last
lastcomm
lastlog
lchflags
lchmod
lchown
ld
ldap
ldapadd
ldapcompare
ldapdelete
ldapmodify
ldapmodrdn
ldappasswd
ldapsearch
ldapwhoami
ldd
leave
less
lesskey
lex
lgetfh
lhash
libnetcfg
library
limit
limits
lindex
link
linprocfs
linsert
lint
lio_listio
list
listbox
listen
lj4_font
lkbib
llength
lmtp
ln
load
loadfont
local
locale
locate
lock
lockf
log
logger
login
logins
logname
logout
look
lookbib
lorder
lower
lp
lpq
lpr
lprm
lptest
lrange
lreplace
ls
lsearch
lseek
lset
lsort
lstat
lsvfs
lutimes
lynx
m4
madvise
magic
mail
maildiracl
maildirkw
maildirmake
mailq
mailx
make
makeinfo
makewhatis
man
manpath
master
mc
mcedit
mcview
md2
md4
md5
mdc2
memory
menu
menubar
menubutton
merge
mesg
message
mincore
minherit
minigzip
mkdep
mkdir
mkfifo
mkimapdcert
mklocale
mknod
mkpop3dcert
mkstr
mktemp
mlock
mlockall
mmap
mmroff
modfind
modfnext
modnext
modstat
moduli
more
motd
mount
mprotect
mptable
msdos
msdosfs
msgattrib
msgcat
msgcmp
msgcomm
msgconv
msgen
msgexec
msgfilter
msgfmt
msggrep
msginit
msgmerge
msgs
msgunfmt
msguniq
mskanji
msql2mysql
msync
mt
munlock
munlockall
munmap
mv
myisamchk
myisamlog
myisampack
mysql
mysqlaccess
mysqladmin
mysqlbinlog
mysqlcheck
mysqld
mysqldump
mysqld_multi
mysqld_safe
mysqlhotcopy
mysqlimport
mysqlshow
mysql_config
mysql_fix_privilege_tables
mysql_zap
namespace
nanosleep
nawk
nc
ncal
ncplist
ncplogin
ncplogout
neqn
netconfig
netgroup
netid
netstat
networks
newaliases
newgrp
nex
nfsstat
nfssvc
ngettext
nice
nl
nm
nmount
nohup
nologin
notify
nroff
nseq
nslookup
ntp_adjtime
ntp_gettime
nvi
nview
objcopy
objdump
objformat
ocsp
od
onintr
open
openssl
opieaccess
opieinfo
opiekey
opiekeys
opiepasswd
option
options
oqmgr
pack
package
packagens
pagesize
palette
pam_auth
panedwindow
parray
passwd
paste
patch
pathchk
pathconf
pawd
pax
pbm
pcre
pcreapi
pcrebuild
pcrecallout
pcrecompat
pcrecpp
pcregrep
pcrematching
pcrepartial
pcrepattern
pcreperform
pcreposix
pcreprecompile
pcresample
pcretest
perl
perl56delta
perl58delta
perl561delta
perl570delta
perl571delta
perl572delta
perl573delta
perl581delta
perl582delta
perl583delta
perl584delta
perl585delta
perl586delta
perl587delta
perl588delta
perl5004delta
perl5005delta
perlaix
perlamiga
perlapi
perlapio
perlapollo
perlartistic
perlbeos
perlbook
perlboot
perlbot
perlbs2000
perlbug
perlcall
perlcc
perlce
perlcheat
perlclib
perlcn
perlcompile
perlcygwin
perldata
perldbmfilter
perldebguts
perldebtut
perldebug
perldelta
perldgux
perldiag
perldoc
perldos
perldsc
perlebcdic
perlembed
perlepoc
perlfaq
perlfaq1
perlfaq2
perlfaq3
perlfaq4
perlfaq5
perlfaq6
perlfaq7
perlfaq8
perlfaq9
perlfilter
perlfork
perlform
perlfreebsd
perlfunc
perlglossary
perlgpl
perlguts
perlhack
perlhist
perlhpux
perlhurd
perlintern
perlintro
perliol
perlipc
perlirix
perlivp
perljp
perlko
perllexwarn
perllinux
perllocale
perllol
perlmachten
perlmacos
perlmacosx
perlmint
perlmod
perlmodinstall
perlmodlib
perlmodstyle
perlmpeix
perlnetware
perlnewmod
perlnumber
perlobj
perlop
perlopenbsd
perlopentut
perlos2
perlos390
perlos400
perlothrtut
perlpacktut
perlplan9
perlpod
perlpodspec
perlport
perlqnx
perlre
perlref
perlreftut
perlrequick
perlreref
perlretut
perlrun
perlsec
perlsolaris
perlstyle
perlsub
perlsyn
perlthrtut
perltie
perltoc
perltodo
perltooc
perltoot
perltrap
perltru64
perltw
perlunicode
perluniintro
perlutil
perluts
perlvar
perlvmesa
perlvms
perlvos
perlwin32
perlxs
perlxstut
perror
pfbtops
pftp
pgrep
phones
photo
pic
pickup
piconv
pid
pipe
pkcs7
pkcs8
pkcs12
pkg_add
pkg_check
pkg_create
pkg_delete
pkg_info
pkg_sign
pkg_version
pkill
pl2pm
place
pod2html
pod2latex
pod2man
pod2text
pod2usage
podchecker
podselect
poll
popd
popup
posix_madvise
postalias
postcat
postconf
postdrop
postfix
postkick
postlock
postlog
postmap
postqueue
postsuper
pr
pread
preadv
printcap
printenv
printf
proc
procfs
profil
protocols
prove
proxymap
ps
psed
psroff
pstruct
ptrace
publickey
pushd
puts
pwd
pwrite
pwritev
qmgr
qmqpd
quota
quotactl
radiobutton
raise
rand
ranlib
rcp
rcs
rcsclean
rcsdiff
rcsfile
rcsfreeze
rcsintro
rcsmerge
read
readelf
readlink
readonly
readv
realpath
reboot
recv
recvfrom
recvmsg
red
ree
refer
regexp
registry
regsub
rehash
remote
rename
repeat
replace
req
reset
resolver
resource
return
rev
revoke
rfcomm_sppd
rfork
rhosts
ripemd
ripemd160
rlog
rlogin
rm
rmd160
rmdir
rpc
rpcgen
rs
rsa
rsautl
rsh
rtld
rtprio
rup
ruptime
rusers
rwall
rwho
s2p
safe
sasl
sasldblistusers2
saslpasswd2
sbrk
scache
scale
scan
sched
sched_getparam
sched_getscheduler
sched_get_priority_max
sched_get_priority_min
sched_rr_get_interval
sched_setparam
sched_setscheduler
sched_yield
scon
scp
script
scrollbar
sdiff
sed
seek
select
selection
semctl
semget
semop
send
sendbug
sendfile
sendmail
sendmsg
sendto
services
sess_id
set
setegid
setenv
seteuid
setfacl
setgid
setgroups
setitimer
setlogin
setpgid
setpgrp
setpriority
setregid
setresgid
setresuid
setreuid
setrlimit
setsid
setsockopt
settc
settimeofday
setty
setuid
setvar
sftp
sh
sha
sha1
sha256
shar
shells
shift
shmat
shmctl
shmdt
shmget
showq
shutdown
sigaction
sigaltstack
sigblock
sigmask
sigpause
sigpending
sigprocmask
sigreturn
sigsetmask
sigstack
sigsuspend
sigvec
sigwait
size
slapadd
slapcat
slapd
slapdn
slapindex
slappasswd
slaptest
sleep
slogin
slurpd
smbutil
smime
smtp
smtpd
socket
socketpair
sockstat
soelim
sort
source
spawn
speed
spinbox
spkac
splain
split
squid
squid_ldap_auth
squid_ldap_group
squid_unix_group
sscop
ssh
sshd_config
ssh_config
stab
startslip
stat
statfs
stop
string
strings
strip
stty
su
subst
sum
suspend
swapoff
swapon
switch
symlink
sync
sysarch
syscall
sysconftool
sysconftoolcheck
systat
s_client
s_server
s_time
tabs
tail
talk
tar
tbl
tclsh
tcltest
tclvars
tcopy
tcpdump
tcpslice
tcsh
tee
tell
telltc
telnet
term
termcap
terminfo
test
texindex
texinfo
text
textdomain
tfmtodit
tftp
then
threads
time
tip
tk
tkerror
tkvars
tkwait
tlsmgr
tmac
top
toplevel
touch
tput
tr
trace
trafshow
trap
troff
true
truncate
truss
tset
tsort
tty
ttys
type
tzfile
ui
ul
ulimit
umask
unalias
uname
uncomplete
uncompress
undelete
unexpand
unhash
unifdef
unifdefall
uniq
units
unknown
unlimit
unlink
unmount
unset
unsetenv
until
unvis
update
uplevel
uptime
upvar
usbhidaction
usbhidctl
users
utf8
utimes
utmp
utrace
uudecode
uuencode
uuidgen
vacation
variable
verify
version
vfork
vgrind
vgrindefs
vi
vidcontrol
vidfont
view
virtual
vis
vt220keys
vwait
w
wait
wait3
wait4
waitpid
wall
wc
wget
what
whatis
where
whereis
which
while
who
whoami
whois
window
winfo
wish
wm
write
writev
wtmp
x509
xargs
xgettext
xmlwf
xstr
xsubpp
yacc
yes
ypcat
ypchfn
ypchpass
ypchsh
ypmatch
yppasswd
ypwhich
yyfix
zcat
zcmp
zdiff
zegrep
zfgrep
zforce
zgrep
zmore
znew
_exit
__syscall
 
FreeBSD/Linux/UNIX General Commands Manual
Hypertext Man Pages
grn
 
GRN(1)									GRN(1)



NAME
       grn - groff preprocessor for gremlin files

SYNOPSIS
       grn [ -Cv ] [ -Tdev ] [ -Mdir ] [ -Fdir ] [ file... ]

       It is possible to have whitespace between a command line option and its
       parameter.

DESCRIPTION
       grn is a preprocessor for including gremlin pictures  in  groff	input.
       grn  writes to standard output, processing only input lines between two
       that start with .GS and .GE.  Those lines  must	contain  grn  commands
       (see below).  These commands request a gremlin file, and the picture in
       that file is converted and placed in the troff input stream.   The  .GS
       request	may be followed by a C, L, or R to center, left, or right jus-
       tify the whole gremlin picture (default justification is  center).   If
       no  file  is  mentioned, the standard input is read.  At the end of the
       picture, the position on the page is the bottom of the gremlin picture.
       If the grn entry is ended with .GF instead of .GE, the position is left
       at the top of the picture.

       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
	      default  path is (in that order) the current directory, the home
	      directory,      /usr/share/tmac,	    /usr/share/tmac,	   and
	      /usr/share/tmac.

       -Fdir  Search  dir  for subdirectories devname (name is the name of the
	      device) for the DESC file before the  default  font  directories
	      /usr/share/groff_font,	     /usr/share/groff_font,	   and
	      /usr/share/groff_font.

       -C     Recognize .GS and .GE (and .GF) even when followed by a  charac-
	      ter other than space or newline.

       -v     Print the version number.

GRN COMMANDS
       Each input line between .GS and .GE may have one grn command.  Commands
       consist of one or two strings  separated  by  white  space,  the  first
       string  being  the command and the second its operand.  Commands may be
       upper or lower case and abbreviated down to one character.

       Commands that affect  a	picture's  environment	(those	listed	before
       default,  see  below)  are  only in effect for the current picture: The
       environment is reinitialized to the defaults at the start of  the  next
       picture.  The commands are as follows:

       1 N
       2 N
       3 N
       4 N    Set  gremlin's text size number 1 (2, 3, or 4) to N points.  The
	      default is 12 (16, 24, and 36, respectively).

       roman f
       italics f
       bold f
       special f
	      Set the roman (italics, bold, or special) font to troff's font f
	      (either  a  name	or  number).   The  default is R (I, B, and S,
	      respectively).

       l f
       stipple f
	      Set the stipple font to troff's stipple font f (name or number).
	      The  command  stipple may be abbreviated down as far as `st' (to
	      avoid confusion with special).  There is no default for stipples
	      (unless one is set by the default command), and it is invalid to
	      include a gremlin picture with  polygons	without  specifying  a
	      stipple font.

       x N
       scale N
	      Magnify  the  picture (in addition to any default magnification)
	      by N, a floating point number larger  than  zero.   The  command
	      scale may be abbreviated down to `sc'.

       narrow N
       medium N
       thick N
	      Set the thickness of gremlin's narrow (medium and thick, respec-
	      tively) 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),
	      which corresponds to 0.15pt (0.45pt and  0.75pt,	respectively).
	      A  thickness  value  of zero selects the smallest available line
	      thickness.  Negative values cause the line thickness to be  pro-
	      portional to the current point size.

       pointscale <off/on>
	      Scale  text  to  match  the  picture.   Gremlin  text is usually
	      printed in the point size specified with the commands 1,	2,  3,
	      or 4, regardless of any scaling factors in the picture.  Setting
	      pointscale will cause the point sizes to scale with the  picture
	      (within troff's limitations, of course).	An operand of anything
	      but off will turn text scaling on.

       default
	      Reset the picture environment defaults to the  settings  in  the
	      current picture.	This is meant to be used as a global parameter
	      setting mechanism at the beginning of the troff input file,  but
	      can be used at any time to reset the default settings.

       width N
	      Forces  the  picture  to	be  N inches wide.  This overrides any
	      scaling factors present in  the  same  picture.	`width	0'  is
	      ignored.

       height N
	      Forces  picture  to  be  N inches high, overriding other scaling
	      factors.	If both `width' and `height' are specified the tighter
	      constraint  will determine the scale of the picture.  Height and
	      width commands are not saved with a default command.  They will,
	      however, affect point size scaling if that option is set.

       file name
	      Get picture from gremlin file name located the current directory
	      (or in the library directory; see the -M option above).  If  two
	      file commands are given, the second one overrides the first.  If
	      name doesn't exist, an error message is reported and  processing
	      continues from the .GE line.

NOTES ABOUT GROFF
       Since  grn  is  a  preprocessor, it doesn't know about current indents,
       point sizes, margins, number registers, etc.   Consequently,  no  troff
       input can be placed between the .GS and .GE requests.  However, gremlin
       text is now processed by troff, so anything legal in a single  line  of
       troff  input is legal in a line of gremlin text (barring `.' directives
       at the beginning of a line).  Thus, it is possible  to  have  equations
       within  a  gremlin  figure by including in the gremlin file eqn expres-
       sions enclosed by previously defined delimiters (e.g.  $$).

       When using grn along with other preprocessors, it is best  to  run  tbl
       before  grn,  pic,  and/or  ideal to avoid overworking tbl.  Eqn should
       always be run last.

       A picture is considered an entity, but that  doesn't  stop  troff  from
       trying  to  break it up if it falls off the end of a page.  Placing the
       picture between `keeps' in -me macros will ensure proper placement.

       grn uses troff's number registers g1 through g9 and sets  registers  g1
       and  g2 to the width and height of the gremlin figure (in device units)
       before entering the .GS request (this is for those who want to  rewrite
       these macros).

GREMLIN FILE FORMAT
       There exist two distinct gremlin file formats, the original format from
       the AED graphic terminal version, and  the  SUN	or  X11  version.   An
       extension  to  the SUN/X11 version allowing reference points with nega-
       tive coordinates is not compatible with the AED version.  As long as  a
       gremlin	file does not contain negative coordinates, either format will
       be read correctly by either version of gremlin or grn.  The other  dif-
       ference	to  the SUN/X11 format is the use of names for picture objects
       (e.g., POLYGON, CURVE) instead of numbers.  Files representing the same
       picture are shown in Table 1 in each format.


			sungremlinfile	      gremlinfile
			0 240.00 128.00       0 240.00 128.00
			CENTCENT	      2
			240.00 128.00	      240.00 128.00
			185.00 120.00	      185.00 120.00
			240.00 120.00	      240.00 120.00
			296.00 120.00	      296.00 120.00
			*		      -1.00 -1.00
			2 3		      2 3
			10 A Triangle	      10 A Triangle
			POLYGON 	      6
			224.00 416.00	      224.00 416.00
			96.00 160.00	      96.00 160.00
			384.00 160.00	      384.00 160.00
			*		      -1.00 -1.00
			5 1		      5 1
			0		      0
			-1		      -1

			       Table 1. File examples


       o      The  first  line of each gremlin file contains either the string
	      gremlinfile (AED version) or sungremlinfile (SUN/X11)

       o      The second line of the file contains an orientation, and x and y
	      values for a positioning point, separated by spaces.  The orien-
	      tation, either 0 or 1, is ignored by  the  SUN/X11  version.   0
	      means  that  gremlin  will  display  things in horizontal format
	      (drawing area wider than it is tall, with menu across  top).   1
	      means that gremlin will display things in vertical format (draw-
	      ing area taller than it is wide, with menu on left side).  x and
	      y  are  floating	point  values giving a positioning point to be
	      used when this file is read into another	file.	The  stuff  on
	      this  line  really isn't all that important; a value of ``1 0.00
	      0.00'' is suggested.

       o      The rest of the file consists of zero or more element specifica-
	      tions.   After the last element specification is a line contain-
	      ing the string ``-1''.

       o      Lines longer than 127 characters are chopped to this limit.

ELEMENT SPECIFICATIONS
       o      The first line of each element contains a single decimal	number
	      giving  the  type of the element (AED version) or its ASCII name
	      (SUN/X11 version).  See Table 2.


		      gremlin File Format - Object Type Specification

		  AED Number   SUN/X11 Name	      Description
		       0       BOTLEFT	      bottom-left-justified text
		       1       BOTRIGHT       bottom-right-justified text
		       2       CENTCENT       center-justified text
		       3       VECTOR	      vector
		       4       ARC	      arc
		       5       CURVE	      curve
		       6       POLYGON	      polygon
		       7       BSPLINE	      b-spline
		       8       BEZIER	      Bezier
		      10       TOPLEFT	      top-left-justified text
		      11       TOPCENT	      top-center-justified text
		      12       TOPRIGHT       top-right-justified text
		      13       CENTLEFT       left-center-justified text
		      14       CENTRIGHT      right-center-justified text
		      15       BOTCENT	      bottom-center-justified text

					  Table 2.
			    Type Specifications in gremlin Files


       o      After the object type comes a variable  number  of  lines,  each
	      specifying  a point used to display the element.	Each line con-
	      tains an x-coordinate and a y-coordinate in floating point  for-
	      mat, separated by spaces.  The list of points is terminated by a
	      line containing the string ``-1.0 -1.0'' (AED version) or a sin-
	      gle asterisk, ``*'' (SUN/X11 version).

       o      After  the  points  comes  a line containing two decimal values,
	      giving the brush and size for the element.  The brush determines
	      the  style  in  which  things are drawn.	For vectors, arcs, and
	      curves there are six legal brush values:


			      1 -	thin dotted lines
			      2 -	thin dot-dashed lines
			      3 -	thick solid lines
			      4 -	thin dashed lines
			      5 -	thin solid lines
			      6 -	medium solid lines

	      For polygons, one more value, 0, is legal.  It specifies a poly-
	      gon  with  an  invisible	border.  For text, the brush selects a
	      font as follows:


			    1 -       roman (R font in groff)
			    2 -       italics (I font in groff)
			    3 -       bold (B font in groff)
			    4 -       special (S font in groff)

	      If you're using grn to run your pictures through groff, the font
	      is really just a starting font: The text string can contain for-
	      matting sequences like ``\fI'' or ``\d'' which  may  change  the
	      font  (as  well  as  do  many other things).  For text, the size
	      field is a decimal value between 1 and 4.  It selects  the  size
	      of the font in which the text will be drawn.  For polygons, this
	      size field is interpreted as a stipple number to fill the  poly-
	      gon  with.   The	number is used to index into a stipple font at
	      print time.

       o      The last line of each element contains a decimal	number	and  a
	      string  of  characters, separated by a single space.  The number
	      is a count of the number of  characters  in  the	string.   This
	      information  is  only  used  for text elements, and contains the
	      text string.  There can be spaces inside the  text.   For  arcs,
	      curves,  and  vectors,  this  line  of  the element contains the
	      string ``0''.

NOTES ON COORDINATES
       gremlin was designed for AEDs, and  its	coordinates  reflect  the  AED
       coordinate  space.   For  vertical pictures, x-values range 116 to 511,
       and y-values from 0 to 483.  For horizontal  pictures,  x-values  range
       from  0	to 511 and y-values range from 0 to 367.  Although you needn't
       absolutely stick to this range, you'll get best results if you at least
       stay  in this vicinity.	Also, point lists are terminated by a point of
       (-1, -1), so you shouldn't  ever  use  negative	coordinates.   gremlin
       writes  out  coordinates  using	format ``%f1.2''; it's probably a good
       idea to use the same format if you want to modify the grn code.

NOTES ON SUN/X11 COORDINATES
       There is no longer a restriction on the range of  coordinates  used  to
       create  objects in the SUN/X11 version of gremlin.  However, files with
       negative coordinates will cause problems if displayed on the AED.

FILES
       /usr/share/groff_font/devname/DESC
	      Device description file for device name.

SEE ALSO
       gremlin(1), groff(1), pic(1), ideal(1)

HISTORY
       David Slattengren and Barry Roitblat wrote the original Berkeley grn.

       Daniel Senderowicz and Werner Lemberg modified it for groff.



Groff Version 1.19.2	       15 November 2005 			GRN(1)
=1
+1
(1)