Page 23 of 28

Posted: Wed 28 Dec 2011, 19:43
by pemasu
I dont ever use finnish special characters in filenames but now I was curious to test what I can find from keyboard in dpup exprimo. So these characters should work.

viewnoir and no ascii chars

Posted: Thu 29 Dec 2011, 03:20
by shinobar
zigbert wrote:There seems to be an issue with viewnoir......
Works fine for filenames containing only english chars
Tried on Slacko + lang_pack_ja-1.4.sfs and has no problem.
So, it is not the issue of the vewnoir itself.
I have not tried the lang_pack_all yet.

Re: viewnoir and no ascii chars

Posted: Thu 29 Dec 2011, 03:37
by shinobar
shinobar wrote:Tried on Slacko + lang_pack_ja-1.4.sfs and has no problem.
But fails under en_US locale. en_US.UTF-8 is OK.

Re: viewnoir and no ascii chars

Posted: Thu 29 Dec 2011, 03:45
by shinobar
en_US.UTF-8 is OK except the title bar.

Re: viewnoir and no ascii chars

Posted: Thu 29 Dec 2011, 04:00
by shinobar
shinobar wrote:en_US.UTF-8 is OK except the title bar.
Confirmed on the native(without lang_pack) Slacko 5.3.1 MAIN with RAM mode.
Of course the Japanese filename is unreadable because of lacking the font, but no problem in showing the image.

To set the locale with UTF-8, choose 'en (English)' or any language on the Country wizard. Tick on 'UTF-8' checkbox appears on the next window.

Posted: Thu 29 Dec 2011, 09:36
by Iguleder
01micko, here's the fix for the Slackware libpng, which is a 'lil bit smaller:

Code: Select all

ln -s libpng14.pc ./usr/lib/pkgconfig/libpng.pc
ln -s libpng14 ./usr/include/libpng                       
ln -s libpng/png.h ./usr/include                          
ln -s libpng/pngconf.h ./usr/include
I added this to the libpng FIXUPHACK and now stuff seem to compile just fine!

Re: viewnoir and no ascii chars

Posted: Thu 29 Dec 2011, 16:39
by zigbert
shinobar wrote:To set the locale with UTF-8, choose 'en (English)' or any language on the Country wizard. Tick on 'UTF-8' checkbox appears on the next window.
Ok, so this is the trick :) Thank you.
I meant that this option was available in the main window earlier ? Maybe I wrong....
If I set it to nb_NO I don't get a second window.


Sigmund

Re: viewnoir and no ascii chars

Posted: Thu 29 Dec 2011, 19:33
by shinobar
zigbert wrote:If I set it to nb_NO I don't get a second window.
Wow! it is the bug of the 'Country wizard' i have to fix.
Use the 'Choose locale' instead :lol:

EDIT: Updated firstrun-1.9.6.pet (1 Jan 2012)
http://www.murga-linux.com/puppy/viewtopic.php?t=58312

Posted: Sat 31 Dec 2011, 11:38
by Aitch
Sorry if this comment is late...
tempestuous wrote:
01micko wrote:Barry has an option in Woof.. Boot scsi, I accepted this for k2.6.29.4 and in this release k2,6,37.6
I'm unfamiliar with Woof, but that's interesting. It appears that a basic set of SCSI drivers (as specified by Barry) is then included in the initrd.

Obviously the 3 new Fusion SCSI drivers are not included, so if desired these would need to be manually inserted (and modules.dep updated) ...
or maybe the Woof script could be modified to automatically include these new modules?
But anyway, no one has specifically asked for boot support from a Fusion SCSI interface at this stage.

01micko wrote:Aitch has reported success on an old server box of his a few pages back.
Yes, it appears that booting from SCSI works, that's great ...
but of course Aitch's SCSI hardware uses the aic7xxx SCSI driver, nothing to do with the 3 new drivers.
Yes, actually Adaptec AIC-7892A U160/m....and I'm not booting from harddrive mbr/grub, as I'm using noryb's win installer version, though boot is finding the savefile/s and sfs, so I presumed it would, as I had an earlier Dell server working OK with a previous scsi booting puppy that Barry did
Sadly, I don't have a working Dell server with Fusion MPT interfaces to test

Aitch :)

Posted: Sun 01 Jan 2012, 13:46
by zigbert
GrubConfig is not found in the menu. If this is intentional (to only offer Grub4Dos), there is a message in the universal installer mentioning GrubConfig.


