9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] color of window border
@ 2003-09-30 13:58 a.b
  2003-09-30 13:59 ` Lucio De Re
                   ` (2 more replies)
  0 siblings, 3 replies; 46+ messages in thread
From: a.b @ 2003-09-30 13:58 UTC (permalink / raw)
  To: 9fans

for example, i made screensaver. i ran my screensaver program in window 800x600,
screensaver's background is black, but i hoped i could change border color. :-((((
i don't want go into rio sources.

sasa.

________________________________________________________________________________
ZNAČKOVÉ POČÍTAČE DEXX
- vítěz testu herních PC v Computeru 11/2003
- držitel Chip TIP a TIP Počítač pro každého
- cenový trhák -> kompletní PC s 19" monitorem za 19.990 s DPH!
- http://www.email.cz/dexx



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

* Re: [9fans] color of window border
  2003-09-30 13:58 [9fans] color of window border a.b
@ 2003-09-30 13:59 ` Lucio De Re
  2003-09-30 14:08 ` rog
  2003-09-30 14:19 ` ron minnich
  2 siblings, 0 replies; 46+ messages in thread
From: Lucio De Re @ 2003-09-30 13:59 UTC (permalink / raw)
  To: 9fans

On Tue, Sep 30, 2003 at 03:58:39PM +0200, a.b@email.cz wrote:
>
> for example, i made screensaver. i ran my screensaver program in window 800x600,
> screensaver's background is black, but i hoped i could change border color. :-((((
> i don't want go into rio sources.
>
You don't need to.  The stuff is fine as is.

++L


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

* Re: [9fans] color of window border
  2003-09-30 13:58 [9fans] color of window border a.b
  2003-09-30 13:59 ` Lucio De Re
@ 2003-09-30 14:08 ` rog
  2003-09-30 15:09   ` Christian Grothaus
  2003-09-30 14:19 ` ron minnich
  2 siblings, 1 reply; 46+ messages in thread
From: rog @ 2003-09-30 14:08 UTC (permalink / raw)
  To: 9fans

> for example, i made screensaver.  i ran my screensaver program in
> window 800x600, screensaver's background is black, but i hoped i could
> change border color.  :-(((( i don't want go into rio sources.

if your window doesn't move, you *can* change the window border colour
(probably by drawing on _screen->image, although i haven't checked).

as soon as the window gets moved or resized, rio will draw the window
borders again however (probably isn't a problem for a screensaver)



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

* Re: [9fans] color of window border
  2003-09-30 13:58 [9fans] color of window border a.b
  2003-09-30 13:59 ` Lucio De Re
  2003-09-30 14:08 ` rog
@ 2003-09-30 14:19 ` ron minnich
  2 siblings, 0 replies; 46+ messages in thread
From: ron minnich @ 2003-09-30 14:19 UTC (permalink / raw)
  To: 9fans

On Tue, 30 Sep 2003 a.b@email.cz wrote:

> i don't want go into rio sources.

no, go into them. It's painless and quite neat.

ron



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

* Re: [9fans] color of window border
  2003-09-30 14:08 ` rog
@ 2003-09-30 15:09   ` Christian Grothaus
  2003-09-30 15:13     ` Fco.J.Ballesteros
                       ` (3 more replies)
  0 siblings, 4 replies; 46+ messages in thread
From: Christian Grothaus @ 2003-09-30 15:09 UTC (permalink / raw)
  To: 9fans

