Opened 12 years ago

Closed 11 years ago

#1495 closed enhancement (fixed)

Delete key and Backspace do the same thing in Terminal

Reported by: scottmc Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Not sure if this one matters to anyone, but when typing in the terminal and then trying to use the delete key to delete stuff AFTER the current cursor locations it instead asks like the backspace key and deletes the characters before the current cursor location. This is how it is in BeOS as well. Not sure why we need both keys doing the same thing. Is there a mystery key somewhere which does what I'd expect the delete key to do as it does in most other programs including StyledEdit? I'm guessing this is how bash in general works and it's not going to be fixed, so I'm marking it as enhancement for now.

Change History (4)

comment:1 Changed 11 years ago by jackburton

Since hrev22553 we have an inputrc file which tells bash to treat delete and backspace differently, but still delete behaves just like backspace. I guess this could be a bash issue, related to the old version we're still using.

comment:2 Changed 11 years ago by axeld

BTW moving that file to ~/.inputrc makes it work correctly.

comment:3 Changed 11 years ago by axeld

Owner: changed from jackburton to axeld
Status: newassigned

comment:4 Changed 11 years ago by axeld

Component: - Applications/Terminal- Applications/Command Line Tools
Resolution: fixed
Status: assignedclosed

Fixed in hrev23783. We no longer ignore "/etc/inputrc", and we also have the correct function of the delete key in case that one is missing.

Note: See TracTickets for help on using tickets.