The "ws_read_indev error length %d" error

david at eng.sun.com david at eng.sun.com
Thu Mar 8 05:00:29 AEST 1990


In article <5541 at brazos.Rice.edu> a.worsley at ditmela.cng.dit.CSIRO.au
(Andrew Worsley) writes:
>X-Sun-Spots-Digest: Volume 9, Issue 72, message 9
>
>Recently some one added the following to his .login and caused a week and
>a half of mystery and frustration (you need X11R[34]:
>
>alias   xinit xinit; kbd_mode -a

If you run X from a SunView window instead of the console, you need to do
a kbd_mode -e instead of kbd_mode -a.

You should probably set up a shell script something like this...

#! /bin/sh
xinit
case "$WINDOW_PARENT" in
"") kbd_mode -a ;;
*) kbd_mode -e ;;
esac

This is still not foolproof, but it's an improvement.

David DiGiacomo, Sun Microsystems, Mt. View, CA  sun!david david at eng.sun.com



More information about the Comp.sys.sun mailing list