Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <Mutt.19970127220038.j@uriah.heep.sax.de>
In-Reply-To: <9701271238.AA32085@pascal.wias-berlin.de>; from griepent@wias-berlin.de on Jan 27, 1997 13:38:23 %2B0100
References:  <9701271238.AA32085@pascal.wias-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.prog.mk>


> 
> /*
>  * $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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970127220038.j>