Project

General

Profile

Actions

Bug #140

closed

job control weirdness

Added by swildner about 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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

Actions

Also available in: Atom PDF