On Mon, Jan 11, 2010 at 01:07:15AM +0500, Alexandr Shadchin wrote: > > This update package rlwrap to the latest release 0.35. > > Tested on i386 and amd64. > > > > Comments ? OK ? > > > > Forgot patches
Unfortunately, this doesn't work well in vi-mode within tmux within an xterm: if I run the new rlwrap on cat (with a non-empty ~/.cat_history) and start to scroll back in the history (using ESC k), an empty line is displayed by rlwrap (instead of the last line of the history). If I scroll back further (using ESC k a second time), the *last* line of the history is displayed instead of the second-last one, and so on. If I then hit return, the display switches to the correct history line. For example, if ~/.cat_history contains foo bar frob you'll get (for rlwrap cat): - an empty line after the first ESC k - `frob' after the second ESC k - `bar' after the third ESC k - `foo' after a return (and after a second return this `foo' is passed to cat) This doesn't happen with rlwrap-0.28. I'm not sure wether this is a problem of rlwrap or tmux. Ciao, Kili