LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-10-2009, 03:46 AM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
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?
 
Old 07-11-2009, 01:31 PM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
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.
 
Old 07-11-2009, 02:11 PM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Slackware doesn't have dash, not in the shell sense, anyway.
 
Old 07-11-2009, 02:51 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by stabu View Post
- 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Special keys on keyboard? jmite Linux - Hardware 1 08-08-2008 06:42 PM
SRGP use special keys lito_117 Programming 0 11-13-2007 09:46 AM
Xterms, keyboard, Home/End/Backspace keys, readline, termcap Worksman Slackware 2 08-21-2006 06:35 AM
special keys of laptop alinsoar Linux - Laptop and Netbook 2 11-01-2005 02:40 PM
Special Keys raven Linux - Laptop and Netbook 0 10-16-2003 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration