Jörg Schulenburg
Why? - want to edit files with closed eyes or in complete darkness? blind? - riding bicycle (in a fitness room) and type text using morse key? - practice morse code by writing documents? - control your full automated home by just a few keys? - control your wearable computer or a real mini computer? - throw away a computer with partial defect keyboard? - your neighbour isn't happy about your speech recognition system?
gunzip -c cw_key.tgz | tar -xf -
enter directory and start compilation:cd cw_key
make
cw_key -3 -s
Startwith simple commands, like ls; cat >file.txt; mail friend@localhost; date; wget http://host/. There is still lot of work, to make the program useful for more complicated programs like pico, joe or lynx.- switch off key-repeat (How to do that?) - expand morse code to full ASCII/UTF8 capability (ESC-sequenzes?) - start bash and pipe morse_input to it (fully PC control by CW) pipe+fork+execl("bash",NULL) .OR. popen("bash 2>cw","w") ??? - output text to file - use DTR/CTS from serial port as In/Output (also 2..3 keys) how to deal with RS232 status wires using linux? need a kernel module? - use soundcard output or echo 07 (up to 3 times) - use IR as input with a RemoteTV (is that possible?) - make ----, ---., .-.-, ..-- redefinable via ESC sequences - small-code speech output of typed chars - show last error or errlog - F1 to switch on/off the help-screen (read, train-mode, etc.) - F2 switch on/off sound, reconfigure keys etc. - use /dev/beep? - use only keys '123' as input keys and bypass the rest? - use speaker-sound-module - write morse input (via RS232 ctrl-wires) module - cw-output module /dev/cw
Changelog: v0.2 - using mouse buttons v0.1 - initial version
free for use, comments are welcome if you leave in raw-mode, press 2+F12+' (german-kbd) or 2+F12+= (us-kbd) for ^CXgood idea is: alias X="kbd_mode -a" see also the cw- and cwcp-program raw-mode and speaker sound only works on linux console coding: F => ..-. => s0010 => 10010 => 0x12 => 18 CW is the abbreviation for "Continuous Wave" or "Morse Code" The origin morse code was developed by Samuel F. B. Morse. The code was the earliest form of communication via radio and telegraph. About this document
A good viewer to read this document is lynx, links or w3m.
jschulen-at-gmx.de