9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] video of an acme session
@ 2008-02-27  9:49 Skip Tavakkolian
  2008-02-27 10:14 ` Bruce Ellis
  2008-02-27 10:22 ` Axel Belinfante
  0 siblings, 2 replies; 21+ messages in thread
From: Skip Tavakkolian @ 2008-02-27  9:49 UTC (permalink / raw)
  To: 9fans

here's a screen capture of an acme session that might be useful to
those who are new to acme.  i've put the tools (mspy script and
tippi.c) that were used to follow the mouse buttons on sources.  with
brucee's help it went together quickly and he did the hard bit in mspy
plumbing.

i used the windows media encoder (free download from microsoft).

http://www.rangboom.com/videos/acme_session.wmv


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

* Re: [9fans] video of an acme session
  2008-02-27  9:49 [9fans] video of an acme session Skip Tavakkolian
@ 2008-02-27 10:14 ` Bruce Ellis
  2008-02-27 10:22 ` Axel Belinfante
  1 sibling, 0 replies; 21+ messages in thread
From: Bruce Ellis @ 2008-02-27 10:14 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

no, skip did most of the work. i just reminded him how neat
plan9 is and, as usual, that most of the work is already done
for you.

brucee

On Wed, Feb 27, 2008 at 8:49 PM, Skip Tavakkolian <9nut@9netics.com> wrote:
> here's a screen capture of an acme session that might be useful to
> those who are new to acme.  i've put the tools (mspy script and
> tippi.c) that were used to follow the mouse buttons on sources.  with
> brucee's help it went together quickly and he did the hard bit in mspy
> plumbing.
>
> i used the windows media encoder (free download from microsoft).
>
> http://www.rangboom.com/videos/acme_session.wmv


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

* Re: [9fans] video of an acme session
  2008-02-27  9:49 [9fans] video of an acme session Skip Tavakkolian
  2008-02-27 10:14 ` Bruce Ellis
@ 2008-02-27 10:22 ` Axel Belinfante
  2008-02-27 10:32   ` Geoffrey Avila
  2008-02-27 10:42   ` Skip Tavakkolian
  1 sibling, 2 replies; 21+ messages in thread
From: Axel Belinfante @ 2008-02-27 10:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> i used the windows media encoder (free download from microsoft).

that may or may not have been an unfortunate choice;
on a mac with osx 10.5 (leopard) I'm so far unable to view it.
(maybe a more experienced mac user can view it?)

Axel.


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

* Re: [9fans] video of an acme session
  2008-02-27 10:22 ` Axel Belinfante
@ 2008-02-27 10:32   ` Geoffrey Avila
  2008-02-27 10:40     ` Skip Tavakkolian
  2008-02-27 10:41     ` Uriel
  2008-02-27 10:42   ` Skip Tavakkolian
  1 sibling, 2 replies; 21+ messages in thread
From: Geoffrey Avila @ 2008-02-27 10:32 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


I cheated and used XP on Parallels. Usually, Flip4Mac works with .wmvs,
but not this time. Is there supposed to be an audio track?

-GBA




> > i used the windows media encoder (free download from microsoft).
>
> that may or may not have been an unfortunate choice;
> on a mac with osx 10.5 (leopard) I'm so far unable to view it.
> (maybe a more experienced mac user can view it?)
>
> Axel.
>


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

* Re: [9fans] video of an acme session
  2008-02-27 10:32   ` Geoffrey Avila
@ 2008-02-27 10:40     ` Skip Tavakkolian
  2008-02-27 10:41     ` Uriel
  1 sibling, 0 replies; 21+ messages in thread
From: Skip Tavakkolian @ 2008-02-27 10:40 UTC (permalink / raw)
  To: 9fans

> I cheated and used XP on Parallels. Usually, Flip4Mac works with .wmvs,
> but not this time. Is there supposed to be an audio track?

if i had a voice like forsyth, there might have been one.

besides, we didn't want to wake up tippi.


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

* Re: [9fans] video of an acme session
  2008-02-27 10:32   ` Geoffrey Avila
  2008-02-27 10:40     ` Skip Tavakkolian
@ 2008-02-27 10:41     ` Uriel
  2008-02-27 10:49       ` Bruce Ellis
  1 sibling, 1 reply; 21+ messages in thread
From: Uriel @ 2008-02-27 10:41 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Ah, I love how 9fans has become a mac tech support group...

Maybe it is time we offocially rename the list to jobsFans or something.

uriel

On Wed, Feb 27, 2008 at 11:32 AM, Geoffrey Avila <avlg@sdsc.edu> wrote:
>
>  I cheated and used XP on Parallels. Usually, Flip4Mac works with .wmvs,
>  but not this time. Is there supposed to be an audio track?
>
>  -GBA
>
>
>
>
>
>
>  > > i used the windows media encoder (free download from microsoft).
>  >
>  > that may or may not have been an unfortunate choice;
>  > on a mac with osx 10.5 (leopard) I'm so far unable to view it.
>  > (maybe a more experienced mac user can view it?)
>  >
>  > Axel.
>  >
>
>


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

* Re: [9fans] video of an acme session
  2008-02-27 10:22 ` Axel Belinfante
  2008-02-27 10:32   ` Geoffrey Avila
@ 2008-02-27 10:42   ` Skip Tavakkolian
  2008-02-27 15:16     ` lejatorn
  1 sibling, 1 reply; 21+ messages in thread
From: Skip Tavakkolian @ 2008-02-27 10:42 UTC (permalink / raw)
  To: 9fans

> that may or may not have been an unfortunate choice;
> on a mac with osx 10.5 (leopard) I'm so far unable to view it.
> (maybe a more experienced mac user can view it?)

maybe somebody can transcode it to mp4 or flash video.


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

* Re: [9fans] video of an acme session
  2008-02-27 10:41     ` Uriel
@ 2008-02-27 10:49       ` Bruce Ellis
  0 siblings, 0 replies; 21+ messages in thread
From: Bruce Ellis @ 2008-02-27 10:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

gotta love gmail ads ...

Seattle MacSOS Support - SeattleMacSOS.com - Your Personal Mac
Lifesaver Apple Certified Helpdesk Specialist

give them a call!

brucee

On Wed, Feb 27, 2008 at 9:41 PM, Uriel <uriel99@gmail.com> wrote:
> Ah, I love how 9fans has become a mac tech support group...
>
> Maybe it is time we offocially rename the list to jobsFans or something.
>
> uriel
>
>
> On Wed, Feb 27, 2008 at 11:32 AM, Geoffrey Avila <avlg@sdsc.edu> wrote:
> >
> >  I cheated and used XP on Parallels. Usually, Flip4Mac works with .wmvs,
> >  but not this time. Is there supposed to be an audio track?
> >
> >  -GBA
> >
> >
> >
> >
> >
> >
> >  > > i used the windows media encoder (free download from microsoft).
> >  >
> >  > that may or may not have been an unfortunate choice;
> >  > on a mac with osx 10.5 (leopard) I'm so far unable to view it.
> >  > (maybe a more experienced mac user can view it?)
> >  >
> >  > Axel.
> >  >
> >
> >
>


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

* Re: [9fans] video of an acme session
  2008-02-27 10:42   ` Skip Tavakkolian
@ 2008-02-27 15:16     ` lejatorn
  2008-02-27 15:24       ` Axel Belinfante
  2008-02-27 16:22       ` Skip Tavakkolian
  0 siblings, 2 replies; 21+ messages in thread
From: lejatorn @ 2008-02-27 15:16 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

In case anyone's interested, here's a quick and dirty reencode in h264:

http://www.ipgp.jussieu.fr/~lonjaret/acme_session.avi

my encoding skills are rusty and it seems mencoder does not deal well
with .wmv as input, that's why the size is way bigger than the
original :/
but hey, b/w is cheap nowadays...
If requested, I'll try to do a better one later.

Cheers,
Mathieu.

On Wed, Feb 27, 2008 at 02:42:04AM -0800, Skip Tavakkolian wrote:
> > that may or may not have been an unfortunate choice;
> > on a mac with osx 10.5 (leopard) I'm so far unable to view it.
> > (maybe a more experienced mac user can view it?)
>
> maybe somebody can transcode it to mp4 or flash video.
>

--
GPG key on subkeys.pgp.net:

KeyID:	| Fingerprint:
683DE5F3 | 4324 5818 39AA 9545 95C6 09AF B0A4 DFEA 683D E5F3
--


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

* Re: [9fans] video of an acme session
  2008-02-27 15:16     ` lejatorn
@ 2008-02-27 15:24       ` Axel Belinfante
  2008-02-27 16:22       ` Skip Tavakkolian
  1 sibling, 0 replies; 21+ messages in thread
From: Axel Belinfante @ 2008-02-27 15:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

thanks Mathieu, Skip, Brucee; looking at it now.

Axel.

> In case anyone's interested, here's a quick and dirty reencode in h264:
>
> http://www.ipgp.jussieu.fr/~lonjaret/acme_session.avi
>
> my encoding skills are rusty and it seems mencoder does not deal well
> with .wmv as input, that's why the size is way bigger than the
> original :/
> but hey, b/w is cheap nowadays...
> If requested, I'll try to do a better one later.
>
> Cheers,
> Mathieu.
>
> On Wed, Feb 27, 2008 at 02:42:04AM -0800, Skip Tavakkolian wrote:
> > > that may or may not have been an unfortunate choice;
> > > on a mac with osx 10.5 (leopard) I'm so far unable to view it.
> > > (maybe a more experienced mac user can view it?)
> >
> > maybe somebody can transcode it to mp4 or flash video.
> >
>
> --
> GPG key on subkeys.pgp.net:
>
> KeyID:	| Fingerprint:
> 683DE5F3 | 4324 5818 39AA 9545 95C6 09AF B0A4 DFEA 683D E5F3
> --


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

* Re: [9fans] video of an acme session
  2008-02-27 15:16     ` lejatorn
  2008-02-27 15:24       ` Axel Belinfante
@ 2008-02-27 16:22       ` Skip Tavakkolian
  2008-02-27 20:26         ` Rob Pike
  1 sibling, 1 reply; 21+ messages in thread
From: Skip Tavakkolian @ 2008-02-27 16:22 UTC (permalink / raw)
  To: 9fans

> > that may or may not have been an unfortunate choice;
> > on a mac with osx 10.5 (leopard) I'm so far unable to view it.
> > (maybe a more experienced mac user can view it?)
> 
> maybe somebody can transcode it to mp4 or flash video.

for mac users:
http://www.rangboom.com/videos/acme_session.mov

fearing reprisal, the person who created the quicktime version wants
to stay anonymous.  so, on behalf of myself and the entire mac support
team we would like to thank "audrey" for doing this ☺


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

* Re: [9fans] video of an acme session
  2008-02-27 16:22       ` Skip Tavakkolian
@ 2008-02-27 20:26         ` Rob Pike
  2008-02-27 21:22           ` Skip Tavakkolian
  2008-02-28 18:56           ` Skip Tavakkolian
  0 siblings, 2 replies; 21+ messages in thread
From: Rob Pike @ 2008-02-27 20:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

There's something broken in that video.  The mouse doesn't move to the
selection on a button 3 operation.

-rob


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

* Re: [9fans] video of an acme session
  2008-02-27 20:26         ` Rob Pike
@ 2008-02-27 21:22           ` Skip Tavakkolian
  2008-02-28  0:08             ` Felipe Bichued
  2008-02-28 18:56           ` Skip Tavakkolian
  1 sibling, 1 reply; 21+ messages in thread
From: Skip Tavakkolian @ 2008-02-27 21:22 UTC (permalink / raw)
  To: 9fans

> There's something broken in that video.  The mouse doesn't move to the
> selection on a button 3 operation.

good eye. yes i noticed it and briefly discussed it with brucee last night. i'm looking
at it now.

i fixed the (lack of) redrawing in tippi window after a move or reshape but before
any mouse activity.


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

* Re: [9fans] video of an acme session
  2008-02-27 21:22           ` Skip Tavakkolian
