9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] carriage returns and other characters in acme/rc
@ 2012-09-10  8:48 Christopher Hobbs
  2012-09-10  8:57 ` cinap_lenrek
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Christopher Hobbs @ 2012-09-10  8:48 UTC (permalink / raw)
  To: 9fans

Some programs like git and zsh (when I ssh into other machines) will spew out carriage returns and other characters like this when run under 9term, acme, or rc:

http://cl.ly/image/2Q0F3v3Y1T28
http://cl.ly/image/2v313p1h1O3n

This is happening in p9p, vanilla plan9, and 9front.  Is there a means of getting acme or rc to display these values "correctly"?

Thanks.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] carriage returns and other characters in acme/rc
  2012-09-10  8:48 [9fans] carriage returns and other characters in acme/rc 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-12  9:08 ` [9fans] carriage returns and other characters in acme/rcc Christopher Hobbs
  2 siblings, 1 reply; 10+ messages in thread
From: cinap_lenrek @ 2012-09-10  8:57 UTC (permalink / raw)
  To: 9fans

i know that telnet, con and the old ssh have -r option that
supresses carriage return. not sure about the new ssh2 tho.

--
cinap



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] carriage returns and other characters in acme/rc
  2012-09-10  8:48 [9fans] carriage returns and other characters in acme/rc Christopher Hobbs
  2012-09-10  8:57 ` cinap_lenrek
@ 2012-09-10  9:20 ` Aram Hăvărneanu
  2012-09-10  9:31   ` dexen deVries
                     ` (2 more replies)
  2012-09-12  9:08 ` [9fans] carriage returns and other characters in acme/rcc Christopher Hobbs
  2 siblings, 3 replies; 10+ messages in thread
From: Aram Hăvărneanu @ 2012-09-10  9:20 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

What happens if you set TERM=dumb? Since I've set TERM=dumb I've never
seen this.

-- 
Aram Hăvărneanu



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] carriage returns and other characters in acme/rc
  2012-09-10  9:20 ` Aram Hăvărneanu
@ 2012-09-10  9:31   ` dexen deVries
  2012-09-10  9:42   ` Charles Forsyth
       [not found]   ` <CAOw7k5j9twewYEV0bSRnZ8x1tPoScbX=v9cAO7qjLhSzeixHhw@mail.gmail.c>
  2 siblings, 0 replies; 10+ messages in thread
From: dexen deVries @ 2012-09-10  9:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Monday 10 of September 2012 12:20:22 Aram Hăvărneanu wrote:
> What happens if you set TERM=dumb? Since I've set TERM=dumb I've never
> seen this.

thanks, works for me :D


-- 
dexen deVries

[[[↓][→]]]




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] carriage returns and other characters in acme/rc
  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
       [not found]   ` <CAOw7k5j9twewYEV0bSRnZ8x1tPoScbX=v9cAO7qjLhSzeixHhw@mail.gmail.c>
  2 siblings, 1 reply; 10+ messages in thread
From: Charles Forsyth @ 2012-09-10  9:42 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

>From GNU programs you will then get moans about the terminal:
%TERM=dumb
% man date
WARNING: terminal is not fully functional
-  (press RETURN)

because it doesn't emulate a device that was last built decades ago.
At least they don't demand 3270s.

On 10 September 2012 10:20, Aram Hăvărneanu <aram.h@mgk.ro> wrote:

> What happens if you set TERM=dumb? Since I've set TERM=dumb I've never
> seen this.
>

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] carriage returns and other characters in acme/rc
  2012-09-10  9:42   ` Charles Forsyth
@ 2012-09-10  9:45     ` dexen deVries
  2012-09-10  9:51       ` Charles Forsyth
  0 siblings, 1 reply; 10+ messages in thread
From: dexen deVries @ 2012-09-10  9:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

[[[↓][→]]]



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] carriage returns and other characters in acme/rc
  2012-09-10  9:45     ` dexen deVries
@ 2012-09-10  9:51       ` Charles Forsyth
  0 siblings, 0 replies; 10+ messages in thread
From: Charles Forsyth @ 2012-09-10  9:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- 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 --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] carriage returns and other characters in acme/rc
  2012-09-10  8:57 ` cinap_lenrek
@ 2012-09-10 13:56   ` erik quanstrom
  0 siblings, 0 replies; 10+ messages in thread
From: erik quanstrom @ 2012-09-10 13:56 UTC (permalink / raw)
  To: 9fans

On Mon Sep 10 05:01:33 EDT 2012, cinap_lenrek@gmx.de wrote:
> i know that telnet, con and the old ssh have -r option that
> supresses carriage return. not sure about the new ssh2 tho.

it does.

- erik



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] carriage returns and other characters in acme/rc
       [not found]   ` <CAOw7k5j9twewYEV0bSRnZ8x1tPoScbX=v9cAO7qjLhSzeixHhw@mail.gmail.c>
@ 2012-09-10 13:58     ` erik quanstrom
  0 siblings, 0 replies; 10+ messages in thread
From: erik quanstrom @ 2012-09-10 13:58 UTC (permalink / raw)
  To: charles.forsyth, 9fans

> because it doesn't emulate a device that was last built decades ago.
> At least they don't demand 3270s.

true.  but at least 3270 emulation makes sense.  those programs
were written for that terminal decades ago, and never supported
a variety of terminals.  the alternative is a layer of web goo, that
given the environment, probablly supports only ie6.  :-)

git on the other hand really has no excuse.

- erik



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] carriage returns and other characters in acme/rcc
  2012-09-10  8:48 [9fans] carriage returns and other characters in acme/rc Christopher Hobbs
  2012-09-10  8:57 ` cinap_lenrek
  2012-09-10  9:20 ` Aram Hăvărneanu
@ 2012-09-12  9:08 ` Christopher Hobbs
  2 siblings, 0 replies; 10+ messages in thread
From: Christopher Hobbs @ 2012-09-12  9:08 UTC (permalink / raw)
  To: 9fans

Incoming double post... I didn't notice that my original message got posted and I reposted tonight.  I apologize for the noise.  I'll try the suggestions metioned.  Thanks.

On Monday, September 10, 2012 3:49:03 AM UTC-5, Christopher Hobbs wrote:
> Some programs like git and zsh (when I ssh into other machines) will spew out carriage returns and other characters like this when run under 9term, acme, or rc:
>
>
>
> http://cl.ly/image/2Q0F3v3Y1T28
>
> http://cl.ly/image/2v313p1h1O3n
>
>
>
> This is happening in p9p, vanilla plan9, and 9front.  Is there a means of getting acme or rc to display these values "correctly"?
>
>
>
> Thanks.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-09-12  9:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-10  8:48 [9fans] carriage returns and other characters in acme/rc 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
     [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

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).