*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Vk/VkForkIO (3)              
Title
Content
Arch
Section
 

Contents


VkForkIO(3x)							  VkForkIO(3x)


NAME    [Toc]    [Back]

     VkForkIO -	Command-line interface to shell	command	component

INHERITS FROM    [Toc]    [Back]

     VkTextIO :	VkComponent : VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #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    [Toc]    [Back]
	   void	execCommand(char* cmd);
	   void	inputString(char* str);


   Access functions    [Toc]    [Back]
	   Boolean running(void);


CLASS DESCRIPTION    [Toc]    [Back]

	  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    [Toc]    [Back]

   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    [Toc]    [Back]

   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    [Toc]    [Back]
	  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    [Toc]    [Back]
	  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    [Toc]    [Back]

     VkForkIO






									Page 2






VkForkIO(3x)							  VkForkIO(3x)


SEE ALSO    [Toc]    [Back]

      
      
     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


									PPPPaaaaggggeeee 3333
[ Back ]
 Similar pages
Name OS Title
VkTextIO IRIX Command-line interface text component
tcsh Linux C shell with file name completion and command line editing
tcsh FreeBSD C shell with file name completion and command line editing
csh FreeBSD C shell with file name completion and command line editing
tcsh IRIX shell with file name completion and command line editing
sh Tru64 The Bourne shell, an interactive command interpreter and command programming language
Rsh Tru64 The Bourne shell, an interactive command interpreter and command programming language
ipxfargc IRIX Returns the number of command-line arguments excluding the command name
vlcmd IRIX Video Library command line interface
perfex IRIX Command line interface to processor event counters
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service