From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8566 invoked by alias); 2 Jun 2006 16:19:53 -0000 Received: (qmail 8557 invoked by uid 22791); 2 Jun 2006 16:19:52 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO neomail.neotel.com.mk) (80.77.144.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 02 Jun 2006 16:19:46 +0000 Received: from [80.77.156.156] (account ilijak@siva.com.mk HELO [192.168.209.21]) by neomail.neotel.com.mk (CommuniGate Pro SMTP 5.0.6) with ESMTPA id 1255399; Fri, 02 Jun 2006 18:16:41 +0200 Message-ID: <4480651E.2050709@siva.com.mk> Date: Fri, 02 Jun 2006 16:19:00 -0000 From: Ilija Koco User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Frank Pagliughi CC: ecos-discuss@ecos.sourceware.org References: <3B530EF12E388B408ECC3162BA8C00F401BBE726@ny2526.corp.bloomberg.com> <4480173A.5070604@siva.com.mk> <44805E04.2040400@mindspring.com> In-Reply-To: <44805E04.2040400@mindspring.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: Any shell available? X-SW-Source: 2006-06/txt/msg00028.txt.bz2 Frank Pagliughi wrote: > Ilija Koco wrote: > >> Zimman, Chris wrote: >> >>> We've actually written a small shell for eCos that we use internally. >>> There's no objloader support for our platform yet (AFAIK), but we use >>> something similar to the RedBoot_cmd() syntax to bring in commands to >>> the shell. There's a "ps" clone, mount/unmount for the filesystems, >>> ls, >>> etc. >>> There's no scripting support, but there's no reason it couldn't be >>> added. >>> >>> If anyone is interested, let me know and I'll see if I can pack it up >>> into something exportable. >>> >>> >> >> Seems nice. I was about to suggest something like this. Maybe add >> some networking stuff like ping, ssh, ftp, etc (All >> selectable/configurable by menas of cdl). >> Ilija >> > Having just finished a vxWorks project, I kind of miss their shell for > some quick debugging features. Theirs is not a Linux-style bash shell > or anything similar. Rather, it's a thread within the single target > process that acts like a C/C++ interpreter. The OS is loaded at > boot-up, but application modules can be dynamically loaded and > unloaded while the target is running. That's the general idea a thread that executes some unix like commands. > > You can call indvidual functions at the command line. All stdout is > sent to the command line and when the function completes, the shell > reports the return value. Just like working with an interpreted > language. Then you can recompile just your module and reload it while > the target is still running. > > When done debugging, you can then compile the OS and app all together > in one executable (like eCos) without the debug & shell threads. Or meybe leave a shell with only "non-debugging related" commands" ls, ps, ping. > > It's really handy for quick and dirty debugging. > > Frank > > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss