In 2003, Stefan Koerner stripped vi from busybox-0.52 and called it virus - vi resembling utility skeleton.
But it is unmaintained since then, so I do that again and called it "bbvi".
Hopefully I will do it every busybox minor number changes, and sync bbvi version to busybox version.
Source: bbvi-0.1.23.tar.gz
Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts
Thursday, March 27, 2014
Saturday, December 14, 2013
breakcpi for win32/linux
I found the there is no win32 or linux version of cpi2fnt or breakcpi, and there is no tool in psftools for extracting FNT raw font from CPI files.
I hacked READCPI(internet archive link) to make it work in win32 and linux.
svn repository: https://github.com/roytam1/rtoss/tree/master/breakcpi/
win32 binary + source: breakcpi.zip
for converting raw binary fonts to BDF fonts, please try my font2bdf-tools. (No manual provided, please read php source for usage)
I hacked READCPI(internet archive link) to make it work in win32 and linux.
svn repository: https://github.com/roytam1/rtoss/tree/master/breakcpi/
win32 binary + source: breakcpi.zip
for converting raw binary fonts to BDF fonts, please try my font2bdf-tools. (No manual provided, please read php source for usage)
Thursday, December 17, 2009
Historic Web browser reborn trial: midasWWW, violaWWW
Thanks www.mmmt.ru ftp search engine, I got midasWWW-2.1 and violaWWW 3.3(viola-3.3) from ftp archives.
progress:
violaWWW, the first browser having scripting and style sheet capabilities. latest version is 3.3.
Hacks: using rs6000 config and follow gcc error messages to fix.
Status: double free/pointer corrupt, munmap_chunk(): invalid pointer when exit, HTFWriter_put_character segfaults when connecting Google, almost no online capability.
Screen shot:
viola (pure Xlib version):

vw (viola motif version):

midasWWW, an early browser which runs in VMX system.
Hacks: follow gcc error messages to fix.
Status:
- It builds, and it dies in startup with buffer overflow of libMrm(MrmOpenHierarchy-->Urm__OpenHierarchy-->UrmIdbOpenFileRead-->Idb__HDR_GetHeader-->__strcpy_chk) when reading /usr/local/lib/midas.uid. libmotif uil generates midas.uid and midaswww.uid correctly.
- (18/12/2009 12:00 GMT+8) open motif 2.2.3-4 in utuntu 9.10 seems buggy and I had to rebuilt open motif 2.3.2 from sources with "--enable-xft --enable-jpeg --enable-png", but Midas only popups "Error Dialog Label" and stalls.
Log:
[29/12/2009]
tested in RedHat Linux 6.2 with Open Motif 2.1.32:
for midasWWW-1.0, it popups an empty dialog and stalls.
Log:
P.S.: I created a project site of early Web browser reborn in Google Code:
http://code.google.com/p/earlybrowserreborn/
progress:
violaWWW, the first browser having scripting and style sheet capabilities. latest version is 3.3.
Hacks: using rs6000 config and follow gcc error messages to fix.
Status: double free/pointer corrupt, munmap_chunk(): invalid pointer when exit, HTFWriter_put_character segfaults when connecting Google, almost no online capability.
Screen shot:
viola (pure Xlib version):

vw (viola motif version):

midasWWW, an early browser which runs in VMX system.
Hacks: follow gcc error messages to fix.
Status:
- It builds, and it dies in startup with buffer overflow of libMrm(MrmOpenHierarchy-->Urm__OpenHierarchy-->UrmIdbOpenFileRead-->Idb__HDR_GetHeader-->__strcpy_chk) when reading /usr/local/lib/midas.uid. libmotif uil generates midas.uid and midaswww.uid correctly.
- (18/12/2009 12:00 GMT+8) open motif 2.2.3-4 in utuntu 9.10 seems buggy and I had to rebuilt open motif 2.3.2 from sources with "--enable-xft --enable-jpeg --enable-png", but Midas only popups "Error Dialog Label" and stalls.
Log:
Error: No converter declared for String to DynamicPixmap Error: Illegal command Error: Error interpreting command: Set Value .^ iconPixmap MidasWWWIcon from widget WWWMain (class XmMainWindow) Error: Illegal command Error: Error interpreting command: Popup WWWMain from widget WWWMain (class XmMainWindow) Cannot convert string "If FontSize=="Small" For All ....WWWHyper...default Set Value . fontSize 12 Else If FontSize=="Medium" For All ....WWWHyper...default Set Value . fontSize 14 Else If FontSize=="Large" For All ....WWWHyper...default Set Value . fontSize 17 If FontSize=="Small" For All ....WWWHyper...h2 Set Value . fontSize 14 Else If FontSize=="Medium" For All ....WWWHyper...h2 Set Value . fontSize 17 Else If FontSize=="Large" For All ....WWWHyper...h2 Set Value . fontSize 20 If FontSize=="Small" For All ....WWWHyper...h1 Set Value . fontSize 17 Else If FontSize=="Medium" For All ....WWWHyper...h1 Set Value . fontSize 20 Else If FontSize=="Large" For All ....WWWHyper...h1 Set Value . fontSize 24 If FontSize=="Small" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 12 Else If FontSize=="Medium" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 14 Else If FontSize=="Large" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 17 If FontSize=="Small" Update Named Resource . "m Error: Could not follow path ....WWWHyper Error: Illegal command Error: Error interpreting command: Set value ....WWWHyper naturalWidth 0++(GetValue(..WWWMain,width)-40) from widget WWWMain (class XmMainWindow) Error: Could not follow path ..WWWMain Error: Illegal command Error: Error interpreting command: Set Ingot ..WWWMain PSState 0 from widget WWWMain (class XmMainWindow) Error: Could not follow path ....Home_Page Error: Illegal command Error: Error interpreting command: Invoke Callback ....Home_Page activateCallback from widget WWWMain (class XmMainWindow) Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback ^C
[29/12/2009]
tested in RedHat Linux 6.2 with Open Motif 2.1.32:
Cannot convert string "If FontSize=="Small" For All ....WWWHyper...default Set Value . fontSize 12 Else If FontSize=="Medium" For All ....WWWHyper...default Set Value . fontSize 14 Else If FontSize=="Large" For All ....WWWHyper...default Set Value . fontSize 17 If FontSize=="Small" For All ....WWWHyper...h2 Set Value . fontSize 14 Else If FontSize=="Medium" For All ....WWWHyper...h2 Set Value . fontSize 17 Else If FontSize=="Large" For All ....WWWHyper...h2 Set Value . fontSize 20 If FontSize=="Small" For All ....WWWHyper...h1 Set Value . fontSize 17 Else If FontSize=="Medium" For All ....WWWHyper...h1 Set Value . fontSize 20 Else If FontSize=="Large" For All ....WWWHyper...h1 Set Value . fontSize 24 If FontSize=="Small" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 12 Else If FontSize=="Medium" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 14 Else If FontSize=="Large" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 17 If FontSize=="Small" Update Named Resource . "m Error: Could not follow path ....WWWHyper Error: Illegal command Error: Error interpreting command: Set value ....WWWHyper naturalWidth 0++(GetValue(..WWWMain,width)-40) from widget WWWMain (class XmMainWindow) Error: Could not follow path ..WWWMain Error: Illegal command Error: Error interpreting command: Set Ingot ..WWWMain PSState 0 from widget WWWMain (class XmMainWindow) Error: Could not follow path ....Home_Page Error: Illegal command Error: Error interpreting command: Invoke Callback ....Home_Page activateCallback from widget WWWMain (class XmMainWindow)
for midasWWW-1.0, it popups an empty dialog and stalls.
Log:
Error: Could not open customization file for CUSTOM Error: Illegal command Error: Error interpreting command: Custom Create CUSTOM . from widget Midas_Main (class XmMainWindow) Error: Illegal command Error: Error interpreting command: Popup Midas_Main from widget Midas_Main (class XmMainWindow) Error: Illegal command Error: Error interpreting command: Midas Popup Midas_Main from widget Midas_Main (class XmMainWindow) ^C
P.S.: I created a project site of early Web browser reborn in Google Code:
http://code.google.com/p/earlybrowserreborn/
ErwisE: first X11 World Wide Web browser
My fixed source works in ubuntu 9.10.
You can download here:
erwise-0.1-src.tar.gz
For playing it in ubuntu 9.10 wihout compiling yourself, you can greb the prebuilt checkinstall-generated deb package here:
erwise_0.1-1_i386.deb
Screenshot:

P.S.: I created deb package of Mosaic-CK too, and Cameron had it mirrored to his site.
You can download here:
For playing it in ubuntu 9.10 wihout compiling yourself, you can greb the prebuilt checkinstall-generated deb package here:
Screenshot:

P.S.: I created deb package of Mosaic-CK too, and Cameron had it mirrored to his site.
ldd package finder (APT)
I wrote a bash shell script for getting package names from ldd output.
apt-file, awk, basename, egrep, sort, uniq are needed.
it will list lib64 packages if arg2 = 64. e.g.:
an example for using in checkinstall:
for executable with multiple libraries, you can append all libraries' lddpkgs.sh output to one file, sort and uniq that file and you will get the package dependency of those binaries.
one line is a bit long so please ensure you selected all things between Start of File and End Of File.
-Start of File-
apt-file, awk, basename, egrep, sort, uniq are needed.
it will list lib64 packages if arg2 = 64. e.g.:
# ./lddpkgs.sh /bin/bash 64
an example for using in checkinstall:
# checkinstall --requires=`lddpkgs.sh src/mysoft|xargs|sed -e 's/ /,/g'` (...)
for executable with multiple libraries, you can append all libraries' lddpkgs.sh output to one file, sort and uniq that file and you will get the package dependency of those binaries.
one line is a bit long so please ensure you selected all things between Start of File and End Of File.
-Start of File-
#!/bin/bash-End Of File-
if [ "$2" = "64" ];then
EGR='libc|libdl|dbg'
else
EGR='libc|libdl|dbg|lib64'
fi
ldd $1|awk '{tmp ="basename "$1; tmp|getline bnso;system("apt-file find "bnso);close(tmp)}'|egrep -v $EGR|awk -F':' '{print $1}'|sort|uniq
Subscribe to:
Posts (Atom)