Opened 14 years ago
Last modified 9 years ago
#1182 new enhancement
.inputrc improving msys WinGRASS command line
Reported by: | msieczka | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.6 |
Component: | Packaging | Version: | svn-releasebranch64 |
Keywords: | wingrass, msys rxvt | Cc: | |
CPU: | All | Platform: | MSWindows XP |
Description
The attached file comes from http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe. It fixes couple of issues with msys WinGRASS command line, e.g. home, end keys printing "~" instead of moving the cursor.
Could this file be included in WinGRASS installer? It should go to C:\Program Files\GRASS-64-SVN\msys\home\$USERNAME\.
Works OK for me.
Attachments (1)
Change History (6)
by , 14 years ago
comment:1 by , 14 years ago
Keywords: | wingrass msys rxvt added |
---|---|
Type: | defect → enhancement |
35 "\e[5~": beginning-of-history # Page up 36 "\e[6~": end-of-history # Page down
fwiw I prefer to use page up/down as an easier replacement for bash's ctrl-r,
set prefer-visible-bell # -------- Bind page up/down with history search --------- "\e[5~": history-search-backward "\e[6~": history-search-forward
thanks for the home/end tip, I struggle with that on a few servers.
Hamish
comment:2 by , 14 years ago
fwiw, for me in Wingrass 6.5svn on XP with the MSys rxvt console, these two are the needed ones:
"\e[7~": beginning-of-line "\e[8~": end-of-line
Hamish
comment:3 by , 14 years ago
Replying to msieczka:
The attached file comes from http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe. It fixes couple of issues with msys WinGRASS command line, e.g. home, end keys printing "~" instead of moving the cursor.
Is there some reason for using MSys' rxvt? There are a lot of known problems with it, and (AFAICT) no actual advantages.
comment:4 by , 12 years ago
perhaps C:\Program Files\GRASS...\msys\etc\inputrc.default is the file to edit? or is it C:\Program Files\GRASS...\msys\home\User\.inputrc ?
comment:5 by , 9 years ago
Milestone: | 6.4.1 → 6.4.6 |
---|
.inputrc from msys 0.11