No subject
Mon Jun 2 1:06:22 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Mon, 02 Jun 2003 01:07:01 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.8p1/8.12.3) with ESMTP id h52871CH078506
for <atanu@tigger.icir.org>; Mon, 2 Jun 2003 01:07: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.8p1/8.12.3) with ESMTP id h52871DD013564
for <atanu@icir.org>; Mon, 2 Jun 2003 01:07:01 -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.9/8.12.9) with ESMTP id h52870bb028273;
Mon, 2 Jun 2003 01:07:00 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h5286Nbb028253
for <xorp-cvs@icsi.berkeley.edu>; Mon, 2 Jun 2003 01:06:23 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.8p1/8.12.3) with ESMTP id h5286NDD013557
for <xorp-cvs@icir.org>; Mon, 2 Jun 2003 01:06:23 -0700 (PDT)
(envelope-from pavlin@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h5286NQg008240
for <xorp-cvs@icir.org>; Mon, 2 Jun 2003 01:06:23 -0700 (PDT)
(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h5286N5K008239;
Mon, 2 Jun 2003 01:06:23 -0700 (PDT)
(envelope-from pavlin)
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200306020806.h5286N5K008239@xorpc.icir.org>
Date: Mon, 2 Jun 2003 1:06:22 ()
To: xorp-cvs@icir.org
Reply-To: pavlin@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/cli/ cli_client.cc cli_node_net.cc
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/share/doc/apache/cvs
Module name: xorp
Repository: xorp/cli/
Changes by: pavlin@xorpc.icir.org. 03/06/02 01:06:22
Modified files:
xorp/cli/: cli_client.cc cli_node_net.cc
Log message:
* Bind Ctrl-C to no-op (by default).
Note that this binding applies only within the context of processing
input characters. I.e., if the process that uses the CLI doesn't
catch-and-ignore Ctrl-C, then Ctrl-C will still kill the process.
* Ignore any input except Ctrl-C if waiting for data from
previous command.
Open question: is this the desired behavior (i.e., shall we buffer
the user input received while waiting for output from the previous
command?)
* Move the Ctrl-C processing from CliClient::client_read()
to CliCliClient::process_char():
- Fix the behavior if we interrupt a command that is still pending
- Implement the behavior if we hit Ctrl-C before we hit <Enter>:
cancel the current line, and present a new prompt.
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs