misc/102357: csh/tcsh jobs control

Todor Dragnev todor.dragnev at gmail.com
Mon Aug 21 19:10:15 UTC 2006


>Number:         102357
>Category:       misc
>Synopsis:       csh/tcsh jobs control
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 21 19:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Todor Dragnev
>Release:        freebsd 6.1
>Organization:
>Environment:
FreeBSD iLux.g00net.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jun 14 00:56:11 EEST 2006     root at iLux.g00net.org:/usr/src/sys/i386/compile/ZEON  i386

>Description:
I have problem with jobs control in 'tcsh' or 'csh' shell.
Sometimes 'fg' command doesn't captures back the background process.
When executing something else, 'fg' starts working.
>How-To-Repeat:
~> tail -f /var/log/httpd-error.log
..
--- output is removed ---
..
^Z
Suspended
~> bg
[1]    tail -f /var/log/httpd-error.log &
~> jobs 
[1]    Running                       tail -f /var/log/httpd-error.log
~> jobs -l
[1]     4372 Running                       tail -f /var/log/httpd-error.log
~> fg
fg: No current job.
~> man
What manual page do you want?
~> fg
tail -f /var/log/httpd-error.log
^C
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list