9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Mart Zirnask <martzirnask@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] simulating two-pane scrolling in acme?
Date: Fri, 25 Sep 2015 12:20:15 +0300	[thread overview]
Message-ID: <CAHUAchw_4K20Ts7XZLbohFhEF1RTarR648PJwb78AUKjwMuk_w@mail.gmail.com> (raw)

Hi,
What's a simple way to simulate two-pane view and scrolling in p9p acme?

E.g. I would first open file.txt in two columns like this:

line 1       | line 4
line 2       | line 5
line 3       | line 6

And now I'd like to scroll down the "whole page",
so the next screen I'm facing would look like this:

line 7      | line 10
line 8      | line 11
line 9      | line 12

I've looked into acmeevent,
but as I understand, it doesn't register scrolling behaviour.

Alternatively, could this also be accomplished only by using sam's
command language? (I'm fascinated by it but only learning the basics
at this point.)

Thanks very much for any pointers,
mart,
p9p newcomer



                 reply	other threads:[~2015-09-25  9:20 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=CAHUAchw_4K20Ts7XZLbohFhEF1RTarR648PJwb78AUKjwMuk_w@mail.gmail.com \
    --to=martzirnask@gmail.com \
    --cc=9fans@9fans.net \
    /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).