Package: bash
Version: 4.1-3
Severity: wishlist

Hello,

I suggest enabling the checkjobs option by default. This option was introduced
in bash 4.0 and causes bash to print a message if there are background jobs
before exiting an interactive shell. This is very handy if you forgot about
background jobs.
>From the manual page: "If set, Bash lists the status of any stopped and
running jobs before exiting an interactive shell. If any jobs are running, this
causes the exit to be deferred until a second exit is attempted without an
intervening command. The shell always postpones exiting if any jobs are
stopped."

An implementation suggestion is to add the following two lines to
/etc/skel/.bashrc:

# list the status of any background jobs before exiting an interactive shell.
shopt -s checkjobs


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash depends on:
ii  base-files                5.9            Debian base system miscellaneous f
ii  dash                      0.5.5.1-6      POSIX-compliant shell
ii  debianutils               3.4            Miscellaneous utilities specific t
ii  libc6                     2.11.2-6       Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-4 shared libraries for terminal hand

Versions of packages bash recommends:
ii  bash-completion               1:1.2-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