From owner-freebsd-bugs Mon Jan 27 17:27:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA04164 for bugs-outgoing; Mon, 27 Jan 1997 17:27:10 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA04126 for ; Mon, 27 Jan 1997 17:27:04 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id NAA26905 for ; Mon, 27 Jan 1997 13:24:55 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA15345; Mon, 27 Jan 1997 22:23:31 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id WAA12665; Mon, 27 Jan 1997 22:00:38 +0100 (MET) Message-ID: Date: Mon, 27 Jan 1997 22:00:38 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: griepent@wias-berlin.de Cc: bugs@freebsd.org Subject: Re: FreeBSD 2.1.5 ci command interpreter test failed References: <9701271238.AA32085@pascal.wias-berlin.de> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9701271238.AA32085@pascal.wias-berlin.de>; from griepent@wias-berlin.de on Jan 27, 1997 13:38:23 +0100 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As griepent@wias-berlin.de wrote: > Hello, bugs@FreeBSD.org ! > ------------------------------------------------------------------------------ > ----------------------------------- ci.h ------------------------------------- > ------------------------------------------------------------------------------ Well, it would have been better to provide at least a shar archive, or a MIME-appended or uuencoded .tar.gz for this. Saves a lot of handwork. Also, a Makefile would make the work easier, it's as simple as: PROG= tci NOMAN= noman SRCS= tci.c ci.c .include > > /* > * $Id: ci.h,v 2.1 1996/09/04 09:19:21 fuhrmann Exp $ > */ > > /*--------------------------------------------------------------------- > CI 2.0 > Command Interpreter Interface > > Author: Juergen Fuhrmann > Weierstrass-Institut fuer Angewandte Analysis und Stochastik > Mohrenstrasse 39 > 10117 Berlin > > -------------------------------------------------------------------------*/ Just for your own safety: better put a copyright notice there if you distribute some work like this on a public mailinglist. This might save your a**. > bash$ ./tci > ci: new command "quit" would be ambiguous with "" > ci: new command "exit" would be ambiguous with "" > ci: new command "alias" would be ambiguous with "" > ci: new command "source" would be ambiguous with "" > > tci>help ? > > module ci: > help system break > debug o I've compiled it on my 3.0-not-very-current system with the default cc (i.e. gcc 2.7.2.1), and it seems to work fine, either with my default CFLAGS (-O2 -pipe), or without any optimization: j@uriah 451% ./tci tci>help ? module ci: source alias exit quit help system break halt debug echo tci>quit -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)