Warning: Table './jdarx_drupal/sessions' is marked as crashed and should be repaired query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = 'aafaa27f09a6e8a5c161b32e501e300c' in /f2/jdarx/public/includes/database.mysql.inc on line 172

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /f2/jdarx/public/includes/database.mysql.inc:172) in /f2/jdarx/public/includes/bootstrap.inc on line 899

Warning: Cannot modify header information - headers already sent by (output started at /f2/jdarx/public/includes/database.mysql.inc:172) in /f2/jdarx/public/includes/bootstrap.inc on line 531

Warning: Cannot modify header information - headers already sent by (output started at /f2/jdarx/public/includes/database.mysql.inc:172) in /f2/jdarx/public/includes/bootstrap.inc on line 532

Warning: Cannot modify header information - headers already sent by (output started at /f2/jdarx/public/includes/database.mysql.inc:172) in /f2/jdarx/public/includes/bootstrap.inc on line 533

Warning: Cannot modify header information - headers already sent by (output started at /f2/jdarx/public/includes/database.mysql.inc:172) in /f2/jdarx/public/includes/bootstrap.inc on line 534
Improved keyboard input required for Ultimate Development Workstation | wayland's Computer Stuff

Improved keyboard input required for Ultimate Development Workstation

warning: Cannot modify header information - headers already sent by (output started at /f2/jdarx/public/includes/database.mysql.inc:172) in /f2/jdarx/public/includes/common.inc on line 141.

Explains what improvements need to be made to Linux keyboard input in order to achieve the Ultimate Development Workstation.

As my personal preference is for Linux, I take a brief aside to comment on what Linux needs to achieve the Ultimate Development Workstation.

Full Multiple keyboard support

As stated in Hardware for the Ultimate Development Workstation, multiple keyboards are needed to fully realise the goal. XWindows, the last time I checked, only supported multiple keyboards if they have different consoles, or the same keyboard mapping. But different keyboard mappings are necessary to achieve the ultimate development workstation (see the hardware article).

It looks like the Multi-pointer X Server will, as a side effect, allow keyboards the needed functionality. A private message stated:

Yeah, at the moment it's scheduled for X11R7.5. We'll see if we get there in time.

Naturally, I'm hoping that it will. I'd also like to see it in xorg.

Keyboard Macros

As programmers, it would be nice if we could assign keyboard event sequences to certain keys. We're not just talking about remapping the keyboard here, but about assigning sequences of characters to a keystroke. It would be even nicer if these could be assigned to vary depending on which type of window had focus.

This is necessary so that a single keystroke could produce the code:

 for() {
 }
This would naturally be attached to the second keyboard.

It seems that the only way to do this is with xmacro. There are three versions available.

  • Qball's xmacro. Last updated 2007. No information as to whether it incorporates the patches mentioned above.

The most useful discussion I found of the issue was at http://ubuntuforums.org/archive/index.php/t-299524.html .

It would be nice if xmacro was made into a single co-ordinated version on Sourceforge.

It would also be nice if macros were supported by the kernel so that they worked even outside XWindows. But xmacro is sufficient.

Summary

The ultimate development workstation could probably be pretty closely approximated without the keyboard macros, but not without the multiple keyboard support.