This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

1.7: Job control failing in rxvt + bash (can suspend, but fg/bg fail)


?? I'm having problems with the job control inside the Windows-native
rxvt: I can suspend jobs fine.? But when I attempt to foreground them
via "fg" or "%1", the shell reports the name of the job (e.g. "vim
.inputrc") and then just gives me another shell prompt.? After this
point, the job no longer appears in the output of 'jobs', nor can it
be foregrounded, etc.? However the job's process is still running and
(in the cases of vim or emacs) in a sleeping state.? It cannot (in the
cases of vim or emacs) be killed normally, but only with a kill -9.

?? This issue only appears in certain circumstances: only when I'm
running inside cygwin's Windows-native rxvt window, and only when I'm
running the bash shell.? There's no problem when using the tcsh shell
in a native rxvt, and no problem when using bash in a Windows
terminal.? But the combination of native rxvt+bash seems to break job
control.

?? I did some further testing using a simple perl script which
continually output the time to a file.? When I ran it, stopped it, and
attempted to resume it in the foreground, bash again failed to
actually foreground the process.? Bash also lost track of the job.
But it did get the script to continue executing; and the script could
be killed with a normal kill (SIGTERM.)

?? When I ran the script, stopped it, and attempted to resume it in
the background, the behavior was even more odd.? The stop worked fine,
as before, and running "bg" did cause the script to begin executing in
the background.? But when I ran ps, bash then reported "Unkown status:
core dumped" and lost track of the job, even though the process
continued running with no problem.? (It could again be killed with a
normal SIGTERM.)

?? I've included a text file with shell transcripts showing this
behavior, and cygcheck output.? Anyone know the cause?

Thanks,
Ali

-----------------
Versions:

Windows Vista 64-bit (x86_64) SP1
CYGWIN 1.7 Beta

cygwin: 1.7.0-52
bash: 3.2.49-23
rxvt: 20050409-21?? (Rxvt v2.7.10 - released: 26 MARCH 2003)
------------------

--
Although this may seem a paradox, all exact science is dominated by
the idea of approximation.
-Bertrand Russell (1872-1970)

Attachment: rxvt-bash-odd_job_control.txt
Description: Text document

Attachment: cygcheck.out
Description: Binary data

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]