[GRASS-dev] improving winGRASS windows command line

Helmut Kudrnovsky hellik at web.de
Sun Sep 27 09:10:42 PDT 2015


hi,

windows console lacks e.g. for a history function between sessions and many
other things.

http://mridgers.github.io/clink/

clink offers Powerful Bash-style command line editing for cmd.exe

accordingly the licence file clink is

                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007


features are e.g.

Features

    The same line editing as Bash (from GNU’s Readline library).
    History persistence between sessions.
    Context sensitive completion;
        Executables (and aliases).
        Directory commands.
        Environment variables
        Thirdparty tools; Git, Mercurial, SVN, Go, and P4.
    New keyboard shortcuts;
        Paste from clipboard (Ctrl-V).
        Incremental history search (Ctrl-R/Ctrl-S).
        Powerful completion (TAB).
        Undo (Ctrl-Z).
        Automatic “cd ..” (Ctrl-Alt-U).
        Environment variable expansion (Ctrl-Alt-E).
        (press Alt-H for many more…)
    Scriptable completion with Lua.
    Coloured and scriptable prompt.
    Auto-answering of the “Terminate batch job?” prompt.

clink doesn't  need installation, one possibilty would be

"To establish Clink to an existing cmd.exe process, use
“<install_dir>\clink.exe inject”"

anyone with more unix/linux console experience may test on a simple windows
console and may report if it would be worth to integrate in the winGRASS
standalone installer?



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/improving-winGRASS-windows-command-line-tp5226402.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list