From owner-freebsd-small@FreeBSD.ORG Wed Apr 6 18:45:35 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 8729216A4CE for ; Wed, 6 Apr 2005 18:45:35 +0000 (GMT) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1468543D2F for ; Wed, 6 Apr 2005 18:45:35 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from yazzy.yazzy.net (yazzy.yazzy.org [192.168.98.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yazzy.org (Postfix) with ESMTP id 43E01398DD; Wed, 6 Apr 2005 20:47:35 +0200 (CEST) Date: Wed, 6 Apr 2005 18:46:00 +0000 From: Marcin Jessa To: NetBSD-embed , FreeBSD-small Message-Id: <20050406184600.299a7ab2.lists@yazzy.org> Organization: YazzY.org X-Mailer: Sylpheed version 1.0.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 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:45:35 -0000 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 -- Regards, M. Jessa http://www.yazzy.org