From: Tommy McCabe <rocketjet314@yahoo.com>
To: linux-8086@vger.kernel.org
Subject: Re: [PATCH] elkscmd: fix literal controls (replaces Tommy's #8, #12)
Date: Sat, 29 May 2004 11:47:28 -0700 (PDT) [thread overview]
Message-ID: <20040529184728.33717.qmail@web51307.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.58L.0405290745360.31860@damien.conectiva>
--- claudio@conectiva.com wrote:
>
> This patches replaces literal control characters in
> levee source files
> with their hexadecimal equivalents. Some extra care
> is required when
> applying this patch if the email client tries to do
> something strange
> with the literal controls, so I'll send it as an
> attachment.
>
> This patch replaces Tommy's patches #8 and #12.
There was one more levee patch.
> > Only in elkscmd/file_utils: cat
> Only in elkscmd/file_utils: chgrp
> Only in elkscmd/file_utils: chmod
> Only in elkscmd/file_utils: chown
> Only in elkscmd/file_utils: cmp
> Only in elkscmd/file_utils: cp
> Only in elkscmd/file_utils: dd
> Only in elkscmd/file_utils: grep
> Only in elkscmd/file_utils: l
> Only in elkscmd/file_utils: ln
> Only in elkscmd/file_utils: ls
> Only in elkscmd.orig/file_utils: ls.o
> Only in elkscmd/file_utils: mkdir
> Only in elkscmd/file_utils: mkfifo
> Only in elkscmd/file_utils: mknod
> Only in elkscmd/file_utils: more
> Only in elkscmd/file_utils: mv
> Only in elkscmd/file_utils: rm
> Only in elkscmd/file_utils: rmdir
> Only in elkscmd/file_utils: sync
> Only in elkscmd/file_utils: touch
> diff -rud elkscmd.orig/levee/insert.c
> elkscmd/levee/insert.c
> --- elkscmd.orig/levee/insert.c 2004-05-27
> 21:07:57.000000000 -0300
> +++ elkscmd/levee/insert.c 2004-05-29
> 07:26:08.000000000 -0300
> @@ -85,8 +85,8 @@
> Dflag = (cp==0 || core[cp-1]==EOL);
> do {
> if (Dflag)
> - while ((cmd=peekc()) == '\x14' || cmd == '\x04') {
> - if (readchar() == '\x14')
> + while ((cmd=peekc()) == 0x14 || cmd == 0x04) { /*
> handle ^T, ^D */
> + if (readchar() == 0x14)
> currDLE = min(COLS,currDLE+shiftwidth);
> else
> currDLE = max(0,currDLE-shiftwidth);
> diff -rud elkscmd.orig/levee/misc.c
> elkscmd/levee/misc.c
> --- elkscmd.orig/levee/misc.c 2004-05-27
> 21:07:54.000000000 -0300
> +++ elkscmd/levee/misc.c 2004-05-29
> 07:49:00.000000000 -0300
> @@ -392,10 +392,10 @@
> *size = (ip-start);
> return (c==ESC) ? ESC : EOL;
> }
> - else if ((!beautify) || c == TAB || c == '\x16'
> + else if ((!beautify) || c == TAB || c == 0x16 /*
> ^V */
> || (c >= ' ' && c <= '~')) {
> if (ip < endd) {
> - if (c == '\x16')
> + if (c == 0x16)
> c = readchar();
> switch (cclass(c)) {
> case 0 : ixp++; break;
>
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
next prev parent reply other threads:[~2004-05-29 18:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-29 10:53 [PATCH] elkscmd: fix literal controls (replaces Tommy's #8, #12) claudio
2004-05-29 18:47 ` Tommy McCabe [this message]
2004-05-29 22:08 ` claudio
2004-05-31 19:50 ` Miguel Bolanos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040529184728.33717.qmail@web51307.mail.yahoo.com \
--to=rocketjet314@yahoo.com \
--cc=linux-8086@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox