summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/ccdefs46
-rw-r--r--etc/completer.zsh53
-rwxr-xr-xetc/countmail67
-rw-r--r--etc/etcscreenrc94
-rw-r--r--etc/gr-braille.tbl260
-rw-r--r--etc/gs-braille.tbl261
-rwxr-xr-xetc/mkinstalldirs35
-rwxr-xr-xetc/newsyntax64
-rwxr-xr-xetc/newsyntax3871
-rw-r--r--etc/screenrc153
-rwxr-xr-xetc/toolcheck44
-rw-r--r--etc/us-braille.tbl260
12 files changed, 1408 insertions, 0 deletions
diff --git a/etc/ccdefs b/etc/ccdefs
new file mode 100755
index 0000000..2fc98ff
--- /dev/null
+++ b/etc/ccdefs
@@ -0,0 +1,46 @@
+#!/bin/sh
+cd /tmp
+umask 022
+
+CC=cc
+CPP=cpp
+PATH="$PATH:/lib"
+
+TEMP=def$$
+trap 'rm -f ${TEMP}*; trap 0; exit' 0 1 2 3 15
+
+set `type $CC`
+q=$#
+set x `type $CC`
+shift $q
+cc=$1
+
+set `type $CPP`
+q=$#
+set x `type $CPP`
+shift $q
+cpp=$1
+
+strings - "$cc" 2>/dev/null | tr ' ' '\012' > ${TEMP}.x
+
+if test -x "$cpp"; then
+strings - "$cpp" 2>/dev/null | tr ' ' '\012' >> ${TEMP}.x
+else
+echo "Warning: cpp not found."
+fi
+
+sort < ${TEMP}.x | uniq | awk '
+/^-D[A-Za-z_][A-Za-z_0-9]*$/ {
+ printf("#ifdef %s\n", substr($0,3))
+ printf("\"%s\": %s\n", substr($0,3), substr($0,3))
+ print "#endif"
+ }
+/^[A-Za-z_][A-Za-z_0-9]*$/ {
+ printf("#ifdef %s\n", $0)
+ printf("\"%s\": %s\n", $0, $0)
+ print "#endif"
+ }
+' > ${TEMP}.c
+
+echo "Defines in cc are:"
+cc -E ${TEMP}.c | sed -n -e 's/"\([^:]*\)":/\1:/p' | sort | uniq
diff --git a/etc/completer.zsh b/etc/completer.zsh
new file mode 100644
index 0000000..b5acaa3
--- /dev/null
+++ b/etc/completer.zsh
@@ -0,0 +1,53 @@
+#compdef screen
+#Generated by
+# help2simple.pl -c screen -p -f
+# simple2long.xsl
+# args.xsl
+# For details see:
+# http://www.geocities.com/f_rosencrantz/xml_completion.htm
+
+ local context state line
+ typeset -A opt_args
+ _arguments \
+ "-a[Force all capabilities into each window's termcap.]" \
+ '-A:Adapt all windows to the new display width & height.' \
+ "-c:Read configuration file instead of '.screenrc'.:_files -/" \
+ '-d:Detach the elsewhere running screen (with -r: reattach here).:->sessionname' \
+ '-dmS:Start as daemon: Screen session in detached mode.' \
+ '-D:Detach and logout remote (with -r: reattach here).' \
+ '-e:Change command characters.' \
+ '-f-:Flow control on, -fn = off, -fa = auto.:((n\:Flow\ conrol\ off a\:Flow\ conrol\ auto))' \
+ '-h:Set the size of the scrollback history buffer.' \
+ '-i[Interrupt output sooner when flow control is on.]' \
+ '-l[Login mode on (update /var/run/utmp), -ln = off.]' \
+ '-list[Do nothing, just list our SockDir.]' \
+ '-ls[Do nothing, just list our SockDir.]' \
+ "-L[Terminal's last character can be safely updated.]" \
+ '-m[ignore $STY variable, do create a new screen session.]' \
+ '-O[Choose optimal output rather than exact vt100 emulation.]' \
+ '-p:Preselect the named window if it exists.' \
+ '-q[Quiet startup. Exits with non-zero return code if unsuccessful.]' \
+ '-r[Reattach to a detached screen process.]:Handling Tag sessionname:->sessionname' \
+ '-R[Reattach if possible, otherwise start a new session.]' \
+ '-s:Shell to execute rather than $SHELL.' \
+ '-S:Name this session <pid>.sockname instead of <pid>.<tty>.<host>.' \
+ "-t:Set title. (window's name)." \
+ '-T:Use term as $TERM for windows, rather than "screen".' \
+ '-U[Tell screen to use UTF-8 encoding.]' \
+ '-v[Print "Screen version 3.09.11beta (FAU) 11-Oct-01".]' \
+ '-wipe[Do nothing, just clean up SockDir.]' \
+ '-x[Attach to a not detached screen. (Multi display mode).]' \
+ '-X[Execute <cmd> as a screen command in the specified session.]:Handling Tag screencmd:( acladd addacl aclchg acldel aclgrp aclumask activity allpartial at attrcolor autodetach autonuke bce bell_msg bind bindkey break breaktype bufferfile c1 caption charset chdir clear colon command compacthist console copy copy_reg crlf debug defc1 defautonuke defbce defbreaktype defcharset defescape defflow defgr defhstatus defkanji deflogin defmode defmonitor defobuflimit defscrollback defshell defsilence defslowpaste defutf8 defwrap defwritelock detach dinfo displays digraph dumptermcap echo escape exec fit flow focus gr hardcopy hardcopy_append hardcopydir hardstatus height help history hstatus info ins_reg kill lastmsg license lockscreen log logfile login logtstamp mapdefault mapnotnext maptimeout markkeys meta monitor msgminwait msgwait multiuser nethack next nonblock number obu!
+!
+flimit only other partial password paste pastefont pow_break pow_detach pow_detach_msg prev printcmd process quit readbuf readreg redisplay register remove removebuf reset resize screen scrollback select sessionname setenv shell shelltitle silence silencewait sleep slowpaste sorendition split startup_message stuff su term termcap terminfo termcapinfo time title unsetenv utf8 vbell vbell_msg vbellwait verbose version wall width windows wrap writebuf writelock xoff xon zombie)'
+case $state in
+ "sessionname")
+ # Complete folder names.
+ local screendir
+
+ screendir=(`screen -ls | grep Socket | sed -n -e 's/\.$//' -e '$p' | awk '{print $NF;}'`)
+
+ _wanted files expl 'screen process' _path_files -W screendir
+;;
+esac
+
diff --git a/etc/countmail b/etc/countmail
new file mode 100755
index 0000000..974f143
--- /dev/null
+++ b/etc/countmail
@@ -0,0 +1,67 @@
+#!/usr/bin/perl
+
+sub countmsgs {
+ return -1 unless open(M, "<$mbox");
+ my $inhdr = 0;
+ my $cl = undef;
+ my $msgread = 0;
+ my $count = 0;
+ while(<M>) {
+ if (!$inhdr && /^From\s+\S+\s+(?i:sun|mon|tue|wed|thu|fri|sat)\s+(?i:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\s+\d+\s/) {
+ $inhdr = 1;
+ $msgread = 0;
+ undef $cl;
+ next;
+ }
+ if ($inhdr) {
+ if (/^content-length:\s+(\d+)/i) {
+ $cl = 0+$1;
+ next;
+ }
+ if (/^status:\s+(\S)/i) {
+ $msgread = 1 unless $1 eq 'N' || $1 eq 'U';
+ next;
+ }
+ if ($_ eq "\n") {
+ $count++ if !$msgread;
+ seek(M, $cl, 1) if defined $cl;
+ $inhdr = 0;
+ }
+ }
+ }
+ close M;
+ return $count;
+}
+
+$| = 1;
+$mbox = $ARGV[0] || $ENV{'MAIL'};
+$oldfmt = $ARGV[1] || "%4d ";
+$newfmt = $ARGV[2] || "\005{Rk}%4d \005{-}";
+
+@oldstat = stat($mbox);
+if (!@oldstat) {
+ print "\005{Rk} ??? \005{-}\n";
+ exit 1;
+}
+$oldcount = 0;
+while(1) {
+ $count = countmsgs($mbox);
+ if ($count == -1) {
+ print "\005{Rk} ??? \005{-}\n";
+ } elsif ($count < $oldcount || $count == 0) {
+ printf "$oldfmt\n", $count;
+ } else {
+ printf "$newfmt\n", $count;
+ }
+ $oldcount = $count;
+ while (1) {
+ @newstat = stat($mbox);
+ if (!@newstat) {
+ print "\005{Rk} ??? \005{-}\n";
+ exit 1;
+ }
+ last if $newstat[7] != $oldstat[7] || $newstat[9] != $oldstat[9];
+ sleep 1;
+ }
+ @oldstat = @newstat;
+}
diff --git a/etc/etcscreenrc b/etc/etcscreenrc
new file mode 100644
index 0000000..a51d64a
--- /dev/null
+++ b/etc/etcscreenrc
@@ -0,0 +1,94 @@
+#
+# This is an example for the global screenrc file.
+# You may want to install this file as /usr/local/etc/screenrc.
+# Check config.h for the exact location.
+#
+# Flaws of termcap and standard settings are done here.
+#
+
+#startup_message off
+
+#defflow on # will force screen to process ^S/^Q
+
+deflogin on
+#autodetach off
+
+vbell on
+vbell_msg " Wuff ---- Wuff!! "
+
+# all termcap entries are now duplicated as terminfo entries.
+# only difference should be the slightly modified syntax, and check for
+# terminfo entries, that are already corected in the database.
+#
+# G0 we have a SEMI-GRAPHICS-CHARACTER-MODE
+# WS this sequence resizes our window.
+# cs this sequence changes the scrollregion
+# hs@ we have no hardware statusline. screen will only believe that
+# there is a hardware status line if hs,ts,fs,ds are all set.
+# ts to statusline
+# fs from statusline
+# ds delete statusline
+# al add one line
+# AL add multiple lines
+# dl delete one line
+# DL delete multiple lines
+# ic insert one char (space)
+# IC insert multiple chars
+# nx terminal uses xon/xoff
+
+termcap facit|vt100|xterm LP:G0
+terminfo facit|vt100|xterm LP:G0
+
+#the vt100 description does not mention "dl". *sigh*
+termcap vt100 dl=5\E[M
+terminfo vt100 dl=5\E[M
+
+#facit's "al" / "dl" are buggy if the current / last line
+#contain attributes...
+termcap facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
+terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@
+
+#make sun termcap/info better
+termcap sun 'up=^K:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:IC=\E[%d@:WS=1000\E[8;%d;%dt'
+terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC:IC=\E[%p1%d@:WS=\E[8;%p1%d;%p2%dt$<1000>'
+
+#xterm understands both im/ic and doesn't have a status line.
+#Note: Do not specify im and ic in the real termcap/info file as
+#some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
+termcap xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
+terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
+
+# Long time I had this in my private screenrc file. But many people
+# seem to want it (jw):
+# we do not want the width to change to 80 characters on startup:
+# on suns, /etc/termcap has :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:
+termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
+terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
+
+#
+# Do not use xterms alternate window buffer.
+# This one would not add lines to the scrollback buffer.
+termcap xterm|xterms|xs ti=\E7\E[?47l
+terminfo xterm|xterms|xs ti=\E7\E[?47l
+
+#make hp700 termcap/info better
+termcap hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
+terminfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
+
+#wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
+#(nowadays: nx = padding doesn't work, have to use xon/off)
+#essential to have it here, as this is a slow terminal.
+termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
+terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
+
+#remove some stupid / dangerous key bindings
+bind ^k
+#bind L
+bind ^\
+#make them better
+bind \\ quit
+bind K kill
+bind I login on
+bind O login off
+bind } history
+
diff --git a/etc/gr-braille.tbl b/etc/gr-braille.tbl
new file mode 100644
index 0000000..34407b7
--- /dev/null
+++ b/etc/gr-braille.tbl
@@ -0,0 +1,260 @@
+# GERMAN BRAILLE TABLE
+#
+# Dec Hex Braille Description
+# ------------------------------------------------------------------------
+ 0 00 (--345--8) NUL
+ 1 01 (1------8) SOH
+ 2 02 (12-----8) STX
+ 3 03 (1--4---8) ETX
+ 4 04 (1--45--8) EOT
+ 5 05 (1---5--8) ENQ
+ 6 06 (12-4---8) ACK
+ 7 07 (12-45--8) BEL
+ 8 08 (12--5--8) BS
+ 9 09 (-2-4---8) HT
+ 10 OA (-2-45--8) LF
+ 11 0B (1-3----8) VT
+ 12 OC (123----8) FF
+ 13 0D (1-34---8) CR
+ 14 0E (1-345--8) SO
+ 15 OF (1-3-5--8) SI
+ 16 10 (1234---8) DLE
+ 17 11 (12345--8) DC1
+ 18 12 (123-5--8) DC2
+ 19 13 (-234---8) DC3
+ 20 14 (-2345--8) DC4
+ 21 15 (1-3--6-8) NAK
+ 22 16 (123--6-8) SYN
+ 23 17 (-2-456-8) ETB
+ 24 18 (1-34-6-8) CAN
+ 25 19 (1-3456-8) EM
+ 26 1A (1-3-56-8) SUB
+ 27 lB (123-56-8) ESC
+ 28 lC (--34---8) FS
+ 29 1D (-23456-8) GS
+ 30 lE (-234-6-8) RS
+ 31 1F (---456-8) US
+ 32 20 (--------) Space
+ 33 21 (----5---) !
+ 34 22 (---4----) "
+ 35 23 (--3456--) #
+ 36 24 (---4-6--) $
+ 37 25 (123456--) %
+ 38 26 (1234-6--) &
+ 39 27 (-----6--) '
+ 40 28 (-23--6--) (
+ 41 29 (--3-56--) )
+ 42 2A (--3-5---) *
+ 43 2B (-23-5---) +
+ 44 2C (-2------) ,
+ 45 2D (--3--6--) -
+ 46 2E (--3-----) .
+ 47 2F (-2--56--) /
+ 48 30 (--34-6--) 0
+ 49 31 (1----6--) 1
+ 50 32 (12---6--) 2
+ 51 33 (1--4-6--) 3
+ 52 34 (1--456--) 4
+ 53 35 (1---56--) 5
+ 54 36 (12-4-6--) 6
+ 55 37 (12-456--) 7
+ 56 38 (12--56--) 8
+ 57 39 (-2-4-6--) 9
+ 58 3A (-2--5---) :
+ 59 3B (-23-----) ;
+ 60 3C (----56--) <
+ 61 3D (-23-56--)
+ 62 3E (---45---) >
+ 63 3F (-2---6--) ?
+ 64 40 (--345---) Special sign
+ 65 41 (1-----7-) A
+ 66 42 (12----7-) B
+ 67 43 (1--4--7-) C
+ 68 44 (1--45-7-) D
+ 69 45 (1---5-7-) E
+ 70 46 (12-4--7-) F
+ 71 47 (12-45-7-) G
+ 72 48 (12--5-7-) H
+ 73 49 (-2-4--7-) I
+ 74 4A (-2-45-7-) j
+ 75 4B (1-3---7-) K
+ 76 4C (123---7-) L
+ 77 4D (1-34--7-) M
+ 78 4E (1-345-7-) N
+ 79 4F (1-3-5-7-) O
+ 80 50 (1234--7-) P
+ 81 51 (12345-7-) Q
+ 82 52 (123-5-7-) R
+ 83 53 (-234--7-) S
+ 84 54 (-2345-7-) T
+ 85 55 (1-3--67-) U
+ 86 56 (123--67-) V
+ 87 57 (-2-4567-) W
+ 88 58 (1-34-67-) X
+ 89 59 (1-34567-) Y
+ 90 5A (1-3-567-) Z
+ 91 5B (123-567-) [ or A umlaut
+ 92 5C (--34--7-) \ or umlaut O
+ 93 5D (-234567-) ] or umlaut U
+ 94 5E (-234-67-) ^ or tilde
+ 95 5F (---456--) _
+ 96 60 (--345--8) '
+ 97 61 (1-------) a
+ 98 62 (12------) b
+ 99 63 (1--4----) c
+ 100 64 (1--45---) d
+ 101 65 (1---5---) e
+ 102 66 (12-4----) f
+ 103 67 (12-45---) g
+ 104 68 (12--5---) h
+ 105 69 (-2-4----) i
+ 106 6A (-2-45---) j
+ 107 6B (1-3-----) k
+ 108 6C (123-----) l
+ 109 6D (1-34----) m
+ 110 6E (1-345---) n
+ 111 6F (1-3-5---) o
+ 112 70 (1234----) p
+ 113 71 (12345---) q
+ 114 72 (123-5---) r
+ 115 73 (-234----) s
+ 116 74 (-2345---) t
+ 117 75 (1-3--6--) u
+ 118 76 (123--6--) v
+ 119 77 (-2-456--) w
+ 120 78 (1-34-6--) x
+ 121 79 (1-3456--) y
+ 122 7A (1-3-56--) z
+ 123 7B (123-56--) { or umlaut a
+ 124 7C (--34----) | or umlaut o
+ 125 7D (-23456--) } or umlaut u
+ 126 7E (-234-6--) '
+ 127 7F (---456-8) DEL
+ 128 80 (1234-67-) C Cedilla (upper case)
+ 129 81 (12-456--) u Umlaut (lower case)
+ 130 82 (123456-8) e Acute (lower case)
+ 131 83 (1----6-8) a Circumflex
+ 132 84 (123-56--) a Umlaut (lower case)
+ 133 85 (123-56-8) a Grave
+ 134 86 (-2-----8) a Ring (lower case)
+ 135 87 (1234-6-8) c Cedilla (lower case)
+ 136 88 (12---6-8) e Circumflex
+ 137 89 (12-4-6-8) e Umlaut (lower case)
+ 138 8A (-234-6-8) e Grave
+ 139 8B (12-456-8) i Umlaut (lower case)
+ 140 8C (1--4-6-8) i Circumflex
+ 141 8D (-2-4---8) I Grave
+ 142 8E (123-567-) A Umlaut (upper case)
+ 143 8F (1----67-) A Ring (upper case)
+ 144 90 (1234567-) E Acute (upper case)
+ 145 91 (123-56--) ae Digraph (lower case)
+ 146 92 (123-567-) AE Digraph (upper case)
+ 147 93 (1--456-8) o Circumflex
+ 148 94 (--34----) o Umlaut (lower case)
+ 149 95 (--34-6-8) o Grave
+ 150 96 (1---56-8) u Circumflex
+ 151 97 (-23456-8) u Grave
+ 152 98 (1-3456-8) y Umlaut
+ 153 99 (--34--7-) O Umlaut (upper case)
+ 154 9A (-234567-) U Umlaut (upper case)
+ 155 9B (-23-5678) Cent
+ 156 9C (----56-8) Pound/Sterling
+ 157 9D (-2--5678) Yen
+ 158 9E (-23-5--8) Peseta
+ 159 9F (12-4---8) Franc
+ 160 A0 (-23--678) a Acute (lower case)
+ 161 Al (----5-7-) i Acute (lower case)
+ 162 A2 (----5-78) o Acute (lower case)
+ 163 A3 (--3-5678) u Acute (lower case)
+ 164 A4 (1-345--8) n Tilde (lower case)
+ 165 A5 (--345-7-) N Tilde (upper case)
+ 166 A6 (1------8) Feminine Spanish Ordinal
+ 167 A7 (1-3-5--8) Masculine Spanish Ordinal
+ 168 A8 (--3----8) Inverted Question Mark
+ 169 A9 (--3--67-) Left square corner
+ 170 AA (--3--6-8) Right square corner
+ 171 AB (-23----8) 1/2
+ 172 AC (-2--56-8) 1/4
+ 173 AD (----5--8) Inverted Exclamation Mark
+ 174 AE (--3----8) Left Double Guillemet
+ 175 AF (--3---7-) Right Double Guillemet
+ 176 B0 (--34-67-) Box [Shade 1]
+ 177 B1 (---4-678) Box [Shade 2]
+ 178 B2 (12---67-) Box [Shade 3]
+ 179 B3 (1--4-67-) Box [top bottom]
+ 180 B4 (1--4567-) Box [left top bottom]
+ 181 B5 (1---567-) Box [LEFT top bottom]
+ 182 B6 (12-4-67-) Box [left TOP BOTTOM]
+ 183 B7 (12-4567-) Box [left BOTTOM]
+ 184 B8 (12--567-) Box [LEFT bottom]
+ 185 B9 (-2-4-67-) Box [LEFT TOP BOTTOM]
+ 186 BA (-2--5-7-) Box [TOP BOTTOM]
+ 187 BB (-23---7-) Box [LEFT BOTTOM]
+ 188 BC (----567-) Box [LEFT TOP]
+ 189 BD (-23-567-) Box [left TOP]
+ 190 BE (---45-7-) Box [LEFT top]
+ 191 BF (-2---67-) Box [left bottom]
+ 192 CO (--345--8) Box [top right]
+ 193 C1 (--3---78) Box [left top right]
+ 194 C2 (1--45678) Box [left right bottom]
+ 195 C3 (-2-4-678) Box [top right bottom]
+ 196 C4 (1--45--8) Box [left right]
+ 197 C5 (1---5--8) Box [left top right bottom]
+ 198 C6 (-2--5-78) Box [top RIGHT bottom]
+ 199 C7 (12-45--8) Box [TOP right BOTTOM]
+ 200 C8 (------78) Box [TOP RIGHT]
+ 201 C9 (-2--5--8) Box [RIGHT BOTTOM]
+ 202 CA (-2-45--8) Box [LEFT TOP RIGHT]
+ 203 CB (1-3----8) Box [LEFT RIGHT BOTTOM]
+ 204 CC (123----8) Box [TOP RIGHT BOTTOM]
+ 205 CD (1-34---8) Box [LEFT RIGHT]
+ 206 CE (---4--78) Box [LEFT TOP RIGHT BOTTOM]
+ 207 CF (--345678) Box [LEFT top RIGHT]
+ 208 DO (123----8) Box [left TOP right]
+ 209 D1 (12345--8) Box [LEFT RIGHT bottom]
+ 210 D2 (123-5--8) Box [left right BOTTOM]
+ 211 D3 (-234---8) Box [TOP right]
+ 212 D4 (-2345--8) Box [top RIGHT]
+ 213 D5 (1-3--6-8) Box [RIGHT bottom]
+ 214 D6 (123--6-8) Box [right BOTTOM]
+ 215 D7 (-2-456-8) Box [left TOP right BOTTOM]
+ 216 D8 (1-34-6-8) Box [LEFT top RIGHT bottom]
+ 217 D9 (12345678) Box [left top]
+ 218 DA (1-3-56-8) Box [right bottom]
+ 219 DB (-----678) Box [Shade 4]
+ 220 DC (--34-678) Box [box bottom]
+ 221 DD (1234-678) Box [box right]
+ 222 DE (--3-5-78) Box [box left]
+ 223 DF (---4567-) Box [box top]
+ 224 E0 (------7-) Alpha (lower case)
+ 225 E1 (-234-6--) Beta (lower case)
+ 226 E2 (-23-5-78) Gamma (upper case)
+ 227 E3 (-23-5-7-) Pi (lower case)
+ 228 E4 (---4-6-8) Sigma (upper case)
+ 229 E5 (-2----78) Sigma (lower case)
+ 230 E6 (--3--678) Mu (lower case)
+ 231 E7 (-----6-8) Tau (lower case)
+ 232 E8 (-23--6-8) Phi (upper case)
+ 233 E9 (--3-56-8) Theta (lower case)
+ 234 EA (--3-5--8) Omega (upper case)
+ 235 EB (1----678) Delta (lower case)
+ 236 EC (12---678) infinity
+ 237 ED (1--4-678) Phi (lower case)
+ 238 EE (1---5678) Epsilon (lower case)
+ 239 EF (12-4-678) Intersection
+ 240 F0 (12-45678) Equivalent (Member)
+ 241 F1 (12--5678) Plus or minus
+ 242 F2 (------7-) Greater than or equal
+ 243 F3 (--34567-) Less than or equal
+ 244 F4 (---4-67-) Integral [top]
+ 245 F5 (-23---78) Integral [bottom]
+ 246 F6 (-----67-) Division
+ 247 F7 (-23--67-) Approximately equal
+ 248 F8 (12--56-8) Small circle
+ 249 F9 (-2-4-6-8) Bullet
+ 250 FA (-2--5--8) Small bullet
+ 251 FB (--3-567-) Bent Radical
+ 252 FC (----56-8) Power of n
+ 253 FD (-23-56-8) Power of 2
+ 254 FE (---45--8) Large square bullet
+ 255 FF (-2---6-8) blank (hard space)
diff --git a/etc/gs-braille.tbl b/etc/gs-braille.tbl
new file mode 100644
index 0000000..0c5ef9b
--- /dev/null
+++ b/etc/gs-braille.tbl
@@ -0,0 +1,261 @@
+# GS BRAILLE TABLE
+#
+# Dec Hex Braille Description
+# ------------------------------------------------------------------------
+ 0 0 (--------) NUL
+ 1 1 (--------) SOH
+ 2 2 (--------) STX
+ 3 3 (--------) ETX
+ 4 4 (--------) EOT
+ 5 5 (--------) ENQ
+ 6 6 (--------) ACK
+ 7 7 (--------) BEL
+ 8 8 (--------) BS
+ 9 9 (--------) HT
+ 10 A (--------) LF
+ 11 B (--------) VT
+ 12 C (--------) FF
+ 13 D (--------) CR
+ 14 E (--------) SO
+ 15 F (--------) SI
+ 16 10 (--------) DLE
+ 17 11 (--------) DC1
+ 18 12 (--------) DC2
+ 19 13 (--------) DC3
+ 20 14 (--------) DC4
+ 21 15 (--------) NAK
+ 22 16 (--------) SYN
+ 23 17 (--------) ETB
+ 24 18 (--------) CAN
+ 25 19 (--------) EM
+ 26 1A (--------) SUB
+ 27 1B (--------) ESC
+ 28 1C (--------) FS
+ 29 1D (--------) GS
+ 30 1E (--------) RS
+ 31 1F (--------) US
+ 32 20 (--------) space
+ 33 21 (-23-5---) bang
+ 34 22 (--3--678) unidirectional double quote
+ 35 23 (----5678) # (number or hash) symbol
+ 36 24 (--34567-) $
+ 37 25 (--34---8) % symbol
+ 38 26 (-23-5-78) & symbol
+ 39 27 (--3-----) apostrophe
+ 40 28 (-23----8) left parenthesis symbol
+ 41 29 (----567-) right parenthesis symbol
+ 42 2A (--34--7-) asterisk
+ 43 2B (-2--5-7-) plus symbol
+ 44 2C (-2------) comma
+ 45 2D (--3--6--) dash, also used as over/under bar.
+ 46 2E (-2--56--) period, decimal point
+ 47 2F (--34--78) / symbol
+ 48 30 (-2-45-78) zero
+ 49 31 (1-----78) one
+ 50 32 (12----78) two
+ 51 33 (1--4--78) three
+ 52 34 (1--45-78) four
+ 53 35 (1---5-78) five
+ 54 36 (12-4--78) six
+ 55 37 (12-45-78) seven
+ 56 38 (12--5-78) eight
+ 57 39 (-2-4--78) nine
+ 58 3A (-2--5---) colon
+ 59 3B (-23-----) semicolon
+ 60 3C (1234567-) open angle bracket
+ 61 3D (-2--5-78) equals symbol
+ 62 3E (123456-8) close angle bracket
+ 63 3F (-23--6--) question mark
+ 64 40 (--345-78) @ sign
+ 65 41 (1-----7-) A
+ 66 42 (12----7-) B
+ 67 43 (1--4--7-) C
+ 68 44 (1--45-7-) D
+ 69 45 (1---5-7-) E
+ 70 46 (12-4--7-) F
+ 71 47 (12-45-7-) G
+ 72 48 (12--5-7-) H
+ 73 49 (-2-4--7-) I
+ 74 4A (-2-45-7-) J
+ 75 4B (1-3---7-) K
+ 76 4C (123---7-) L
+ 77 4D (1-34--7-) M
+ 78 4E (1-345-7-) N
+ 79 4F (1-3-5-7-) O
+ 80 50 (1234--7-) P
+ 81 51 (12345-7-) Q
+ 82 52 (123-5-7-) R
+ 83 53 (-234--7-) S
+ 84 54 (-2345-7-) T
+ 85 55 (1-3--67-) U
+ 86 56 (123--67-) V
+ 87 57 (-2-4567-) W
+ 88 58 (1-34-67-) X
+ 89 59 (1-34567-) Y
+ 90 5A (1-3-567-) Z
+ 91 5B (-23--678) [ symbol
+ 92 5C (1----678) \ symbol
+ 93 5D (--3-5678) ] symbol
+ 94 5E (--345-7-) ^
+ 95 5F (-2---6-8) _
+ 96 60 (--3----8) opening single quote
+ 97 61 (1-------) a
+ 98 62 (12------) b
+ 99 63 (1--4----) c
+ 100 64 (1--45---) d
+ 101 65 (1---5---) e
+ 102 66 (12-4----) f
+ 103 67 (12-45---) g
+ 104 68 (12--5---) h
+ 105 69 (-2-4----) i
+ 106 6A (-2-45---) j
+ 107 6B (1-3-----) k
+ 108 6C (123-----) l
+ 109 6D (1-34----) m
+ 110 6E (1-345---) n
+ 111 6F (1-3-5---) o
+ 112 70 (1234----) p
+ 113 71 (12345---) q
+ 114 72 (123-5---) r
+ 115 73 (-234----) s
+ 116 74 (-2345---) t
+ 117 75 (1-3--6--) u
+ 118 76 (123--6--) v
+ 119 77 (-2-456--) w
+ 120 78 (1-34-6--) x
+ 121 79 (1-3456--) y
+ 122 7A (1-3-56--) z
+ 123 7B (123-5678) { symbol
+ 124 7C (--34-678) |
+ 125 7D (-2345678) } symbol
+ 126 7E (--34-67-) ~
+ 127 7F (1--4-678) del, nabla sign
+ 128 80 (--3-5-7-) negative power indicator
+ 129 81 (--34-67-) ~
+ 130 82 (--3---78) opening double quote
+ 131 83 (--34----) complex fraction line indicator
+ 132 84 (--3-5-78) left superscript
+ 133 85 (--345678) start extended math mode
+ 134 86 (-23---7-) end of line in 2-D array
+ 135 87 (-23--67-) right arrow sign
+ 136 88 (-23-567-) proportional to sign
+ 137 89 (-23---78) ` (grave accent)
+ 138 8A (-234-678) integral sign
+ 139 8B (-23-5678) identically equals sign
+ 140 8C (--3-5--8) < (less) symbol
+ 141 8D (-2---67-) > (greater) symbol
+ 142 8E (123--678) end extended math mode.
+ 143 8F (12345678) infinity sign
+ 144 90 (1--4-6--) overscript indicator
+ 145 91 (1---56--) slashed symbol or NOT indicator
+ 146 92 (1--456--) function indicator
+ 147 93 (---45-7-) bold symbol indicator
+ 148 94 (---4-67-) italic symbol indicator
+ 149 95 (---4567-) special (text default=underlined) symbol indicator
+ 150 96 (------78) minus sign
+ 151 97 (---4--78) gothic font symbol indicator
+ 152 98 (----5-78) divide by sign
+ 153 99 (---45-78) special font 1 symbol indicator
+ 154 9A (-----678) closing double quote
+ 155 9B (---4-678) special font 2 symbol indicator
+ 156 9C (---45678) special font 3 symbol indicator
+ 157 9D (-2----78) times cross sign
+ 158 9E (-2---678) left subscript
+ 159 9F (--3---7-) end of element in 2-D array
+ 160 A0 (-2-4-6--) radical indicator
+ 161 A1 (-----67-) closing single quote
+ 162 A2 (----5---) In 8 dot code in shapes and as a soft hyphen.
+ 163 A3 (---45---) To be used for foreign indicators and/or phonetic indicators.
+ 164 A4 (-----6--) 04 never appears in 8 dot code except shapes.
+ 165 A5 (---4-6--) 05 never appears in 8 dot code except shapes.
+ 166 A6 (----56--) grade 1 indicator in both codes.
+ 167 A7 (---456--) Converts upper cell to cell + dot-67, other root to root + dot-78.
+ 168 A8 (-------8) Under user control can indicate hyperlinks or font enhancements or...
+ 169 A9 (---4---8) start shape beginning with 01 and ending at first root cell
+ 170 AA (----5--8) start shape beginning with 02
+ 171 AB (---45--8) start shape beginning with 03
+ 172 AC (-----6-8) start shape beginning with 04
+ 173 AD (---4-6-8) start shape beginning with 05
+ 174 AE (----56-8) start shape beginning with 06
+ 175 AF (---456-8) start shape beginning with 07
+ 176 B0 (1--4---8) Copyright sign
+ 177 B1 (1--4-6-8) partial differential sign
+ 178 B2 (-2---6--) subscript indicator
+ 179 B3 (1------8) alpha
+ 180 B4 (12-----8) beta
+ 181 B5 (12-45--8) gamma
+ 182 B6 (1--45--8) delta
+ 183 B7 (1---5--8) epsilon
+ 184 B8 (1-3-56-8) zeta
+ 185 B9 (1---56-8) eta
+ 186 BA (1--456-8) theta
+ 187 BB (-2-4---8) iota
+ 188 BC (1-3----8) kappa
+ 189 BD (123----8) lambda
+ 190 BE (1-34---8) mu
+ 191 BF (1-345--8) nu
+ 192 C0 (1-34-6-8) xi
+ 193 C1 (1-3-5--8) omichron
+ 194 C2 (1234---8) pi
+ 195 C3 (123-5--8) rho
+ 196 C4 (-234---8) sigma
+ 197 C5 (-2345--8) tau
+ 198 C6 (1-3--6-8) upsilon
+ 199 C7 (12-4---8) phi
+ 200 C8 (1234-6-8) chi
+ 201 C9 (1-3456-8) psi
+ 202 CA (-2-456-8) omega
+ 203 CB (1----67-) cap Alpha
+ 204 CC (12---67-) cap Beta
+ 205 CD (12-4567-) cap Gamma
+ 206 CE (1--4567-) cap Delta
+ 207 CF (1---567-) cap Epsilon
+ 208 D0 (1-3-5678) cap zeta
+ 209 D1 (1---5678) cap Eta
+ 210 D2 (1--45678) cap Theta
+ 211 D3 (-2-4-67-) cap Iota
+ 212 D4 (1-3---78) cap kappa
+ 213 D5 (123---78) cap lambda
+ 214 D6 (1-34--78) cap mu
+ 215 D7 (1-345-78) cap nu
+ 216 D8 (1-34-678) cap xi
+ 217 D9 (1-3-5-78) cap omichron
+ 218 DA (1234--78) cap pi
+ 219 DB (123-5-78) cap rho
+ 220 DC (-234--78) cap sigma
+ 221 DD (-2345-78) cap tau
+ 222 DE (1-3--678) cap upsilon
+ 223 DF (12-4-67-) cap Phi
+ 224 E0 (1234-678) cap chi
+ 225 E1 (1-345678) cap psi
+ 226 E2 (-2-45678) cap omega
+ 227 E3 (-2--5--8) times dot sign
+ 228 E4 (-2-45--8) small circle sign
+ 229 E5 (-2-4-6-8) radical sign, not operator
+ 230 E6 (12---6--) open braille bracket
+ 231 E7 (12-4-6--) horizontal combination symbol indicator
+ 232 E8 (12--56--) vertical stack symbol indicator
+ 233 E9 (12-456--) superimposed combination symbol indicator
+ 234 EA (12--56-8) absolute value bar sign
+ 235 EB (--3-5---) superscript indicator
+ 236 EC (--345---) close braille bracket
+ 237 ED (--34-6--) underscript indicator
+ 238 EE (--3-56--) start math word indicator
+ 239 EF (--3456--) Number indicator (6 dot code)
+ 240 F0 (---4----) Accent mark
+ 241 F1 (--3--6-8) ellipses sign
+ 242 F2 (--34-6-8) dagger, transpose sign
+ 243 F3 (--3-56-8) left arrow sign
+ 244 F4 (--3456-8) UK pound
+ 245 F5 (-234-6--) two dimensional array indicator
+ 246 F6 (1----6--) simple fraction line indicator
+ 247 F7 (-23-56--) contraction indicator.
+ 248 F8 (-23456--) close fraction indicator
+ 249 F9 (-234-6-8) end of two dimensional array
+ 250 FA (-23-56-8) approximately equals sign, single tilde over single bar.
+ 251 FB (1234-6--) Large symbol indicator.
+ 252 FC (123-56--) open fraction indicator
+ 253 FD (123456--) quantity indicator
+ 254 FE (------7-) prime mark
+ 255 FF (---4--7-) script font symbol indicator
+
diff --git a/etc/mkinstalldirs b/etc/mkinstalldirs
new file mode 100755
index 0000000..0e29377
--- /dev/null
+++ b/etc/mkinstalldirs
@@ -0,0 +1,35 @@
+#!/bin/sh
+# Make directory hierarchy.
+# Written by Noah Friedman <friedman@prep.ai.mit.edu>
+# Public domain.
+
+defaultIFS='
+'
+IFS="${IFS-${defaultIFS}}"
+
+errstatus=0
+
+for file in ${1+"$@"} ; do
+ oIFS="${IFS}"
+ # Some sh's can't handle IFS=/ for some reason.
+ IFS='%'
+ set - `echo ${file} | sed -e 's@/@%@g' -e 's@^%@/@'`
+ IFS="${oIFS}"
+
+ pathcomp=''
+
+ for d in ${1+"$@"} ; do
+ pathcomp="${pathcomp}${d}"
+
+ if test ! -d "${pathcomp}"; then
+ echo "mkdir $pathcomp" 1>&2
+ mkdir "${pathcomp}" || errstatus=$?
+ fi
+
+ pathcomp="${pathcomp}/"
+ done
+done
+
+exit $errstatus
+
+# eof
diff --git a/etc/newsyntax b/etc/newsyntax
new file mode 100755
index 0000000..6b5bb03
--- /dev/null
+++ b/etc/newsyntax
@@ -0,0 +1,64 @@
+#!/bin/sh
+#
+# newsyntax -- update a screenrc file from 3.2 to 3.3 syntax
+#
+# please check all comments after running this script and watch out
+# for funny passages.
+#
+if [ $# != 1 ]; then
+ echo "usage $0 screenrcfile"
+ exit 1;
+fi
+
+#Ultrix 4.2 /bin/sh does not handle "read a < $1"
+#Dean Gaudet <dgaudet@watdragon.uwaterloo.ca>
+exec < $1
+read a
+
+if [ ."$a" = '.#3.3' ]; then
+ echo "$1 already updated"
+ exit 0
+fi
+
+cp $1 $1.old
+echo "#3.3" > $1
+echo "# Do not remove the above line. This screen rc file was updated" >> $1
+echo "# by the newsyntax script." >> $1
+sed < $1.old >> $1 \
+-e 's/\([ #]\)flow/\1defflow/g' \
+-e 's/^flow/defflow/g' \
+-e 's/\([ #]\)set[ ]*defflow/\1flow/g' \
+-e 's/^set[ ]*defflow/flow/g' \
+-e 's/\([ #]\)mode/\1defmode/g' \
+-e 's/^mode/defmode/g' \
+-e 's/\([ #]\)set[ ]*defmode/\1defmode/g' \
+-e 's/^set[ ]*defmode/defmode/g' \
+-e 's/\([ #]\)monitor/\1defmonitor/g' \
+-e 's/^monitor/defmonitor/g' \
+-e 's/\([ #]\)set[ ]*defmonitor/\1monitor/g' \
+-e 's/^set[ ]*defmonitor/monitor/g' \
+-e 's/\([ #]\)login/\1deflogin/g' \
+-e 's/^login/deflogin/g' \
+-e 's/\([ #]\)set[ ]*deflogin/\1login/g' \
+-e 's/^set[ ]*deflogin/login/g' \
+-e 's/\([ #]\)wrap/\1defwrap/g' \
+-e 's/^wrap/defwrap/g' \
+-e 's/\([ #]\)set[ ]*defwrap/\1wrap/g' \
+-e 's/^set[ ]*defwrap/wrap/g' \
+-e 's/\([ #]\)scrollback/\1defscrollback/g' \
+-e 's/^scrollback/defscrollback/g' \
+-e 's/\([ #]\)set[ ]*defscrollback/\1scrollback/g' \
+-e 's/^set[ ]*defscrollback/scrollback/g' \
+-e 's/\([ #]\)refresh/\1allPARtial/g' \
+-e 's/^refresh/allPARtial/g' \
+-e 's/\([ #]\)redraw/\1allPARtial/g' \
+-e 's/^redraw/allPARtial/g' \
+-e 's/\([ #]\)set[ ]*allPARtial/\1PARtial/g' \
+-e 's/^set[ ]*allPARtial/PARtial/g' \
+-e 's/\([ #]\)visualbell/\1vbell/g' \
+-e 's/^visualbell/vbell/g' \
+-e 's/PARtial\([ ]*\)on/partial\1off/g' \
+-e 's/PARtial\([ ]*\)off/partial\1on/g' \
+-e 's/allPARtial/refresh/g' \
+-e 's/^set[ ]//g'
+
diff --git a/etc/newsyntax38 b/etc/newsyntax38
new file mode 100755
index 0000000..b22850d
--- /dev/null
+++ b/etc/newsyntax38
@@ -0,0 +1,71 @@
+#! /bin/sh
+#
+# newsyntax38 -- update a screenrc file from 3.3 to 3.8 syntax
+#
+# Please bring your scripts up to syntax level 3.3 before running this script.
+# Please check all comments after running this script and watch out
+# for funny passages.
+#
+# * aka and shellaka are replaced by title and shelltitle.
+#
+# * Pairs of termcap and terminfo commands are folded into a single
+# termcapinfo command where possible.
+#
+# * trailing blanks are zapped. Unintentionally.
+#
+# 12.10.95, jnweiger, use at your own risk.
+#
+if [ $# != 1 ]; then
+ echo "usage $0 screenrcfile"
+ echo ""
+ echo "The named file will be updated in place to the syntax of screen 3.8"
+ echo "A backup copy will be written to <screenrcfile>.bak"
+ exit 1;
+fi
+
+#Ultrix 4.2 /bin/sh does not handle "read a < $1"
+#Dean Gaudet <dgaudet@watdragon.uwaterloo.ca>
+exec < $1
+read a
+
+if [ "$a" = "#3.8" ]; then
+ echo "$1 already updated"
+ exit 0
+fi
+
+rm -f $1.old $1.dups
+
+cp $1 $1.old
+echo "#3.8" > $1
+echo "# Do not remove the above line. This screen rc file was updated" >> $1
+echo "# by the newsyntax script." >> $1
+
+# termcap and terminfo lines can only be folded when there is no parameter
+# expansion in the codes. Parameters are denoted differently in
+# termcap and termcap syntax. Everything else is identical, I assume.
+# Thus codes not containing '%' can be savely folded.
+
+sed < $1.old > $1.dups \
+-e 's/^\([ #]*\)aka/\1title/' \
+-e 's/^\([ #]*\)shellaka/\1shelltitle/' \
+-e 's/^\([ #]*\)termcap[ ][ ]*\([^%]*$\)/\1termcapinfo \2/' \
+-e 's/^\([ #]*\)terminfo[ ][ ]*\([^%]*$\)/\1termcapinfo \2/' \
+-e 's/\\/\\\\/g'
+
+# Oh, my bourne shell seems to gobble backslashes while reading.
+# Thus the sed above duplicates them in advance.
+# Hope this is not just another silly bash featureism.
+# It still zaps trailing blanks. I do not know why. But that is nice.
+
+exec < $1.dups
+while read a ; do
+ if [ "$a" = "$b" ]; then
+ case "$a" in
+ *termcapinfo*) continue ;;
+ esac
+ fi
+ echo "$a" >> $1
+ b="$a"
+done
+
+rm -f $1.dups
diff --git a/etc/screenrc b/etc/screenrc
new file mode 100644
index 0000000..ca6561d
--- /dev/null
+++ b/etc/screenrc
@@ -0,0 +1,153 @@
+#
+# Example of a user's .screenrc file
+#
+
+# This is how one can set a reattach password:
+# password ODSJQf.4IJN7E # "1234"
+
+# no annoying audible bell, please
+vbell on
+
+# detach on hangup
+autodetach on
+
+# don't display the copyright page
+startup_message off
+
+# emulate .logout message
+pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
+
+# advertise hardstatus support to $TERMCAP
+# termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
+
+# make the shell in every window a login shell
+#shell -$SHELL
+
+# autoaka testing
+# shellaka '> |tcsh'
+# shellaka '$ |sh'
+
+# set every new windows hardstatus line to somenthing descriptive
+# defhstatus "screen: ^En (^Et)"
+
+defscrollback 1000
+
+# don't kill window after the process died
+# zombie "^["
+
+# enable support for the "alternate screen" capability in all windows
+# altscreen on
+
+################
+#
+# xterm tweaks
+#
+
+#xterm understands both im/ic and doesn't have a status line.
+#Note: Do not specify im and ic in the real termcap/info file as
+#some programs (e.g. vi) will not work anymore.
+termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
+terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
+
+#80/132 column switching must be enabled for ^AW to work
+#change init sequence to not switch width
+termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
+
+# Make the output buffer large for (fast) xterms.
+#termcapinfo xterm* OL=10000
+termcapinfo xterm* OL=100
+
+# tell screen that xterm can switch to dark background and has function
+# keys.
+termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
+termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
+termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
+
+# special xterm hardstatus: use the window title.
+termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
+
+#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
+termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
+
+# emulate part of the 'K' charset
+termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
+
+# xterm-52 tweaks:
+# - uses background color for delete operations
+termcapinfo xterm* be
+
+################
+#
+# wyse terminals
+#
+
+#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
+#essential to have it here, as this is a slow terminal.
+termcapinfo wy75-42 xo:hs@
+
+# New termcap sequences for cursor application mode.
+termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
+
+################
+#
+# other terminals
+#
+
+# make hp700 termcap/info better
+termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
+
+# Extend the vt100 desciption by some sequences.
+termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
+terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
+termcapinfo linux C8
+# old rxvt versions also need this
+# termcapinfo rxvt C8
+
+
+################
+#
+# keybindings
+#
+
+#remove some stupid / dangerous key bindings
+bind k
+bind ^k
+bind .
+bind ^\
+bind \\
+bind ^h
+bind h
+#make them better
+bind 'K' kill
+bind 'I' login on
+bind 'O' login off
+bind '}' history
+
+# Yet another hack:
+# Prepend/append register [/] to the paste if ^a^] is pressed.
+# This lets me have autoindent mode in vi.
+register [ "\033:se noai\015a"
+register ] "\033:se ai\015a"
+bind ^] paste [.]
+
+################
+#
+# default windows
+#
+
+# screen -t local 0
+# screen -t mail 1 mutt
+# screen -t 40 2 rlogin server
+
+# caption always "%3n %t%? @%u%?%? [%h]%?%=%c"
+# hardstatus alwaysignore
+# hardstatus alwayslastline "%Lw"
+
+# bind = resize =
+# bind + resize +1
+# bind - resize -1
+# bind _ resize max
+#
+# defnonblock 1
+# blankerprg rain -d 100
+# idle 30 blanker
diff --git a/etc/toolcheck b/etc/toolcheck
new file mode 100755
index 0000000..1b8ee39
--- /dev/null
+++ b/etc/toolcheck
@@ -0,0 +1,44 @@
+#!/bin/sh
+# toolcheck -- check for tools that have severe bugs. Good that all the buggy
+# tools identify by version numbers. This is the spirit of GNU :-)
+#
+# 24.7.95 jw.
+
+retval=0
+reply="`sh -version 2>&1 < /dev/null | sed q`"
+case "$reply" in
+ GNU*1.14.3*)
+ echo "- sh is '$reply'";
+ echo " CAUTION: This shell has a buggy 'trap' command.";
+ echo " The configure script may fail silently.";
+ retval=1;
+ ;;
+ GNU*1.14.2*|GNU*1.14.4*|GNU*1.13.*)
+ echo "- sh is '$reply' - good.";
+ ;;
+ GNU*) echo "- sh is '$reply'.";
+ ;;
+ *) ;;
+esac
+
+reply="`sed --version 2>&1 < /dev/null | sed q`"
+case "$reply" in
+ GNU\ sed\ version\ 2.0[34])
+ echo "- sed is '$reply'";
+ echo " CAUTION: This sed cannot configure screen properly."
+ retval=1;
+ ;;
+ GNU\ sed\ version\ 2.05|GNU\ sed\ version\ 2.03\ kevin)
+ echo "- sed is '$reply' - good.";
+ ;;
+ GNU*) echo "- sed is '$reply'.";
+ ;;
+ *) ;;
+esac
+
+if [ "$retval" != 0 ]; then
+ echo " ***********************************************************"
+ echo " Please fix the above problem before reporting a screen bug!"
+ echo " ***********************************************************"
+fi
+exit $retval
diff --git a/etc/us-braille.tbl b/etc/us-braille.tbl
new file mode 100644
index 0000000..640f62f
--- /dev/null
+++ b/etc/us-braille.tbl
@@ -0,0 +1,260 @@
+# U.S. BRAILLE TABLE
+#
+# Dec Hex Braille Description
+# ------------------------------------------------------------------------
+ 0 00 (---4--78) NUL
+ 1 01 (1-----78) SOH
+ 2 02 (12----78) STX
+ 3 03 (1--4--78) ETX
+ 4 04 (1--45-78) EOT
+ 5 05 (1---5-78) ENQ
+ 6 06 (12-4--78) ACK
+ 7 07 (12-45-78) BEL
+ 8 08 (12--5-78) BS
+ 9 09 (-2-4--78) HT
+ 10 OA (-2-45-78) LF
+ 11 0B (1-3---78) VT
+ 12 OC (123---78) FF
+ 13 0D (1-34--78) CR
+ 14 0E (1-345-78) SO
+ 15 OF (1-3-5-78) SI
+ 16 10 (1234--78) DLE
+ 17 11 (12345-78) DC1
+ 18 12 (123-5-78) DC2
+ 19 13 (-234--78) DC3
+ 20 14 (-2345-78) DC4
+ 21 15 (1-3--678) NAK
+ 22 16 (123--678) SYN
+ 23 17 (-2-45678) ETB
+ 24 18 (1-34-678) CAN
+ 25 19 (1-345678) EM
+ 26 1A (1-3-5678) SUB
+ 27 lB (-2-4-678) ESC
+ 28 lC (12--5678) FS
+ 29 1D (12-45678) GS
+ 30 lE (---45-78) RS
+ 31 1F (---45678) US
+ 32 20 (--------) Space
+ 33 21 (-234-6--) !
+ 34 22 (----5---) "
+ 35 23 (--3456--) #
+ 36 24 (12-4-6--) $
+ 37 25 (1--4-6--) %
+ 38 26 (1234-6--) &
+ 39 27 (--3-----) '
+ 40 28 (123-56--) (
+ 41 29 (-23456--) )
+ 42 2A (1----6--) *
+ 43 2B (--34-6--) +
+ 44 2C (-----6--) ,
+ 45 2D (--3--6--) -
+ 46 2E (---4-6--) .
+ 47 2F (--34----) /
+ 48 30 (--3-56--) 0
+ 49 31 (-2------) 1
+ 50 32 (-23-----) 2
+ 51 33 (-2--5---) 3
+ 52 34 (-2--56--) 4
+ 53 35 (-2---6--) 5
+ 54 36 (-23-5---) 6
+ 55 37 (-23-56--) 7
+ 56 38 (-23--6--) 8
+ 57 39 (--3-5---) 9
+ 58 3A (1---56--) :
+ 59 3B (----56--) ;
+ 60 3C (12---6--) <
+ 61 3D (123456--) -
+ 62 3E (--345---) >
+ 63 3F (1--456--) ?
+ 64 40 (---4--7-) @
+ 65 41 (1-----7-) A
+ 66 42 (12----7-) B
+ 67 43 (1--4--7-) C
+ 68 44 (1--45-7-) D
+ 69 45 (1---5-7-) E
+ 70 46 (12-4--7-) F
+ 71 47 (12-45-7-) G
+ 72 48 (12--5-7-) H
+ 73 49 (-2-4--7-) I
+ 74 4A (-2-45-7-) J
+ 75 4B (1-3---7-) K
+ 76 4C (123---7-) L
+ 77 4D (1-34--7-) M
+ 78 4E (1-345-7-) N
+ 79 4F (1-3-5-7-) O
+ 80 50 (1234--7-) P
+ 81 51 (12345-7-) Q
+ 82 52 (123-5-7-) R
+ 83 53 (-234--7-) S
+ 84 54 (-2345-7-) T
+ 85 55 (1-3--67-) U
+ 86 56 (123--67-) V
+ 87 57 (-2-4567-) W
+ 88 58 (1-34-67-) X
+ 89 59 (1-34567-) Y
+ 90 5A (1-3-567-) Z
+ 91 5B (-2-4-67-) [
+ 92 5C (12--567-) \
+ 93 5D (12-4567-) ]
+ 94 5E (---45-7-) ^
+ 95 5F (---4567-) _
+ 96 60 (---4----) '
+ 97 61 (1-------) a
+ 98 62 (12------) b
+ 99 63 (1--4----) c
+ 100 64 (1--45---) d
+ 101 65 (1---5---) e
+ 102 66 (12-4----) f
+ 103 67 (12-45---) g
+ 104 68 (12--5---) h
+ 105 69 (-2-4----) i
+ 106 6A (-2-45---) j
+ 107 6B (1-3-----) k
+ 108 6C (123-----) l
+ 109 6D (1-34----) m
+ 110 6E (1-345---) n
+ 111 6F (1-3-5---) o
+ 112 70 (1234----) p
+ 113 71 (12345---) q
+ 114 72 (123-5---) r
+ 115 73 (-234----) s
+ 116 74 (-2345---) t
+ 117 75 (1-3--6--) u
+ 118 76 (123--6--) v
+ 119 77 (-2-456--) w
+ 120 78 (1-34-6--) x
+ 121 79 (1-3456--) y
+ 122 7A (1-3-56--) z
+ 123 7B (-2-4-6--) {
+ 124 7C (12--56--) |
+ 125 7D (12-456--) }
+ 126 7E (---45---) ~
+ 127 7F (---456--) DEL
+ 128 80 (---4---8) C Cedilla (upper case)
+ 129 81 (1------8) u Umlaut (lower case)
+ 130 82 (12-----8) e Acute (lower case)
+ 131 83 (1--4---8) a Circumflex
+ 132 84 (1--45--8) a Umlaut (lower case)
+ 133 85 (1---5--8) a Grave
+ 134 86 (12-4---8) a Ring (lower case)
+ 135 87 (12-45--8) c Cedilla (lower case)
+ 136 88 (12--5--8) e Circumflex
+ 137 89 (-2-4---8) e Umlaut (lower case)
+ 138 8A (--2-45-8) e Grave
+ 139 8B (1-3----8) i Umlaut (lower case)
+ 140 8C (123----8) i Circumflex
+ 141 8D (1-34---8) I Grave
+ 142 8E (1-345--8) A Umlaut (upper case)
+ 143 8F (1-3-5--8) A Ring (upper case)
+ 144 90 (1234---8) E Acute (upper case)
+ 145 91 (12345--8) ae Digraph (lower case)
+ 146 92 (123-5--8) AE Digraph (upper case)
+ 147 93 (-234---8) o Circumflex
+ 148 94 (-2345--8) o Umlaut (lower case)
+ 149 95 (1-3--6-8) o Grave
+ 150 96 (123--6-8) u Circumflex
+ 151 97 (-2-456-8) u Grave
+ 152 98 (1-34-6-8) y Umlaut
+ 153 99 (1-3456-8) O Umlaut (upper case)
+ 154 9A (1-3-56-8) U Umlaut (upper case)
+ 155 9B (-2-4-6-8) Cent
+ 156 9C (12--56-8) Pound/Sterling
+ 157 9D (12-456-8) Yen
+ 158 9E (---45--8) Peseta
+ 159 9F (---456-8) Franc
+ 160 A0 (------7-) a Acute (lower case)
+ 161 Al (-234-67-) i Acute (lower case)
+ 162 A2 (----5-7-) o Acute (lower case)
+ 163 A3 (--34567-) u Acute (lower case)
+ 164 A4 (12-4-67-) n Tilde (lower case)
+ 165 A5 (1--4-67-) N Tilde (upper case)
+ 166 A6 (1234-67-) Feminine Spanish Ordinal
+ 167 A7 (--3---7-) Masculine Spanish Ordinal
+ 168 A8 (123-567-) Inverted Question Mark
+ 169 A9 (-234567-) Left square corner
+ 170 AA (1----67-) Right square corner
+ 171 AB (--34-67-) 1/2
+ 172 AC (-----67-) 1/4
+ 173 AD (--3--67-) Inverted Exclamation Mark
+ 174 AE (---4-67-) Left Double Guillemet
+ 175 AF (--34--7-) Right Double Guillemet
+ 176 B0 (--3-567-) Box [Shade 1]
+ 177 B1 (-2----7-) Box [Shade 2]
+ 178 B2 (-23---7-) Box [Shade 3]
+ 179 B3 (-2--5-7-) Box [top bottom]
+ 180 B4 (-2--567-) Box [left top bottom]
+ 181 B5 (-2---67-) Box [LEFT top bottom]
+ 182 B6 (-23-5-7-) Box [left TOP BOTTOM]
+ 183 B7 (-23-567-) Box [left BOTTOM]
+ 184 B8 (-23--67-) Box [LEFT bottom]
+ 185 B9 (--3-5-7-) Box [LEFT TOP BOTTOM]
+ 186 BA (1---567-) Box [TOP BOTTOM]
+ 187 BB (----567-) Box [LEFT BOTTOM]
+ 188 BC (12---67-) Box [LEFT TOP]
+ 189 BD (1234567-) Box [left TOP]
+ 190 BE (--345-7-) Box [LEFT top]
+ 191 BF (1--4567-) Box [left bottom]
+ 192 CO (------78) Box [top right]
+ 193 C1 (-234-678) Box [left top right]
+ 194 C2 (----5-78) Box [left right bottom]
+ 195 C3 (--345678) Box [top right bottom]
+ 196 C4 (12-4-678) Box [left right]
+ 197 C5 (1--4-678) Box [left top right bottom]
+ 198 C6 (1234-678) Box [top RIGHT bottom]
+ 199 C7 (--3---78) Box [TOP right BOTTOM]
+ 200 C8 (123-5678) Box [TOP RIGHT]
+ 201 C9 (-2345678) Box [RIGHT BOTTOM]
+ 202 CA (1----678) Box [LEFT TOP RIGHT]
+ 203 CB (--34-678) Box [LEFT RIGHT BOTTOM]
+ 204 CC (-----678) Box [TOP RIGHT BOTTOM]
+ 205 CD (--3--678) Box [LEFT RIGHT]
+ 206 CE (---4-678) Box [LEFT TOP RIGHT BOTTOM]
+ 207 CF (--34--78) Box [LEFT top RIGHT]
+ 208 DO (--3-5678) Box [left TOP right]
+ 209 D1 (-2----78) Box [LEFT RIGHT bottom]
+ 210 D2 (-23---78) Box [left right BOTTOM]
+ 211 D3 (-2--5-78) Box [TOP right]
+ 212 D4 (-2--5678) Box [top RIGHT]
+ 213 D5 (-2---678) Box [RIGHT bottom]
+ 214 D6 (-23-5-78) Box [right BOTTOM]
+ 215 D7 (-23-5678) Box [left TOP right BOTTOM]
+ 216 D8 (-23--678) Box [LEFT top RIGHT bottom]
+ 217 D9 (--3-5-78) Box [left top]
+ 218 DA (1---5678) Box [right bottom]
+ 219 DB (----5678) Box [Shade 4]
+ 220 DC (12---678) Box [box bottom]
+ 221 DD (12345678) Box [box right]
+ 222 DE (--345-78) Box [box left]
+ 223 DF (1--45678) Box [box top]
+ 224 E0 (-------8) Alpha (lower case)
+ 225 E1 (-234-6-8) Beta (lower case)
+ 226 E2 (----5--8) Gamma (upper case)
+ 227 E3 (--3456-8) Pi (lower case)
+ 228 E4 (12-4-6-8) Sigma (upper case)
+ 229 E5 (1--4-6-8) Sigma (lower case)
+ 230 E6 (1234-6-8) Mu (lower case)
+ 231 E7 (--3----8) Tau (lower case)
+ 232 E8 (123-56-8) Phi (upper case)
+ 233 E9 (-23456-8) Theta (lower case)
+ 234 EA (1----6-8) Omega (upper case)
+ 235 EB (--34-6-8) Delta (lower case)
+ 236 EC (-----6-8) infinity
+ 237 ED (--3--6-8) Phi (lower case)
+ 238 EE (---4-6-8) Epsilon (lower case)
+ 239 EF (--34---8) Intersection
+ 240 F0 (--3-56-8) Equivalent (Member)
+ 241 F1 (-2-----8) Plus or minus
+ 242 F2 (-23----8) Greater than or equal
+ 243 F3 (-2--5--8) Less than or equal
+ 244 F4 (-2--56-8) Integral [top]
+ 245 F5 (-2---6-8) Integral [bottom]
+ 246 F6 (-23-5--8) Division
+ 247 F7 (-23-56-8) Approximately equal
+ 248 F8 (-23--6-8) Small circle
+ 249 F9 (--3-5--8) Bullet
+ 250 FA (1---56-8) Small bullet
+ 251 FB (----56-8) Bent Radical
+ 252 FC (12---6-8) Power of n
+ 253 FD (123456-8) Power of 2
+ 254 FE (--345--8) Large square bullet
+ 255 FF (1--456-8) blank (hard space)