Package: mksh
Version: 39.3.20101101-1
Severity: wishlist

Hi Thorsten,

     previously I used the pdksh in Debian squeeze and started now with
mksh (from unstable). Frequently, I'm using the emacs editing command
M-. or prev-hist-word. For example, I use to do something like

$ chmod 640 201011_file_with_long_name.tar.gz
$ mv 201011_file_with_long_name.tar.gz 201011_file_with_long_name.tgz

by typing the second line using M-., space, M-., and then editing the
second file name.
With mksh the second (nth) M-. makes the first insertion of the filename
disappear and inserts the last word from the second (nth) last command.
This is different from the behavior of pdksh and also of bash.
Would it be possible to modify the prev-hist-word command so that it
recognizes, that any other editing command (e.g. cursor movement) was
done between to M-., and in that case to begin again to insert the last
word of the previous command-line at the actual cursor position?
-- 
Best regards,
Jörg-Volker.



-- 
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