#3239: Kbd-1.15.5
------------------------------------------+---------------------------------
 Reporter:  matthew@…                     |       Owner:  matthew@…             
      
     Type:  enhancement                   |      Status:  assigned              
      
 Priority:  normal                        |   Milestone:  7.3                   
      
Component:  Book                          |     Version:  SVN                   
      
 Severity:  normal                        |    Keywords:                        
      
------------------------------------------+---------------------------------

Comment(by bdubbs@…):

 I think I found the error.

 sed -i -e "326 s/if/while/" src/loadkeys.analyze.l

 This is in a parsing routine that uses a stack and currently does not
 clear the stack properly at the end of a line when the stack depth is
 greater than 1.

 This was in the diff posted to the kbd mailing list, but only one of the
 three changes was needed.  Using the /etc/sysconfig/console settings
 above, the boot script works without complaint, but I can't check the keys
 with a US keyboard (AFAIK).

 I'll note that I came up with the fix independently of the kbd mailing
 list with a few printf and echo statements in src/loadkeys.analyze.c and
 /etc/init.d/console.

 Also, make regenerates loadkeys.analyze.c from the .l file with:

 /bin/sh ../config/ylwrap loadkeys.analyze.l lex.yy.c loadkeys.analyze.c --
 flex --header-file=/usr/src/kbd/kbd-1.15.5/src/loadkeys.analyze.h

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3239#comment:6>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to