9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] p9p funny
       [not found] <<4b3aa4b2.GTlBJSrVHvm2j0KJ%yard-ape@telus.net>
@ 2009-12-30  1:01 ` erik quanstrom
  2010-01-10 15:40   ` Lorenzo Vegro
  0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2009-12-30  1:01 UTC (permalink / raw)
  To: 9fans

On Tue Dec 29 19:58:45 EST 2009, yard-ape@telus.net wrote:
> erik quanstrom <quanstro@quanstro.net> wrote:
>
> >
> > ; flag v && echo true
> > flag v && echo true
> > ; ed .rcrc
> > ed .rcrc
> > 900
> > 1
> > 1
> > if (test -e /etc/rcrc)
> > q
> > q
> >
>
> It looks like you're you're using the Rakitzis rc; is readline involved?

i've never used readline with any flavor of rc.  but i have
tried byron's rc as well as the p9p rc.  unfortunately,
it has nothing to do with rc — notice that ed has the same
problem.  readline actually fixes the problem.  bash works
fine.  er, scratch that.  bash works as expected.

- erik



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

* Re: [9fans] p9p funny
  2009-12-30  1:01 ` [9fans] p9p funny erik quanstrom
@ 2010-01-10 15:40   ` Lorenzo Vegro
  2010-01-10 15:46     ` erik quanstrom
  0 siblings, 1 reply; 6+ messages in thread
From: Lorenzo Vegro @ 2010-01-10 15:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

i am experiencing the very same problem -- only i get
the echo every single time, not 2/3 -- and i get this
even when using pdksh.  as previously reported, bash (or
zsh, for that matter) does not suffer of this problem.
any help would be greatly appreciated.  the problem first
manifested itself after a system wide update... i'll see
if i can get a log of this and i will post it, if you
think this could be of help.

- lorenzo


2009/12/30, erik quanstrom <quanstro@quanstro.net>:
> On Tue Dec 29 19:58:45 EST 2009, yard-ape@telus.net wrote:
>> erik quanstrom <quanstro@quanstro.net> wrote:
>>
>> >
>> > ; flag v && echo true
>> > flag v && echo true
>> > ; ed .rcrc
>> > ed .rcrc
>> > 900
>> > 1
>> > 1
>> > if (test -e /etc/rcrc)
>> > q
>> > q
>> >
>>
>> It looks like you're you're using the Rakitzis rc; is readline involved?
>
> i've never used readline with any flavor of rc.  but i have
> tried byron's rc as well as the p9p rc.  unfortunately,
> it has nothing to do with rc — notice that ed has the same
> problem.  readline actually fixes the problem.  bash works
> fine.  er, scratch that.  bash works as expected.
>
> - erik
>
>


-- 
LV



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

* Re: [9fans] p9p funny
  2010-01-10 15:40   ` Lorenzo Vegro
@ 2010-01-10 15:46     ` erik quanstrom
  0 siblings, 0 replies; 6+ messages in thread
From: erik quanstrom @ 2010-01-10 15:46 UTC (permalink / raw)
  To: 9fans

On Sun Jan 10 10:42:33 EST 2010, l.vegro@gmail.com wrote:
> i am experiencing the very same problem -- only i get
> the echo every single time, not 2/3 -- and i get this
> even when using pdksh.  as previously reported, bash (or
> zsh, for that matter) does not suffer of this problem.
> any help would be greatly appreciated.  the problem first
> manifested itself after a system wide update... i'll see
> if i can get a log of this and i will post it, if you
> think this could be of help.

the only thing i can add is that the reason that bash
does not have this problem is because bash (readline) puts the console
into raw mode and so there is no accumulation of the input
and then the echo-off write of that input to the shell.

this smells like a synchronization problem, but if it is,
i missed it.

- erik



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

* Re: [9fans] p9p funny
  2009-12-29 23:53 erik quanstrom
  2009-12-30  0:54 ` yard-ape
@ 2010-01-25 18:09 ` Ethan Grammatikidis
  1 sibling, 0 replies; 6+ messages in thread
From: Ethan Grammatikidis @ 2010-01-25 18:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On 29 Dec 2009, at 11:53 pm, erik quanstrom wrote:

> i'm getting spurious echo in 9term on average about 2/3 of
> the time.  this example sees the spurious echo every time.
> programs like bash that eat cooked input don't seem to suffer
> the same fate.

Yes, on both OS X and Linux. I find I'm most likely to see it when
using non-p9p tools and setting cooked mode from the menu. Using p9p
tools via ssh also seems to trigger it. (i.e. open 9term, ssh to
another machine, and run 9 rc.)

  I actually thought it was a feature of cooked mode, I was quite
surprised to see it not manifest when I tested just now.



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

* Re: [9fans] p9p funny
  2009-12-29 23:53 erik quanstrom
@ 2009-12-30  0:54 ` yard-ape
  2010-01-25 18:09 ` Ethan Grammatikidis
  1 sibling, 0 replies; 6+ messages in thread
From: yard-ape @ 2009-12-30  0:54 UTC (permalink / raw)
  To: 9fans

erik quanstrom <quanstro@quanstro.net> wrote:

>
> ; flag v && echo true
> flag v && echo true
> ; ed .rcrc
> ed .rcrc
> 900
> 1
> 1
> if (test -e /etc/rcrc)
> q
> q
>

It looks like you're you're using the Rakitzis rc; is readline involved?



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

* [9fans] p9p funny
@ 2009-12-29 23:53 erik quanstrom
  2009-12-30  0:54 ` yard-ape
  2010-01-25 18:09 ` Ethan Grammatikidis
  0 siblings, 2 replies; 6+ messages in thread
From: erik quanstrom @ 2009-12-29 23:53 UTC (permalink / raw)
  To: 9fans

i'm getting spurious echo in 9term on average about 2/3 of
the time.  this example sees the spurious echo every time.
programs like bash that eat cooked input don't seem to suffer
the same fate.

; flag v && echo true
flag v && echo true
; ed .rcrc
ed .rcrc
900
1
1
if (test -e /etc/rcrc)
q
q

has anyone else seen this?

- erik



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

end of thread, other threads:[~2010-01-25 18:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <<4b3aa4b2.GTlBJSrVHvm2j0KJ%yard-ape@telus.net>
2009-12-30  1:01 ` [9fans] p9p funny erik quanstrom
2010-01-10 15:40   ` Lorenzo Vegro
2010-01-10 15:46     ` erik quanstrom
2009-12-29 23:53 erik quanstrom
2009-12-30  0:54 ` yard-ape
2010-01-25 18:09 ` Ethan Grammatikidis

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