comparison index-sh.html @ 0:bd412f63ce0d

Put this project under version control, finally.
author John "Elwin" Edwards <elwin@sdf.org>
date Sun, 06 May 2012 08:45:40 -0700
parents
children 21738794755e
comparison
equal deleted inserted replaced
-1:000000000000 0:bd412f63ce0d
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>WebTTY</title>
5 <script type="text/javascript" src="termemu.js"></script>
6 <script type="text/javascript" src="shterm.js"></script>
7 <link rel="stylesheet" type="text/css" href="tty.css">
8 </head>
9 <body onload="setup()" onkeydown="sendkey(event)">
10 <h1>WebTTY</h1>
11 <div id ="top">
12 <span id="ttitle"></span>
13 <img src="/bell.png" alt="bell" id="bell">
14 </div>
15 <div id="termwrap">
16 Browsing with Javascript turned off? I sympathize. I didn't want Javascript to be necessary for WebTerm. Unfortunately, the only other way to make it work was Java applets.
17 </div>
18 <div class="keyrow">
19 <div class="key" onclick="vkey('`')">`</div>
20 <div class="key" onclick="vkey('1')">1</div>
21 <div class="key" onclick="vkey('2')">2</div>
22 <div class="key" onclick="vkey('3')">3</div>
23 <div class="key" onclick="vkey('4')">4</div>
24 <div class="key" onclick="vkey('5')">5</div>
25 <div class="key" onclick="vkey('6')">6</div>
26 <div class="key" onclick="vkey('7')">7</div>
27 <div class="key" onclick="vkey('8')">8</div>
28 <div class="key" onclick="vkey('9')">9</div>
29 <div class="key" onclick="vkey('0')">0</div>
30 <div class="key" onclick="vkey('-')">-</div>
31 <div class="key" onclick="vkey('=')">=</div>
32 <div class="key" onclick="vkey('\b')" style="width: 2.5em">Bksp</div>
33 </div>
34 <div class="keyrow">
35 <div class="key" onclick="vkey('\t')" style="width: 2.5em">Tab</div>
36 <div class="key" onclick="vkey('q')">Q</div>
37 <div class="key" onclick="vkey('w')">W</div>
38 <div class="key" onclick="vkey('e')">E</div>
39 <div class="key" onclick="vkey('r')">R</div>
40 <div class="key" onclick="vkey('t')">T</div>
41 <div class="key" onclick="vkey('y')">Y</div>
42 <div class="key" onclick="vkey('u')">U</div>
43 <div class="key" onclick="vkey('i')">I</div>
44 <div class="key" onclick="vkey('o')">O</div>
45 <div class="key" onclick="vkey('p')">P</div>
46 <div class="key" onclick="vkey('[')">[</div>
47 <div class="key" onclick="vkey(']')">]</div>
48 <div class="key" onclick="vkey('\\')">\</div>
49 </div>
50 <div class="keyrow">
51 <div class="key" onclick="togglectrl()" id="ctrlkey">Ctrl</div>
52 <div class="key" onclick="vkey('a')">A</div>
53 <div class="key" onclick="vkey('s')">S</div>
54 <div class="key" onclick="vkey('d')">D</div>
55 <div class="key" onclick="vkey('f')">F</div>
56 <div class="key" onclick="vkey('g')">G</div>
57 <div class="key" onclick="vkey('h')">H</div>
58 <div class="key" onclick="vkey('j')">J</div>
59 <div class="key" onclick="vkey('k')">K</div>
60 <div class="key" onclick="vkey('l')">L</div>
61 <div class="key" onclick="vkey(';')">;</div>
62 <div class="key" onclick="vkey('\'')">'</div>
63 <div class="key" onclick="vkey('\n')" style="width: 4em">Ret</div>
64 </div>
65 <div class="keyrow">
66 <div class="key" onclick="toggleshift()" id="shiftkey">Shift</div>
67 <div class="key" onclick="vkey('z')">Z</div>
68 <div class="key" onclick="vkey('x')">X</div>
69 <div class="key" onclick="vkey('c')">C</div>
70 <div class="key" onclick="vkey('v')">V</div>
71 <div class="key" onclick="vkey('b')">B</div>
72 <div class="key" onclick="vkey('n')">N</div>
73 <div class="key" onclick="vkey('m')">M</div>
74 <div class="key" onclick="vkey(',')">,</div>
75 <div class="key" onclick="vkey('.')">.</div>
76 <div class="key" onclick="vkey('/')">/</div>
77 </div>
78 <div class="keyrow">
79 <div class="key" onclick="vkey(' ')" id="spacebar"></div>
80 </div>
81 <div class="rbutton" onclick="login()">Log in</div>
82 <div class="rbutton" onclick="stop()">Stop</div>
83 <div class="rbutton">Font:
84 <span onclick="textsize(false)">Smaller</span>
85 <span onclick="textsize(true)">Larger</span>
86 </div>
87 <div id="debug">
88 <p>Debugging Output</p>
89 </div>
90 </body>
91 </html>