9wm window manager

This commit is contained in:
angelos 1998-05-17 03:04:45 +00:00
parent 59737554e1
commit 959446b00e
6 changed files with 117 additions and 0 deletions

22
plan9/9wm/Makefile Normal file
View File

@ -0,0 +1,22 @@
# OpenBSD makefile for: 9wm
# Version required: 1.1
# Date created: May 16 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/17 03:04:45 angelos Exp $
#
DISTNAME= 9wm-1.1
CATEGORIES= plan9
MASTER_SITES= ftp://ftp.mathcs.emory.edu/pub/arnold/
EXTRACT_SUFX= .shar.gz
MAINTAINER= angelos@openbsd.org
NO_WRKSUBDIR= yes
EXTRACT_CMD= zcat
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= |sh
USE_IMAKE= yes
.include <bsd.port.mk>

1
plan9/9wm/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (9wm-1.1.shar.gz) = e3ebae40e0d4ba2b4c05448c0bbf43ae

View File

@ -0,0 +1,71 @@
--- 9wm.c~ Mon Oct 21 09:26:24 1996
+++ 9wm.c Mon Oct 21 09:27:19 1996
@@ -471,7 +471,7 @@
case NormalState:
XMapRaised(dpy, c->parent);
XMapWindow(dpy, c->window);
- setstate(c, NormalState);
+ _setstate(c, NormalState);
if (c->trans != None && current && c->trans == current->window)
active(c);
break;
--- fns.h~ Mon Oct 21 09:26:25 1996
+++ fns.h Mon Oct 21 09:27:31 1996
@@ -31,7 +31,7 @@
Window getwprop();
int getiprop();
int getstate();
-void setstate();
+void _setstate();
void setlabel();
void getproto();
void gettrans();
--- manage.c~ Mon Oct 21 09:26:24 1996
+++ manage.c Mon Oct 21 09:27:49 1996
@@ -131,7 +131,7 @@
active(c);
else
setactive(c, 0);
- setstate(c, NormalState);
+ _setstate(c, NormalState);
}
if (current != c)
cmapfocus(current);
@@ -161,7 +161,7 @@
XReparentWindow(dpy, c->window, root, c->x, c->y);
gravitate(c, 0);
XRemoveFromSaveSet(dpy, c->window);
- setstate(c, WithdrawnState);
+ _setstate(c, WithdrawnState);
/* flush any errors */
ignore_badwindow = 1;
@@ -417,7 +417,7 @@
}
void
-setstate(c, state)
+_setstate(c, state)
Client *c;
int state;
{
--- menu.c~ Mon Oct 21 09:26:24 1996
+++ menu.c Mon Oct 21 09:27:45 1996
@@ -179,7 +179,7 @@
}
XUnmapWindow(dpy, c->parent);
XUnmapWindow(dpy, c->window);
- setstate(c, IconicState);
+ _setstate(c, IconicState);
if (c == current)
nofocus();
hiddenc[numhidden] = c;
@@ -210,7 +210,7 @@
if (map) {
XMapWindow(dpy, c->window);
XMapRaised(dpy, c->parent);
- setstate(c, NormalState);
+ _setstate(c, NormalState);
active(c);
}

1
plan9/9wm/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
An 8 1/2-like Window Manager for X

20
plan9/9wm/pkg/DESCR Normal file
View File

@ -0,0 +1,20 @@
9wm Version 1.1
Copyright 1994 David Hogan.
What is 9wm?
============
9wm is an X window manager which attempts to emulate the Plan 9 window
manager 8-1/2 as far as possible within the constraints imposed by X.
It provides a simple yet comfortable user interface, without garish
decorations or title-bars. Or icons. And it's click-to-type. This
will not appeal to everybody, but if you're not put off yet then read
on. (And don't knock it until you've tried it).
One major difference between 9wm and 8-1/2 is that the latter provides
windows of text with a typescript interface, and doesn't need to run a
separate program to emulate a terminal. 9wm, as an X window manager,
does require a separate program. For better 8-1/2 emulation, you should
obtain Matthew Farrow's "9term" program (ftp://ftp.cs.su.oz.au/matty/unicode),
version 1.6 or later (earlier versions don't cooperate with 9wm in
implementing "hold mode"). Of course, you can run xterm under 9wm as well.

2
plan9/9wm/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
bin/9wm
man/man1/9wm.1