alexis@panix.uucp (Alexis Rosen) (03/28/91)
While I think that these are bugs in A/UX, it's likely that some are due solely to my ignorance or carelessness. Does anyone know for sure if the following bugs are really bugs? 1) More More seems to hate job control. If I ^Z out of more and then fg back to it, it won't let me use the space bar to see more pages. Some commands, such as 'f' and ':n', work fine. This problem appeared when I upgraded to 2.0.1. 2) ps At some times, for no reason that I can see, ps will return the heading line, but list no processes. There's no underlying problem with the system that could cause ps to fail, though, because "ps -ef | grep {myusername}" will show the process list that "ps" should have. This has been a problem since 2.0 at least, maybe 1.1 even. 3) man macros This one drives me nuts. I've created man pages to various packages like Cnews, ELM, and rn, and they ALL exhibit the same problems- headers being wrapped in the middle of the page, characters being repeated, etc. This doesn't make things unreadable, just very ugly. 4) man Speaking of man, there has been no fix for the problem of man not waiting at the end of one man page before showing the next. Also, it still has minor problems with I/O redirection. More importantly, the -T flag doesn't seem to work right- with "-Tdumb", the output is still full of backspaces and repeated characters. (Is this a bug or a 'feature?') 5) sash (A/UX startup) Sash has a really nasty problem- as far as I can tell, pname doesn't work in sash, and there seems to be no way to get to more than one partition per disk drive from within sash. In other words, if I have a partition at /dev/dsk/c3d0s3 and another at /dev/dsk/c3d0s4, sash will always see the first as (3,0,0), and won't find the second, no matter what you call it. 6) inetd There is something _really_ _wrong_ with this thing. I don't know what, but I know that if you jam up the mail subsystem, various sendmail processes will stick around _forever_ (kill -9 won't kill them), untill you kill inetd. Then they unjam, deliver their mail (which may mean bouncing them- I'm not talking about the rmail bug directly, here), and terminate normally. In a similar manner, in.talkd can become unusable. Killing it won't help, until you kill inetd as well. Then, killing in.talkd will resolve the problem. I've read about various problems with SLIP in this group. Could there possibly be some connection there with the inetd problem? 7) /etc/wtmp, /usr/spool/mqueue/syslog, etc. These files will grow without bounds until they totally consume your disk. A/UX ought to come with a cron job pre-installed which trims these files. There may be others as well (I don't remember offhand). 8) inittab The sendmail line in the default inittab sets up one sendmail to look for SMTP mail, and also to run the queue every half hour. If you aren't connected to a network, you shouldn't do the first of those two things, but you should still run the queue. 9) Permissions Various permissions are set up wrong. The most obvious of these is /usr/spool/uucp, which should be owned by and grouped to uucp, mode 755. I think /usr/lib/uucp was overly secure in the default setup as well, but I don't remember... and come to think of it, I believe that PATH and umask are still set incorrectly vy /etc/cshrc and /etc/profile. The problem is that umask is too permissive (though this is really a matter of opinion). More importantly, root always gets a PATH with '.' in it. This is a major security problem. There are probably more, but these are the ones that I have to deal with most. (The last three items are fixed on this system. While installing 2.0.1, I think I noted that all of these problems still existed. I won't swear to it, though. The other six are seen constantly.) --- Alexis Rosen Owner/Sysadmin, PANIX Public Access Unix, NY {cmcl2,apple}!panix!alexis
urlichs@smurf.sub.org (Matthias Urlichs) (03/31/91)
In comp.unix.aux, article <1991Mar28.074451.4116@panix.uucp>,
alexis@panix.uucp (Alexis Rosen) writes:
<
< 4) man
< Speaking of man, there has been no fix for the problem of man not waiting
< at the end of one man page before showing the next. Also, it still has
< minor problems with I/O redirection. More importantly, the -T flag doesn't
< seem to work right- with "-Tdumb", the output is still full of backspaces
< and repeated characters. (Is this a bug or a 'feature?')
<
That's not a problem with "man", but with "more".
The easy fix is probably to install "less" and use that as pager.
While you're at it, move all that nonsense from /usr/catman/?.man/manN to
/usr/man/catN, for N = 1..8, and create directories /usr/man/manN for the
benefit of not having to edit every Makefile in existence.
You might also want to unpack all manual pages and re-compress them.
That will make them smaller.
My man script currently looks like this:
(it's very ugly, BTW -- someday soon I'll install the Perl manual package)
#!/bin/sh
#
BASE=/usr/man
sec=\?
dir=
cmd=
entries=
TTERM=
mypager=
if [ "$PAGER" = "" ]
then
pager="ul | more -u -f -s"
else
pager=$PAGER ## typically, "less -cemsi"
fi
roffer="nroff -man | col"
#
# parse options
for i in $*
do case $i in
[1-8]) sec=$i ;;
-d) dir=. ;;
-w) cmd=w ;;
-T*) TERM="`echo $i | sed 's/-T//'`" ;;
-12) TTERM=-12 ;;
*) entries="$entries $i" ;;
esac
done
# now find the named entries
for i in $entries
do
if [ "$dir" = "." ]
then if [ ! -r "$i" ]
then echo $0: $i not found >&2
# exit 1
else all="$all $i"
fi
else
cd $BASE
fil="`find *$sec/$i.* -print 2>/dev/null`"
if [ -n "$fil" ]
then all="$all $fil"
else echo $0: $i not found >&2
# exit 1
fi
fi
done
# now print the pages
if [ "$cmd" = "w" ]
then echo $all
exit 0
else for i in $all
do
case $i in
man*) printer="$roffer" ;;
cat*) printer="cat";;
*) printer="cat";;
esac
case $i in
*.Z) getter="zcat" ;;
*.z) getter="pcat" ;;
*) getter=" cat" ;;
esac
eval " $getter $i | $printer | $pager"
done
fi
--
Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\
Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330) \o)/