On Tue Sep 30 16:08:56 MDT 2003, rog@vitanuova.com wrote:
> if your window doesn't move, you *can* change the window border colour
> (probably by drawing on _screen->image, although i haven't checked).

Cool, it works! (Since I once tried to write a screensaver myself, I
tried it out.) I did

    back=allocimage(display, Rect(0, 0, 1, 1), CMAP8, 1, DBlack);
    draw(_screen->image, _screen->image->r, back, nil, ZP);

(If you put the draw() call in eresized, it doesn't even matter if the
window is moved or resized.)

But how is it possible in rio to create a window exactly as large as the
screen (without modifying the source)? Also, for a screensaver, the mouse
has to be hidden (or disabled if the screen is to be locked).

It would be nice to have a screensaver/-locker in Plan 9, maybe one that
incorporates Andrey's xscreensaver ports! We have all the pieces, there's
just some cosmetics left to do.

Christian


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

* Re: [9fans] color of window border
  2003-09-30 15:09   ` Christian Grothaus
@ 2003-09-30 15:13     ` Fco.J.Ballesteros
  2003-09-30 15:16     ` Russ Cox
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 46+ messages in thread
From: Fco.J.Ballesteros @ 2003-09-30 15:13 UTC (permalink / raw)
  To: 9fans

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

there was a lock.c posted to the list some time ago.
It's what we use.

Take a look at it; I think that'll answer you questions.

hth

[-- Attachment #2: Type: message/rfc822, Size: 3213 bytes --]

From: Christian Grothaus <christian.grothaus@uni-bielefeld.de>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] color of window border
Date: Tue, 30 Sep 2003 17:09:19 +0200
Message-ID: <2324ef413663ec175a9c6128abfc5499@uni-bielefeld.de>

On Tue Sep 30 16:08:56 MDT 2003, rog@vitanuova.com wrote:
> if your window doesn't move, you *can* change the window border colour
> (probably by drawing on _screen->image, although i haven't checked).

Cool, it works! (Since I once tried to write a screensaver myself, I
tried it out.) I did

    back=allocimage(display, Rect(0, 0, 1, 1), CMAP8, 1, DBlack);
    draw(_screen->image, _screen->image->r, back, nil, ZP);

(If you put the draw() call in eresized, it doesn't even matter if the
window is moved or resized.)

But how is it possible in rio to create a window exactly as large as the
screen (without modifying the source)? Also, for a screensaver, the mouse
has to be hidden (or disabled if the screen is to be locked).

It would be nice to have a screensaver/-locker in Plan 9, maybe one that
incorporates Andrey's xscreensaver ports! We have all the pieces, there's
just some cosmetics left to do.

Christian

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

* Re: [9fans] color of window border
  2003-09-30 15:09   ` Christian Grothaus
  2003-09-30 15:13     ` Fco.J.Ballesteros
@ 2003-09-30 15:16     ` Russ Cox
  2003-09-30 15:27       ` Christian Grothaus
  2003-09-30 15:30     ` mirtchov
  2003-09-30 15:38     ` Rob Pike
  3 siblings, 1 reply; 46+ messages in thread
From: Russ Cox @ 2003-09-30 15:16 UTC (permalink / raw)
  To: 9fans

>    back=allocimage(display, Rect(0, 0, 1, 1), CMAP8, 1, DBlack);

There are already black and white images allocated for you
as display->black and display->white.



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

* Re: [9fans] color of window border
  2003-09-30 15:16     ` Russ Cox
@ 2003-09-30 15:27       ` Christian Grothaus
  0 siblings, 0 replies; 46+ messages in thread
From: Christian Grothaus @ 2003-09-30 15:27 UTC (permalink / raw)
  To: 9fans

On Tue Sep 30 17:16:56 MDT 2003, rsc@plan9.bell-labs.com wrote:
> >    back=allocimage(display, Rect(0, 0, 1, 1), CMAP8, 1, DBlack);
>
> There are already black and white images allocated for you
> as display->black and display->white.

Oh well, i guess i should read graphics(2), draw(2), ...
Thanks!


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

* Re: [9fans] color of window border
  2003-09-30 15:09   ` Christian Grothaus
  2003-09-30 15:13     ` Fco.J.Ballesteros
  2003-09-30 15:16     ` Russ Cox
@ 2003-09-30 15:30     ` mirtchov
  2003-09-30 15:38     ` Rob Pike
  3 siblings, 0 replies; 46+ messages in thread
From: mirtchov @ 2003-09-30 15:30 UTC (permalink / raw)
  To: 9fans

>
> But how is it possible in rio to create a window exactly as large as the
> screen (without modifying the source)? Also, for a screensaver, the mouse
> has to be hidden (or disabled if the screen is to be locked).
>

unless you're in a resized drawterm you can do:

    % fn fullscr {echo 0 0  \
         `{hoc -e `{echo $vgasize | sed 's/x/ /g' | awk '{print $1}'}^-^1} \
         `{hoc -e `{echo $vgasize | sed 's/x/ /g' | awk '{print $2}'}^-^1} \
    }
    % window -r `{fullscr} /bin/lock 'some screensaver name'

assuming lock will lock the screen and run the graphical program in it.

it's on the xscr page (together with many changes and additions)

	http://pages.cpsc.ucalgary.ca/~mirtchov/p9/xscr/

i'll probably substitute the images for links to images -- it gets too
graphics-heavy now...




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

* Re: [9fans] color of window border
  2003-09-30 15:09   ` Christian Grothaus
                       ` (2 preceding siblings ...)
  2003-09-30 15:30     ` mirtchov
@ 2003-09-30 15:38     ` Rob Pike
  2003-09-30 16:59       ` Christian Grothaus
  3 siblings, 1 reply; 46+ messages in thread
From: Rob Pike @ 2003-09-30 15:38 UTC (permalink / raw)
  To: 9fans

i posted code for a screensaver/locker a few months ago.
should be easy to find in the archive.  you can customize
how it saves your screen to your heart's content. mine turns
the display off.

-rob



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

* Re: [9fans] color of window border
  2003-09-30 15:38     ` Rob Pike
@ 2003-09-30 16:59       ` Christian Grothaus
  0 siblings, 0 replies; 46+ messages in thread
From: Christian Grothaus @ 2003-09-30 16:59 UTC (permalink / raw)
  To: 9fans

Thank you, Nemo, Andrey and Rob, for your tips.
I've found lock.c in the archive -- actually that does all i want.

Christian


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

* Re: [9fans] color of window border
  2003-10-01  4:04           ` splite
@ 2003-10-01 10:16             ` matt
  2003-10-01 10:06               ` boyd, rounin
  0 siblings, 1 reply; 46+ messages in thread
From: matt @ 2003-10-01 10:16 UTC (permalink / raw)
  To: 9fans

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

> That's hardly a reason to suffer a monstrosity like E.

Well I'm not exactly suffering

I only keep X at all for dual monitors and a web browser

I didn't know twm did it but I know 9wm doesn't 8(

[-- Attachment #2: Type: message/rfc822, Size: 2849 bytes --]

From: splite@purdue.edu
To: 9fans@cse.psu.edu
Subject: Re: [9fans] color of window border
Date: Tue, 30 Sep 2003 23:04:41 -0500
Message-ID: <20031001040441.GA712@sigint.cs.purdue.edu>

On Tue, Sep 30, 2003 at 12:33:40PM -0400, matt@proweb.co.uk wrote:
> that might be nice
>
> the feature that keeps me using Enlightenment is alt & mouse 1 to grab a
> window for moving.
>
> When I change to other systems it's the one thing that I keep doing
> instinctively.

That's hardly a reason to suffer a monstrosity like E.  Even old-sk00l twm
does that by default.

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

* Re: [9fans] color of window border
  2003-10-01 10:16             ` matt
