VkForkIO man page on IRIX
[printable version]
VkForkIO(3x) VkForkIO(3x)
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);
Page 1
VkForkIO(3x) VkForkIO(3x)
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
Page 2
VkForkIO(3x) VkForkIO(3x)
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
Page 3
[top]
List of man pages available for IRIX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|