9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Douglas A. Gwyn" <DAGwyn@null.net>
To: 9fans@cse.psu.edu
Subject: [9fans] Re: Sam & Acme & 8c questions
Date: Mon, 17 Jun 2002 10:52:26 +0000	[thread overview]
Message-ID: <3D0DB2C1.AE581D51@null.net> (raw)
In-Reply-To: <ugmvtpl0eq1se2@news.supernews.com>

Blake McBride wrote:
> Comment:  If you start sam with a single file argument it
> would be VERY convinient to have sam automatically
> open and display that file taking up its entire data area.

Agreed.  You have the source; when you figure out how to do it
let us all know.

> Question 1.  In sam (or acme) how can I select more lines
> than can fit on the screen?

In sam, put the text cursor at the start of the region, enter
the command .= (or maybe just =) to display the value of dot,
put the text cursor at the end of the region, enter the command
{start_dot_value},. to select the region.

> Question 3:  Most C compilers (or actually their pre-processors)
> have some standard defines so that your program can tell what
> it's being compiled for at compile time (like _unix_ or __WIN32).
> Does the Plan 9 compiler have some standard defines?

Not that I know of, but you can add to CFLAGS in your Makefiles
-D__plan9_version__=4 or some such.


  reply	other threads:[~2002-06-17 10:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17  9:14 [9fans] " Blake McBride
2002-06-17 10:52 ` Douglas A. Gwyn [this message]
2002-06-17 11:10 [9fans] " forsyth
2002-06-17 13:49 Russ Cox
2002-06-18  9:31 ` Douglas A. Gwyn
2002-06-18 15:58 Russ Cox
2002-06-19 16:18 ` Douglas A. Gwyn
2002-06-18 17:03 rog
2002-06-18 18:35 rob pike, esq.
2002-06-20  0:18 okamoto

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=3D0DB2C1.AE581D51@null.net \
    --to=dagwyn@null.net \
    --cc=9fans@cse.psu.edu \
    /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).