@ 2003-10-01 10:06               ` boyd, rounin
  0 siblings, 0 replies; 46+ messages in thread
From: boyd, rounin @ 2003-10-01 10:06 UTC (permalink / raw)
  To: 9fans

> I only keep X at all for dual monitors and a web browser
>
> I didn't know twm did it but I know 9wm doesn't 8(

twm did.  you could 'fairly' easily beat into some sort of 8 1/2.

when faced with X i just 'leave it alone', edit my .Xdefaults,
install sam and THAT'S IT.



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

* Re: [9fans] color of window border
  2003-10-01  0:40       ` Charles Forsyth
  2003-10-01  1:00         ` Christopher Nielsen
@ 2003-10-01  5:32         ` Dan Cross
  1 sibling, 0 replies; 46+ messages in thread
From: Dan Cross @ 2003-10-01  5:32 UTC (permalink / raw)
  To: 9fans

Charles Forsyth <forsyth@caldo.demon.co.uk> writes:
>
> > should there be bordered windows at all?
>
> i really meant `borders' in the larger sense,
> not (just) lines drawn round them.  it seems
> odd to me that there is significant hardware
> available casually now but on XP MacOSX Redhat
> it's all the same old thing.  different twiddles,
> perhaps (though often not even that), but so
> far of the environments i've seen only acme
> has really stood out.
>
> is that it, then?

It's a sad state of affairs.  Well, there's still Squeak and Oberon,
but neither has any mainstream traction.

	- Dan C.



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

* Re: [9fans] color of window border
  2003-09-30 16:33         ` matt
@ 2003-10-01  4:04           ` splite
  2003-10-01 10:16             ` matt
  0 siblings, 1 reply; 46+ messages in thread
From: splite @ 2003-10-01  4:04 UTC (permalink / raw)
  To: 9fans

On Tue, Sep 30, 2003 at 12:33:40PM -0400, matt@proweb.co.uk wrote:
> that might be nice
>
> the feature that keeps me using Enlightenment is alt & mouse 1 to grab a
> window for moving.
>
> When I change to other systems it's the one thing that I keep doing
> instinctively.

That's hardly a reason to suffer a monstrosity like E.  Even old-sk00l twm
does that by default.


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

* Re: [9fans] color of window border
  2003-10-01  1:57         ` mirtchov
@ 2003-10-01  2:02           ` ron minnich
  0 siblings, 0 replies; 46+ messages in thread
From: ron minnich @ 2003-10-01  2:02 UTC (permalink / raw)
  To: 9fans

or, like me, spending a day with two seemingly-identical sets of code, one
of which is an ugly pile of shit, and can blank the cursor; the other, a
bit less ugly, and which can't. And of course the only error is BadOp.

Which is why, on my web page to this day, the pictures of my Sarnoff
tiled display cluster still have an 'X' cursor in the middle: I couldn't
blank the damned thing.


ron



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

* Re: [9fans] color of window border
  2003-09-30 23:45       ` Rob Ristroph
  2003-10-01  0:24         ` Charles Forsyth
  2003-10-01  0:50         ` matt
@ 2003-10-01  1:57         ` mirtchov
  2003-10-01  2:02           ` ron minnich
  2 siblings, 1 reply; 46+ messages in thread
From: mirtchov @ 2003-10-01  1:57 UTC (permalink / raw)
  To: 9fans


> You mean the pain and torment of flipping back to the console to type
> "startx -- :2" and test X without losing your current window state, as
> compared to the ease and simplicity of doing right button down, select
> new, sweep open new window, and typing "rio" ?
>
> --Rob

it's more like this (because i've done it):

	- finding what to edit in X's source 	-- 1 hour (500mb source!)

	- editing a small change 			-- 5 minutes

repeat:
	- rethinking whether you did the right thing while it compiles
	-- 5 minutes

	- waiting for the rest of the compile to finish
								-- 1 hour (varies)

	- goto repeat unless you're happy 	-- 0 minutes

	- pressing ctlr+alt+Fx 			-- 0 minutes

	- pressing ctlr+alt+Fx a few more times because you can't find
	where your last session where 		-- 0 minutes

	- cursing and typing your username at the login: window
								-- 1 minute

	- typing startx :2 to start new X 	-- 1 minute (and waiting for it to start)

	- finding the consequences of your change
								-- 5 minutes

	- killing X because you realized you started the wrong binary
								-- 0 minutes

	- typing $home/src/somewhere/blah/startx
								-- 5 minutes (includes making
								sure it didn't _still_ start the wrong binary)


Frustration: endless...

I'm sorry, you can't beat the functionality you get for something as
simple as Rio.  And as a developer you really can't beat the ~7000 (!)
lines of code that it comprises.

ok, there are differences (vga drivers are in the kernel, for
example).  still it's much simpler and even complete idiots like me
can understand it.  somewhat.

inflamatory subject though, i admit :)




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

* Re: [9fans] color of window border
  2003-10-01  0:40       ` Charles Forsyth
@ 2003-10-01  1:00         ` Christopher Nielsen
  2003-10-01  5:32         ` Dan Cross
  1 sibling, 0 replies; 46+ messages in thread
From: Christopher Nielsen @ 2003-10-01  1:00 UTC (permalink / raw)
  To: 9fans

On Wed, Oct 01, 2003 at 01:40:21AM +0100, Charles Forsyth wrote:
> > should there be bordered windows at all?
>
> i really meant `borders' in the larger sense,
> not (just) lines drawn round them.  it seems
> odd to me that there is significant hardware
> available casually now but on XP MacOSX Redhat
> it's all the same old thing.  different twiddles,
> perhaps (though often not even that), but so
> far of the environments i've seen only acme
> has really stood out.
>
> is that it, then?

i wrote a short rant on this in response to Sun's
announcement of there mad hatter desktop. i adore
acme for coding. whenever i go back to anything
else, it always feels clunky and frustrating.

--
Christopher Nielsen
"They who can give up essential liberty for temporary
safety, deserve neither liberty nor safety." --Benjamin Franklin


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

* Re: [9fans] color of window border
  2003-09-30 23:45       ` Rob Ristroph
  2003-10-01  0:24         ` Charles Forsyth
@ 2003-10-01  0:50         ` matt
  2003-09-30 23:37           ` boyd, rounin
  2003-10-01  1:57         ` mirtchov
  2 siblings, 1 reply; 46+ messages in thread
From: matt @ 2003-10-01  0:50 UTC (permalink / raw)
  To: 9fans

If you were really developing a rio tweak you would have the necessary command for starting rio in Acme somewhere

something like window rc -c rio

so your analogy should be

"You mean the pain and torment of middle click compared to the ease and simplicity of typing ctrl-alt-f7 startx --:2 enter"

add into that the new rio will run next to your editor

sorry, you lose



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

* Re: [9fans] color of window border
  2003-09-30 20:34     ` ron minnich
  2003-09-30 23:45       ` Rob Ristroph
@ 2003-10-01  0:40       ` Charles Forsyth
  2003-10-01  1:00         ` Christopher Nielsen
  2003-10-01  5:32         ` Dan Cross
  1 sibling, 2 replies; 46+ messages in thread
From: Charles Forsyth @ 2003-10-01  0:40 UTC (permalink / raw)
  To: 9fans

> should there be bordered windows at all?

i really meant `borders' in the larger sense,
not (just) lines drawn round them.  it seems
odd to me that there is significant hardware
available casually now but on XP MacOSX Redhat
it's all the same old thing.  different twiddles,
perhaps (though often not even that), but so
far of the environments i've seen only acme
has really stood out.

is that it, then?




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

* Re: [9fans] color of window border
  2003-09-30 23:45       ` Rob Ristroph
@ 2003-10-01  0:24         ` Charles Forsyth
  2003-10-01  0:50         ` matt
  2003-10-01  1:57         ` mirtchov
  2 siblings, 0 replies; 46+ messages in thread
From: Charles Forsyth @ 2003-10-01  0:24 UTC (permalink / raw)
  To: 9fans

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

i suspect he was talking about also modifying the CODE of an X11
window manager.  flipping is right.

[-- Attachment #2: Type: message/rfc822, Size: 2814 bytes --]

From: rgr@sdf.lonestar.org (Rob Ristroph)
To: 9fans@cse.psu.edu
Subject: Re: [9fans] color of window border
Date: 30 Sep 2003 18:45:22 -0500
Message-ID: <87k77pu9gt.fsf@rgristroph-austin.ath.cx>


>>>>> "ron" == ron minnich <rminnich@lanl.gov> writes:
ron> looking at that beautiful rio code, seems like it ought to be
ron> easy. And the true fun is, it is so easy to muck around with rio
ron> and then test it in a rio window ... compare that to trying to
ron> tweak ANYTHING in an X desktop manager.
ron>
ron> ron

You mean the pain and torment of flipping back to the console to type
"startx -- :2" and test X without losing your current window state, as
compared to the ease and simplicity of doing right button down, select
new, sweep open new window, and typing "rio" ?

--Rob

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

* Re: [9fans] color of window border
  2003-09-30 20:34     ` ron minnich
@ 2003-09-30 23:45       ` Rob Ristroph
  2003-10-01  0:24         ` Charles Forsyth
                           ` (2 more replies)
  2003-10-01  0:40       ` Charles Forsyth
  1 sibling, 3 replies; 46+ messages in thread
From: Rob Ristroph @ 2003-09-30 23:45 UTC (permalink / raw)
  To: 9fans


>>>>> "ron" == ron minnich <rminnich@lanl.gov> writes:
ron> looking at that beautiful rio code, seems like it ought to be
ron> easy. And the true fun is, it is so easy to muck around with rio
ron> and then test it in a rio window ... compare that to trying to
ron> tweak ANYTHING in an X desktop manager.
ron>
ron> ron

You mean the pain and torment of flipping back to the console to type
"startx -- :2" and test X without losing your current window state, as
compared to the ease and simplicity of doing right button down, select
new, sweep open new window, and typing "rio" ?

--Rob


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

* Re: [9fans] color of window border
  2003-10-01  0:50         ` matt
@ 2003-09-30 23:37           ` boyd, rounin
  0 siblings, 0 replies; 46+ messages in thread
From: boyd, rounin @ 2003-09-30 23:37 UTC (permalink / raw)
  To: 9fans

yeah, i have this file [good god no] $home/lib/windows which gets run when
rio starts and i have all my windows running what i want, where i want it.

but i'm sure it's far to complex :-P



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

* Re: [9fans] color of window border
  2003-09-30 20:36   ` Wes Kussmaul
  2003-09-30 20:32     ` boyd, rounin
@ 2003-09-30 20:58     ` mirtchov
  1 sibling, 0 replies; 46+ messages in thread
From: mirtchov @ 2003-09-30 20:58 UTC (permalink / raw)
  To: 9fans

> How about a proximity token or vicinity token. The vicinity token is clipped
> to your shirt or embedded in an ID badge. When you walk away your monitor
> and keyboard are disabled, when you come back within (settable) range they
> reactivate. Typically uses Bluetooth or rfid. The prox token uses IrDA and
> must be placed close to the port.

the Sun Ray terminals were good that way -- you plug in your card, do
your stuff and take the card out when you're done.  plug in somewhere
and continue from where you left before...

i've wanted to see that in Plan 9 for 3 years (no, vnc doesn't count :)

	http://wwws.sun.com/sunray/sunray150/




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

* Re: [9fans] color of window border
  2003-09-30 17:59 ` boyd, rounin
  2003-09-30 18:49   ` C H Forsyth
@ 2003-09-30 20:36   ` Wes Kussmaul
  2003-09-30 20:32     ` boyd, rounin
  2003-09-30 20:58     ` mirtchov
  1 sibling, 2 replies; 46+ messages in thread
From: Wes Kussmaul @ 2003-09-30 20:36 UTC (permalink / raw)
  To: 9fans


> if you can't have a secure area and your terminal/machine
> has a usb port i think that a user mode 'monitor' of some
> crypto-secure usb ram/disk might be nice.  i rip it out when i
> walk away from the machine, i jam it back in when i come
> back.

How about a proximity token or vicinity token. The vicinity token is clipped
to your shirt or embedded in an ID badge. When you walk away your monitor
and keyboard are disabled, when you come back within (settable) range they
reactivate. Typically uses Bluetooth or rfid. The prox token uses IrDA and
must be placed close to the port.



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

* Re: [9fans] color of window border
  2003-09-30 18:49   ` C H Forsyth
@ 2003-09-30 20:34     ` ron minnich
  2003-09-30 23:45       ` Rob Ristroph
  2003-10-01  0:40       ` Charles Forsyth
  0 siblings, 2 replies; 46+ messages in thread
From: ron minnich @ 2003-09-30 20:34 UTC (permalink / raw)
  To: 9fans

On Tue, 30 Sep 2003, C H Forsyth wrote:

> should there be bordered windows at all?

looking at that beautiful rio code, seems like it ought to be easy. And
the true fun is, it is so easy to muck around with rio and then test it in
a rio window ... compare that to trying to tweak ANYTHING in an X
desktop manager.


ron



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

* Re: [9fans] color of window border
  2003-09-30 20:36   ` Wes Kussmaul
@ 2003-09-30 20:32     ` boyd, rounin
  2003-09-30 20:58     ` mirtchov
  1 sibling, 0 replies; 46+ messages in thread
From: boyd, rounin @ 2003-09-30 20:32 UTC (permalink / raw)
  To: 9fans

> How about a proximity token or vicinity token.

hmm that's not so hot.  at CRL 'we' had active badges.
that was kinda cool.  there are attacks on proximity and
active id's.

the métro in paris now has passive proxity monthy
passes, with old h/w style tickets for backup.  i love
'em, but it's only protecting a métro ride.

we had passive badges at PRL to get into the lab, but
physical badges for ID, which we never wore 'cos we
knew everyone and if you did wear a badge you obviously
didn't 'belong'.

but, some of the 'machine rooms' you had to know the
code for the electronic digital locks.  those code we're
_never_ given out to anybody wasn't trusted (and after
some idiot kicked the power cable out of one of my
uVAX's i was at the point of saying:  only these small n
people, who i trust, can have thim).  but everything had
gone to shit by then anyway ...

maybe at this job fair tomorrow they'll have some usb
ram disks to give out as toys, so i might have a go at it
with 'coma'.



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

* Re: [9fans] color of window border
  2003-09-30 17:59 ` boyd, rounin
@ 2003-09-30 18:49   ` C H Forsyth
  2003-09-30 20:34     ` ron minnich
  2003-09-30 20:36   ` Wes Kussmaul
  1 sibling, 1 reply; 46+ messages in thread
From: C H Forsyth @ 2003-09-30 18:49 UTC (permalink / raw)
  To: 9fans

should there be bordered windows at all?


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

* Re: [9fans] color of window border
@ 2003-09-30 18:00 Richard C Bilson
  0 siblings, 0 replies; 46+ messages in thread
From: Richard C Bilson @ 2003-09-30 18:00 UTC (permalink / raw)
  To: 9fans

> Similar point -- the menus would still be accessible over vnc.

Yes, of course, but if I do most of my work over vnc then the payoff
for me is small, since I'm using the menu most of the time anyway.  And
then I can't rely on "muscle memory" when I want to move a window -- I
have to consciously think about whether I'm talking to vnc or not (lest
I wind up moving the whole vnc session).

And another thought: I think the real brilliance of chords in acme is
not that they optimize common operations, but that by optimizing a few
important operations they enable a different and more productive style
of working.  It's remarkable how much it has cut down on repetitive
typing for me.  On the other hand, I can't imagine chords ever having
the same sort of fundamental impact on the way I use the window
manager.  Which makes me question whether it's really worth doing.

None of this should dissuade you, of course, if you feel like trying
it.  In fact, if I remember tonight I'll send you the model number
for my mouse.


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

* Re: [9fans] color of window border
  2003-09-30 16:52 Richard C Bilson
  2003-09-30 16:33 ` Sam
@ 2003-09-30 17:59 ` boyd, rounin
  2003-09-30 18:49   ` C H Forsyth
  2003-09-30 20:36   ` Wes Kussmaul
  1 sibling, 2 replies; 46+ messages in thread
From: boyd, rounin @ 2003-09-30 17:59 UTC (permalink / raw)
  To: 9fans

i'd prefer to have my machine/terminal in an area where i
don't need to lock it (which always goes off when i'm just
about to do something).

if you can't have a secure area and your terminal/machine
has a usb port i think that a user mode 'monitor' of some
crypto-secure usb ram/disk might be nice.  i rip it out when i
walk away from the machine, i jam it back in when i come
back.

same sort of thing any half way decent bank uses with
their tellers.  can't be too hard to code.



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

* Re: [9fans] color of window border
  2003-09-30 13:51 ` Christian Grothaus
@ 2003-09-30 17:36   ` boyd, rounin
  0 siblings, 0 replies; 46+ messages in thread
From: boyd, rounin @ 2003-09-30 17:36 UTC (permalink / raw)
  To: 9fans

> is there any way to change the color of window border by libdraw function?

if you want X11 ...



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

* Re: [9fans] color of window border
@ 2003-09-30 16:52 Richard C Bilson
  2003-09-30 16:33 ` Sam
  2003-09-30 17:59 ` boyd, rounin
  0 siblings, 2 replies; 46+ messages in thread
From: Richard C Bilson @ 2003-09-30 16:52 UTC (permalink / raw)
  To: 9fans

> The main downside to every thumb-button mouse I've
> seen is the always present scroll-wheely.

Logitech has made them with three real buttons plus the thumb button,
and no wheel.  I know, because I have one.  I probably bought it at
least five years ago, though, so I don't know if they still make them.
The world seems to have become wheel-obsessed in the interim.

Unfortunately, I have never found a good use for the thumb button.  I
like your chording-for-window-management idea (it has occurred to me
before), but the payoff has never seemed worth the effort: even if I
taught the mouse driver and the window manager to do the right things,
it still wouldn't work over vnc.


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

* Re: [9fans] color of window border
  2003-09-30 16:52 Richard C Bilson
@ 2003-09-30 16:33 ` Sam
  2003-09-30 17:59 ` boyd, rounin
  1 sibling, 0 replies; 46+ messages in thread
From: Sam @ 2003-09-30 16:33 UTC (permalink / raw)
  To: 9fans


Joel said:
> Until some function is applied to the thumb button (unlikely, except on
> private modifications - 3 button mice are a decent standard to adhere
> to, and *no one* wants standard "features" only accessible to owners of
> special hardware), why not assign the "middle button" function to the
> thumb button? Or maybe even let the thumb-button be the "left" button,
> and have the left become the "middle" ?

I agree that mouse specific features would be irritating.  I've been
trying to think of ways to make the basic set of rio tasks easier
with a thumb button.  Just because we can use thumb chords to
mimic common tasks without going to the menus (move, resize, new)
doesn't mean the menus have to go away.

Richard said:
> Unfortunately, I have never found a good use for the thumb button.  I
> like your chording-for-window-management idea (it has occurred to me
> before), but the payoff has never seemed worth the effort: even if I
> taught the mouse driver and the window manager to do the right things,
> it still wouldn't work over vnc.

Similar point -- the menus would still be accessible over vnc.

Sam




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

* Re: [9fans] color of window border
  2003-09-30 14:24       ` Sam
  2003-09-30 16:11         ` Joel Salomon
@ 2003-09-30 16:33         ` matt
  2003-10-01  4:04           ` splite
  1 sibling, 1 reply; 46+ messages in thread
From: matt @ 2003-09-30 16:33 UTC (permalink / raw)
  To: 9fans

that might be nice

the feature that keeps me using Enlightenment is alt & mouse 1 to grab a window for moving.

When I change to other systems it's the one thing that I keep doing instinctively.

m


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

* Re: [9fans] color of window border
  2003-09-30 14:24       ` Sam
@ 2003-09-30 16:11         ` Joel Salomon
  2003-09-30 16:33         ` matt
  1 sibling, 0 replies; 46+ messages in thread
From: Joel Salomon @ 2003-09-30 16:11 UTC (permalink / raw)
  To: 9fans


Sam said:
> The main downside to every thumb-button mouse I've
> seen is the always present scroll-wheely.

Until some function is applied to the thumb button (unlikely, except on
private modifications - 3 button mice are a decent standard to adhere to,
and *no one* wants standard "features" only accessible to owners of
special hardware), why not assign the "middle button" function to the
thumb button? Or maybe even let the thumb-button be the "left" button, and
have the left become the "middle" ?

The scroll-wheel is convenient (under windoze) for *small* scrollings. On
sources, iirc, there is a patch to rio to let scroll-wheeling emulate
up-arrow and down-arrow - I couldn't get it to work with my USB mouse,
though. Is there a wheel patch for usbmouse?

--Joel




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

* Re: [9fans] color of window border
  2003-09-30 15:20           ` ron minnich