@ 2008-02-28  0:08             ` Felipe Bichued
  2008-02-28  0:13               ` Felipe Bichued
  2008-02-28  1:45               ` Russ Cox
  0 siblings, 2 replies; 21+ messages in thread
From: Felipe Bichued @ 2008-02-28  0:08 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

somehow, i was only able to reproduce the bug if i had some selected
text in the tag bar, and tried to click over it with the 3rd button.
i'm not sure if that's the intended behavior, but it seems that it was
triggered by the expand function in /sys/src/cmd/acme/look.c.

	/* if in selection, choose selection */
	e->jump = TRUE;
	if(q1==q0 && t->q1>t->q0 && t->q0<=q0 && q0<=t->q1){
		q0 = t->q0;
		q1 = t->q1;
		if(t->what == Tag)
			e->jump = FALSE;
	}

removing the if along with it's body fixes it for me.

regards.

felipe

On Wed, Feb 27, 2008 at 6:22 PM, Skip Tavakkolian <9nut@9netics.com> wrote:
> > There's something broken in that video.  The mouse doesn't move to the
>  > selection on a button 3 operation.
>
>  good eye. yes i noticed it and briefly discussed it with brucee last night. i'm looking
>  at it now.
>
>  i fixed the (lack of) redrawing in tippi window after a move or reshape but before
>  any mouse activity.
>
>


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

* Re: [9fans] video of an acme session
  2008-02-28  0:08             ` Felipe Bichued
@ 2008-02-28  0:13               ` Felipe Bichued
  2008-02-28  1:58                 ` Skip Tavakkolian
  2008-02-28  1:45               ` Russ Cox
  1 sibling, 1 reply; 21+ messages in thread
From: Felipe Bichued @ 2008-02-28  0:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

 just to be clear, i meant the t->what == Tag check.

On Wed, Feb 27, 2008 at 9:08 PM, Felipe Bichued <bichued@gmail.com> wrote:
> somehow, i was only able to reproduce the bug if i had some selected
>  text in the tag bar, and tried to click over it with the 3rd button.
>  i'm not sure if that's the intended behavior, but it seems that it was
>  triggered by the expand function in /sys/src/cmd/acme/look.c.
>
>         /* if in selection, choose selection */
>         e->jump = TRUE;
>         if(q1==q0 && t->q1>t->q0 && t->q0<=q0 && q0<=t->q1){
>                 q0 = t->q0;
>                 q1 = t->q1;
>                 if(t->what == Tag)
>                         e->jump = FALSE;
>         }
>
>  removing the if along with it's body fixes it for me.
>
>  regards.
>
>  felipe
>
>
>
>  On Wed, Feb 27, 2008 at 6:22 PM, Skip Tavakkolian <9nut@9netics.com> wrote:
>  > > There's something broken in that video.  The mouse doesn't move to the
>  >  > selection on a button 3 operation.
>  >
>  >  good eye. yes i noticed it and briefly discussed it with brucee last night. i'm looking
>  >  at it now.
>  >
>  >  i fixed the (lack of) redrawing in tippi window after a move or reshape but before
>  >  any mouse activity.
>  >
>  >
>


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

* Re: [9fans] video of an acme session
  2008-02-28  0:08             ` Felipe Bichued
  2008-02-28  0:13               ` Felipe Bichued
@ 2008-02-28  1:45               ` Russ Cox
  2008-02-28  2:08                 ` Skip Tavakkolian
  1 sibling, 1 reply; 21+ messages in thread
From: Russ Cox @ 2008-02-28  1:45 UTC (permalink / raw)
  To: 9fans

> > There's something broken in that video.  The mouse doesn't move to the
> > selection on a button 3 operation.
>
> good eye. yes i noticed it and briefly discussed it with brucee last night. i'm looking
> at it now.

this is almost never acme's fault.

probably you were using vnc to connect,
and your vnc client doesn't support being
told by the server to move the mouse cursor.

> somehow, i was only able to reproduce the bug if i had some selected
> text in the tag bar, and tried to click over it with the 3rd button.
> i'm not sure if that's the intended behavior

it is.

russ


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

* Re: [9fans] video of an acme session
  2008-02-28  0:13               ` Felipe Bichued
@ 2008-02-28  1:58                 ` Skip Tavakkolian
  2008-02-28  2:37                   ` Felipe Bichued
  0 siblings, 1 reply; 21+ messages in thread
From: Skip Tavakkolian @ 2008-02-28  1:58 UTC (permalink / raw)
  To: 9fans

>  just to be clear, i meant the t->what == Tag check.

