I just sent this as a bugreport to xfree folks... I prolly should've
asked here first but well... I'm half asleep. Am I doing something
worng here?

cat wrote the following:
> 
> Hi. I've been trying to get my bs key to send out a ^H under X. I have it
> all working nicely under console but X seems to be different. :) I read
> that you needed xmodmap to do this with so I set up my .Xmodmap file
> by running
> 
> xmodmap -pke >>~/.Xmodmap
> 
> I then checked it and found the following entries:
> 
> .
> .
> .
> keycode  22 = BackSpace Delete
> .
> .
> .
> keycode 107 = Delete
> .
> .
> .
> 
> Which seem to want to do what I want. I then ran:
> 
> xmodmap ~/.Xmodmap
> 
> and nothing happened. my BS key still sent out ^?.
> 
> So I exited X and restarted it and still thesame. My .xinitrc is
> basically a standard one:
> 
> # Lets give things a decent $PATH
> 
> . /etc/shpath
> 
> cd
> 
> userresources=$HOME/.Xresources
> usermodmap=$HOME/.Xmodmap
> sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
> sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
> 
> # merge in defaults and keymaps
> 
> if [ -f $sysresources ]; then
>     xrdb -merge $sysresources
> fi
> 
> if [ -f $sysmodmap ]; then
>     xmodmap $sysmodmap
> fi
> 
> if [ -f $userresources ]; then
>     xrdb -merge $userresources
> fi
> 
> if [ -f $usermodmap ]; then
>     xmodmap $usermodmap
> fi
> 
> # start some nice programs
> 
> twm &
> xclock -geometry 100x100-1+1 &
> xterm -ls -geometry 160x64+0+0 +vb &
> xv -root -quit gfx/lagoon_big.jpg
> exec rt -g 200x77+30+30 -color white /var/log/messages
> 
> and the permissions on the files seem correct:
> 
> 1001.damien@kinder:/home/damien>> ll `which xmodmap`
>   29 -rwxr-x---   1 28120 Mar 16 19:43 /usr/X11R6/bin/xmodmap
> 1003.damien@kinder:/home/damien>> ll .Xmodmap
>    3 -rw-------   1 2566 Apr  8 16:12 .Xmodmap
> 
> 
> Also, when I tried:
> 
> xmodmap "-e keycode  22 = BackSpace Delete"
> 
> either in an xterm or the .xinitrc it still wouldn't work.
> 
> Help? :/
> 
> System:
> 
> Linux 2.2.5
> glibc 2.1
> XFree 3.3.3.1 (compiled with -O3 -fomit-frame-pointer -march=pentiumpro)
> egcs 1.1.2


-- 
CaT ([EMAIL PROTECTED])                       URL: http://www.zip.com.au/dev/null

   An electricity provider of New Hampshire, US has advised it's customers
   that in the event of a power failure they can log on to its website for
   more information...   - Paraphrased from the New Scientist, Feb 6, 1999

Reply via email to