diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/ccdefs | 45 | ||||
-rw-r--r-- | etc/gr-braille.tbl | 260 | ||||
-rw-r--r-- | etc/gs-braille.tbl | 261 | ||||
-rwxr-xr-x | etc/newsyntax38 | 71 | ||||
-rw-r--r-- | etc/screenrc | 18 | ||||
-rw-r--r-- | etc/us-braille.tbl | 260 |
6 files changed, 908 insertions, 7 deletions
diff --git a/etc/ccdefs b/etc/ccdefs new file mode 100755 index 0000000..2358fcd --- /dev/null +++ b/etc/ccdefs @@ -0,0 +1,45 @@ +#!/bin/sh +cd /tmp +umask 022 + +CC=cc +CPP=/lib/cpp + +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/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/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 index 76fc888..c718364 100644 --- a/etc/screenrc +++ b/etc/screenrc @@ -28,7 +28,7 @@ pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." # shellaka '$ |sh' # set every new windows hardstatus line to somenthing descriptive -# defhstatus "screen: ^E (^Et)" +# defhstatus "screen: ^En (^Et)" defscrollback 1000 @@ -60,11 +60,7 @@ termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' termcapinfo xterm 'kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:kP=\E[H:kN=\E[6~' # special xterm hardstatus: use the window title. -termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]0;screen\007' - -# our xterm has colors! (rxvt, too) -termcap xterm 'AF=\E[3%dm:AB=\E[4%dm' -terminfo xterm 'AF=\E[3%p1%dm:AB=\E[4%p1%dm' +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' @@ -72,6 +68,10 @@ 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 ut + ################ # # wyse terminals @@ -111,7 +111,6 @@ bind \\ bind ^h bind h #make them better -bind '\\' quit bind 'K' kill bind 'I' login on bind 'O' login off @@ -132,3 +131,8 @@ bind ^] paste [.] # screen -t local 0 # screen -t mail 1 elm # screen -t 40 2 rlogin faui40 + +# caption always "%3n %t%? @%u%?%? [%h]%?" +# hardstatus alwaysignore +# hardstatus alwayslastline "%w" + 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) |