No subject



Thu Jun 10 23:30:40 2004
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Thu, 10 Jun 2004 23:31:01 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.9p1/8.12.8) with ESMTP id i5B6V1NG010931
	for <atanu@tigger.icir.org>; Thu, 10 Jun 2004 23:31:01 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.icsi.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i5B6V0CJ021323
	for <atanu@icir.org>; Thu, 10 Jun 2004 23:31:00 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.icsi.Berkeley.EDU (localhost [127.0.0.1])
	by fruitcake.icsi.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id i5B6V0Ej023363;
	Thu, 10 Jun 2004 23:31:00 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by fruitcake.icsi.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id i5B6UfEj023328
	for <xorp-cvs@icsi.berkeley.edu>; Thu, 10 Jun 2004 23:30:41 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i5B6UfCJ021318
	for <xorp-cvs@icir.org>; Thu, 10 Jun 2004 23:30:41 -0700 (PDT)
	(envelope-from atanu@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i5B6Uegd061069
	for <xorp-cvs@icir.org>; Thu, 10 Jun 2004 23:30:40 -0700 (PDT)
	(envelope-from atanu@xorpc.icir.org)
Received: (from atanu@localhost)
	by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i5B6Ue31061068;
	Thu, 10 Jun 2004 23:30:40 -0700 (PDT)
	(envelope-from atanu)
From: Atanu Ghosh <atanu@icir.org>
Message-Id: <200406110630.i5B6Ue31061068@xorpc.icir.org>
Date:     Thu, 10 Jun 2004 23:30:40  ()
To: xorp-cvs@icir.org
Reply-To: atanu@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/rtrmgr/ cli.cc cli.hh op_commands.cc op_commands.hh popen.cc  	              popen.hh
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>

CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Repository:	xorp/rtrmgr/
Changes by:	atanu@xorpc.icir.org.	04/06/10 23:30:40

Modified files:
	xorp/rtrmgr/: cli.cc cli.hh op_commands.cc op_commands.hh 
	              popen.cc popen.hh 

Log message:
	Install all the hooks so that when keyboard interrupts are propogated
	to the xorpsh cli we can terminate any outstanding operational
	commands.
	
	Get a handle to the operational command so if the user interrupts the
	xorpsh the command can be terminated.
	
	Modify popen2() to return the process ID so we can kill the process if
	required.
	
	Save the process ID in the OpInstance. Call pclose() so we don't leak
	file descriptors anymore.

_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs