replxx for Mac
Read Evaluate Print Loop ++
replxx — overview
Read Evaluate Print Loop ++
A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters. Unlike GNU readline, which is GPL, this library uses a BSD license and can be used in any kind of program.
Origin
This replxx implementation is based on the work by ArangoDB Team and Salvatore Sanfilippo and 10gen Inc. The goal is to create a zero-config, BSD licensed, readline replacement usable in Apache2 or BSD licensed programs.
Features
single-line and multi-line editing mode with the usual key bindings implemented history handling completion syntax highlighting hints BSD license source code Only uses a subset of VT100 escapes (ANSI.SYS compatible) UTF8 aware support for Linux, MacOS and Windows
Requirements
To build this library, you will need a C++11-enabled compiler and some recent version of CMake.
Build instructions
nix Create a build directory Build the library Install the library at the default target location
The default installation location can be adjusted by setting the DESTDIR variable when invoking make install:
Windows Create a build directory in MS-DOS command prompt Generate Visual Studio solution file with cmake
32 bit:
64 bit: Open the generated file replxx.sln in the build subdirectory with Visual Studio.
Tested with...
Linux text only console ($TERM = linux) Linux KDE terminal application ($TERM = xterm) Linux xterm ($TERM = xterm) Linux Buildroot ($TERM = vt100) Mac OS X iTerm ($TERM = xterm) Mac OS X default Terminal.app ($TERM = xterm) OpenBSD 4.5 through an OSX Terminal.app ($TERM = screen) IBM AIX 6.1 FreeBSD xterm ($TERM = xterm) ANSI.SYS Emacs comint mode ($TERM = dumb) Windows
Please test it everywhere you can and report back!
Details
Readline 和 libedit 替代品
How to install replxx
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
This project has no GitHub releases yet.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Apple silicon · macOS 14 Sonoma
- Apple silicon · macOS 13 Ventura
- Intel · macOS 14 Sonoma
- Intel · macOS 13 Ventura
- Linux · ARM64
- Linux · x86_64
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| replxx | 0.0.4 | BSD-3-Clause AND Unicode-TOU | CLI | 0 |
| libreadline-java | v0.8.4 | LGPL-2.1-or-later | CLI | 2 |
| xcb-util-cursor | 0.1.6 | X11 | CLI | 3 |
| with-readline | 0.1.1 | GPL-2.0-or-later | CLI | 3 |
Similar apps: Command-line Tools
libreadline-java
Port of GNU readline for Javaxcb-util-cursor
xcb-util-cursor is a command-line tool for X11 environments that provides XCB-based cursor…with-readline
with-readline is a small command-line utility that adds the GNU Readline interactive experience…exim
Exim is a mail transfer agent (MTA) that runs on Unix systems, originally developed at the…smap
nmap alternative powered by shodan.ioopenssl@4
Cryptography and SSL/TLS ToolkitCategories: Command-line Tools