This is KEYMACS, a replacement for the Agenda VR3 keyboard application.

It should also compile and run without problems in any machine running X windows and with FlTk libraries.

Last release: 1.01

Enhancements to the original keyboard application

Version 1.00 binaries:

Due to a bug in the Agenda window manager: vrwm, changing the size of the layouts results in the new keymacs window being wrongly placed. The problem can be circumvented by adding a 0.5 seconds delay when changing layouts. If you can use the patched vrwm, switching layouts is much faster using the binaries without the delay.

Also precompiled binaries are provided with or without support for the HWR engines.

HWR engine With delay Normal
None binary binary
Only merlin binary binary
Only scribble binary binary
Both binary binary

Data files:

(scribble strokes should be included in your rootdisk).

Installation instructions:

(without reflashing the rootdisk) If you want to use the patched vrwm without reflashing the romdisk, it is more difficult. The vrsm binary has hard coded the location /usr/bin/vrwm. However, if the window manager is already running, vrsm issues a warning and all runs well. You could copy the vrwm binary to /usr/local/bin/vrwm, and execute as root this script:
#! /bin/sh
killall X
export DISPLAY=:0
/usr/X11R6/bin/X &
/usr/local/bin/vrwm &
sleep 1
cd /home/default
exec su default -c /etc/X11/vrdm/sessions/Normal &
    

Note that if you execute this script from the agenda, the first command kills the X server, together with all the X clients, including possibly the terminal where the script is running and the script itself, leaving the agenda unusable until reboot. To avoid this problem remember to use "nohup <script>".

Source files:

These are the source files for keymacs V 1.00. And here is the little patch to vrwm.

Usage

Writing new layouts:

The layout files are written in xml language and should be easy to understand. This is, for example the config layout distributed with keymacs 1.00:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<vr_keyboard w="160" h="55">
<layer x="0" y="0" uw="20" uh="14">\
<key value="label" svalue="Layouts:" w="190" />
<key value="layout" svalue="fullqwerty" w="210" />
<br />
<key value="alpha" />
<key value="numeric" />
<key value="international" />
<key value="writepad" />
<br />
<key value="layout" name="minhwr" w="155" />
<key value="layout" svalue="lscfg" w="115" />
<key value="layout" name="merlin" w="133" />
<br />
<key value="done" w="130" />
<key value="layout" name="mv" w="80" />
<key value="layout" name="remctl" w="190" />
<br />
</layer>
<layer x="80" y="0" uw="20" uh="14">
<key value="label" name="Launch:" w="170"/>
<key value="exec" name="Term" file="/usr/X11R6/bin/rxvt" w="115"/>
<key value="exec" name="LPad" file="/usr/bin/launchpad" w="115"/>
<br />
<key value="label" name="Macros:" w="200" />
<key value="macro" name="1" index="1" w="50"/>
<key value="macro" name="2" index="2" w="50"/>
<key value="macro" name="3" index="3" w="50"/>
<key value="macro" name="4" index="4" w="50"/>
<br />
<key value="macro" name="cut" index="20" w="80">
 <keysym value="XK_x" control="1" alt="0" />
</key>
<key value="macro" name="paste" index="21" w="120">
 <keysym value="XK_v" control="1" />
</key>
<key value="macro" name="exit" index="22">
 <string value="exit" />
 <keysym value="XK_Return"/>
</key>
<key value="record" />
<br />
<key value="exec" name="date" command="date +'%a, %d %b %Y'" />
<key value="exec" name="time" command="date +%T" />
<key value="layout" name="About" w="200" />
<br />
</layer>
</vr_keyboard>
    

The set of layouts provided with keymacs 1.00 include:

And these ones for the agenda in landscape mode:


Version 1.01:

Changes

Binaries

HWR engine With delay Normal
None binary binary
Only merlin binary binary
Only scribble binary binary
Both binary binary

Data files:

Source files:

keymacs-1.01.tar.gz
Back to my agenda page.
Visits since 2002-01-20: ...4046.