LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-05-2017, 10:31 PM   #1
Zaxxon
LQ Newbie
 
Registered: Aug 2017
Posts: 12

Rep: Reputation: Disabled
Question Autocomplete keys cause logout


I have been using Slackware since the '90s, and have been mostly only using clean installations when new versions come out.

Recently, I did a new installation of Slackware v14.2, and in reading about I discovered "slackpkg" which is an excellent idea, which I wish I knew of sooner.

However, after trying to do the update to current by using:
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
and somewhere around "upgrade-all", I lost all of "/bin, so I used the original DVD to reinstall Slackware 14.2, without formatting to save my data (which worked).

And now, whenever I press any auto-complete key, such as <Tab>, <Ctrl-D>, or <Esc>, I am logged out. Which is something that had not happened before. The previous behavior was either auto-complete the file name or command, or nothing. Sometimes I would get the auto-complete as before, but mostly I just get logged off.

Was thing changed within the shells of Slackware 14.2?
I have tried with both tcsh (old-school) and bash, the same thing in both shells.

Is there a setting I can change to get the previous behavior back?
Is there something I can do to prevent log out from anything but "logout" and "exit" command?

Any and all help is appreciated?

I hadn't recognized how dependent I was on autocomplete until I couldn't
 
Old 08-05-2017, 11:20 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Did you uninstall the leftovers from -current?

EDIT: You might have to run
Code:
slackpkg new-config
as well to ensure the configuration files from 14.2 are used instead of whatever -current had.

Last edited by Richard Cranium; 08-05-2017 at 11:22 PM.
 
1 members found this post helpful.
Old 08-05-2017, 11:31 PM   #3
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
More easy , download "current" ,iso ..and install.

http://bear.alienbase.nl/mirrors/slackware/
 
Old 08-06-2017, 12:10 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You shouldn't upgrade to -current without reading and following the text in UPGRADE.TXT and CHANGES_AND_HINTS.TXT on that mirror. But as USUARIONUEVO mentioned, it would be easier to download a -current iso and use that to install.

After reinstalling the 14.2 stuff, you should run slackpkg clean-system and have it remove all the extra programs that were added to -current (which is what Richard was alluding to) and then run slackpkg new-config to make sure you are running the correct conf files.
 
1 members found this post helpful.
Old 08-06-2017, 01:47 PM   #5
Zaxxon
LQ Newbie
 
Registered: Aug 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Lightbulb

Quote:
Originally Posted by Richard Cranium View Post
Did you uninstall the leftovers from -current?
I had hoped that slackpkg clean-system would have handled that. But that was an assumption on my part.

Quote:
EDIT: You might have to run slackpkg new-config as well to ensure the configuration files from 14.2 are used instead of whatever -current had.
Good idea.

Quote:
Originally Posted by USUARIONUEVO View Post
More easy , download "current" ,iso ..and install.
http://bear.alienbase.nl/mirrors/slackware/
Wasn't aware that was available, thanks.

All of my attempt to use the "-current" stems from the idea that the 14.2 base "fdisk" command does not seem to support my "My Book Duo 4Gb" external hard drive, which I use for backups.

Quote:
Originally Posted by bassmadrigal View Post
After reinstalling the 14.2 stuff, you should run slackpkg clean-system and have it remove all the extra programs that were added to -current (which is what Richard was alluding to) and then run slackpkg new-config to make sure you are running the correct conf files.
I had run slackpkg clean-system. But not slackpkg new-config, which I will do.

Thanks for all your assistance.
 
Old 08-06-2017, 01:51 PM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Zaxxon View Post
All of my attempt to use the "-current" stems from the idea that the 14.2 base "fdisk" command does not seem to support my "My Book Duo 4Gb" external hard drive, which I use for backups.
you can use gdisk for that.
 
Old 08-07-2017, 12:33 PM   #7
Zaxxon
LQ Newbie
 
Registered: Aug 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Post

Quote:
Originally Posted by ponce View Post
you can use gdisk for that.
gdisk does not seem to accept a wildcard for a parameter, like fdisk does.

What I need to do is fdisk -l to see which external hard-drive went to which device. For some reason, they end up at different devices, so I need to what I need to change within the /etc/fstab file.
 
Old 08-07-2017, 01:32 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Zaxxon View Post
For some reason, they end up at different devices, so I need to what I need to change within the /etc/fstab file.
Have a look at this article to make permanent changes to your fstab and lilo.conf to prevent devices changing from causing you issues.
 
Old 08-08-2017, 08:57 AM   #9
Zaxxon
LQ Newbie
 
Registered: Aug 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by bassmadrigal View Post
Have a look at this article to make permanent changes to your fstab and lilo.conf to prevent devices changing from causing you issues.
Thank you, just what I needed.
 
Old 08-08-2017, 09:00 AM   #10
Zaxxon
LQ Newbie
 
Registered: Aug 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by Zaxxon View Post
I had run slackpkg clean-system. But not slackpkg new-config, which I will do.
I did run slackpkg new-config, rebooted, and do not see any difference. <Tab>, <Ctrl-D>, and <Esc> still log me out when I don't wish to be.

Is there a way to disable "single" key logout, only allowing the use of the command itself?
 
Old 08-08-2017, 05:24 PM   #11
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Take a look inside ~/.inputrc and /etc/inputrc. (See
Code:
man readline
to see why.) Completion is normally controlled by readline, so maybe something is off with its installation.
 
  


Reply



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
Squid exclude Coovachilli logout url http://logout tatanna Linux - Networking 0 07-18-2012 02:48 AM
AutoComplete(Suggestions) sci3ntist Programming 2 04-22-2007 08:09 AM
FC4 freezes when alt-Fn keys used and at logout surfbass Linux - General 1 08-29-2005 09:22 PM
autocomplete figadiablo Linux - General 6 03-13-2002 04:19 PM
autocomplete marksstroud Linux - Newbie 1 11-11-2001 01:02 PM

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

All times are GMT -5. The time now is 03:48 AM.

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