Opened 14 years ago

Last modified 9 years ago

#1182 new enhancement

.inputrc improving msys WinGRASS command line

Reported by: msieczka Owned by: grass-dev@…
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)

.inputrc (1.3 KB ) - added by msieczka 14 years ago.
.inputrc from msys 0.11

Download all attachments as: .zip

Change History (6)

by msieczka, 14 years ago

Attachment: .inputrc added

.inputrc from msys 0.11

comment:1 by hamish, 14 years ago

Keywords: wingrass msys rxvt added
Type: defectenhancement
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 hamish, 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

in reply to:  description comment:3 by glynn, 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 hamish, 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 neteler, 9 years ago

Milestone: 6.4.16.4.6
Note: See TracTickets for help on using tickets.