aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-04-14 17:51:38 +0000
committerEric Andersen <andersen@codepoet.org>2004-04-14 17:51:38 +0000
commitaff114c33d2b8879233fa513e6d760d0ef99b632 (patch)
tree101230a8bd16a03319acc4b9b5fb33c33fb58672 /shell/cmdedit.c
parent4c8b0dd97385b820e28bb8cb2d08ef3bd194a16a (diff)
downloadbusybox-w32-aff114c33d2b8879233fa513e6d760d0ef99b632.tar.gz
busybox-w32-aff114c33d2b8879233fa513e6d760d0ef99b632.tar.bz2
busybox-w32-aff114c33d2b8879233fa513e6d760d0ef99b632.zip
Larry Doolittle writes:
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
Diffstat (limited to 'shell/cmdedit.c')
-rw-r--r--shell/cmdedit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index 9c66ce284..25d31a0e0 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -1,6 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * Termios command line History and Editting. 3 * Termios command line History and Editing.
4 * 4 *
5 * Copyright (c) 1986-2003 may safely be consumed by a BSD or GPL license. 5 * Copyright (c) 1986-2003 may safely be consumed by a BSD or GPL license.
6 * Written by: Vladimir Oleynik <dzo@simtreas.ru> 6 * Written by: Vladimir Oleynik <dzo@simtreas.ru>
@@ -259,7 +259,7 @@ static inline void beep(void)
259 putchar('\007'); 259 putchar('\007');
260} 260}
261 261
262/* Move back one charactor */ 262/* Move back one character */
263/* special for slow terminal */ 263/* special for slow terminal */
264static void input_backward(int num) 264static void input_backward(int num)
265{ 265{
@@ -429,7 +429,7 @@ static void parse_prompt(const char *prmt_ptr)
429#endif 429#endif
430 430
431 431
432/* draw promt, editor line, and clear tail */ 432/* draw prompt, editor line, and clear tail */
433static void redraw(int y, int back_cursor) 433static void redraw(int y, int back_cursor)
434{ 434{
435 if (y > 0) /* up to start y */ 435 if (y > 0) /* up to start y */
@@ -466,7 +466,7 @@ static void input_backspace(void)
466} 466}
467 467
468 468
469/* Move forward one charactor */ 469/* Move forward one character */
470static void input_forward(void) 470static void input_forward(void)
471{ 471{
472 if (cursor < len) 472 if (cursor < len)