job control weirdness

Sascha Wildner saw at online.de
Sat Apr 8 18:09:05 PDT 2006


Hi,

I've noticed the following strange behavior (at least in csh) for some 
time now. Anyone know what the cause of this might be?

zoot# yes > /dev/null
^Z
Suspended
zoot# bg
[1]    yes > /dev/null &
zoot# fg
fg: No current job.
zoot# ls
account/        caps/           db/             heimdal/        log/ 
        preserve/       spool/
at/             crash/          empty/          lib/            mail/ 
        run/            tmp@
backups/        cron/           games/          lock/           msgs/ 
        rwho/           yp/
zoot# fg
yes > /dev/null
^C
zoot#

Note that the first fg doesn't work but the second does. My feeling is 
that this is not expected behavior.

It occurs in HEAD here but I think it is in 1.4.x as well.

Regards,
Sascha
--
http://yoyodyne.ath.cx




More information about the Bugs mailing list