From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <9708812.HpYX0RglHP@coil> References: <23040de1-494c-4d1f-9c1c-f76ca2a9e35e@googlegroups.com> <9708812.HpYX0RglHP@coil> Date: Mon, 10 Sep 2012 10:51:09 +0100 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7b621e40a9e6f204c955e547 Subject: Re: [9fans] carriage returns and other characters in acme/rc Topicbox-Message-UUID: b80da230-ead7-11e9-9d60-3106f5b1d025 --047d7b621e40a9e6f204c955e547 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3D/bin/sh path=3D(/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/bin/X11 /usr/games) MANPAGER=3D/bin/cat exec $* On 10 September 2012 10:45, dexen deVries 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=3Ddumb > > % man date > > WARNING: terminal is not fully functional > > - (press RETURN) > > > % TERM=3Ddumb > % PAGER=3Dcat > % 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=3Ddumb > exec $PLAN9/bin/acme -c1 -a $* > $ > > -- > dexen deVries > > [[[=E2=86=93][=E2=86=92]]] > > --047d7b621e40a9e6f204c955e547 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have a script "u" that does just that, allowing "u date&qu= ot;, "u man", "u ./configure" and so on.

<= div>% cat bin/u
#!/bin/rc
SHELL=3D/bin/sh
pat= h=3D(/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/bin/= X11 /usr/games)
MANPAGER=3D/bin/cat
exec $*

On 10 September 2012 10:45, dexen deVries <dexen.de= vries@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=3Ddumb
> % man date
> WARNING: terminal is not fully functional
> - =C2=A0(press RETURN)


% TERM=3Ddumb
% PAGER=3Dcat
% man date
DATE(1)
User Commands
DATE(1)



NAME
=C2=A0 =C2=A0 =C2=A0 =C2=A0date - print or set the system date and time
(...)




in slightly related news, here's mine:


$ cat ~/bin/acme
#!/usr/bin/env rc
TERM=3Ddumb
exec $PLAN9/bin/acme -c1 -a $*
$

--
dexen deVries

[[[=E2=86=93][=E2=86=92]]]


--047d7b621e40a9e6f204c955e547--