summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/ipaq.ratpoisonrc33
-rw-r--r--doc/ratpoison.texi4
-rw-r--r--doc/sample.ratpoisonrc22
4 files changed, 58 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index fe5f6f6..0b62a77 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,3 +1,3 @@
info_TEXINFOS = ratpoison.texi
man_MANS = ratpoison.1
-EXTRA_DIST = $(man_MANS)
+EXTRA_DIST = $(man_MANS) sample.ratpoisonrc ipaq.ratpoisonrc
diff --git a/doc/ipaq.ratpoisonrc b/doc/ipaq.ratpoisonrc
new file mode 100644
index 0000000..c57afab
--- /dev/null
+++ b/doc/ipaq.ratpoisonrc
@@ -0,0 +1,33 @@
+# .ratpoisonrc for an iPaq36xx handheld pc running Linux
+#
+# $Id: ipaq.ratpoisonrc,v 1.2 2001/03/12 01:10:48 sabetts Exp $
+
+
+# make the "audio record" button the escape key:
+
+# Note: use XF86AudioRecord instead of the hex value if its available
+# on your system
+escape 0x1008ff1c
+
+# the "speaker" buttons
+bind Up exec rxvt
+bind Down windows
+bind Left prev
+bind Right next
+bind KP_Enter echo
+
+# the power button should be reserved?
+# Note: use XF86PowerDown if its available on your system
+bind 0x1008ff21 version
+
+## the four buttons under the screen:
+
+# Note: use XF86Calendar if its available on your system
+bind 0x1008ff20 exec xcalc
+
+bind telephone exec contacts
+
+bind Menu echo
+
+# Note: use XF86Start if its available on your system
+bind 0x1008ff1a clock
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi
index 9499484..b3cd6af 100644
--- a/doc/ratpoison.texi
+++ b/doc/ratpoison.texi
@@ -343,7 +343,7 @@ tries @file{/etc/ratpoisonrc}. This means any command you can bind a key
to or run at the command prompt (@kbd{C-t :}) you can execute in this rc
file.
-It adds 320 bytes to ratpoison on a glibc6-i386 machine. Its a little
-steep for a feature and we are attempting to squeeze the fat.
+It adds roughly 320 bytes to ratpoison on a glibc6-i386 machine. Its a
+little steep for a feature and we are attempting to squeeze the fat.
@bye
diff --git a/doc/sample.ratpoisonrc b/doc/sample.ratpoisonrc
new file mode 100644
index 0000000..875fb24
--- /dev/null
+++ b/doc/sample.ratpoisonrc
@@ -0,0 +1,22 @@
+# This is a sample .ratpoisonrc file
+#
+# $Id: sample.ratpoisonrc,v 1.2 2001/03/12 01:10:48 sabetts Exp $
+
+# Set the prefix key to that of screen's default
+escape ^a
+
+# Gets rid of that ugly crosshairs default cursor
+# and set the background to black
+exec xsetroot -solid black -cursor_name left_ptr
+
+# Emulate screen by starting with a new xterm
+exec xterm
+
+# Bind e to our favorite editor
+bind e exec emacs
+
+# bind s to interactively run a surfraw query on freshmeat
+bind s colon exec xterm -e freshmeat
+
+# bind b (`b' for browse) to interactively ask for an URL to open
+bind b colon exec mozilla http://www.