Please commit this patch and help me retain my sanity =)

This will keep 'Welcome to Linux Mandrake' and 'Press "I" for 
interactive startup" from wrapping screen on vesa startup 
(vga=788/791/etc).  \n would not work so I had to find an appropriate 
string to move the cursor back to column 1.  I blatantly ripped it off 
from /etc/sysconfig/init where it is used to define where [OK] or [FAIL] 
will appear during non-Aurora boot.

-Rob


*** rc.sysinit Tue Feb 27 07:29:19 2001
--- rc.sysinit.fixed    Thu Mar  1 10:46:09 2001
***************
*** 36,48 ****
   # C-like escape sequences don't work as 2nd and up parameters of gprintf,
   # so real escap chars were written
   if [ "$BOOTUP" != "serial" ]; then
!  gprintf "\t\t\tWelcome to Linux %sMandrake%s" `echo -en 
"\\033[1;36m"` `echo
-en "\\033[0;39m"`
   else
    gprintf "\t\t\tWelcome to Linux %sMandrake%s" "" ""
   fi
   echo
   if [ "$PROMPT" != "no" ]; then
!  gprintf "\t\tPress 'I' to enter interactive startup."
    echo
    sleep 1
   fi
--- 36,48 ----
   # C-like escape sequences don't work as 2nd and up parameters of gprintf,
   # so real escap chars were written
   if [ "$BOOTUP" != "serial" ]; then
!  gprintf "%s\t\t\tWelcome to Linux %sMandrake%s" `echo -en "\\033[1G"` 
`echo -en "\\033[1;36m"` `echo -e "\\033[0;39m"`
   else
    gprintf "\t\t\tWelcome to Linux %sMandrake%s" "" ""
   fi
   echo
   if [ "$PROMPT" != "no" ]; then
!  gprintf "%s\t\tPress 'I' to enter interactive startup.%s" `echo -en 
"\\033[1G"` `echo -en "\\033[1G"`
    echo
    sleep 1
   fi


Reply via email to