Opened 17 years ago
Closed 17 years ago
#1540 closed bug (fixed)
Home/End keys do not work in shell
Reported by: | hauser | Owned by: | jackburton |
---|---|---|---|
Priority: | normal | Milestone: | R1/alpha1 |
Component: | Applications/Terminal | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
Home and End keys are very useful in shell
Attachments (1)
Change History (10)
comment:1 by , 17 years ago
Type: | bug → enhancement |
---|
comment:2 by , 17 years ago
Component: | - User Interface → - Applications/Terminal |
---|---|
Milestone: | R1 → R1/alpha |
Owner: | changed from | to
Type: | enhancement → bug |
comment:3 by , 17 years ago
comment:4 by , 17 years ago
That's also in my .inputrc under BeOS. Together with:
DEL: delete-char Control-f kill-word
I suppose we should just add an inputrc to the image. Unless someone has a better idea, of course.
comment:5 by , 17 years ago
Well, I think the preferred solution would be to have those in the defaults; preferrably hard-coded, but a settings file would do, too.
comment:8 by , 17 years ago
Replying to axeld:
Stefano, would you mind if I look into it?
Please do. But IMHO it would be better if we didn't touch bash code, and just put add an inputrc file to the image.
comment:9 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in hrev22488. Having an inputrc file would benefit other apps, too, but good defaults make even more sense to me (I wouldn't mind having both, though).
Looks like TermView forwards those key to bash, so it's bash which doesnt' handle them. A very quick search on the internet resulted in this:
in /etc/inputrc: # allow the use of the Home/End keys # "\e[1~": beginning-of-line # "\e[4~": end-of-line Uncomment the two lines and all is well.