From owner-freebsd-small@FreeBSD.ORG Wed Apr 6 18:51:06 2005 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9D1C16A4CE for ; Wed, 6 Apr 2005 18:51:06 +0000 (GMT) Received: from mail.crlf.net (mail.crlf.net [216.126.92.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3891043D1F for ; Wed, 6 Apr 2005 18:51:06 +0000 (GMT) (envelope-from david@crlf.net) Received: from localhost (localhost [127.0.0.1]) by mail.crlf.net (Postfix) with ESMTP id D80B11F07E; Wed, 6 Apr 2005 14:51:27 -0400 (EDT) Date: Wed, 6 Apr 2005 14:51:27 -0400 From: David Maxwell To: Marcin Jessa Message-ID: <20050406185127.GS11941@mail> References: <20050406184600.299a7ab2.lists@yazzy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050406184600.299a7ab2.lists@yazzy.org> User-Agent: Mutt/1.4.2i cc: NetBSD-embed cc: FreeBSD-small Subject: Re: Cisco like shell. X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2005 18:51:06 -0000 On Wed, 06 Apr 2005, Marcin Jessa wrote: > Hi guys. > > I wonder if any of you know of a project or how to create a type of login shell which will work similar way as the Cisco shell does. > What I want to create is something which would replace the existing commands and give something like this instead: > > To configure network, you have a main "menu" which can be called "net": > # net config ip address add address=1.0.0.10 iface=fxp0 > # net config route add default=1.0.0.1 > > To show detailed tcp stats for interface called fxp0: > # net stats show iface=fxp0 proto=tcp details There's pkgsrc/net/zebra, which gives you an IOS CLI lookalike interface... -- David Maxwell, david@vex.net|david@maxwell.net --> Mastery of UNIX, like mastery of language, offers real freedom. The price of freedom is always dear, but there's no substitute. Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. - Thomas Scoville