[comp.sys.sun] Bugs in csh and dbx under SunOS 4.1

rcomr@koel.co.rmit.oz.au (Mark Rawling) (11/04/90)

Could someone _please_ comment on the following bugs (ie are they known?
have they been fixed? will they be fixed? does anyone give a damn? etc):-
(SS1+, SunOS4.1, X windows)

(1) dbx

`use' is broken:-

        (dbx) use a b c
        (dbx) use
        c b a

Wrong order! Can have nasty consequences when searching for files.

(2) dbx

`up' and `down' are broken

        up (and less commonly down) report the wrong line number

(3) csh

        % set filec      (causes the bug)
        % set ignoreeof  (saves you from the consequences of the bug)
        % vi
        (in vi - :map #1 :w^M^Z ie write out the file and suspend)
        (in vi - hit F1 and any other key in rapid succession eg F1x)
        Stopped
        %
        Use "logout" to logout.
        %

The extra character (x) gets swallowed and the shell gets an EOF.  This is
_really_ annoying 'cause I used to use this function mapping all the time,
until SunOS4 came along and stuffed up csh (and dbx).  NB this doesn't
just happen in vi - less does it too, but it has to be made to work, eg
swap it out first. Perhaps it's related to curses or more likely anything
that plays with terminal modes.  Of course, if you don't set ignoreeof,
your window just disappears on you.  I used to think my randomly vanishing
windows was some horrible X bug, but the truth is now revealed.

I trust someone with some responsibility will have the decency to give a
meaningful reply to this article ;-).

ps: why doesn't vi have a `write if modified' command ie like :x but
    doesn't exit]

Mark Rawling,    CSIRO Division of Information Technology,
	         High Performance Computation Group,
                 c/o Royal Melbourne Institute of Technology,
                 email: rcomr@koel.co.rmit.oz{.au}, phone: (+ 61 3) 660 2726