[Xorp-cvs] XORP cvs commit: xorp/cli

Pavlin Radoslavov pavlin@icir.org
Fri, 15 Jul 2005 09:34:18 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-07-15 09:34:18 UTC

XORP CVS repository


Modified files:
	cli           cli_client.cc cli_client.hh cli_command_pipe.cc 
	              cli_node_net.cc 

Log message:
	* Replace method CliClient::is_tty() with is_input_tty() and
	  is_output_tty() that apply for the input and output respectively.
	
	* Add new method CliClient::is_interactive() that returns true
	  if CliClient is run in interactive mode.
	
	* If the CliClient is not in interactive mode, then the CliClient
	  is automatically in "no-more" mode for the printed output.
	
	The above modifications now allow to run xorpsh in non-interactive
	mode without requiring that each command with potentially long
	output must be run like "foo | no-more".

Revision  Changes                                Path
1.31      +20 -2;  commitid: 1008342d782227ea6;  xorp/cli/cli_client.cc
1.17      +18 -2;  commitid: 1008342d782227ea6;  xorp/cli/cli_client.hh
1.8       +3 -2;  commitid: 1008342d782227ea6;   xorp/cli/cli_command_pipe.cc
1.38      +5 -5;  commitid: 1008342d782227ea6;   xorp/cli/cli_node_net.cc