[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Simple Line Editor
- Date: Tue, 2 Mar 2010 08:37:17 -0800
- From: WENorum at lbl.gov (Eric Norum)
- Subject: Simple Line Editor
It's already an 'add-on' package but I think that it's not being built as Till suggested. I ran the script to build this for RTEMS and the Makefile ends up with:
DEFINES = -DUSE_TERMINFO=1 -DHAVE_TERM_H=1 -DHAVE_CURSES_H=1 -DHAVE_SELECT=1
I don't see any 'configure' option to control the termcap/terminfo/ANSI setting. Is explicit editing of the generated Makefile the only way to get rid of the
On Mar 2, 2010, at 8:23 AM, Joel Sherrill wrote:
> On 03/02/2010 09:59 AM, Till Straumann wrote:
>> Eric Norum wrote:
>>> This looks like an interesting project. As the web page says,
>>> functionality somewhat like readline would be very useful.
>>> The one big requirement is that the code be reentrant to allow for
>>> multiple ssh or telnet 'logins' to the RTEMS machine. This is
>>> currently the major shortcoming in readline (and the similar 'tecla'
>>> project) since they rely on the termcap library which is non-reentrant.
>> You can build 'tecla' without using curses, ncurses or termcap and you get a
>> very nice, re-entrant line editor (assumes/supports an ANSI terminal only).
> That looks like a nice alternative. Any idea on how big the
> resulting library is?
> It might be better to
> (1) verify this meets our technical requirements,
> (2) port it.
> (3) get it to build as part of cpukit.
> (4) change shell/monitor methods to use it via providing
> new implementations of what they call.
> There is no point in reinventing the wheel.
>> -- Till
>>> A way to limit the scope to make the project more tractable would be
>>> to support only the ANSI terminal control sequences. This isn't that
>>> big a restriction nowadays when a 'terminal' is likely an emulation
>>> program running on another computer.
>>> On Feb 20, 2010, at 8:22 AM, Gokul Sudhakaran wrote:
>>>> I recently installed rtems on my system and have been browsing
>>>> through some of the open projects in the rtems wiki pages. I am
>>>> interested in implementing the Simple Line Editor project.
>>>> I would appreciate it if someone could help me in getting a clear
>>>> idea about the problem, any examples or sites that i could refer.
>>>> rtems-users mailing list
>>>> rtems-users at rtems.org<mailto:rtems-users at rtems.org>
>>> Eric Norum
>>> wenorum at lbl.gov<mailto:wenorum at lbl.gov>
>>> rtems-users mailing list
>>> rtems-users at rtems.org
>> rtems-users mailing list
>> rtems-users at rtems.org
> 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
wenorum at lbl.gov