VkForkIO(3x)

VkForkIO - Command-line interface to shell command component

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

NAME
     VkForkIO - Command-line interface to shell command component

INHERITS FROM
     VkTextIO : VkComponent : VkCallbackObject

HEADER FILE
     #include <Vk/VkForkIO.h>

PUBLIC PROTOCOL SUMMARY
   Constructor/Destructor
           VkForkIO(const char* name,
                    Widget parent,
                    const char* prompt = NULL);
           virtual void ~VkForkIO(void);


   Control Functions
           void execCommand(char* cmd);
           void inputString(char* str);


   Access functions
           Boolean running(void);



CLASS DESCRIPTION
          The VkForkIO class provides an easy mechanism to run a shell command
          in a text widget, and allow the user to interact with that command
          as if they were in a shell.  The VkForkWindow class further
          simplifies this by allowing a command to be run in a new window.



FUNCTION DESCRIPTIONS
   VkForkIO()
           VkForkIO(const char* name,
                    Widget parent,
                    const char* prompt = NULL);
           virtual void ~VkForkIO(void);


          Creates a Motif scrolled text widget for command interaction.  The
          first argument is the name used for the text widget, the second is
          used for the parent of the text widget, and the last is the
          command-line prompt displayed.

   execCommand()
           void execCommand(char* cmd);
          Specifies the shell command to run in the component.

   running()
           Boolean running(void);


          Indicates whether the shell command is still running.

   inputString()
           void inputString(char* str);


          Simulates user input into the component.

INHERITED MEMBER FUNCTIONS
   Inherited from VkTextIO
          show(), VkTextIO(), ~VkTextIO(), setCallback(), clearHistory(),
          outputString(), outputChar(), disableRedisplay(), enableRedisplay(),
          textWidget(), activated(), activate(),  deactivate(),
          scrollWidget(),  prepTextWidget(),  processInput(), inputChar(),
          addInput(),  addInputN(),  doKillLine(),  doKillWord(), doDelete(),
          newInput(),  scrollToBottom(),  callCallback(),  flushInput(),
          translatePos(),  inputError(),  modify_verify(),  ctrl_u(),
          ctrl_c(), ctrl_w(),  text,  prompt,  promptBuf,  buffer, bufferSize,
          callback,  callbackData,  ignoreVerify,  displayUpdated, normalBg,
          readOnlyBg,


   Inherited from VkComponent
          className(),  installDestroyHandler(),  removeDestroyHandler(),
          widgetDestroyed(), afterRealizeHook(),  setDefaultResources(),
          getResources(),  VkComponent(),  VkComponent(), ~VkComponent(),
          hide(),  realize(),  manage(),  unmanage(), name(),  baseWidget(),
          okToQuit(),  isComponent(), _name,  _baseWidget,  _w,
          deleteCallback,


   Inherited from VkCallbackObject
          callCallbacks(),  VkCallbackObject(),  ~VkCallbackObject(),
          addCallback(),  addCallback(), removeCallback(),  removeCallback(),
          removeAllCallbacks(),  removeAllCallbacks(),  hasCallbacks(),
          cloneCallbacks(),  cloneCallback(),  cloneCallback(),


CLASSES USED BY THIS CLASS
     VkCallbackObject, VkInput, VkProgram, VkSubProcessRep

KNOWN CLASSES THAT USE THIS CLASS
     VkForkIO

SEE ALSO
     VkTextIO, VkComponent, VkCallbackObject, VkCallbackObject, VkForkIO,
     VkInput, VkProgram, VkSubProcessRep,
     ViewKit Programmer's Guide
     The X Window System, DEC Press, Bob Sheifler and Jim Gettys
     The X Window System Toolkit, DEC Press, Paul Asente and Ralph Swick
     The OSF/Motif Programmers Reference, Prentice Hall, OSF