LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   special keys and readline on my Slack v.11 (https://www.linuxquestions.org/questions/slackware-14/special-keys-and-readline-on-my-slack-v-11-a-739115/)

stabu 07-10-2009 03:46 AM

special keys and readline on my Slack v.11
 
Hi,

I back to using an old laptop which had Slack v10.1 and v 11.0 on it.

So, in my bash terminal (x or rterm) ctrl-A doesn't work. The special keys seem to be messed up. Both in and out of X11. But, you know, I experienced .. I should have no problem working out why.

A few days later and I haven solved it. What did I try?
- Identified /etc/inputrc as an essential config file. Tried to source it in .bashrc. Won't source properly.
- grepped all files in rc.d to see if inputrc is commented out.
- in my v10.1 it _does_ work. Tried comparing and diffing ... but this turned out to be way too time consuming.

So I've been thinking hard, using my troubleshooting abilities. No progress.

Maybe somebody else has corrected this problem before?

Robhogg 07-11-2009 01:31 PM

What shell are you using (i.e. are you actually still using bash)? This happens if I end up using some other shells:

Code:

rob:~$ /bin/sh
$ ps -fp $(echo $$)
UID        PID  PPID  C STIME TTY          TIME CMD
rob      12410 12264  0 19:26 pts/0    00:00:00 /bin/sh
$ file /bin/sh
/bin/sh: symbolic link to `dash'
$ ehco Hello, World^A^[[D^[[1;5D # attempt to go back to correct typo
                                # fails - special keys not working.


brianL 07-11-2009 02:11 PM

Slackware doesn't have dash, not in the shell sense, anyway. :)

dive 07-11-2009 02:51 PM

Quote:

Originally Posted by stabu (Post 3603062)
- Identified /etc/inputrc as an essential config file. Tried to source it in .bashrc. Won't source properly.

Make an ~/.inputrc and put your key config in there. You don't need to source it, it will be automatically read by bash.


All times are GMT -5. The time now is 06:03 PM.