All Projects β†’ clarkwang β†’ sexpect

clarkwang / sexpect

Licence: GPL-3.0 license
Expect for Shells

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects
CMake
9771 projects

Projects that are alternatives of or similar to sexpect

uniterm
🚧Universal Terminal Emulator, might be a great toy terminal front-end for geeks.
Stars: ✭ 22 (-77.78%)
Mutual labels:  tty, pty
penelope
Penelope Shell Handler
Stars: ✭ 291 (+193.94%)
Mutual labels:  tty, pty
networker
πŸ”§ A simple CLI tool for various networking operations
Stars: ✭ 20 (-79.8%)
Mutual labels:  tty, pty
x-terminal
An xterm based Atom plugin for providing terminals inside your Atom workspace.
Stars: ✭ 34 (-65.66%)
Mutual labels:  tty, pty
Upterm
A terminal emulator for the 21st century.
Stars: ✭ 19,441 (+19537.37%)
Mutual labels:  tty, pty
Xterm.js
A terminal for the web
Stars: ✭ 12,019 (+12040.4%)
Mutual labels:  tty, pty
Terminalizer
πŸ¦„ Record your terminal and generate animated gif images or share a web player
Stars: ✭ 12,165 (+12187.88%)
Mutual labels:  tty, pty
Browsh
A fully-modern text-based browser, rendering to TTY and browsers
Stars: ✭ 14,058 (+14100%)
Mutual labels:  tty
castty
A CLI tool to record audio-enabled screencasts of your terminal, for the web.
Stars: ✭ 109 (+10.1%)
Mutual labels:  tty
Webtty
Share a terminal session over WebRTC
Stars: ✭ 2,380 (+2304.04%)
Mutual labels:  tty
Tty Table
A flexible and intuitive table generator
Stars: ✭ 161 (+62.63%)
Mutual labels:  tty
Finalcut
A text-based widget toolkit
Stars: ✭ 244 (+146.46%)
Mutual labels:  tty
dotfiles
Linux configuration files (dotfiles) and some useful scripts
Stars: ✭ 22 (-77.78%)
Mutual labels:  tty
Saldl
A lightweight well-featured CLI downloader optimized for speed and early preview.
Stars: ✭ 203 (+105.05%)
Mutual labels:  tty
tty-screen
Terminal screen detection - cross platform, major ruby interpreters
Stars: ✭ 78 (-21.21%)
Mutual labels:  tty
tty-link
Hyperlinks in your terminal
Stars: ✭ 30 (-69.7%)
Mutual labels:  tty
chai-exclude
Exclude keys to compare from a deep equal operation with chai expect or assert.
Stars: ✭ 33 (-66.67%)
Mutual labels:  expect
Asciinema Edit
asciinema casts post-production tools
Stars: ✭ 187 (+88.89%)
Mutual labels:  tty
tallboy
Declarative API for drawing unicode/ascii character tables in crystal lang
Stars: ✭ 49 (-50.51%)
Mutual labels:  tty
cfg
my dotfiles
Stars: ✭ 26 (-73.74%)
Mutual labels:  tty

What's sexpect

sexpect is another implementation of Expect which is specifically designed for Shell scripts (sh, bash, ksh, zsh, ...).

sexpect is designed in the client/server model. sexpect spawn PROGRAM [option].. starts the server (running as a daemon) and runs the specified PROGRAM in background. Other sexpect sub-commands (send, expect, wait, ...) communicate to the server as client commands.

How to build

Sexpect uses CMake for building.

$ cd /path/to/cloned/sexpect/
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install

By default it will install to /usr/local/ and sexpect will be installed to /usr/local/bin/. To change the installation location, run cmake like this:

$ cmake -D CMAKE_INSTALL_PREFIX=/opt/sexpect  ..

Supported platforms

Tested on:

  • OpenWRT 15.05.1, ramips/mt7620 (on Newifi Mini, or Lenovo Y1 v1)
  • Debian Linux 9 (Stretch)
  • macOS 10.13 (High Sierra)
  • FreeBSD 11.1
  • Cygwin on Windows 10

Manual

See doc/sexpect.adoc.

Examples

See the examples/ dir.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].