LinuxQuestions.org
Help answer threads with 0 replies.
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 06-11-2017, 10:31 AM   #1
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Minor keyboard (?) issue on current


tl;dr version:

On current, the last character in a username (on the login prompt) refuses to be deleted (on occasion). Edit: I'm assuming its a keyboard issue but I guess I do not really know what the issue is.

Full version:

So someone ended up wrecking my Macbook pro and as a result buying me a new computer. What I ended up with was a "Dell" "Inspiron 15 5565". My data survived in tact and I booted the Slackware installer so I could get my old kernel to boot. Since the machine uses an AMD GPU I quickly thought it would be wise to move over to the 4.9.x series kernel since that is what is being used in current. Then I wanted to work with vulkan... in short order I ended up little by little moving over to some parts of current; and finally just said, "the heck with it! I'll just move to current". I've tested the machine with current and with 14.2 (+ a few driver updates and the 4.9.x series kernel). I noticed on current (this only happens on current) that once in a while at the terminal log in screen if I mistype a username that I am logging into, it refuse to delete the last character; I'm not sure what could be causing this. The issue does not really effect me enough to matter and I realize I'm on current and bugs are to be expected; however, I thought I would make a note of it here.

Last edited by khronosschoty; 06-11-2017 at 11:29 AM.
 
Old 06-11-2017, 03:04 PM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
You can trigger it with control characters. Start typing a login, then a control character like ctrl-h (note: on the console that's not backspace). then try backspacing over it. You can't clear the input field completely You can however use ctrl-u to completely clear the input, but it's not reflected on screen.

I might try rebuilding agetty a little later and see if that helps.

update: I didn't bother doing a rebuild. I noticed in the changelog that util-linux is pretty new, so it's possibly something that got broken with this update. I noticed there are lots of terminal/ncurses related changes in this release. https://www.kernel.org/pub/linux/uti...2.30-ChangeLog


I tried using getty_ps instead, but that behaves even worse.

Last edited by GazL; 06-11-2017 at 06:01 PM.
 
1 members found this post helpful.
Old 06-12-2017, 04:59 AM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Actually, I was wrong above, it's far more basic. It's got nothing to do with the control characters (though those certainly do upset it). I can enter two normal characters and then try and backspace over them and it will only backspace the first.

Worth noting: after the first attempt at entering a username /bin/login gains control of the tty so agetty only handles the first attempt at inputting a login name and that seems to be where the problem is. Once /bin/login gains control it works perfectly.
 
Old 06-12-2017, 06:36 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Ok, this is the culprit:
https://github.com/karelzak/util-lin...a54b2aeb355b20

I just rebuilt util-linux reverting it and its associated typo fix (9ff67eb9c88298f5e47007c56724aa102a1623ac) and the problem went away.


Logged issue with upstream:
https://github.com/karelzak/util-linux/issues/454


In the mean time, here's a patch to the slackbuild to revert it.

Last edited by GazL; 12-02-2017 at 02:10 PM.
 
5 members found this post helpful.
Old 06-24-2017, 07:16 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
This is now fixed in upstream git master, so we should see it go away with the next util-linux update (whenever that ships).
 
1 members found this post helpful.
  


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
[SOLVED] Minor typo in Slackware -current /etc/rc.d/rc.6 Linux.tar.gz Slackware 18 03-28-2016 06:44 AM
[SOLVED] evdev issue: no Input w/ Mouse or Keyboard in X -current slugman Slackware 8 03-13-2016 12:55 AM
minor issues in KDE on current cmyster Slackware 3 07-16-2014 10:43 PM
Bug hunting in -current [a minor issue to me...] truthfatal Slackware 6 03-25-2007 07:56 PM
dhcpcd in current..minor concerns gravityworks Slackware 3 06-21-2006 06:22 AM

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

All times are GMT -5. The time now is 02:49 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