Jump to content


Photo
- - - - -

Ratpoison & Stumpwm


  • Please log in to reply
6 replies to this topic

#1 phax

phax

    SUP3R 31337

  • Members
  • 187 posts

Posted 26 February 2007 - 11:19 PM

Thought I'd share these two window managers, if you haven't heard of them.
They're based on GNU screen, sometimes i like to get away
from the fancy graphics or either I don't have the resources to run the fancy pancy graphic crap.

This is where ratpoison comes in hany, plus I love the GNU Screen program.


http://www.nongnu.org/ratpoison/

But I have to say that the Stumpwm, which is similar to ratpoison is my personal favorite.
It's written in 100% pure Common Lisp, which means I can hack it while it's still running.


http://www.nongnu.org/stumpwm/



That's the beauty of lisp programming, code it, run it, debug it while it's running without ever stopping the program.

Ahh, the joy of Common Lisp + Emacs.... :ninja:

#2 tehbizz

tehbizz

    Progenitor of noob slaying

  • Members
  • 2,039 posts
  • Gender:Male

Posted 26 February 2007 - 11:20 PM

You sound like jedibebop, genuflecting over clisp.

I like ion3 a lot.

#3 phax

phax

    SUP3R 31337

  • Members
  • 187 posts

Posted 26 February 2007 - 11:26 PM

You sound like jedibebop, genuflecting over clisp.

I like ion3 a lot.


clisp is the GNU version of Common Lisp.

I wasn't trying to boast about Lisp, just throwing different wm into mix.

#4 tehbizz

tehbizz

    Progenitor of noob slaying

  • Members
  • 2,039 posts
  • Gender:Male

Posted 26 February 2007 - 11:37 PM

Oh no, I'm not trying to say you're boasting about it but he said the same stuff about stumpwm a while ago. I guess I just found it comical.

#5 intimidat0r

intimidat0r

    SUPR3M3 31337 Mack Daddy P1MP

  • Members
  • 455 posts

Posted 26 February 2007 - 11:51 PM

phax, I'm confused, are you saying you can change a LISP script while it is running? And it will reflect the changes in the script that's already running? That sounds a bit...different. O_o

Anyway, thanks for the links. My friend's been preaching ratpoison for a while now, I should give it a shot. I'm going to try stumpwm too.

Edited by intimidat0r, 26 February 2007 - 11:52 PM.


#6 phax

phax

    SUP3R 31337

  • Members
  • 187 posts

Posted 28 February 2007 - 12:35 PM

phax, I'm confused, are you saying you can change a LISP script while it is running? And it will reflect the changes in the script that's already running? That sounds a bit...different. O_o



Yes, from within your lisp IDE or environment just connect to the running lisp process & make needed changes to function or code and re-eval. It's also a good the to add documentation to functions, so you can get documentation on the while debugging the lisp program or script.

		(defun read-file ()
	 "READ-FILE, no args, prints file object."; this a documentation string, make as 
; long as u like but within quotes;-)	
			(with-open-file (stream "/etc/passwd")
			   (do ((char (read-char stream nil)
							   (read-char stream nil)))
					 ((null char))
				(print char))))

then a
(documentation 'read-file 'function)
would get the documentation for the function read-file

#7 lambda

lambda

    mad 1337

  • Members
  • 144 posts

Posted 04 March 2007 - 07:50 PM

Ratpoison and Stumpwm are nice, ratpoison is more usable than stump though, but ratpoison has Greenspun's tenth rule in it big time, so it was only natural to rewrite it in CL.

Also, if you look carefully at the stumpwm code, you'll see some code that I wrote :P




BinRev is hosted by the great people at Lunarpages!