[BusyBox] BB0.45: features and fixes for lash

Marius Groeger mag at sysgo.de
Mon Jul 3 15:31:01 UTC 2000


Hello All,

attached is a patch for sh.c and cmdedit.c of the 0.45
distribution. The patch addresses the following issues:

* Fix: command line globbing and escaping. For instance, the following
  commands wouldn't work:
  
  sh# echo * *
  -> bad globbing
  sh# echo "*******************"
  -> internal buffer overflow followed by segmentation fault
  sh# echo "*******************"
  
* Fix: suppress perror() messages when run from /linuxrc. Maybe someone
  knows a better way to deal with this problem. When run as /linuxrc, eg.
  as the shell for a script, the tcsetpgrp() returns an ENOTTY.

* Fix: cursor editing. The following keyboard sequence would catch BB in an
  infinite loop: ls, cursor up, left, down.

* Add: Support -c command line option, needed for use with popen() 

* Add: environment variable substitution 

* Add: builtin "read" command

Regards

Marius Groeger

------------------------------------------------------------------------------
Marius Groeger <mgroeger at sysgo.de>              SYSGO Real-Time Solutions GmbH
Software Engineering                                        Am Pfaffenstein 14
Phone: +49-6136-9948-0                     D-55270 Klein-Winternheim (Germany)
FAX:   +49-6136-9948-10                                   http://www.sysgo.de/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.gz
Type: application/x-gunzip
Size: 3618 bytes
Desc: 
Url : http://lists.busybox.net/pipermail/busybox/attachments/20000703/0063d3a9/attachment.bin 


More information about the busybox mailing list