Article View: net.bugs.2bsd
Article #331nroff, ptx, spell bugs
From: Skip Egdorf
Date: Sat, 11 Oct 1986 01:52
Date: Sat, 11 Oct 1986 01:52
29 lines
1681 bytes
1681 bytes
I just finished rebuilding a 2.9 BSD CSS system from scratch
and found a few things missing that don't show up when upgrading
a Berkeley 2.9 system.
1. /usr/bin/spell is a shell script that is missing.
The spell.c in .../src/usr.bin/spell is for /usr/lib/spell.
I borrowed a 4.2 version...
2. ptx has /bin/sort wired in, while sort is now in /usr/bin.
the code after the 'fork' uses a switch statement to check
the pid for -1, child, parent.
THE CODE FOR THE CHILD (an execl) FALLS THROUGH INTO THE PARENT'S
CASE!!! ptx hangs with the child getting -1's back from "wait"
forever.
I fixed it with a symbolic link from /bin/sort -> /usr/bin/sort,
and will fix the code when I get a chance. (I know... I should
fix it now).
3. nroff dumps core whenever it tries to hyphenate a word.
Some data tables are moved into the text segment by a script that
removes ".data" and adds a ".text" at the top of the assembler
code. However, nroff is linked with a "-i".
The fix is to remove the ${LFLAG} in the makefile, and load it
non-separate. ("-n" seems to make it a tad too big...).
That's all for now. No source code changes this time.
Skip Egdorf
hwe@lanl.DOE.GOV
Technical Details
Message-ID:
<8423@lanl.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!cmcl2!lanl!hweShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!cmcl2!lanl!hwe From: hwe@lanl.ARPA (Skip Egdorf) Newsgroups: net.bugs.2bsd Subject: nroff, ptx, spell bugs Message-ID: <8423@lanl.ARPA> Date: Fri, 10-Oct-86 21:52:49 EDT Article-I.D.: lanl.8423 Posted: Fri Oct 10 21:52:49 1986 Date-Received: Sat, 11-Oct-86 20:45:44 EDT Distribution: net Organization: Los Alamos National Laboratory Lines: 29