Package: bash
Version: 3.2-5
Severity: important
User: glibc-bsd-de...@lists.alioth.debian.org
Usertags: kfreebsd

When you suspend a process with Ctrl-Z in bash on kfreebsd, fg doesn't
get it back. bash seems to believe there's no more job running, but
the processes are still running.

An example with zile. (Happens with a simple "cat", too, except cat
doesn't give feedback on the final kill, that's why I use zile as
example.) The problem should be reproducable with any other text-mode
application which has working suspend on Linux or FreeBSD, too.

$ zile
^Z
$ fg

and you have suddenly a bash prompt in the middle of the terminal
which already switched back to fullscreen text-mode for zile.

You can't get zile back with "fg" again. bash believes there is no
more job running.

But it is. If you then logout or exit the bash, you get the following
messages to the terminal:

a...@metisse:~$ logout
zile: terminated with signal 1.
Trying to save modified buffers (if any)...

Since that problem only exists with bash and the original ksh, but not
with zsh, mksh, csh or pdksh, it doesn't seem to be a general kfreebsd
neither an application (e.g. zile, cat, etc.) problem.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (110, 'experimental')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 7.1-1-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash depends on:
ii  base-files                5.0            Debian base system miscellaneous f
ii  debianutils               3.0.1          Miscellaneous utilities specific t
ii  libc0.1                   2.9-6          GNU C Library: Shared libraries
ii  libncurses5               5.7+20090328-1 shared libraries for terminal hand

Versions of packages bash recommends:
ii  bash-completion               1:1.0-2    programmable completion for the ba

Versions of packages bash suggests:
pn  bash-doc                      <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to