Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kaptain(1) [debian man page]

KAPTAIN(1)						      General Commands Manual							KAPTAIN(1)

NAME
kaptain - Universal graphical front-end for command-line programs. SYNOPSIS
kaptain [options] file DESCRIPTION
kaptain reads the given file and builds a user-friendly dialog according to the grammar rules found in it. See info kaptain for a detailed overview. OPTIONS
kaptain accepts the following options: -h, --help Show summary of options. -V Run in verbose mode. --version Show version of program. --test Run in test mode. This means that commands are not executed when a button is pressed, only printed to the standard output. -V, --verbose Report more information on processing the input file. Internal representation of the grammar and the dialog tree is also printed. Use this flag if Kaptain does not work as expected. -c <host:port>, --client <host:port> Establish communication channel as a client connecting to a server on <host> listening on <port>. -s <port>, --server <port> Listen to the specified <port> and accept the first connection. This will be used as a communication channel. -p <command>, --pipe <command> Start the given command and communicate with it on its standard input and output. Don't forget to quote <command> if it contains spaces or other metacharacters used by the shell. --stdio Use standard input and output for communication. In this case you must specify an input file, thus grammar script cannot be read from the standard input when it is used as a communication channel. --no-input Instructs Kaptain not to process messages received on the input channel. --no-output If this flag is set, Kaptain will not send any messages on its output channel. AUTHOR
Zsolt Terek <terek@users.sourceforge.net>. September 11, 2004 KAPTAIN(1)

Check Out this Related Man Page

TCPCONNECT(1)						      General Commands Manual						     TCPCONNECT(1)

NAME
tcplisten - general TCP/IP server SYNOPSIS
tcplisten [-irv] [localaddr] port DESCRIPTION
tcplisten waits for a TCP/IP connection on port. If a localaddr parameter is given, tcplisten will bind to that IP address. Otherwise tcplisten will accept connections to any of the local machines IP addresses. Data received from the client is printed on standard output, and data read from standard input is sent to the client. When end-of-file is reached on both standard input and the TCP/IP connection, tcplisten terminates. OPTIONS
-i Terminate at end-of-file on standard input; don't wait for the client to close the connection. -r Terminate when the remote client closes the connection; don't wait for end-of-file on standard input. -v Verbose mode. Prints a message to standard error about the origins (host and port) of the client. SEE ALSO
tcpconnect(1), telnet(1), mini-inetd(1), tcpbug(1). BUGS
The names of the options are not yet finalized, and may change at a future release. 1997 April 13 TCPCONNECT(1)
Man Page

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Using output to input another command

Hi guys. Is it possible (I'm sure it is) to use the output of a simple 'ls' command as input of another command 'tail'. It is not really the output of the 'ls'. I have to useeach line of the output. This is the first command... ls *myFile*021308* Which it outputs many filenames. For each... (3 Replies)
Discussion started by: rodrimuino
3 Replies

2. Shell Programming and Scripting

Getting required fields from a test file in required fromat in unix

My data is something like shown below. date1 date2 aaa bbbb ccccc date3 date4 dddd eeeeeee ffffffffff ggggg hh I want the output like this date1date2 aaa eeeeee I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Discussion started by: rdhanek
7 Replies

3. Programming

How to make communication with Oracle dbms_pipe with .net client?

So, I have a 'task' to create communication channel between Oracle db (11gR2 on AIX) and some client wich is choosed to be a .net client (.net framework 3.5). we created a pipe on client (.net) side using: System.IO.Pipes.NamedPipeClientStream pipeClient = new... (2 Replies)
Discussion started by: bongo
2 Replies

4. Shell Programming and Scripting

need help piping the output from an app... uh, yeah...

Ok, so there is a perl script that runs as a server, on my local host. It tells me which port to use. I want to pipe that output into my browser so I can do the whole thing with a single command. The problem is, I think, that the program doesn't actually exit cause it's running a server, so...... (6 Replies)
Discussion started by: ninjaaron
6 Replies

5. Shell Programming and Scripting

Expect pattern matching in the command output

This is the command output need to be matched: Telnet console listening to port 42365. (the port number changes every time) Code to test it: ======================================= #!/tools/AGRtools/bin/expect exp_internal 1 set timeout 10 spawn bash set bashId $spawn_id ... (4 Replies)
Discussion started by: marsala
4 Replies