9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <charles.forsyth@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] carriage returns and other characters in acme/rc
Date: Mon, 10 Sep 2012 10:51:09 +0100	[thread overview]
Message-ID: <CAOw7k5gRQ=pRCdaJWY2TmyyHwaRq4FhYFPniPYJ_3B7LLzYDsQ@mail.gmail.com> (raw)
In-Reply-To: <9708812.HpYX0RglHP@coil>

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

I have a script "u" that does just that, allowing "u date", "u man", "u
./configure" and so on.

% cat bin/u
#!/bin/rc
SHELL=/bin/sh
path=(/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin
/usr/bin/X11 /usr/games)
MANPAGER=/bin/cat
exec $*

On 10 September 2012 10:45, dexen deVries <dexen.devries@gmail.com> wrote:

> On Monday 10 of September 2012 10:42:12 Charles Forsyth wrote:
> > From GNU programs you will then get moans about the terminal:
> > %TERM=dumb
> > % man date
> > WARNING: terminal is not fully functional
> > -  (press RETURN)
>
>
> % TERM=dumb
> % PAGER=cat
> % man date
> DATE(1)
> User Commands
> DATE(1)
>
>
>
> NAME
>        date - print or set the system date and time
> (...)
>
>
>
>
> in slightly related news, here's mine:
>
>
> $ cat ~/bin/acme
> #!/usr/bin/env rc
> TERM=dumb
> exec $PLAN9/bin/acme -c1 -a $*
> $
>
> --
> dexen deVries
>
> [[[↓][→]]]
>
>

[-- Attachment #2: Type: text/html, Size: 1515 bytes --]

  reply	other threads:[~2012-09-10  9:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-10  8:48 Christopher Hobbs
2012-09-10  8:57 ` cinap_lenrek
2012-09-10 13:56   ` erik quanstrom
2012-09-10  9:20 ` Aram Hăvărneanu
2012-09-10  9:31   ` dexen deVries
2012-09-10  9:42   ` Charles Forsyth
2012-09-10  9:45     ` dexen deVries
2012-09-10  9:51       ` Charles Forsyth [this message]
     [not found]   ` <CAOw7k5j9twewYEV0bSRnZ8x1tPoScbX=v9cAO7qjLhSzeixHhw@mail.gmail.c>
2012-09-10 13:58     ` erik quanstrom
2012-09-12  9:08 ` [9fans] carriage returns and other characters in acme/rcc Christopher Hobbs

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='CAOw7k5gRQ=pRCdaJWY2TmyyHwaRq4FhYFPniPYJ_3B7LLzYDsQ@mail.gmail.com' \
    --to=charles.forsyth@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).