LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-23-2013, 09:02 PM   #1
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware 14.0/32bit + Xmonad
Posts: 283

Rep: Reputation: 76
An odd change at the TTY1-6 login: prompts


Hello, all
(warning: esoteric topic, sophomoric poster)
I have noticed a change in the "_" cursor at the runlevel3
prompt. I can now use the arrow keys to move that cursor all around the
screen and print in any area of the screen. However, any movement of that
cursor prior to actually filling in the credentials seems to count as a
character registration, and so the login fails.

When the prompt resets itself, the cursor is no longer free. It
will move only along the line of input, and the arrow keys return "^[[A^[[B", etc. It's almost as if two separate (and different) "logins"
were running one after the other.

gpm is also supposed to be running, and ps says it is, but there
is no mouse cursor in the TTYs. Pretty sure all this is new since 13.37 or maybe since an update of 14.0. Not sure.

So if anyone knows what besides an update of "login" itself could explain
this, I'd love to know.
 
Old 09-24-2013, 04:42 AM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 147Reputation: 147
I also have this same problem, together with some X issues with keyboard input (maybe unrelated to your issue).

Not sure if the problems is in terminal setup or somewhere else, but they certainly deserve a link in the "calling this beta" thread.
 
Old 09-24-2013, 04:50 AM   #3
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,200

Rep: Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863
Wow! I had not noticed this before, but I have the same behavior running -current as of Sep 20. No idea when it might have started.

Mine is same as STDOUBT describes with the additional note that after an unsuccessful login, when the cursor is constrained to the line, if I then type a few characters and backspace over them then wait, after 10-20 seconds the screen "resets" and the cursor is free again.

Very strange...
 
Old 09-24-2013, 05:50 AM   #4
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 147Reputation: 147
It should get reset, but probably not so fast (in 10~20 seconds).

Besides, if I use getty-ps instead of agetty then I get this:
Code:
Welcome to Linux (tty6)

slackware login: root
*** Error in `/sbin/getty': munmap_chunk(): invalid pointer: 0x0804e073 ***
======= Backtrace: =========
/lib/libc.so.6(+0x77d4d)[0xb7650d4d]
/lib/libc.so.6(+0x17ba5)[0xb75f0ba5]
/sbin/getty[0x804b7c0]
/lib/libc.so.6(__libc_start_main+0xf3)[0xb75f27a3]
======= Memory map: ========
08048000-08050000 r-xp 00000000 08:01 1572998    /sbin/getty
08050000-08051000 rwxp 00007000 08:01 1572998    /sbin/getty
08051000-0805a000 rwxp 00000000 00:00 0
08454000-08475000 rwxp 00000000 00:00 0          [heap]
b75d8000-b75d9000 rwxp 00000000 00:00 0
b75d9000-b775e000 r-xp 00000000 08:01 786513     /lib/libc-2.17.so
b775e000-b7760000 r-xp 00184000 08:01 786513     /lib/libc-2.17.so
b7760000-b7761000 rwxp 00186000 08:01 786513     /lib/libc-2.17.so
b7761000-b7764000 rwxp 00000000 00:00 0
b7764000-b7767000 r-xp 00000000 08:01 786439     /lib/libtermcap.so.2.0.8
b7767000-b7768000 rwxp 00002000 08:01 786439     /lib/libtermcap.so.2.0.8
b777d000-b7798000 r-xp 00000000 08:01 262257     /usr/lib/libgcc_s.so.1
b7798000-b7799000 rwxp 0001a000 08:01 262257     /usr/lib/libgcc_s.so.1
b7799000-b779b000 rwxp 00000000 00:00 0
b779b000-b77bc000 r-xp 00000000 08:01 786557     /lib/ld-2.17.so
b77bc000-b77bd000 r-xp 00020000 08:01 786557     /lib/ld-2.17.so
b77bd000-b77be000 rwxp 00021000 08:01 786557     /lib/ld-2.17.so
bf8d3000-bf8f4000 rwxp 00000000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]

Last edited by guanx; 09-24-2013 at 06:45 AM.
 
Old 09-24-2013, 06:31 AM   #5
mancha
Member
 
Registered: Aug 2012
Posts: 362

Rep: Reputation: Disabled
I had never noticed this but it happens to me too.

I've reviewed util-linux's codebase and it seems to have been fixed in util-linux 2.23.2. I've applied similar logic to
Slackware-current's util-linux 2.21.2 in this patch.

Please test and let me know if it fixes the wandering cursor.

--mancha
 
Old 09-24-2013, 06:41 AM   #6
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by mancha View Post
I had never noticed this but it happens to me too.

I've reviewed util-linux's codebase and it seems to have been fixed in util-linux 2.23.2. I've applied similar logic to
Slackware-current's util-linux 2.21.2 in this patch.

Please test and let me know if it fixes the wandering cursor.

--mancha
Yes. Now moving cursor with arrow keys is disabled.
 
Old 09-24-2013, 09:14 AM   #7
mancha
Member
 
Registered: Aug 2012
Posts: 362

Rep: Reputation: Disabled
Pat:

I knew from this thread you weren't planning on upgrading util-linux for 14.1. So, I adapted upstream's fix to current's util-linux for you to consider.

It is based on this upstream commit.

--mancha

===

@guanx: Thanks for testing - works here too.
 
1 members found this post helpful.
Old 09-24-2013, 09:52 PM   #8
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware 14.0/32bit + Xmonad
Posts: 283

Original Poster
Rep: Reputation: 76
Really glad to know it's fixed upstream.
Thanks, people!
 
  


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
unable to login to tty1 tty2 ... mia_tech Linux - Newbie 2 10-24-2012 01:18 PM
How to change the framebuffer resolution on tty1-4 Mr. Swillis Red Hat 3 03-08-2012 07:59 PM
How to change tty1 look manya Ubuntu 1 11-15-2010 01:19 AM
[SOLVED] cannot login as root in console(tty1-tty6)... fcintron Linux - Security 6 10-24-2010 09:14 PM
HELP--home/tty1[~]$ Can't login problem... lenny45 Linux - Software 2 03-26-2006 01:55 AM


All times are GMT -5. The time now is 04:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration