Re: Promoting rxvt (non-X11)
I also have a file in my home directory called .inputrc which is used to configure the key used by bash, ftp, and some other programs, I use the following entries (literal text) which mean I can use the delete key as well as the backspace key, and other keys, try it and see Am I correct in assuming you use the emacs-mode, not the vi-mode, of bash? I'd love to use .inputrc, but it seems that it's basically incompatible with vi-mode, because escape-sequences all begin with escape, and in vi-mode, the escape key switches to command mode. Somebody please tell me I'm wrong, and I've just always configured it wrong. -- Thomas Mellman [EMAIL PROTECTED] __ Keine Chance fur Viren! Mit WEB.DE FreeMail sind Sie auf der sicheren Seite - Virenschutz inklusive! http://freemail.web.de/?mc=021129 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Promoting rxvt (non-X11)
Hi, Regarding rxvt and ^H verses ^? a better solution is to start rvxt with a command line that includes the option -backspacekey ^H rather than use stty. You can do this in a windows shortcut and also in a shell alias. I also have a file in my home directory called .inputrc which is used to configure the key used by bash, ftp, and some other programs, I use the following entries (literal text) which mean I can use the delete key as well as the backspace key, and other keys, try it and see \e[3~: delete-char \e[1~: beginning-of-line \e[4~: end-of-line \e[H: beginning-of-line \e[F: end-of-line \e[7~: beginning-of-line \e[8~: end-of-line set convert-meta off set output-meta on The convert-meta and output-meta settings are used so I can use the (£) UK pound symbol. I am in the UK and have a UK keyboard. I hope this is helpful. /John Vincent. From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Promoting rxvt (non-X11) Date: Mon, 23 Sep 2002 10:06:40 +1000 (EST) Suggestion: include a shortcut for rxvt as well as for Cygwin, as part of setup.exe? rxvt is an excellent replacement for the Windows command window - except that programs like vi seem to be expecting ^H for backspace, whereas the key is actually sending a Del (^?), it seems. The solution seems simple: just execute stty -erase ^?. So, I have set up a shortcut for rxvt: C:\cygwin\bin\rxvt.exe -sr -sk -title rxvt -e bash --login and modified my .profile to include: if [ $COLORTERM = rxvt-xpm ] then stty erase ^? fi That covers everything except rxvt windows started from the command line. Does anyone know why rxvt has this ^H vs ^? behaviour, and xterm doesn't? luke -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Promoting rxvt (non-X11)
On 23 Sep, John Vincent wrote: I hope this is helpful. Sure is, thanks! Though I just discovered that setting -backspacekey to either ^? *or* ^H works equally well. I don't understand that! BTW, does anyone else have the problem that Shift-PgUp will only page back once, then you have to use the mouse. This is not just a key-repeat issue - even if you hit the key several times, it only works for the first page. And Shift-PgDn does nothing at all, ever. I assume that when rxvt starts up it always reads the .Xresources file? The info isn't cached anywhere? (I did have mappings for Prior and Next, but got rid of them.) Um, I just noticed that I also had a mapping for Delete, and if I do a cat -tvu I can see that it appears to have affected rxvt (as you'd expect), and that it does seem to be cached. Even across reboots? Basically, the Del key always sends the sequence Esc [ 3 ~ The reboot means that Backspace in cat -tvu now no longer appears, so it did make some difference. Not that this seems to be causing me any problems, it's just curious. luke -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/