that's not the problem. moveto is getting called (/sys/src/cmd/acme/look.c:149)
it also happens if you start rio with mspy. it's deeper.


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

* Re: [9fans] video of an acme session
  2008-02-28  1:45               ` Russ Cox
@ 2008-02-28  2:08                 ` Skip Tavakkolian
  0 siblings, 0 replies; 21+ messages in thread
From: Skip Tavakkolian @ 2008-02-28  2:08 UTC (permalink / raw)
  To: 9fans

> this is almost never acme's fault.

that's right.

> probably you were using vnc to connect,
> and your vnc client doesn't support being
> told by the server to move the mouse cursor.

i was using drawterm. without tippi in between, it works as expected, but
the moveto has no effect with it in the mix. just verified that the same thing
happens with term.


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

* Re: [9fans] video of an acme session
  2008-02-28  1:58                 ` Skip Tavakkolian
@ 2008-02-28  2:37                   ` Felipe Bichued
  2008-02-28 16:25                     ` Jack Johnson
  0 siblings, 1 reply; 21+ messages in thread
From: Felipe Bichued @ 2008-02-28  2:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

>  that's not the problem. moveto is getting called (/sys/src/cmd/acme/look.c:149)
>  it also happens if you start rio with mspy. it's deeper.

all good. this is just another fine example of the XY problem.


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

* Re: [9fans] video of an acme session
  2008-02-28  2:37                   ` Felipe Bichued
@ 2008-02-28 16:25                     ` Jack Johnson
  0 siblings, 0 replies; 21+ messages in thread
From: Jack Johnson @ 2008-02-28 16:25 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Wed, Feb 27, 2008 at 5:37 PM, Felipe Bichued <bichued@gmail.com> wrote:
>  all good. this is just another fine example of the XY problem.

¿Todos los problemas son masculinos?

When I was learning Spanish, I used to always screw up the gender of
the Greek words until I learned that all Greek words were masculine.
My female prof liked to remind me/us by saying, "All problems are
masculine."  I always thought it was a clever mnemonic device and jab.

Felipe's point being that the dearth of female coders in the Plan 9
community is the core of the problem. ;)

-Jack


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

* Re: [9fans] video of an acme session
  2008-02-27 20:26         ` Rob Pike
  2008-02-27 21:22           ` Skip Tavakkolian
@ 2008-02-28 18:56           ` Skip Tavakkolian
  1 sibling, 0 replies; 21+ messages in thread
From: Skip Tavakkolian @ 2008-02-28 18:56 UTC (permalink / raw)
  To: 9fans

> There's something broken in that video.  The mouse doesn't move to the
> selection on a button 3 operation.

Russ found the problem. synopsis: writes to /dev/mouse weren't being propagated.

the fix was simple and made the script even simpler. the good bits are:

bind '#|' /n/mouse
tippi <>[0]/dev/mouse <>[1]/n/mouse/data &
bind /n/mouse/data1 /dev/mouse

film at 11


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

end of thread, other threads:[~2008-02-28 18:56 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-27  9:49 [9fans] video of an acme session Skip Tavakkolian
2008-02-27 10:14 ` Bruce Ellis
2008-02-27 10:22 ` Axel Belinfante
2008-02-27 10:32   ` Geoffrey Avila
2008-02-27 10:40     ` Skip Tavakkolian
2008-02-27 10:41     ` Uriel
2008-02-27 10:49       ` Bruce Ellis
2008-02-27 10:42   ` Skip Tavakkolian
2008-02-27 15:16     ` lejatorn
2008-02-27 15:24       ` Axel Belinfante
2008-02-27 16:22       ` Skip Tavakkolian
2008-02-27 20:26         ` Rob Pike
2008-02-27 21:22           ` Skip Tavakkolian
2008-02-28  0:08             ` Felipe Bichued
2008-02-28  0:13               ` Felipe Bichued
2008-02-28  1:58                 ` Skip Tavakkolian
2008-02-28  2:37                   ` Felipe Bichued
2008-02-28 16:25                     ` Jack Johnson
2008-02-28  1:45               ` Russ Cox
2008-02-28  2:08                 ` Skip Tavakkolian
2008-02-28 18:56           ` Skip Tavakkolian

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