[comp.windows.x] Starting up twm & source of twm

ramakris@bloss.cs.vt.edu (S.Ramakrishnan) (07/30/90)

 I am sorry if this question is covered under the "most commonly asked questions list" put up
periodically. 

 We are running X11R3 on a Interactive i386 X Server (with Hercules monitor).  start up X with xinit as
follows :
   
   $ xinit xterm -T "Console" -geom 60x24+0+0 -e .x11start

 The startup file .x11start starts up twm  and creates another xterm.
 
I am having the following problems running Tom's Window Manager :

 1.  When twm takes over, the console window is titled but it freezes the keyboard input. No input is 
    accepted from the window (the cursor is well above the bottom of the window and visible).
    I can only perform mouse operations. Has anyone seen this happen before ? (Incid., the .twmrc file
    runs fine on A/UX machine ).

 2. Further, if I remove the twm invocation from the .x11start file, the xinit command immediately
    terminates "normally". What could be thereason for this ?

 I have the option of using uwm or awm instead of twm. But anyone who knows these two wm's will agree
that twm gives the display a far better appearance.

  Can someone tell me where I can get the source of twm ver. 5.0 ? Is this available at all ?


   Pl reply. Thanx in advance.

  --  Rk.      
--

 -- S.Ramakrishnan, CS Dept, McBryde Hall, VaTech, Blacksburg, Virg. 24061-0106
   (email : ramakris@bloss.cs.vt.edu, ramakris@vtcc1.cc.vt.edu)

barmar@think.com (Barry Margolin) (07/31/90)

In article <524@creatures.cs.vt.edu> ramakris@bloss.cs.vt.edu (S.Ramakrishnan) writes:
> We are running X11R3 on a Interactive i386 X Server (with Hercules monitor).  start up X with xinit as
>follows :
> 1.  When twm takes over, the console window is titled but it freezes the keyboard input. No input is 
>    accepted from the window (the cursor is well above the bottom of the window and visible).
>    I can only perform mouse operations. Has anyone seen this happen before ? (Incid., the .twmrc file
>    runs fine on A/UX machine ).

There's a bug in the X11R3 TWM.  If the .twmrc assigns functions to keys
that don't exist on the current console then it gobbles up *all* keyboard
input.  If you're using the same .twmrc on the Mac and 386 systems then the
problem may be that you're assigning operations to Macintosh function keys
that don't exist on the 386 keyboard.  Edit the .twmrc on the 386 to get
rid of these key bindings.

>  Can someone tell me where I can get the source of twm ver. 5.0 ? Is this available at all ?

I don't know the version number, but I believe the version of TWM that
comes with X11R4 doesn't have this bug.  It's available from
EXPO.LCS.MIT.EDU.

--
Barry Margolin, Thinking Machines Corp.

barmar@think.com
{uunet,harvard}!think!barmar