Sigmund

Posted: Sun 01 Jan 2012, 13:47
by zigbert
shinobar
Thank you for the fix


Sigmund

Posted: Sun 01 Jan 2012, 14:16
by 01micko
zigbert wrote:GrubConfig is not found in the menu. If this is intentional (to only offer Grub4Dos), there is a message in the universal installer mentioning GrubConfig.


Sigmund
Are your eyes painted on? Or is there paint in your eyes? (yes, pathetic art humour! :roll: I know you've been busy at the canvas :wink: )

I knew it was there as I did test for Sage, it's in the announcement thread.

Posted: Sun 01 Jan 2012, 15:35
by zigbert
:lol:

Truly, my eyes are covered by dark oil painting.

But why is Grub4Dos placed in 2 dfferent menus, while Legacy Grub only in System menu? Please give me a logic answer :twisted:

Posted: Sun 01 Jan 2012, 17:15
by Jasper
Hi zigbert,

I assume that the placement of Grub4Dos in 2 different menus was a trivial oversight but, now you have pointed this out, I have used Pmenu to hide both entries. I can temporarily unhide them if I want to make any changes.

As regards the "green" I seem to recall 01micko commented "you'll love it or hate it". Personally, I love it.

My regards and thanks for all your Puppy programs.

Posted: Sun 01 Jan 2012, 19:05
by Karl Godt
But why is Grub4Dos placed in 2 dfferent menus, while Legacy Grub only in System menu? Please give me a logic answer Twisted Evil
Puppy is confusing as always ...

Slacko-5.3.1 /usr/share/applications/Grub4DosConfig.desktop
has got two entries for the /etc/xdg/menus/hierarchy :
Categories=X-SystemMemory;X-SetupUtility

/usr/share/applications/Grub-bootloader-config.desktop
Categories=X-SystemMemory

while Racy-5.2.2 Grub4DosConfig.desktop for example
has only one entry :
Categories=X-SystemMemory
(version 1.7.1)

Grub-bootloader-config.desktop
Categories=X-SystemMemory

Applying this code to change the submenu entries to show up with 1 entry already by the argument 1 ( $1= 1 )

Code: Select all

#!/bin/sh
N="$1"
[ ! "$N" ] && N=5
[ "`echo "$N" | grep '[^0-9]'`" ] && exit 106
cd /etc/xdg/menus
#for i in * ; do echo $i; sed -i 's#inline_limit="[0-9]*"#inline_limit="5"#g' $i; done
SED1='inline_limit="[0-9]*"'
SED2='inline_limit="'$N'"'
for i in * ; do echo $i;
if [ -f "$i" ];then
if [ -w "$i" ];then
sed -i "s#${SED1}#${SED2}#g" "$i"
[ "$?" != '0' ] && exit 107
fi;fi
done
fixmenus
#[ "$?" != '0' ] && exit 108
jwm -restart
[ "$?" != '0' ] && exit 109
exit 0
both show up together . (i named the script menu-sub-changer.sh)

At both Puppies the /etc/xdg/menus/hierarchy are same :

Code: Select all

#the menu hierarchy used in official Puppy v2.14
#'X-' categories are unofficial, Puppy-specific.
#w482 changed top-level name 'Calculate' to 'Business'.

System     :Memory         X-SystemMemory
Setup      :Utility        X-SetupUtility

Posted: Sun 01 Jan 2012, 20:30
by 01micko
zigbert wrote::lol:

Truly, my eyes are covered by dark oil painting.

But why is Grub4Dos placed in 2 dfferent menus, while Legacy Grub only in System menu? Please give me a logic answer :twisted:
Hmm.. the technical answer is that there are 2 category entries in the Grub4DosConfig.desktop file:

Code: Select all

Categories=X-SystemMemory;X-SetupUtility
Now I don't know if shinobar did this on purpose :? and if so why?

EDIT: Oh, I see it's corrected in 1.7.1 in Racy, Barry must have corrected this. Thanks Karl.

Posted: Sun 01 Jan 2012, 21:28
by Karl Godt
EDIT: Oh, I see it's corrected in 1.7.1 in Racy, Barry must have corrected this. Thanks Karl.
værsgo udråbsord
også i formerne: værsågod, værs'god, værsgo'

Here you go

Poohæ posting such in bug section :lol: :mrgreen:

Happens , that the many usability bug posts colored onto me once or twice too . :lol: :lol:

I think it is meant good to put several categories into the .desktop files because the SUB MENU NAMING X-SystemMemory would probably fit to snapmergepuppy but not to a bootloader installer . P-SystemBoot category still to introduce :wink: .

syslinux

Posted: Mon 02 Jan 2012, 13:40
by Master_wrong
is it just me or when i try to install slacko into 4gb flashdishk formatted as FAT, syslinux didnt run... so i have run sys linux from lucid 528 ???

error code :
possibly unsafe /tmp/ permissions

EDIT : slacko 5.3

EDIT 2 : this solve the problem
#chmod 1777 /tmp

Grub4Dos menu

Posted: Mon 02 Jan 2012, 13:51
by shinobar
zigbert wrote:But why is Grub4Dos placed in 2 dfferent menus, while Legacy Grub only in System menu? Please give me a logic answer :twisted:
My intention 8)
I would like the Grub4Dos menu at the same place of the installers that is 'Setup' for convenience.
But also need at 'System' where the legacy grub is.

But i think purging the legacy grub is better solution because it makes confuse for the users.
Nowadays Grub4Dos covers most of all the function what the legacy grub does.
I know some linux power users love the legacy. In that case, they can get it from the PPM.
Other case is he already has the legacy grub installed as the boot loader and want to rewrite only the menu.lst. In this case, he can do it manually using a text editor. Anyway he must do so even if the legacy grub config is available, isn't it?

(I have ever tried adding a function for the Grub4Dos config to generate legacy compatible menu.lst. But i found it is difficult to do it automatically. The user must correct the number of (hd0,0) or something manually.)

Posted: Mon 02 Jan 2012, 19:37
by Karl Godt
(I have ever tried adding a function for the Grub4Dos config to generate legacy compatible menu.lst. But i found it is difficult to do it automatically. The user must correct the number of (hd0,0) or something manually.)
I have done it in two ways >

Code: Select all

echo "Enter the rootdrive ie '/dev/sda1' :
"
read ROOTPART

PARTNUMBER=`echo $ROOTPART | grep -o -e '[0-9]*$'`
echo ROOTPART=$ROOTPART PARTNUMBER=$PARTNUMBER
GRUBPART=$((PARTNUMBER-1))
echo GRUBPART=$GRUBPART
PARTCHAR=`echo $ROOTPART | sed 's#[0-9]##g' | rev | cut -c 1 |rev`
echo PARTCHAR=$PARTCHAR
case $PARTCHAR in
a)GRUBDRIVE=0;;
b)GRUBDRIVE=1;;
c)GRUBDRIVE=2;;
d)GRUBDRIVE=3;;
e)GRUBDRIVE=4;;
f)GRUBDRIVE=5;;
g)GRUBDRIVE=6;;
h)GRUBDRIVE=7;;
i)GRUBDRIVE=8;;
esac
echo GRUBDRIVE=$GRUBDRIVE
OR

Code: Select all

func10(){
if [ "$rootpart" ];then
echo rootpart=$rootpart
#ie sda1
partition=`echo $rootpart | sed 's#[[:alpha:]]##g'`
echo partition=$partition
#ie 1
grubpartition=$((partition-1))
echo grubpartition=$grubpartition
#ie 0

rootdrive=${rootpart:2:1} #first char 0 one char
echo rootdrive=$rootdrive
#ie a
c=0
for i in {a..z};do
if [ "$i" = "$rootdrive" ];then
grubdrive=$c
break
fi
c=$((c+1))
done
return 0
else
echo "WARN : code could not filter the drive"
return 141
fi
}
wd="`pwd`"
if [ "`echo "$wd" |grep '/mnt/'`" ];then
rootpart=`echo "$wd" | grep -o -e '/[shmflr]d.[0-9]/' | tr -d '/'`
func10 || exit 142
else
rootpart=`rdev |grep -o -e '/[shmflr]d.[0-9]' |tr -d '/'`
func10 || exit 143
fi
AND write something like this >

Code: Select all

for k in $kernels ;do
kernel=${k##*/}
echo $kernel
kernelpattern=`echo "$kernel" |sed 's/\([[:punct:]]\)/\\\\\1/g'`
echo "$kernelpattern"
if [ ! "`grep "$kernelpattern" ./grub/menu.lst`" ];then
echo "
title kernel $kernel on $rootpart
root (hd${grubdrive},${grubpartition})
kernel /boot/$kernel root=/dev/$rootpart ro $kernelline
" >> ./grub/menu.lst
fi
done