[2246] in Athena Bugs
(RT/PC) 6.2: csh "jobs"
daemon@ATHENA.MIT.EDU (qjb@ATHENA.MIT.EDU)
Tue May 16 15:36:10 1989
From: <qjb@ATHENA.MIT.EDU>
Date: Tue, 16 May 89 15:35:49 EDT
To: bugs@ATHENA.MIT.EDU, rt-testers@ATHENA.MIT.EDU
System type, version: (RT/PC) Version 6.2A
System name: soup
What's wrong:
If you run a job in a shell, and type jobs, it tells you the job
is running. If you then stop the job by any means, you get
notified from the shell that the job is stopped. The jobs
command indicates that it is stopped. If you continue the job
by means other than bg %n or %n &, the shell doesn't know that
the job has been continued even though the job really has.
Demo:
% set notify
% sleep 60 &
[1] 12285
% stop %1
[1] + Stopped (signal) sleep 60
% jobs
[1] + Stopped (signal) sleep 60
% %1 &
[1] sleep 60 &
% jobs
[1] Running sleep 60
% kill -STOP 12285
[1] + Stopped (signal) sleep 60
% bg %1
[1] sleep 60 &
% stop 12285
[1] + Stopped (signal) sleep 60
% kill -CONT 12285
% jobs
[1] + Stopped (signal) sleep 60
% stop %1
%1: Already stopped
%
[1] Done sleep 60