Opened 9 years ago

Last modified 4 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 9 years ago.
.inputrc from msys 0.11

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by msieczka

Attachment: .inputrc added

.inputrc from msys 0.11

comment:1 Changed 9 years ago by hamish

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 Changed 9 years ago by hamish

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 in reply to:  description Changed 9 years ago by glynn

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 Changed 7 years ago by hamish

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 Changed 4 years ago by neteler

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