aboutsummaryrefslogtreecommitdiff
path: root/editors (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor warning cleanupsandersen2001-11-171-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from "Andrew Tipton" <andrew@cadre5.com> to enable vi cursorandersen2001-11-171-4/+19
| | | | | | | keys while editing. git-svn-id: svn://busybox.net/trunk/busybox@3689 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Steve Merrifield <steve@labyrinth.net.au> to make viandersen2001-11-171-6/+6
| | | | | | | use xmalloc git-svn-id: svn://busybox.net/trunk/busybox@3687 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change strdup calls to xstrdup (patch from Steve Merrifield).kraai2001-11-122-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3666 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use fopen wrapper.kraai2001-11-121-7/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3663 69ca8d6d-28ef-0310-b511-8ec308f3f277
* |2001-10-08 Rodney Brown <rbrown64@csc.com.au>andersen2001-11-101-86/+101
| | | | | | | | | | | | | | | | | * editors/sed.c: Fix multiline [aic] commands. Make # an endline | comment for compatibility. Codespace reduction. | * tests/testcases: Cope with move to subdirectories. | * testsuite/sed/sed-aic-commands: Add. | | text data bss dec hex filename | 3772 16 0 3788 ecc editors/sed.o | 4516 16 0 4532 11b4 editors/sed.o.bu git-svn-id: svn://busybox.net/trunk/busybox@3642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more config.in entries from Giulio Orsero <giulioo@pobox.com>andersen2001-11-101-1/+1
| | | | | | | with some minor edits by me. git-svn-id: svn://busybox.net/trunk/busybox@3640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* config.in features patch from Giulio Orsero <giulioo@pobox.com>andersen2001-11-101-0/+12
| | | | | | | with some minor edits from me git-svn-id: svn://busybox.net/trunk/busybox@3639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-244-229/+277
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix empty line substitutions (noted by Joshua Hudson).kraai2001-10-231-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3555 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix s/[/]// handling (noted by Dumas Patrice).kraai2001-08-241-1/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3348 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Shu-Hao Chang <shuhao_chang@trend.com.tw> toandersen2001-08-221-13/+48
| | | | | | | fixed sed handling of multiple -e commands git-svn-id: svn://busybox.net/trunk/busybox@3337 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a problem with unsatisfied backrefs (noted by Martin Bene).kraai2001-08-201-4/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3313 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Robert J. Osborne <rj@resourceinternational.com> that fixesandersen2001-08-021-3/+3
| | | | | | | | | a bug in vi where the beginning of the text space was not checked before dot is decremented for delete and escape sequences on an empty file. git-svn-id: svn://busybox.net/trunk/busybox@3184 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't save and restore readonly flag if BB_FEATURE_VI_READONLY isn't enabled.kraai2001-07-311-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3166 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Preserve whether or not the line was previously altered when running akraai2001-07-301-2/+2
| | | | | | | subst command (discovery and patch by Jim Gleason). git-svn-id: svn://busybox.net/trunk/busybox@3159 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toandersen2001-07-191-2/+2
| | | | | | | | | | make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik git-svn-id: svn://busybox.net/trunk/busybox@3130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is vodz' latest patch. Sorry it took so long...andersen2001-07-171-2/+2
| | | | | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed obsolete function, strdup_substr.kraai2001-07-051-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanups and sinze reduction for the vi applet from Aaron Lehmannandersen2001-07-021-14/+15
| | | | | | | <aaronl@vitelus.com> git-svn-id: svn://busybox.net/trunk/busybox@2971 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir's last_patch_15bug12001-06-261-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2905 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These were broken when using dmalloc due to include file orderingandersen2001-06-231-4/+4
| | | | | | | | problems. busybox.h must be last. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote mkdir (and touched lots of things in the process).kraai2001-06-211-9/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2873 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Always apply commands with no specified range.kraai2001-06-211-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2868 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Fixed bug where you couldn't mix line number and regexes in two-address cmdsmarkw2001-06-111-117/+132
| | | | | | | | | - Fixed bug where you couldn't use two addresses for a 'c' cmd - Moved the do_sed_cmd function into process_file to simplify some things - Reduced a buncha lines of code in the process git-svn-id: svn://busybox.net/trunk/busybox@2811 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use safe_strncpy.kraai2001-05-271-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2753 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from larry to fix some grammar errors.andersen2001-05-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Always print a newline after a matching substitution.kraai2001-05-171-6/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2664 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ...Need to print just a few more newlines.markw2001-05-141-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2641 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ...And now that we're chomping lines, we need to re-add the newline later...markw2001-05-141-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* We will chomp() lines so REG_NEWLINE does not break stuff. Thanks, Matt.markw2001-05-141-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2638 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added REG_NEWLINE as cflags to xregcomp for normal addresses so EOL $ will workmarkw2001-05-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2636 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Aaron Lehmann <aaronl@vitelus.com> to fix aandersen2001-05-131-1/+9
| | | | | | | crash on a broken regexp. git-svn-id: svn://busybox.net/trunk/busybox@2630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for 'r' command in sed.markw2001-05-111-10/+73
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2621 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Vladimir to use last_char_is(), and a patch fromandersen2001-05-071-4/+7
| | | | | | | | Larry to fix a silly bug when BB_FEATURE_VI_OPTIMIZE_CURSOR is not defined. git-svn-id: svn://busybox.net/trunk/busybox@2564 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another vi update from Sterling Huxley:andersen2001-05-071-224/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - All of the ESC sequences are now in variables. This should make re-targeting for other terminals easier. - The initial screen draw does not force out every single column. Should be faster. - The place_cursor() routine trys to be smarter about moving the cursor. This is optional based on BB_FEATURE_VI_OPTIMIZE_CURSOR. - The 't' and 'f' intra-line positioning commands were added. They can now be used as targets in 'c' and 'd' commands, i.e., dfx - delete from dot to next 'x' dtx - delete from dot to the char before next 'x' - show_status_line() uses a static int checksum to remember what is currently displayed on the screen and not re-draw the status line unless it has changed. - Some of the code in refresh() was moved out to format_line(). refresh() trys to send out the smallest segment containing the changed chars rather than the whole line. - Added "flash" to the :set command to specify if error indication should be by flashing the screen or ringing the bell. - Changed the rawmode() routine so that it turns off the NL -> CR NL translation. On output of a NL, the OS will not add a CR. - If vi was started as "view", with global read-only mode, and another file is opened, the file is opened read-only rather than read+write. git-svn-id: svn://busybox.net/trunk/busybox@2550 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another nice cleanup from Larry. This adds a new last_char_is() function andandersen2001-04-261-2/+2
| | | | | | | | | uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2450 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a buglet where an extra newline was being added after an insert commandmarkw2001-04-201-7/+10
| | | | | | | in some cases. git-svn-id: svn://busybox.net/trunk/busybox@2395 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Made a correction to a bad test expression. Props to Larry Doolittle formarkw2001-04-201-2/+1
| | | | | | | spotting this one. git-svn-id: svn://busybox.net/trunk/busybox@2394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Several fixes from Sterling Huxley for the vi applet.andersen2001-04-161-79/+210
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2352 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unused optarg variableandersen2001-04-041-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2246 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some cleanups for libc5 supportandersen2001-04-041-17/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2244 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I said no new features till after the 0.51 release. Well, I lied. This is aandersen2001-04-041-0/+3683
| | | | | | | | vi editor for busybox, contributed by Sterling Huxley <sterling@europa.com>. It adds 22k to the busybox binary when enabled. Quite impressive! git-svn-id: svn://busybox.net/trunk/busybox@2240 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Anthony Towns that he posted to Debian bug tracking.markw2001-03-261-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2197 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Erik Habbinga to fix a problem with an uninitializedmarkw2001-03-141-0/+4
| | | | | | | substitution delimiter. git-svn-id: svn://busybox.net/trunk/busybox@2082 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Get rid of long stale usage message code.andersen2001-02-171-4/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1849 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-141-2/+2
| | | | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix wget error message and add (and use) chomp library function.kraai2001-02-011-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed trailing \n from error_msg{,_and_die} messages.kraai2001-01-311-10/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up copyright msgs. Bump version to 0.49 in preparation forandersen2001-01-271-1/+1
| | | | | | | | a release. Update the website with release details. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1697 69ca8d6d-28ef-0310-b511-8ec308f3f277