* [PATCH] elkscmd: fix more literal controls
@ 2004-05-29 23:31 claudio
2004-05-31 19:51 ` Miguel Bolanos
0 siblings, 1 reply; 2+ messages in thread
From: claudio @ 2004-05-29 23:31 UTC (permalink / raw)
To: linux-8086
[-- Attachment #1: Type: TEXT/PLAIN, Size: 53 bytes --]
As pointed out by Tommy McCabe. Patch is attached.
[-- Attachment #2: Type: TEXT/PLAIN, Size: 1041 bytes --]
diff -rud elkscmd.orig/levee/editcor.c elkscmd/levee/editcor.c
--- elkscmd.orig/levee/editcor.c 1999-02-16 16:23:00.000000000 -0200
+++ elkscmd/levee/editcor.c 2004-05-29 19:59:43.410889360 -0300
@@ -444,14 +444,14 @@
strcat(gcb,"c$"); break;
case 'Y': /* yank ... */
strcat(gcb,"y$"); break;
- case '\x06': /* scroll up one page */
- strcpy(gcb,"22\x04"); break;
- case '\x02': /* ... down one page */
- strcpy(gcb,"22\x15"); break;
- case '\x05': /* scroll up one line */
- strcpy(gcb,"1\x04"); break;
- case '\x19': /* ... down one line */
- strcpy(gcb,"1\x15"); break;
+ case 0x06: /* ^F */ /* scroll up one page */
+ strcpy(gcb,"22\x04"); break; /* 22^D */
+ case 0x02: /* ^B */ /* ... down one page */
+ strcpy(gcb,"22\x15"); break; /* 22^U */
+ case 0x05: /* ^E */ /* scroll up one line */
+ strcpy(gcb,"1\x04"); break; /* 1^D */
+ case 0x19: /* ^Y */ /* ... down one line */
+ strcpy(gcb,"1\x15"); break; /* 1^U */
default:
error();
return 0;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] elkscmd: fix more literal controls
2004-05-29 23:31 [PATCH] elkscmd: fix more literal controls claudio
@ 2004-05-31 19:51 ` Miguel Bolanos
0 siblings, 0 replies; 2+ messages in thread
From: Miguel Bolanos @ 2004-05-31 19:51 UTC (permalink / raw)
To: claudio; +Cc: linux-8086
Applied, thanks.
Mike
On Sat, 2004-05-29 at 17:31, claudio@conectiva.com wrote:
> As pointed out by Tommy McCabe. Patch is attached.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-31 19:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-29 23:31 [PATCH] elkscmd: fix more literal controls claudio
2004-05-31 19:51 ` Miguel Bolanos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox