9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] modified 9wm
@ 2002-10-05  3:15 andrey mirtchovski
  0 siblings, 0 replies; only message in thread
From: andrey mirtchovski @ 2002-10-05  3:15 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2138 bytes --]

hi,

i modified slightly the 9wm window manager by dhog to make it look more like
the current (rio) plan 9 wm.

it's still black and white and resizing the window by selecting the boundary
is not implemented (and i'm not sure how difficult it'd be to implement)
but apart from that it looks more rio-ish than 8 1/2-ish (sorry, typing in
UNIX).

i've taken the liberty to bump up the version number (rather than
creating something like 'w9wm' and calling it 9rio -- for a mere 50
lines diff?). maybe when colors and resizes are done i'll have the
reason to do so)

andrey

--- below is the readme ---


This is the original 9wm source (1.1) modified to resemble the
newer Plan 9 window manager -- rio.

Changes include:

	- moving of windows does not warp the cursor
	- all newly started windows are 'sweeped' on screen
	- cursor switched to the Plan 9, R3 and R4 cursor (don't know
	  if earlier cursor looked like that or not)
	- default font is switched to Lucida (looks more like the
	  Plan 9 fonts seen during the instalation)
	- you'll find resizing a bit interesting with fixed-size windows.
	  that's a problem with X -- it'll look very ugly if, for example,
	  xmms tried to fit in a bigger window (it'll crash if it ever
	  tried to fit in a smaller one)

TODO:
	*colored window boundaries (a-la rio) and colored menu...
	  - the current coloring model sets the GC's function to GXxor,
	  (normally it's GXcopy) which works fine with B/W displays, but just
	  doesn't work properly in color... For example try uncommenting the
	  XAllocNamedColor()s from main() and the XSetForeground()s in
	  drawbound() (be also aware that my experience with X programming
	  is very limited, so if you spot an easy way to add colors without
	  much fuss drop me a line).

	* resizing windows by selecting their border. i just don't know
	  how hard that'd be to implement. maybe next weekend :)
	* probably fix the manpage?

To install:
	% xmkmf; make; make install; make install.man
	# no imake? copy Makefile.no-imake to Makefile

05/10/2002 -- andrey mirtchovski /andrey@lanl.gov/


[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 20868 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-05  3:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-05  3:15 [9fans] modified 9wm andrey mirtchovski

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