z-logo
Premium
Kibitz—connecting multiple interactive programs together
Author(s) -
Libes Don
Publication year - 1993
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.4380230503
Subject(s) - computer science , debugging , software portability , scripting language , code reuse , programming language , control flow , reuse , coding (social sciences) , software engineering , software , ecology , statistics , mathematics , biology
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 to enable cron or background processes to call upon and interact with users, e.g. for guidance or debugging. Owing 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 kernel 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 fullscreen editors.

This content is not available in your region!

Continue researching here.

Having issues? You can contact us here