Package: tcsh Version: 6.17.02-3 Severity: normal If the alias "jobcmd" contains "!#:q", then all your typed commands are stored twice in the history. Once as typed, and once with only the first argument (and aliases expanded).
The issue does not arise if you don't use the ":q" modifier. This bug was not present in 6.17.02-3 and is present in 6.17.02-2. Here's how you can reproduce this: 1. Set jobcmd to use !#:q in some way. E.g.: alias jobcmd echo -n '"\e]0;"\!#:q"\a"' 2. Run any command. E.g. /bin/echo a b 3. See the bottom of your history. 583 0:31 /bin/echo a b -50000000 0:31 /bin/echo a 584 0:31 history | tail 4. Alternately go up in the history (using the "up" key). You'll first see a command "/bin/echo a" (which you never typed). Pressing the "up" key again, you'll get the command "/bin/echo a b" which you typed. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages tcsh depends on: ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libncurses5 5.7+20100313-2 shared libraries for terminal hand tcsh recommends no packages. tcsh suggests no packages. -- no debconf information -- A Windows user spends 1/3 of his life sleeping, 1/3 working, 1/3 waiting. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org