Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Kibitz-Connecting Multiple Interactive Programs Together

Published

Author(s)

Donald E. Libes, James E. Fowler

Abstract

Expect is a programming language for automating interactive programs. Recently, people have begun using Expect to connect multiple interactive programs together, allowing for new classes of applications. With some basic building blocks and a little scripting, it is possible to build such applications quickly.

This paper discusses the general technique, while focusing on a particular example: Kibitz. Kibitz connects multiple sessions and applications together, providing a means for consulting, group editing, or other cooperative tasks. Kibitz in turn, can be used as a module in building additional programs of this type. Using Kibitz, we demonstrate how cron or backgroup processes to call upon and interact with users, e.g., for guidance or debugging.

Due to program reuse, our approach avoids many portability issues already addressed and solved by existing programs. Kibitz has no special coding for byte swapping, structure encoding, or job control, and requires neither kernal modifications nor setuid or other permissions even though it runs over a network and deals with multiple users, job control, and sophisticated programs such as shells and full-screen editors.

Citation
Software - Practice & Experience, , John Wiley & Sones, New York, NY
Volume
23:5

Keywords

Automating interaction, Expect, Interprocess Communications, software reuse, Tcl

Citation

Libes, D. and Fowler, J. (1993), Kibitz-Connecting Multiple Interactive Programs Together, Software - Practice & Experience, , John Wiley & Sones, New York, NY, [online], https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=821321 (Accessed April 24, 2024)
Created December 31, 1992, Updated October 12, 2021