No subject
Fri Jun 4 12:37:30 2004
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Fri, 04 Jun 2004 12:38:02 -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 i54Jc2NG097687
for <atanu@tigger.icir.org>; Fri, 4 Jun 2004 12:38:02 -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 i54Jc1kR001579
for <atanu@icir.org>; Fri, 4 Jun 2004 12:38: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.10/8.12.9) with ESMTP id i54Jc1Yq026985;
Fri, 4 Jun 2004 12:38:01 -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 i54JbnYq026953
for <xorp-cvs@icsi.berkeley.edu>; Fri, 4 Jun 2004 12:37:49 -0700 (PDT)
Received: from [192.150.187.86] (wol.icir.org [192.150.187.86])
by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i54JbUkR001575;
Fri, 4 Jun 2004 12:37:30 -0700 (PDT)
(envelope-from orion@icir.org)
In-Reply-To: <45702.1086353159@aardvark.cs.ucl.ac.uk>
References: <45702.1086353159@aardvark.cs.ucl.ac.uk>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <9E2F34C8-B65E-11D8-A3A9-000A95DA7C7A@icir.org>
Content-Transfer-Encoding: 7bit
Cc: xorp-cvs@icir.org
From: Orion Hodson <orion@icir.org>
Subject: Re: [Xorp-cvs] XORP cvs commit: xorp/rtrmgr/ config.boot
Date: Fri, 4 Jun 2004 12:37:30 -0700
To: Mark Handley <M.Handley@cs.ucl.ac.uk>
X-Mailer: Apple Mail (2.618)
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>
On Jun 4, 2004, at 05:45, Mark Handley wrote:
> I'd be OK with this. I was thinking of this as the equivalent of the
> postscript comment: %!PS
>
> The sole purpose is to have a tag at the start of the file, so that if
> the user gets brain-fade, they can't overwrite anything that isn't
> already a XORP config file.
>
> Currently it searches for only /*XORP, but we should probably be more
> liberal than this.
The magic comment does not feel familiar. A user can craft config
files in a text editor that will load via xorpsh and then not be
writable from within xorpsh. AFAIK, %!PS is not a strict requirement
for any postscript interpreters to parse a file (or write a file) -
it'd be nice for editors to into a XORP mode when they see the magic
comment.
Principle of least astonishment might dictate informing the user that
they are about to overwrite an existing file, point them at the full
path of the file to be overwritten, and prompt for a modal response to
'are you sure punk?'.
Orion
------------------------------------------------------------------------
Orion Hodson, Researcher XORP Router Project http://www.xorp.org/
International Computer Science Institute http://www.icsi.berkeley.edu/
1947 Center St, Berkeley, CA94704 Tel (510) 666-2927 Fax (510) 666-2956
------------------------------------------------------------------------
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs