Package: tmux
Version: 0.8-4
Severity: wishlist

Suppose you're running make, which executes a lengthy command like

gcc -DHAVE_CONFIG_H -I../.. -I/home/Kalle/src/elinks-0.12/src 
-I/home/Kalle/prefix/include -O0 -g3 -ggdb -Wall -Wall -Werror 
-fno-strict-aliasing -Wno-pointer-sign -Wno-address -fno-strict-overflow -o 
hierbox.o -c /home/Kalle/src/elinks-0.12/src/bfu/hierbox.c

If such a command fails, it is sometimes useful to copy the
command from the output of make and rerun it with some tweaks:
for example, changing "-o hierbox.o -c" to "-E" in order to see
the output from the preprocessor.  However, because the command
is so long, it gets wrapped to multiple lines; and when you copy
those lines with tmux and paste them to the shell, you get a
newline at each wrapping point.  These newlines typically result
in "zsh: command not found" error messages.

GNU Screen 4.0.3 is handier there: it somehow remembers whether
each newline was caused by wrapping or explicitly output to the
terminal, and copies only the latter kind.  I don't know the
exact semantics of this feature, but anyway it would be nice to
have something similar in tmux.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.26-1-686
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

Versions of packages tmux depends on:
ii  libc6                     2.7-16         GNU C Library: Shared libraries
ii  libncurses5               5.6+20070908-1 Shared libraries for terminal hand

tmux recommends no packages.

-- no debconf information

Attachment: pgpWgyuXNwDwV.pgp
Description: PGP signature

Reply via email to