Re: getting 'Delete' to forward-delete
Re: getting 'Delete' to forward-delete
- Subject: Re: getting 'Delete' to forward-delete
- From: email@hidden (Dushan Mitrovich)
- Date: Thu, 03 Apr 2008 11:09:18 -0700
Harald Hanche-Olsen <email@hidden> wrote:
>+ email@hidden (Dushan Mitrovich):
>
>> In my regular Mac OS X Terminal I've managed to get the 'Delete' key
>> to perform a forward delete. But in xterm that doesn't work. I
>> couldn't find anywhere in Preferences to modify this,
>
> In .Xmodmap in your home directory:
>
> keysym BackSpace = Delete
My config seems to be a bit different. Neither '.Xmodmap' nor
'.Xresources' exist anywhere on my system as hidden files. But they do
as regular files:
Xmodmap: in /usr/X11R6/bin
Xresources: in /etc/X11/xdm
Does this make any difference?
When I use either Terminal or X11's xterm, go to the /usr/X11R6/bin
directory and type:
./xmodmap -e "keysym BackSpace = Delete"
I get
xmodmap: unable to open display ''
If I set the display to X11 and repeat the command, I get:
export DISPLAY='x11'
./xmodmap -e "keysym BackSpace = Delete"
xmodmap: unable to open display 'x11'
>> nor to be able to specify the font type and size.
>
> In .Xresources in your home directory:
>
> XTerm.vt100.faceName: Bitstream Vera Sans Mono
> XTerm.vt100.faceSize: 9
>
> change to suit your needs. These are my values; perhaps you don't even
> have that font.
I added these (using Monaco 12 pt) near the bottom of the file after all
the 'xlogin' lines, saved it, then tried to start X11. I got the X11 menu
at the top of the screen, but no xterm window. Nor could I get such a
window by invoking either Cmd-N under X11's Applications, nor invoking
gnuplot which usually opens an xterm window along with its own. I'll try
a logout/login and see if that helps.
>> How does one do this?
>
> It is not very Mac-like, as you can see. Very geeky indeed.
> You need to restart X11 after these changes.
Thanks for your suggestions. Any further ones you can make would be
appreciated.
- Dushan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden