Skip to content
/ empty Public

Empty is a simple shell-friendly variant of "expect" tool

Notifications You must be signed in to change notification settings

ierton/empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Empty

By Mikhail Zakharov, Sergey Mironov and others, see README.old

With empty you can run applications under pseudo-terminal (PTY) sessions and replace TCL/Expect with a simple tool under your favorite shell (sh, bash, csh, tcsh, ksh, zsh, etc).

This is a clone of original emtpy tool located at SourceForge. The fork contains several bugfixes and improvements.

Building

To build the program, do the following.

$ make
$ sudo make install

Usage

empty [-d] -f [-i fifo1 -o fifo2] [-p file.pid] [-L file] command [command args]
empty [-d] -w [-Sv] [-t n] [-i fifo2 -o fifo1] key1 [answer1] ... [keyX answerX]
empty [-d] -s [-Sc] [-o fifo1] [request]
empty [-d] -r [-b size] [-t n] [-i fifo1]
empty [-d] -l
empty [-d] -k [pid] [signal]
empty -h

Bugs

Codebase is quite messy so they probably exist. Fortunately, this is an one-file application so fixing it should be easy job. Patches are always welcome.

Sergey Mironov ierton@gmail.com

About

Empty is a simple shell-friendly variant of "expect" tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published