JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Add cygwin.
authorMarco Peereboom <marco@conformal.com>
Mon, 11 Jan 2010 22:44:26 +0000 (22:44 +0000)
committerMarco Peereboom <marco@conformal.com>
Mon, 11 Jan 2010 22:44:26 +0000 (22:44 +0000)
Add tag to osx

html/cygwin.html [new file with mode: 0644]
html/cygwin.png [new file with mode: 0644]
html/cygwin_small.png [new file with mode: 0644]
html/osx.html

diff --git a/html/cygwin.html b/html/cygwin.html
new file mode 100644 (file)
index 0000000..cee18db
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<title>Scrotwm</title>
+<meta name="Generator" content="Vim/7.1">
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
+</head>
+Using scrotwm on Windows/cygwin<p>
+<body bgcolor="#101010" text="#ffffff">
+A port to Windows/cygwin was created to make Windows useful for UNIX people.
+Following are the compilation and installation steps.
+<p>
+Compile scrotwm from the linux directory of the snapshot:
+<pre>
+cd linux
+make
+</pre>
+Install scrotwm:
+<pre>sudo make install</pre>
+<br>
+Download
+<a href="http://tools.suckless.org/dmenu/">dmenu</a>
+and patch config.mk with:
+<pre>
+$ diff -uNp config.mk.old config.mk
+--- config.mk.old       2010-01-11 16:23:55.503440600 -0600
++++ config.mk   2010-01-11 16:24:04.300315600 -0600
+@@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 
+
+# flags
+CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
++CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
+LDFLAGS = -s ${LIBS}
+
+# Solaris
+
+</pre>
+Compile it:
+<pre>make</pre>
+Install dmenu:
+<pre>sudo make install</pre>
+Create a .xinitrc in the home dir of the user and add at least the following line:
+<pre>
+exec /usr/local/bin/scrotwm
+</pre>
+If the stupid menu bar in xterm angers you add the folowing line to ~/.Xdefaults
+<pre>
+xterm.ToolBar:          false
+</pre>
+<p>
+<center>
+This all results in scrotwm bliss!<p>
+<a href="cygwin.png"><img border=0 src="cygwin_small.png" alt="[scrotwm]"></a><br>
+</center>
+<p>
+<small>
+$scrotwm$
+</small>
+</body>
diff --git a/html/cygwin.png b/html/cygwin.png
new file mode 100644 (file)
index 0000000..56e04be
Binary files /dev/null and b/html/cygwin.png differ
diff --git a/html/cygwin_small.png b/html/cygwin_small.png
new file mode 100644 (file)
index 0000000..e4daf78
Binary files /dev/null and b/html/cygwin_small.png differ
index ed5c4ba..a545bdb 100644 (file)
@@ -38,5 +38,9 @@ Set the X11 preferences of OSX to the following:
 <img border=0 src="osx5.png" alt="[osx5]"><br>
 This all results in scrotwm bliss!<br>
 <a href="osx.jpg"><img border=0 src="osx_small.jpg" alt="[scrotwm]"></a><br>
-</center
+</center>
+<p>
+<small>
+$scrotwm$
+</small>
 </body>