[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how do I use shell.c?
- Date: Thu, 1 May 2008 08:05:57 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: how do I use shell.c?
Chris Johns wrote:
> mike wrote:
>> Thanks for the reply, Ian,
>> - We have an Sparc eval board that has 2 ports: 1 is debug port, 1 is
>> application port.
>> From debug port, I load/run application. The output goes out to the
>> rs-232 application port.
>> So, am I supposed to specify this app port (/dev/console) as 'device' to
>> When I tried that, I got the message:
>> "shell: unalbel to open stdin./dev/console:Too many open files in system"?
> You need to increase the number of file ops in confdefs.h.
> The shell is documented in the CVS RTEMS. Take a look here:
> This relates to the code in CVS. Joel and I have been hacking on the shell lately.
I'm surprised with all the replies that no one has mentioned
that the fileio sample and the telnetd network-demo both
use the shell code.
Please submit corrections and improvements to the shell
code. It is already in good shape and has a lot of functionality
with the capability to run simple script files even. Chris has
promised to add some conditional logic to the shell and
has already added some command line editing. It is a nice
addition and has some very nice ways to look into a running
system -- mount, format, cpuuse, rtmonuse, wkspace, mallocstats,
> rtems-users mailing list
> rtems-users at rtems.com
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985