Package: ksh
Version: 93s+20080202-1
Severity: important
User: [email protected]
Usertags: kfreebsd

When you suspend a process with Ctrl-Z in ksh on kfreebsd, fg doesn't
get it back. ksh 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 switch to fullscreen mode, 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
Stopped process continued

and you have suddenly a ksh 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. ksh believes there is no
more job running:

$ jobs
$ fg
ksh: fg: no such job
$ 

But it is:

$ ps auxwww | fgrep zile
Unknown HZ value! (23) Assume 100.
abe      56826  0.0  0.0   4172     0 ?        S+   Mar23   0:00 fgrep zile
abe      56823  0.0  0.0   4432     0 ?        T    Mar23   0:00 zile
$ 

Since that problem only exists with bash and 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 ksh depends on:
ii  libc0.1                       2.9-6      GNU C Library: Shared libraries

ksh recommends no packages.

ksh suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to