I want delete to right-delete

I want delete to right-delete

Post by Ben Stanle » Wed, 01 Dec 1999 04:00:00



Hi,

I've been trying to figure out how to get my delete key to do a right
delete, much like ^D does. At the moment, it does exactly the same as my
backspace key in xterm, gnome-terminal and in a few other apps including
Mathematica for Linux. Notably, it behaves correctly in Netscape.

I'm running RedHat 6.1 and XFree86 3.3.5, using GNOME as a desktop
environment.

I found a section in the xmodmap man page on how to reverse the meaning
of backspace and delete, but that is not my problem. Mathematica has a
dialog which shows the keysym for the key you are pressing, and the
backspace key correctly displays backspace, and delete correctly
displays delete. I suspect that if I could fix it in an xterm, then it
would work correctly in a few other things, too.

Does anyone else know about this kind of thing?

Ben Stanley.

 
 
 

I want delete to right-delete

Post by Ronn » Wed, 01 Dec 1999 04:00:00




> Hi,
> I've been trying to figure out how to get my delete key to do a
> right
> delete, much like ^D does. At the moment, it does exactly the same
> as my
> backspace key in xterm, gnome-terminal and in a few other apps
> including
> Mathematica for Linux. Notably, it behaves correctly in Netscape.
> I'm running RedHat 6.1 and XFree86 3.3.5, using GNOME as a desktop
> environment.
> Mathematica
> has a
> dialog which shows the keysym for the key you are pressing, and the
> backspace key correctly displays backspace, and delete correctly
> displays delete.
> I suspect that if I could fix it in an xterm,
> then it
> would work correctly in a few other things, too.

Not necessarily. To check what the key press actually emits (the key
code), use xev. Still, am application is basically free to do what it
wants with a key, and WRT xterm, this does depend on the shell you are
running. For instance, I use tcsh as a shell and to get the desired
behaviour, I have in my .tcshrc the command

   bindkey "^?" delete-char

This still would not do it for my Emacs, so I have in my .emacs the
command

   (define-key global-map '[delete] 'delete-char)

and so on.

Ronald

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

 
 
 

I want delete to right-delete

Post by Dr Vincent C Jones » Thu, 02 Dec 1999 04:00:00






>> Hi,
>> I've been trying to figure out how to get my delete key to do a
>> right
>> delete, much like ^D does. At the moment, it does exactly the same
>> as my
>> backspace key in xterm, gnome-terminal and in a few other apps
>> including
>> Mathematica for Linux. Notably, it behaves correctly in Netscape.
>> I'm running RedHat 6.1 and XFree86 3.3.5, using GNOME as a desktop
>> environment.
>> Mathematica
>> has a
>> dialog which shows the keysym for the key you are pressing, and the
>> backspace key correctly displays backspace, and delete correctly
>> displays delete.
>> I suspect that if I could fix it in an xterm,
>> then it
>> would work correctly in a few other things, too.

>Not necessarily. To check what the key press actually emits (the key
>code), use xev. Still, am application is basically free to do what it
>wants with a key, and WRT xterm, this does depend on the shell you are
>running. For instance, I use tcsh as a shell and to get the desired
>behaviour, I have in my .tcshrc the command

>   bindkey "^?" delete-char

>This still would not do it for my Emacs, so I have in my .emacs the
>command

>   (define-key global-map '[delete] 'delete-char)

>and so on.

>Ronald

>* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
>The fastest and easiest way to search and participate in Usenet - Free!

See the web page http://www.ibbnet.nl/~anne/keyboard.html

She's done a marvelous job of making sense of the backspace versus
delete stupidity in Unix/Linux.

--
Dr. Vincent C. Jones, PE              Expert advice and a helping hand
Computer Network Consultant           for those who want to manage and
Networking Unlimited, Inc.            control their networking destiny
14 Dogwood Lane, Tenafly, NJ
http://www.networkingunlimited.com

 
 
 

1. 'delete' command in ftp delete files in local hard disk ???

I write a batch file in Windows to download some files from an
UltraSPARC running Solaris in a LAN. The files will be deleted after
it was retrieved. Currently, I generate a ftp script file in the batch
file and pass it to ftp with 'ftp -ivn < myfile.ftp' in Windows.

The ftp script generated will be something like this:

open <ip_address>
user <username> <pass>
cd <source_path>
lcd <dest_path>
get myfile1
delete myfile1
get myfile2
delete myfile2
...
..
bye

Note that It is possible that the files are not available in the
UltraSPARC and it seems there is a bug in the ftp 'delete' command
(maybe in Windows environment).

The 'delete' command is supposed to delete the file in the REMOTE
environment, however, if the file does not exist in the UltraSPARC,
the 'delete' command will delete the file store in my LOCAL HARD DISK.

Is there anyway to prevent the 'delete' command to delete the files in
my local hard disk when it doesn't exist in thre UltraSPARC ?

\/\/yatt \/\/ong Home Page - http://www.asiaonline.net.hk/~tfwong/
Winona Ryder Forever H. P. - http://www.asiaonline.net.hk/~tfwong/winona/

Send a message with subject GET PGP KEY to get my PGP public key

2. Help with RH 7.1 and routing please

3. Tricky bug in program caused by delete/delete [] - help

4. use of the priocntl and dispadmin

5. Remapping Keys (want delete key to delete etc!)

6. nanosleep() for C

7. How to make Delete key delete forward?

8. Strange bootup problem with Mandrak 7.1 (maybe UDMA related)

9. getting Delete key to DELETE on RS6000

10. How to (setq delete-key-deletes-forward t) in syscons?

11. how can my delete key delete?

12. How Do I Get Delete Key to delete?

13. issue: deleting one IP alias deletes all