View previous topic :: View next topic |
Author |
Message |
eaZy n00b
Joined: 19 Aug 2004 Posts: 16 Location: Sydney
|
Posted: Wed Oct 06, 2004 1:18 pm Post subject: Aterm problem |
|
|
Hi,
Just wondering how do I tweak aterm such that the functions associated with "home", "end","delete" keys work within aterm?
Right now whenever I use those keys i get the "~" displayed which can be annoying at times.
Thanks for the help in Advance!
Eric |
|
Back to top |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Thu Oct 07, 2004 2:08 am Post subject: |
|
|
Not too sure what you mean. Would xbindkeys help? Or do you just want to remap the the character it echoes with xmodmap? _________________ The free market gave me gonorrhea. |
|
Back to top |
|
|
eaZy n00b
Joined: 19 Aug 2004 Posts: 16 Location: Sydney
|
Posted: Sun Oct 10, 2004 5:18 am Post subject: |
|
|
Hi papal_authority,
Thanks for the reply, what I mean is say I have typed "abc" into my aterm, so on the prompt it will have something like:
eric@el ~$abc
but if I then press the DELETE key on the same line, instead of seeing:
eric@el ~$ab
I get:
eric@el ~$abc~
Hmm how do I use Xbindkeys and what is it for..? sorry im kinda new to linux..
Cheers
Eric |
|
Back to top |
|
|
CompNerd Retired Dev
Joined: 16 Mar 2003 Posts: 311 Location: 127.0.0.1
|
Posted: Sun Oct 10, 2004 6:49 am Post subject: |
|
|
One thing you can do is bind the key in the appropriate .rc file for your shell. For example in zsh (.zshrc) it is:
bindkey "\e0H" beginning-of-line
You should be able to man the shell to get the information needed to bind the key.
CompNerd |
|
Back to top |
|
|
bos_mindwarp Apprentice
Joined: 19 Oct 2002 Posts: 275 Location: stockholm, sweden
|
Posted: Sun Oct 10, 2004 11:33 am Post subject: |
|
|
use Eterm |
|
Back to top |
|
|
Xk2c Apprentice
Joined: 17 Jul 2004 Posts: 240
|
Posted: Mon Oct 11, 2004 2:09 am Post subject: |
|
|
I saw some peoples having those problems on the forums.
Try this in .bashrc or equivalent file:
Code: | # make keys working correctly
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]
then
export INPUTRC="/etc/inputrc"
fi |
This solved it for the others _________________ useful Xterm, Aterm and RXVT-Unicode features |
|
Back to top |
|
|
|