*BSD News Article 49791


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!newsfeed.internetmci.com!news.msfc.nasa.gov!elroy.jpl.nasa.gov!lll-winken.llnl.gov!noc.near.net!public.x.org!kaleb
From: kaleb@x.org (Kaleb KEITHLEY)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.0.5R, X11R6 / xterms pop up menues not working and ...
Date: 24 Aug 95 21:55:09 GMT
Organization: X Consortium Inc.
Lines: 105
Message-ID: <kaleb.809301309@exalt>
References: <41a9oo$4a3@wup-gate.wup.de>
NNTP-Posting-Host: exalt.x.org
X-Newsreader: NN version 6.5.0 #5

andreas@wup.de (Andreas Klemm) writes:

>The following problems under X11.

>b) If I startup xman, then I get the pulldown menues as usual,
>   but I can't make a selection... i.e. If I release the 
>   mouse button at 'search' nothing else happens.

This was fixed in fix-12 and/or XFree86 3.1.2. In the mean time
turn off your Num_Lock.

>c) If I run an xterm session (no matter which window manager,
>   owwm, piewm, fvwm, twm), then I don't get a font selection
>   box (pressing CTRL+right_mouse).

I've appended a patch for this at the end of this article. In the
mean time turning off your Num_Lock will solve this too.

>Or could someone give me the ftp address for the XFree86 3.1.2
>diffs, then I could compile the new version myself ...

Is something wrong with ftp.xfree86.org?

--

Kaleb KEITHLEY


*** charproc.c	Wed Apr  5 19:59:00 1995
--- programs/xterm/charproc.c	Thu Aug 24 17:06:01 1995
***************
*** 1,5 ****
  /*
!  * $XConsortium: charproc.c,v 1.183 95/04/05 19:59:00 kaleb Exp $
   */
  
  /*
--- 1,5 ----
  /*
!  * $XConsortium: charproc.c /main/185 1995/08/24 17:05:11 kaleb $
   */
  
  /*
***************
*** 276,301 ****
   */
  static char defaultTranslations[] =
  "\
!  Shift <KeyPress> Prior:scroll-back(1,halfpage) \n\
!   Shift <KeyPress> Next:scroll-forw(1,halfpage) \n\
! Shift <KeyPress> Select:select-cursor-start() select-cursor-end(PRIMARY, CUT_BUFFER0) \n\
! Shift <KeyPress> Insert:insert-selection(PRIMARY, CUT_BUFFER0) \n\
!        ~Meta <KeyPress>:insert-seven-bit() \n\
!         Meta <KeyPress>:insert-eight-bit() \n\
!        !Ctrl <Btn1Down>:popup-menu(mainMenu) \n\
!   !Lock Ctrl <Btn1Down>:popup-menu(mainMenu) \n\
!        ~Meta <Btn1Down>:select-start() \n\
!      ~Meta <Btn1Motion>:select-extend() \n\
!        !Ctrl <Btn2Down>:popup-menu(vtMenu) \n\
!   !Lock Ctrl <Btn2Down>:popup-menu(vtMenu) \n\
!  ~Ctrl ~Meta <Btn2Down>:ignore() \n\
!    ~Ctrl ~Meta <Btn2Up>:insert-selection(PRIMARY, CUT_BUFFER0) \n\
!        !Ctrl <Btn3Down>:popup-menu(fontMenu) \n\
!   !Lock Ctrl <Btn3Down>:popup-menu(fontMenu) \n\
!  ~Ctrl ~Meta <Btn3Down>:start-extend() \n\
!      ~Meta <Btn3Motion>:select-extend()	\n\
!                 <BtnUp>:select-end(PRIMARY, CUT_BUFFER0) \n\
! 	      <BtnDown>:bell(0) \
  ";
  
  static XtActionsRec actionsList[] = { 
--- 276,307 ----
   */
  static char defaultTranslations[] =
  "\
!           Shift <KeyPress> Prior:scroll-back(1,halfpage) \n\
!            Shift <KeyPress> Next:scroll-forw(1,halfpage) \n\
!          Shift <KeyPress> Select:select-cursor-start() select-cursor-end(PRIMARY , CUT_BUFFER0) \n\
!          Shift <KeyPress> Insert:insert-selection(PRIMARY, CUT_BUFFER0) \n\
!                 ~Meta <KeyPress>:insert-seven-bit() \n\
!                  Meta <KeyPress>:insert-eight-bit() \n\
!                 !Ctrl <Btn1Down>:popup-menu(mainMenu) \n\
!            !Lock Ctrl <Btn1Down>:popup-menu(mainMenu) \n\
!  !Lock Ctrl @Num_Lock <Btn1Down>:popup-menu(mainMenu) \n\
!      ! @Num_Lock Ctrl <Btn1Down>:popup-menu(mainMenu) \n\
!                 ~Meta <Btn1Down>:select-start() \n\
!               ~Meta <Btn1Motion>:select-extend() \n\
!                 !Ctrl <Btn2Down>:popup-menu(vtMenu) \n\
!            !Lock Ctrl <Btn2Down>:popup-menu(vtMenu) \n\
!  !Lock Ctrl @Num_Lock <Btn2Down>:popup-menu(vtMenu) \n\
!      ! @Num_Lock Ctrl <Btn2Down>:popup-menu(vtMenu) \n\
!           ~Ctrl ~Meta <Btn2Down>:ignore() \n\
!             ~Ctrl ~Meta <Btn2Up>:insert-selection(PRIMARY, CUT_BUFFER0) \n\
!                 !Ctrl <Btn3Down>:popup-menu(fontMenu) \n\
!            !Lock Ctrl <Btn3Down>:popup-menu(fontMenu) \n\
!  !Lock Ctrl @Num_Lock <Btn3Down>:popup-menu(fontMenu) \n\
!      ! @Num_Lock Ctrl <Btn3Down>:popup-menu(fontMenu) \n\
!           ~Ctrl ~Meta <Btn3Down>:start-extend() \n\
!               ~Meta <Btn3Motion>:select-extend()      \n\
!                          <BtnUp>:select-end(PRIMARY, CUT_BUFFER0) \n\
!                        <BtnDown>:bell(0) \
  ";
  
  static XtActionsRec actionsList[] = {