@ 2003-09-30 15:39             ` C H Forsyth
  0 siblings, 0 replies; 46+ messages in thread
From: C H Forsyth @ 2003-09-30 15:39 UTC (permalink / raw)
  To: 9fans

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

i have the opposite feeling watching
windows/unix users cycle through windows that way.

i can't help thinking there must be a more direct way--
i don't know what it is, partly because with acme i've got
very few windows, and in acme everything else is right there.
when charon ends up underneath, which it often does,
i'd prefer not to cycle through them to get to it but
to have it end up somewhere better in the first place.

[-- Attachment #2: Type: message/rfc822, Size: 2805 bytes --]

From: ron minnich <rminnich@lanl.gov>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] color of window border
Date: Tue, 30 Sep 2003 09:20:56 -0600 (MDT)
Message-ID: <Pine.LNX.4.44.0309300920190.18627-100000@maxroach.lanl.gov>

On Tue, 30 Sep 2003, C H Forsyth wrote:

> you could run several rios in big windows and hide them.

yeah, I've done this, but it's clumsy. I have to admit, watching people
switch desktops with keyboards, and then watching them cycle windows with
keyboards, I like it.

ron

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

* Re: [9fans] color of window border
  2003-09-30 15:13         ` C H Forsyth
@ 2003-09-30 15:20           ` ron minnich
  2003-09-30 15:39             ` C H Forsyth
  0 siblings, 1 reply; 46+ messages in thread
From: ron minnich @ 2003-09-30 15:20 UTC (permalink / raw)
  To: 9fans

On Tue, 30 Sep 2003, C H Forsyth wrote:

> you could run several rios in big windows and hide them.

yeah, I've done this, but it's clumsy. I have to admit, watching people
switch desktops with keyboards, and then watching them cycle windows with
keyboards, I like it.

ron




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

* Re: [9fans] color of window border
  2003-09-30 14:59       ` andrey mirtchovski
@ 2003-09-30 15:13         ` C H Forsyth
  2003-09-30 15:20           ` ron minnich
  0 siblings, 1 reply; 46+ messages in thread
From: C H Forsyth @ 2003-09-30 15:13 UTC (permalink / raw)
  To: 9fans

>>would like to see multiple virtual desktops for that little extra spice when

you could run several rios in big windows and hide them.



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

* [9fans] color of window border
@ 2003-09-30 15:10 a.b
  0 siblings, 0 replies; 46+ messages in thread
From: a.b @ 2003-09-30 15:10 UTC (permalink / raw)
  To: 9fans

thanx for so many answers.
i don't want rio to converge to classic window managers!
i don't want to start a flamewar :-))))
i'll try this: ... drawing on screen->image

sasa babic.

________________________________________________________________________________
ZNAČKOVÉ POČÍTAČE DEXX
- vítěz testu herních PC v Computeru 11/2003
- držitel Chip TIP a TIP Počítač pro každého
- cenový trhák -> kompletní PC s 19" monitorem za 19.990 s DPH!
- http://www.email.cz/dexx



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

* Re: [9fans] color of window border
  2003-09-30 14:20     ` ron minnich
  2003-09-30 14:24       ` Sam
@ 2003-09-30 14:59       ` andrey mirtchovski
  2003-09-30 15:13         ` C H Forsyth
  1 sibling, 1 reply; 46+ messages in thread
From: andrey mirtchovski @ 2003-09-30 14:59 UTC (permalink / raw)
  To: 9fans

On Tue, 30 Sep 2003, ron minnich wrote:

> yeah, for example, I want <= and => arrows to mean 'cycle to next window'
> instead of 'do whatever down-arrow does'. So I'm looking at the source and
> .. it's realy nice stuff.

and very soon we arrive at very beautiful desktops that are unusable by
anyone but the person who created them, worse yet -- we'd have something
like Enlightenment, is a sensory overkill, nevermind that extra 50% of one's
cpu time (back in the day) went for calculating funky resize animations...

i see it every day -- someone says 'hey, andrey, come take a look at this',
i'd sit on their terminal and say helplessly 'please open me a new xterm'...

i really like rio as the common denominator -- simple is better.. i admit, i
would like to see multiple virtual desktops for that little extra spice when
my monitor gets cluttered with windows, but i'm not pushing it too hard :)

andrey



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

* Re: [9fans] color of window border
  2003-09-30 14:20     ` ron minnich
@ 2003-09-30 14:24       ` Sam
  2003-09-30 16:11         ` Joel Salomon
  2003-09-30 16:33         ` matt
  2003-09-30 14:59       ` andrey mirtchovski
  1 sibling, 2 replies; 46+ messages in thread
From: Sam @ 2003-09-30 14:24 UTC (permalink / raw)
  To: 9fans

> yeah, for example, I want <= and => arrows to mean 'cycle to next window'
> instead of 'do whatever down-arrow does'. So I'm looking at the source and
> .. it's realy nice stuff.

While we're talking about rio hacks, has anyone thought of
uses for a four-button mouse?  I've seen some mice with a
nifty thumb button (button-4?) and can see myself doing
window management with thumb chords a la, thumb-and-forefinger
pick up window to move it.

The main downside to every thumb-button mouse I've
seen is the always present scroll-wheely.

Cheers,

Sam



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

* Re: [9fans] color of window border
  2003-09-30 14:03   ` mirtchov
@ 2003-09-30 14:20     ` ron minnich
  2003-09-30 14:24       ` Sam
  2003-09-30 14:59       ` andrey mirtchovski
  0 siblings, 2 replies; 46+ messages in thread
From: ron minnich @ 2003-09-30 14:20 UTC (permalink / raw)
  To: 9fans

On Tue, 30 Sep 2003 mirtchov@cpsc.ucalgary.ca wrote:

