From: rsc@research.att.com rsc@research.att.com
Subject: [9fans] up arrow in acme, 8½
Date: Sat, 27 Mar 1999 01:39:30 -0500 [thread overview]
Message-ID: <19990327063930.gBVo89WzWDVkClMjkHLxalo6Rl0-Q8uUdAl-pCs84Jc@z> (raw)
for those who want the up arrow to scroll up in acme
and 8½, here are the appropriate diffs.
the line numbers might not match the cd exactly.
both code fragments come after a very similar one
with the string "VIEW" in the comment. in both cases
its the only occurrence of VIEW in the entire source.
russ
nomad!acme% yesterday -d text.l
diff /n/dump/1999/0326/sys/src/cmd/acme/text.l text.l
494a495,499
> if(r == 0xCE){ /* up arrow on pcs */
> q0 = t->backnl(t->org, (t->r.max.y-t->r.min.y)/(2*t->font->height));
> t->setorigin(q0, FALSE);
> return;
> }
nomad!acme% cd ../8½
nomad!8½% yesterday -d term.c
diff /n/dump/1999/0326/sys/src/cmd/8½/term.c term.c
690a691,695
> if(!w->mouseopen && ich[0]==0xCE){ /* pc up arrow */
> scrorigin(w, 1, w->f.maxlines/2);
> textdelete(&w->rawbuf, 0, 1);
> continue;
> }
reply other threads:[~1999-03-27 6:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=19990327063930.gBVo89WzWDVkClMjkHLxalo6Rl0-Q8uUdAl-pCs84Jc@z \
--to=rsc@research.att.com \
/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;
as well as URLs for NNTP newsgroup(s).