I've tried several times to use xmodmap to fix this problem, but
have never suceeded.
Anybody have any suggestions?
___________________________________________________________________
Chris Peel Voice: 801-755-4153
Space Dynamics Laboratory FAX: 801-755-4458
Utah State University, UMC 9710
1747 North Research Parkway Internet Address
Logan, UT 84321 pe...@bullet.cal.sdl.usu.edu
___________________________________________________________________
In your .Xdefaults file add the following line:
OpenWindows.KeyboardCommand.EraseCharForward: Delete,Delete+Shift
I can't imagine why this isn't default behavior.
---
-- Matt C. Elkins |Religion and sex are power plays...manipulate the
|people for the money they pay...selling skin,
ma...@gold.gvg.tek.com |selling God...the numbers look the same on their
|credit cards. -Queensryche:Spreading the Disease
>In your .Xdefaults file add the following line:
>OpenWindows.KeyboardCommand.EraseCharForward: Delete,Delete+Shift
>I can't imagine why this isn't default behavior.
Because unix came before PCs and we don't need no stinking PC
defaults near our machines (like in Motif, yuck).
Casper
I like the idea that Control-U, Control-W and Delete can be modified
by the Shift- key to change the direction. This gives you *6*
different delete functions, instead of 2 or 3. The Shift makes it
easier to remember.
--
Bruce Barnett <bar...@crd.ge.com> uunet!crdras!barnett
>Because unix came before PCs and we don't need no stinking PC
>defaults near our machines (like in Motif, yuck).
Gosh, you're absolutely right, having two keys right next to each other that do
exactly the same thing is a much more sensible default than some silly old
(ick) PC convention.
Delete and Backspace keys seem to jump around between different manufacturer's
keyboards (even between version of one manufacturer). So I for one am quite
happy to have the two keys do the same thing.
---
"How am I typing? Call 1-818-354-7782" ja...@robotics.jpl.nasa.gov
Jack Morrison/Jet Propulsion Lab/MS107-102 4800 Oak Grove Dr, Pasadena CA 91109
: In your .Xdefaults file add the following line:
: OpenWindows.KeyboardCommand.EraseCharForward: Delete,Delete+Shift
: I can't imagine why this isn't default behavior.
This will only "fix" the OpenWin desktop apps (mailtool, textedit, etc).
Other programs may or may not have their own key mapping capabilities.
This is probably why the "fix" is not the default - the current default
maintains brain-dead compatibility with software that doesn't take
advantage of workstation keyboards (or even contemporary terminal
keyboards).
I use tcsh (a csh superset) for my shell to remap keys when I'm using
the command line. I have key maps set up to map delete, home, and end
to be more PC-like. By default, tcsh gives you command editting similar
to DOSKEY (up/down arrow).
I also like the Workstation over the PC in every way other than the
keyboard. I didin't remap this way to be more PC compatible, it's
just seems a lot more efficient. On the PC, I wrote a suite of BAT
files to replace DOS commands with Unix names (ls, rm, mv, cat, etc).
--
-------------------------------------------------
Paul von Behren Paul_vo...@stortek.com
Never happen. On Unix command lines, delete acts like backspace. What
various other pieces of software do is up to them.
--
e-mail: br...@wi.extrel.com or ftms!brown%astroa...@cs.wisc.edu
phone: (608) 273-8262 fax: (608) 273-8719 voice-mail: (800) 426-6488 ext 8293
System Administrator - Extrel FTMS - Madison WI. [An era has come to an end.]
[The need for igniting the midnight petroleum has come to a close as well.]
If it's the command line you're trying to fix try 'man stty' or put the
following in your .login:
stty erase ^H (Note: type ^H by pressing ctrl-V and then ctrl-H)
This IS the default first thing to fix when you setup a .login.
Roger Marquis