9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Plan 9 keyboard and mouse
@ 2012-04-24  8:21 Iain Watson Smith
  2012-04-24  9:30 ` Yaroslav
  0 siblings, 1 reply; 7+ messages in thread
From: Iain Watson Smith @ 2012-04-24  8:21 UTC (permalink / raw)
  To: 9fans

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

Hello! I'm a relatively new user to plan 9, and I am studying it as part of
an elective unit at university for free and open source software
development. So far the experience is interesting and I am using a plan9
port to test out the features of plan9. I have a question about keyboard
and mouse interaction in the OS that relates to fast keys available for the
windows. Do any exist for use of say windows switching, closing or any
other operations for menus within plan 9?

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

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

* Re: [9fans] Plan 9 keyboard and mouse
  2012-04-24  8:21 [9fans] Plan 9 keyboard and mouse Iain Watson Smith
@ 2012-04-24  9:30 ` Yaroslav
  2012-04-24 14:21   ` Stephen Wiley
  0 siblings, 1 reply; 7+ messages in thread
From: Yaroslav @ 2012-04-24  9:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> I have a question about keyboard and mouse interaction in the OS that
> relates to fast keys available for the windows. Do any exist for use of say
> windows switching, closing or any other operations for menus within plan 9?

The fast keys are mouse buttons, that's it. Just take it: once you get
used to it you'll feel allright about this.



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

* Re: [9fans] Plan 9 keyboard and mouse
  2012-04-24  9:30 ` Yaroslav
@ 2012-04-24 14:21   ` Stephen Wiley
  2012-04-24 14:46     ` Matthew Veety
  2012-04-24 15:10     ` sl
  0 siblings, 2 replies; 7+ messages in thread
From: Stephen Wiley @ 2012-04-24 14:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On Apr 24, 2012, at 5:30 AM, Yaroslav wrote:

>> I have a question about keyboard and mouse interaction in the OS that
>> relates to fast keys available for the windows. Do any exist for use of say
>> windows switching, closing or any other operations for menus within plan 9?
> 
> The fast keys are mouse buttons, that's it. Just take it: once you get
> used to it you'll feel allright about this.
> 


I believe sl wrote a program that lets you group windows onto function keys (so pushing the function key for a window group will cycle through the windows) that's not part of the main distribution though.

If your having trouble with windows getting buried, winwatch will list open windows and let you switch between them with the mouse (this was an issue I had when I first started playing with plan9).


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

* Re: [9fans] Plan 9 keyboard and mouse
  2012-04-24 14:21   ` Stephen Wiley
@ 2012-04-24 14:46     ` Matthew Veety
  2012-04-24 15:10     ` sl
  1 sibling, 0 replies; 7+ messages in thread
From: Matthew Veety @ 2012-04-24 14:46 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

On Apr 24, 2012 10:21 AM, "Stephen Wiley" <swwiley@gmail.com> wrote:
>
>
> On Apr 24, 2012, at 5:30 AM, Yaroslav wrote:
>
> >> I have a question about keyboard and mouse interaction in the OS that
> >> relates to fast keys available for the windows. Do any exist for use
of say
> >> windows switching, closing or any other operations for menus within
plan 9?
> >
> > The fast keys are mouse buttons, that's it. Just take it: once you get
> > used to it you'll feel allright about this.
> >
>
>
> I believe sl wrote a program that lets you group windows onto function
keys (so pushing the function key for a window group will cycle through the
windows) that's not part of the main distribution though.
>
> If your having trouble with windows getting buried, winwatch will list
open windows and let you switch between them with the mouse (this was an
issue I had when I first started playing with plan9).

I'm adding similar functionality to the windows alt-tab to my mod of Rio.
The function keys thing sounds cool though. Where is the source for that?

--
Veety

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

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

* Re: [9fans] Plan 9 keyboard and mouse
  2012-04-24 14:21   ` Stephen Wiley
  2012-04-24 14:46     ` Matthew Veety
@ 2012-04-24 15:10     ` sl
  2012-04-24 15:28       ` Aram Hăvărneanu
       [not found]       ` <CAEAzY38bwMV4+pJhfkjfyH+DxS0WpePTiMOjaTvWBuKu9oGp+g@mail.gmail.c>
  1 sibling, 2 replies; 7+ messages in thread
From: sl @ 2012-04-24 15:10 UTC (permalink / raw)
  To: 9fans

> I believe sl wrote a program that lets you group windows onto
> function keys

Specifically, taruti hacked rio to map certain windows to a tag
(similar to dwm) by writing stings to /dev/wctl, then switch between
the tags by hitting a function key, which brings all the windows in
the given tag to the top.

I packaged this for 9front and included some scripts that I launch
from my riostart to setup my environment:

http://plan9.stanleylieber.com/pkg/386/hjrio-2012.04.17.tbz

Unpack over / and the source will be installed in
/sys/src/pkg/hjrio-2012.04.17 (no binaries will be installed on the
system until you run 'mk install' in the source directory).

So far as I know, I'm the only person who actually uses this code.

My rio environment is comprised of four general sections, constructed
by four (included) rc scripts.  The four scripts -- header, verso,
recto and spread -- organize the screen as follows:

header
	the following are always visible
		winwatch
		faces
		weather ticker displayed via aux/statusmsg
		stats
verso
	tag one
		several irc7 windows displaying one channel per window
recto
	tag one
		tw
	tag three
		kprint
		ssh session to openbsd
		telnet session to 9bbs
	tag five
		nedmail
spread
	tag two
		sam

These are in turn launched from my riostart:

% cat $home/lib/riostart
#!/bin/rc
header
spread
recto
verso -i
if(~ $sysname mt*)
	recto -6
if not
	recto -3

In the end, it all looks something like this:

http://plan9.stanleylieber.com/rio/img/tagone.png
http://plan9.stanleylieber.com/rio/img/tagtwo.png
http://plan9.stanleylieber.com/rio/img/tagthree.png
http://plan9.stanleylieber.com/rio/img/tagfour.png
http://plan9.stanleylieber.com/rio/img/tagfive.png

The result is that the environment snaps into being whenever
I boot my terminal. I switch between tags by hitting the
corresponding function key (f1 for tag one, f2 for tag two,
and so on). In practice, I almost never have to create or
destroy windows unless I'm doing something temporary or
unusual.

-sl



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

* Re: [9fans] Plan 9 keyboard and mouse
  2012-04-24 15:10     ` sl
@ 2012-04-24 15:28       ` Aram Hăvărneanu
       [not found]       ` <CAEAzY38bwMV4+pJhfkjfyH+DxS0WpePTiMOjaTvWBuKu9oGp+g@mail.gmail.c>
  1 sibling, 0 replies; 7+ messages in thread
From: Aram Hăvărneanu @ 2012-04-24 15:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

sl wrote:
> http://plan9.stanleylieber.com/rio/img/tagfour.png

Wow, I didn't know linuxemu got so good.

-- 
Aram Hăvărneanu



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

* Re: [9fans] Plan 9 keyboard and mouse
       [not found]       ` <CAEAzY38bwMV4+pJhfkjfyH+DxS0WpePTiMOjaTvWBuKu9oGp+g@mail.gmail.c>
@ 2012-04-24 15:42         ` sl
  0 siblings, 0 replies; 7+ messages in thread
From: sl @ 2012-04-24 15:42 UTC (permalink / raw)
  To: 9fans

> sl wrote:
>> http://plan9.stanleylieber.com/rio/img/tagfour.png
>
> Wow, I didn't know linuxemu got so good.

Ah. I left this one out of my description:

spread
	tag four
		vncv connected to a headless openbsd machine

The available mroot for linuxemu is still based on
Debian Sarge, which can't quite manage Chrome or
Chromium. The newest working browser I've found for
that environment is opera_10.11.4791.gcc3.qt3_i386.deb.

Some points on using linuxemu with equis:

- No shared snarf buffer, unlike with vncv
- Unpredictable instability, resource exhaustion, etc.
- Even Opera 10.11 is incompatible with many modern sites

-sl



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

end of thread, other threads:[~2012-04-24 15:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24  8:21 [9fans] Plan 9 keyboard and mouse Iain Watson Smith
2012-04-24  9:30 ` Yaroslav
2012-04-24 14:21   ` Stephen Wiley
2012-04-24 14:46     ` Matthew Veety
2012-04-24 15:10     ` sl
2012-04-24 15:28       ` Aram Hăvărneanu
     [not found]       ` <CAEAzY38bwMV4+pJhfkjfyH+DxS0WpePTiMOjaTvWBuKu9oGp+g@mail.gmail.c>
2012-04-24 15:42         ` sl

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