zoukankan      html  css  js  c++  java
  • Powerful Bash-style command line editing for cmd.exe

    https://mridgers.github.io/clink/

    Clink

    Powerful Bash-style command line editing for cmd.exe
    Download v0.4.8
    ZIP
    (portable)
    EXE
    (installer)

    Overview

    Clink combines the native Windows shell cmd.exe with the powerful command line editing features of the GNU Readline library, which provides rich completion, history, and line-editing capabilities. Readline is best known for its use in the well-known Unix shell Bash, the standard shell for Mac OS X and many Linux distributions.

    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.

    Usage

    There are a variety of ways to start Clink;

    1. If you installed the autorun option then simply start cmd.exe. Run clink autorun –help for more info.
    2. To manually start, run the Clink shortcut from the Start menu (or the clink.bat located in the install directory).
    3. To establish Clink to an existing cmd.exe process, use “<install_dir>clink.exe inject”

    Clink can be extended through its Lua API which allows easy creation context sensitive match generators, prompt filtering, and more. More details can be found in Clink’s documentation which can be found here.

  • 相关阅读:
    函数指针
    回调函数
    内核文件ntoskrnl.exe,ntkrnlpa.exe的区别??
    单引号和0的ASCII码
    文件句柄和句柄
    ObReferenceObjectByName蓝屏问题
    DbgPrint/KdPrint输出格式控制
    LPNMITEMACTIVATE pNMItemActivate = reinterpret_cast<LPNMITEMACTIVATE>(pNMHDR);
    Mac中SVN的常见命令
    小程序分包加载实现代码包总上限8M
  • 原文地址:https://www.cnblogs.com/itzxy/p/7487795.html
Copyright © 2011-2022 走看看