> rampant themeing is sure to come -- it's a sign of a healthy userbase
> and the first step towards taking over the world (and turning Plan 9
> into the next OS-everybody-loves-to-hate :)

yeah, for example, I want <= and => arrows to mean 'cycle to next window'
instead of 'do whatever down-arrow does'. So I'm looking at the source and
.. it's realy nice stuff.

ron



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

* Re: [9fans] color of window border
  2003-09-30 13:51 ` rog
@ 2003-09-30 14:03   ` mirtchov
  2003-09-30 14:20     ` ron minnich
  0 siblings, 1 reply; 46+ messages in thread
From: mirtchov @ 2003-09-30 14:03 UTC (permalink / raw)
  To: 9fans

> why black?

just to be different?  or introduce more strain to the eye, so that
you _really_ need that stiff drink after a day of Plan 9-ing?

i live with black borders on white xterms in lunix, partly because it
makes me feel more comfortable in rio and forces me to switch to its
window more often.

rampant themeing is sure to come -- it's a sign of a healthy userbase
and the first step towards taking over the world (and turning Plan 9
into the next OS-everybody-loves-to-hate :)

andrey




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

* Re: [9fans] color of window border
  2003-09-30 13:36 a.b
  2003-09-30 13:51 ` rog
@ 2003-09-30 13:51 ` Christian Grothaus
  2003-09-30 17:36   ` boyd, rounin
  1 sibling, 1 reply; 46+ messages in thread
From: Christian Grothaus @ 2003-09-30 13:51 UTC (permalink / raw)
  To: 9fans

On Tue Sep 30 15:36:49 MDT 2003, a.b@email.cz wrote:
> is there any way to change the color of window border by libdraw function?
> window border is usualy green, i'd like to change it to black.
> is that possible?

I guess you can only change it by modifying the rio sources.
The border color is set in /sys/src/cmd/rio/wind.c.

Greetings

Christian


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

* Re: [9fans] color of window border
  2003-09-30 13:36 a.b
@ 2003-09-30 13:51 ` rog
  2003-09-30 14:03   ` mirtchov
  2003-09-30 13:51 ` Christian Grothaus
  1 sibling, 1 reply; 46+ messages in thread
From: rog @ 2003-09-30 13:51 UTC (permalink / raw)
  To: 9fans

> window border is usualy green, i'd like to change it to black.

change the source!

plan 9 doesn't go in for configurable styles in general
(changing the font is as far as it goes).

why black?



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

* [9fans] color of window border
@ 2003-09-30 13:36 a.b
  2003-09-30 13:51 ` rog
  2003-09-30 13:51 ` Christian Grothaus
  0 siblings, 2 replies; 46+ messages in thread
From: a.b @ 2003-09-30 13:36 UTC (permalink / raw)
  To: 9fans

hallo planiners :-)

i'd like to ask a question about graphics:
is there any way to change the color of window border by libdraw function?
window border is usualy green, i'd like to change it to black.
is that possible?


sasa babic

----------> Created by Email.cz  http://www.email.cz <---------- Get Your Free Email  




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

end of thread, other threads:[~2003-10-01 10:16 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-30 13:58 [9fans] color of window border a.b
2003-09-30 13:59 ` Lucio De Re
2003-09-30 14:08 ` rog
2003-09-30 15:09   ` Christian Grothaus
2003-09-30 15:13     ` Fco.J.Ballesteros
2003-09-30 15:16     ` Russ Cox
2003-09-30 15:27       ` Christian Grothaus
2003-09-30 15:30     ` mirtchov
2003-09-30 15:38     ` Rob Pike
2003-09-30 16:59       ` Christian Grothaus
2003-09-30 14:19 ` ron minnich
  -- strict thread matches above, loose matches on Subject: below --
2003-09-30 18:00 Richard C Bilson
2003-09-30 16:52 Richard C Bilson
2003-09-30 16:33 ` Sam
2003-09-30 17:59 ` boyd, rounin
2003-09-30 18:49   ` C H Forsyth
2003-09-30 20:34     ` ron minnich
2003-09-30 23:45       ` Rob Ristroph
2003-10-01  0:24         ` Charles Forsyth
2003-10-01  0:50         ` matt
2003-09-30 23:37           ` boyd, rounin
2003-10-01  1:57         ` mirtchov
2003-10-01  2:02           ` ron minnich
2003-10-01  0:40       ` Charles Forsyth
2003-10-01  1:00         ` Christopher Nielsen
2003-10-01  5:32         ` Dan Cross
2003-09-30 20:36   ` Wes Kussmaul
2003-09-30 20:32     ` boyd, rounin
2003-09-30 20:58     ` mirtchov
2003-09-30 15:10 a.b
2003-09-30 13:36 a.b
2003-09-30 13:51 ` rog
2003-09-30 14:03   ` mirtchov
2003-09-30 14:20     ` ron minnich
2003-09-30 14:24       ` Sam
2003-09-30 16:11         ` Joel Salomon
2003-09-30 16:33         ` matt
2003-10-01  4:04           ` splite
2003-10-01 10:16             ` matt
2003-10-01 10:06               ` boyd, rounin
2003-09-30 14:59       ` andrey mirtchovski
2003-09-30 15:13         ` C H Forsyth
2003-09-30 15:20           ` ron minnich
2003-09-30 15:39             ` C H Forsyth
2003-09-30 13:51 ` Christian Grothaus
2003-09-30 17:36   ` boyd, rounin

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