fmbutt@mrbt.sw.stratus.com (Farooq Butt) (08/31/90)
I am trying to get the XDITVIEW program to work. I installed the
"devX75" font directory in /usr/lib/font on my machine (after
doing a makedev for the fonts). Now whenever I run ditroff with the
new X font package, it dies like so:
ditroff -TX75 -man ./ls.1v > foo
Segmentation fault (core dumped)
(I did a "trace" and that is outlined below...)
... deleted stuff
mmap (0, 8192, 1, 0x80000001, 3, 0) = 0xdfdfc000
close (3) = 0
open ("/usr/lib/libc.so.0.12", 0, 033767760000) = 3
read (3, "".., 32) = 32
mmap (0, 425984, 5, 0x80000002, 3, 0) = 0xdfd76000
mmap (0xdfdd6000, 32768, 7, 0x80000012, 3, 270336) = 0xdfdd6000
munmap (0xdfdb8000, 122880) = 0
close (3) = 0
close (4) = 0
sigvec (1, 0xdffffbb8, 0xdffffbe8) = 0
sigvec (1, 0xdffffbb8, 0) = 0
sigvec (2, 0xdffffbb8, 0xdffffbe8) = 0
sigvec (13, 0xdffffbb8, 0xdffffbe8) = 0
sigvec (15, 0xdffffbb8, 0xdffffbe8) = 0
sigvec (15, 0xdffffbb8, 0) = 0
getpid () = 1550
access ("/usr/tmp/trtmpa1550", 0) = -1 ENOENT (No such file or directory)
creat ("/usr/tmp/trtmpa1550", 0600) = 3
close (3) = 0
open ("/usr/tmp/trtmpa1550", 02, 0) = 3
ioctl (0, 0x40125401, 0xdffffb34) = 0
fstat (0, 0xdffffba4) = 0
open ("/dev/", 0, 02) = 4
fstat (4, 0xdffffb0c) = 0
getpagesize () = 8192
brk (0x2b1d0) = 0
brk (0x2d1d4) = 0
brk (0x311d4) = 0
getdents (4, 0x2d1d8, 8192) = 7864
stat ("/dev/ttyp5", 0xdffffb68) = 0
close (4) = 0
open ("/usr/lib/font/devX75/DESC.out", 0, 020000) = 4
read (4, "".., 28) = 28
brk (0x351fc) = 0
read (4, "".., 15424) = 15424
- SIGSEGV (11)
what's up ? Why does ditroff hate these new fonts ? Was I supposed to
do anything else ? There *is* a program called "xtotroff" but being
troff-ignorant, I do not know what that is for...
PS: ditroff still works great for the postscript fonts like always....
h e l p !
Farooq
--
Hi-Tech Disclaimer: NOTHING in the above article has any relationship
to reality. If any reality correspondences are found,
please notify me IMMEDIATELY. Any threats or abuse
of any kind is purely unintentional. My employer is not liable. keith@EXPO.LCS.MIT.EDU (Keith Packard) (08/31/90)
> ditroff -TX75 -man ./ls.1v > foo > Segmentation fault (core dumped) The X75 fonts attempt to include too many preloaded names; in most ditroff versions you can only have 10. Try editing the DESC file and eliding 11 of the fonts. You *must* leave in R I B and S; everything else is gravy. If I understood exactly how this file is supposed to work given more than 10 fonts, I'd tell you how to fix it correctly.