diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2012-09-25 10:55:37 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-28 21:36:03 -0500 |
commit | cb344202915f686246438af970b0de59a8e93665 (patch) | |
tree | 0867b0be50e8037e81de6b163d331f2d52ccbadd /system/ksh-openbsd/patches/03-ksh-vi-Ctrl-l-in-insert-mode-to-clear-the-screen.diff | |
parent | 843acef4c6251d39e6b05293362d9e9496200776 (diff) |
system/ksh-openbsd: Removed (build failure)
The checksums on the downloaded source don't match either,
so probably the tarball got updated without corresponding
updates to the build script.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/ksh-openbsd/patches/03-ksh-vi-Ctrl-l-in-insert-mode-to-clear-the-screen.diff')
-rw-r--r-- | system/ksh-openbsd/patches/03-ksh-vi-Ctrl-l-in-insert-mode-to-clear-the-screen.diff | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/system/ksh-openbsd/patches/03-ksh-vi-Ctrl-l-in-insert-mode-to-clear-the-screen.diff b/system/ksh-openbsd/patches/03-ksh-vi-Ctrl-l-in-insert-mode-to-clear-the-screen.diff deleted file mode 100644 index 21a57ffb424e4..0000000000000 --- a/system/ksh-openbsd/patches/03-ksh-vi-Ctrl-l-in-insert-mode-to-clear-the-screen.diff +++ /dev/null @@ -1,45 +0,0 @@ -From 13ef2cd4206ed541fe1dae46c91a339fba5cf5cf Mon Sep 17 00:00:00 2001 -From: Alexander Polakov <polachok@gmail.com> -Date: Sun, 29 May 2011 15:12:31 +0400 -Subject: [PATCH 3/8] ksh/vi: Ctrl-l in insert mode to clear the screen. - - Why: typing "clear" is too slow. ---- - ksh.1 | 3 +++ - vi.c | 6 ++++++ - 2 files changed, 9 insertions(+), 0 deletions(-) - -diff --git ksh.1 ksh.1 -index f4b5815..01130ea 100644 ---- ksh.1 -+++ ksh.1 -@@ -5215,6 +5215,9 @@ List all the commands or files that match the current big-word. - Macro expansion. - Execute the commands found in the alias - .Ar c . -+.It ^L -+Clear the screen leaving the current line at the top of the -+screen. - .El - .Pp - Intra-line movement commands: -diff --git vi.c vi.c -index e4173c7..d0de478 100644 ---- vi.c -+++ vi.c -@@ -646,6 +646,12 @@ vi_insert(int ch) - return redo_insert(lastac - 1); - - /* { Begin nonstandard vi commands */ -+ case Ctrl('l'): -+ /* Use ANSI escape codes to clear the screen */ -+ x_puts("\033[2J\033[0;0H"); -+ redraw_line(0); -+ break; -+ - case Ctrl('x'): - expand_word(0); - break; --- -1.7.5 - |