[BusyBox] Sh/CmdEdit fixed.
Vladimir N. Oleynik
dzo at simtreas.ru
Thu Apr 5 09:38:00 UTC 2001
Erik,
> > In my opinion, \W is not suitable for use ;-)
>
> But some folks do like it...
>
> I was just thinking about what it would take to hack cmdedit support into
> the new vi applet. The more I think about it, the more I think we should
> move parse_prompt() into libbb. Thoughts?
I have looked the busybox-source vi applet. There I have not found necessity in
special
prompt parsing. On mine, entering of my function there only will increase size
as it
works with dynamic memory.
I have other offers for inclusion in libbb:
1) xgetcwd(). Source can get from util-linux*/lib/*.c
2) paster_patch_file_name(). For example, in libbb:recursive action current
situation
very bad: in recursive allocate many stack!
> Yes, unfortunately lash is living up to its name. :-)
> I hope to have hush ready to replace it soon,
I also have other sh parser ;-) (not ash, only my original).
I think, it is necessary how to coordinate this work for reception of fine
result.
The principal cause of a spelling of it consists that the current module in
cmdedit rather
trivial, parser in sh can not give a position in a command line for use in
cmdedit
and as I necessary inclusions of this code in my additional applets: ftp and
mc.
--w
vodz
More information about the busybox
mailing list