Older blog entries for AArthur (starting at number 10)

Two weekends till the Copeland Hill Camping Trip that I'm going on, and that weekend I get a free extra hour -- the clock goes back an hour.

38 days, to the best day of the year. That's Turkey Day -- I can taste it already. Lets not forget those wonderful thanksgiving day prades, and "It's a Wonderful Life" on CBS. This is truely the best day of the year. Also, it should be noted, that Christmas is 68 days away, and that y2k+1 is 74 days away. Yum.

Some new stuff on iMacLinux. Tommorows a monday. Oh well. Listening to the American Gold Christmas Edition 1997 (put on HI-FI video tape, so I don't have to keep flipping/changing the tape).

<rant> KDE 2.0 is not bloated. It's full featured. If you don't compile in exceptions, it even decently fast on an older machine -- like my PowerMac 4400, with it's 200 Mhz processor and 32 MB of RAM. If you have a slower machine, with little RAM, run Blackbox or the console, and stop complaing. I can't stand people who whine. </rant>

So in theory, KDE 2 is suppost to be out this week. Awsome.

There is some new stuff on iMacLinux, and now along with the rest of the team, I'm working on getting PowerMacLinux.net ready. Cool.

13 Oct 2000 (updated 14 Oct 2000 at 04:13 UTC) »

Okay here is my useless, but still (I guess) basic program. It was done for a class assignment, it's very lame. Probably is fairly portable, as it doesn't do anything fancy -- just stdio stuff. Grr.. Of course, I screwed the line length up on this, so Advogato doesn't do it right. Oh, well.

All Hail Friday!

Yes, I dug up (and added) a few new stuff to iMacLinux. This weekend, I'll be busy working on Family Life MB.

' quik.conf generation program
' (c)2000, Andrew B. Arthur (aarthur@imaclinux.net)
' BSD Licensed
' This program is portable, AFAIK, it should compile
' cleanly in qbasic, MacBasic, ChipMunkBasic, any
' probably others. <grin>

' Declare Hard Coded Variables Here:

aliasarg$ = "bye" 'This is the bye command. You don't really need it 'unless you are using a boot menu. Most people will 'just want bye, so we hard code it.

' In case we need to change the syntax. append$ = "append=" boot$ = "boot=" root$ = "root=" alias$ = "alias=" ramdisk$ = "ramdisk="

' Internationalization Stuff samplei8n$ = "People translating this program needs to change these" thisprogrami8n$ = "This program generates a sample quik.conf" returni8n$ = "Hit Return To Continue or Wait 5 Seconds" kernelandparti8n$ = "Kernel and Partition Configuration" addkernelargsi8n$ = "Additional Kernel Arguments " year$ = DATE$ detailsonthislicense$ = "Details on licensing can be found at"

' Introduce the user to the program. 'COLOR 0, 7 ' purty colors. No, I can't spell. Don't make fun of me. COLOR 0, 7 CLS PRINT " ", thisprogrami8n$ PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT "Copyright (c)"; year$; ", Andrew B. Arthur (aarthur@imaclinux.net)" PRINT "BSD Licensed. "; detailsonthislicense$; "http://bsdl.org/"

' Delay So People Can Read The Screen SLEEP 5 thisisnothing$ = INKEY$

'Ask required questions.

CLS PRINT " ", kernelandparti8n$ PRINT ""


PRINT "You can either set it to boot from a" PRINT "ramdisk (for installing or floppy booting)" PRINT "or from a a regular Hard Drive." PRINT "" PRINT "NOTE: You must use standard UNIX conventions." PRINT ""

INPUT "Boot from a [r]amdisk or [h]ard Drive? [h/r]"; ramordiskque$ IF ramordiskque$ = "h" THEN GOTO 80 IF ramordiskque$ = "r" THEN GOTO 70

'ramdisk size 70 INPUT "Ramdisk Size (In MB):"; ramdiskmb ramdiskkb = ramdiskmb * 1024 rootpart$ = "/dev/ram" GOTO 90

'root partition 80 INPUT "What is your root partition [from pdisk, in standard /dev/blah fromat]"; rootpart$ IF rootpart$ = "0" THEN GOTO 90 PRINT ""

'Kernel Location 90 INPUT "Where is the kernel located [/boot/vmlinux]"; kernelpath$ IF kernelpath$ = "0" THEN PRINT " ... no path specfied, defaulting to /boot/vmlinux" kernelpath$ = "/boot/vmlinux" GOTO 100 END IF

100 CLS PRINT " Video Card " PRINT "" PRINT "This screen chooses what video card you have." PRINT PRINT "You will be prompted if you have a certain card." PRINT "If you do, say [y]. If not, say [n]." PRINT PRINT "If you don't see your driver, at the end of the list" PRINT "you will be prompted to restart the list, or manually" PRINT "enter in the name of your Frame Buffer driver."

' ATI Mach64 CX or GX 110 INPUT "Do You Have a ATI Mach64 CX or GX [n/y]?"; atyfb$ IF atyfb$ = "y" THEN video$ = "video=atyfb" GOTO 200 END IF IF atyfb$ = "n" THEN GOTO 120

' ATI Mach64 VT 120 INPUT "Do You Have a ATI Mach64 VT [n/y]?"; atyfb24$ IF atyfb24$ = "y" THEN video$ = "video=atyfb" COLOR 4, 7 PRINT "Warning: Requires Linux 2.4 to Get Good Video" COLOR 0, 7 GOTO 200 END IF IF atyfb$ = "n" THEN GOTO 130

' ATI Rage 128 130 INPUT "Do You Have a ATI Rage 128 (Any Version) [n/y]?"; aty128fb$ IF aty128fb$ = "y" THEN video$ = "video=aty128fb" GOTO 200 END IF IF aty128fb$ = "n" THEN GOTO 140

' Twin Turbo II (for PCC Machines) 140 INPUT "Do You Have a Twin Turbo II (on PowerComputing Machines) [n/y]?"; twintrbfb$ IF twintrbfb$ = "y" THEN video$ = "video=txyfb" GOTO 200 END IF IF twintrbfb$ = "n" THEN GOTO 190

' Exausted Choices 190 PRINT "" PRINT "Sorry, No More Choices Left." PRINT "" PRINT "Do You Want to [re]start the List or [man]ually Enter" INPUT "the FB Driver Name [re/man]?"; exhaustrestartfb$ IF exhaustrestartfb$ = "re" THEN GOTO 100 IF exhaustrestartfb$ = "man" THEN PRINT INPUT "Enter Your Frame Buffer Driver's Name [such as atyfb]:"; manfb$ video$ = "video=" + manfb$ END IF

' Video Resolution 200 CLS COLOR 2, 7 PRINT " Video Resolution " COLOR 0, 7 PRINT "" PRINT "Your Resolution, is the number of pixels" PRINT "that will appear on your screen. A larger" PRINT "value will make text smaller, but let you" PRINT "put more on it, a smaller one will do the" PRINT "opposite. "; "" PRINT "" PRINT "You may choose between 640x480, 800x600 and" PRINT "1024x768. All values give you a 75 Hz Refresh." PRINT INPUT "Horizonal Resolution:", hzres$ ' Table of Resolution IF hzres$ = "1024x768" THEN hzres$ = "18" IF hzres$ = "800x600" THEN hzres$ = "13" IF hzres$ = "640x480" THEN hzres$ = "12"

' Video Colors CLS COLOR 2, 7 PRINT " Video Colors " COLOR 0, 7 PRINT " " PRINT "The number of colors you want to display" PRINT "on your screen can be set below." PRINT "" PRINT "Most likely you will want to use the" PRINT "highest number your screen supports." PRINT "" PRINT "Using too high of a value, will cause" PRINT "you to get a blank screen upon boot." PRINT "" PRINT "For most people, they will want a value" PRINT "of 32 (32 BPP = Millions of Colors)." PRINT "If you have only a few MB of VRAM then" PRINT "you should probably use 16" PRINT "(16 BBP = Thousands of Colors)." PRINT "" PRINT "" 150 INPUT "Colors [16]:", hzcol$ IF hzcol$ = "0" THEN GOTO 150

CLS PRINT TAB(35); addkernelargsi8n$ PRINT "" LINE INPUT "Any other kernel arguments? "; kernelarg$

'Let's do some more cating, so to get this together.

kernelargsfull$ = append$ + "'" + video$ + ":" + hzres$ + ":" + hzcol$ + " " + kernelarg$

'Config Screen CLS PRINT TAB(40); "Generating Configuration..."

'Let's milk the sleep command again 'FOR t = 1 TO 500000 'Delay Loop ' NEXT t SLEEP 5 anotherstupidcasttonowhere$ = INKEY$

'Introduce the user COLOR 0, 7 CLS PRINT "Below is a sample configuration file, you can cut and" PRINT "paste into another program." PRINT "" PRINT "" PRINT "Your quik.conf:" PRINT "" PRINT ""

'Give them the data COLOR 4, 7 PRINT "#Sample quik.conf" PRINT "#Created by Yalamequik"; " on "; DATE$ PRINT boot$; kernelpath$; "" PRINT root$; rootpart$ ' Replace this with the cating one: 'PRINT append$; video$; " "; kernelarg$; ramdiskarg$; ramdiskkb; "'" ' 'When you got nothing, you got nothing to lose. ' PRINT kernelargsfull$; " "; ramdisk$; ramdiskkb; "'"

PRINT alias$; aliasarg$ ' A generation lost in space ' Speaking of that, would the line "KILL c:" be funny ? :P ' Yes, I know I am mean. Commenting is fun. PRINT PRINT PRINT PRINT PRINT COLOR 0, 7 ' Do you want to murder a tree? INPUT "Do you want to dump it to the printer [y/n]?"; dumptoprinter$ IF dumptoprinter$ = "y" THEN

' Change to LPRINT in the future:

PRINT TAB(40); "** Below is a your sample configuration file **" PRINT PRINT "To use this type in your favorite text editior, and" PRINT "save as /etc/quik.conf" PRINT boot$; kernelpath$; "" PRINT root$; rootpart$ PRINT append$; video$; " "; kernelarg$ PRINT alias$; aliasarg$

' Say Bye. PRINT "" PRINT "" PRINT "PRINT Status: Now Printing..." END IF IF dumptoprinter$ = "n" THEN GOTO 2000 2000 END

New week, back to work.

I've written a little howto on some of the optimizations you can use when compiling a program on ppclinux (such as -02, etc.). Unforently, I can't find much info (or if there is) real PowerPC specfic optimizations. There probably isn't. If you know, send them to me -- and see the howto here.

As always, I am taking requests.

My extended Columbus day weekend was nice, except for being so freaking cold. I went for a drive this weekend through Thatcher Park and Knox, the colors on the trees where nice. Saw some snow falling on the Catskills on my so-called "dylan" ride today.

I guess KDE 2 is delayed another week -- that's good, more time for people to perfect stuff.

Listening to some Beatles right now. I should get back to doing real work, but blah.

Cool, It's a Friday -- and a long weekend. A rather boring week (news wise), I must say. Some new stuff for iMacLinux, but I have been rather busy.

I have finished up Emergency Preparness MB this week (and drove there). On Thursday, as always, went to scouts.

Hopefully I'll do something useful to post here.

2 Oct 2000 (updated 2 Oct 2000 at 02:57 UTC) »

Well I just couldn't stay off of the Long Path. So this weekend, I went along with a group of Tenderfoot scouts (the Troop 89 "NeoPatrol") to ToePath Mountain State Campground (outside of Middleberg). We decided to do a five mile hike, up Vroman's Nose, and along the Long Path into Middleberg. It was a great day, the views were awsome. The Schoarie valley is quite cool to look at from that perspective (and even driving in it). From there, we followed the Long Path to Middleberg to get ice cream. Of course, as we all know ;), the Long Path likes to follow hedgerows (along the edges of fields. This wouldn't be to bad in the summer, but in the fall, well to make a long story short, the fields were freshly manured a few weeks ago, so it was easy to get cow shit on your shoes. Oh well.

iMacLinux wise, stuff keeps being posted, and some new G&Hs are up. Have fun.

Anything else exciting? Well, I went on a rafting trip last week, and oh, I ripped some more Mp3s. Got to use the CD-RW drive someday.

Here is a mini script for getting Sourceforge CVS stuff (it's fast and easy, kind of a hack for myself):

# A very simple program to check out
# stuff from annonymous sourceforge CVS.
# (c)2000, Andrew B. Arthur, BSD License.

if [ $1 = "-help" ] then echo "CVSourceforge Update Options:" echo " -help: Print Help" echo " -d: Different Server and Package" echo " -n: Not A Sourceforge Server" exit 1 fi

clear echo " CVSourceforge Update" echo " ... a simple shell script to retrive CVS programs from Sourceforge" printf " (c) 2000, Andrew B. Arthur, BSD License\n\n"

# Package Name Input. printf "Please Enter Package of Choice: " read CVSPROGNAME # Input Required Prog Name

if [ $# -eq 0 ] then printf "\nDifferent Server Flag (-d) Not Enabled, will use same server and package name." CVSASERVER=$CVSPROGNAME read fi

if [ $# -eq 1 ] then printf "Please Enter Server Name: " read CVSASERVER #Read Server Name fi # Introduce User clear printf "Note: I will prompt you for a CVS password. You should just hit return when you get this prompt.\n\n" # Login in Annonymously cvs -d:pserver:anonymous@cvs.$CVSASERVER.sourceforge.net:/cvsroot/$CVSASERVER login # Introduce to Update clear printf "\n\nUpdating or Creating CVS Now...\n\n" # Do The Actual Checkout. cvs -z3 -d:pserver:anonymous@cvs.$CVSASERVER.sourceforge.net:/cvsroot/$CVSASERVER co $CVSPROGNAME printf "\nDone. \n"

I am also working on some majorly lame-o qbasic stuff (right now a stupid quik.conf file generator), I'll post it in the near future.

Okay, I'm out for bed. Thanks again.

Finally got around to getting a learners permit, after my parents bitched about it for way to long. Driving at first was very hard, but after a while it got alot easier. Especially on nice wide roads. I'm still abit nervous on some of the backroads around, that have little or no sholder, and narrow lanes. Still have to try driving in a civilized areas sometime. And, my dad is always telling me drive slower on these roads, as you never know whats going to be ahead over the next hill (like a cow or a deer or something ;).

On the iMacLinux front, some new news articles were posted, and I think I did a guide or someything over the past week. Dunno, it's been pretty crazy lately.

I did my senior picture today. Slept a bunch. Watched some shows on discovery. Kind of a slow day. Mom and Katie are out on vacation.

Still messing with knapster to get the program to compile. It seems to always die of some error or another (it's apparent that it's KDE 2 support is bad). Got to try the cvs version (I assume it's on sourceforge, I'll take a look). KDE 2 still rocks I must say. I did setup cvs kweather over the weekend, it is nice.

Scout wise, I am getting back into the swing. Wensday I worked on Emergency Prep (I finally found a counsler), with Mr. Jukes. I also have scheduled to finish up Hiking next week (and get the card signed off) next week.

Need to meet with my Eagle Advisor (Edge Bagg) and Dick Rapp (Town Supvisor, Representive for my project) over getting my project signed off. Maybe tommorow.

Okay, I know you are now bored out of your mind.

Crazy past few weeks.

Lets see... where to start. Installed KDE 2 beta 3 debs last week. I haven't been keeping up with the CVS stuff lately, because I have been to busy, and it takes forever to compile on my slow machine.

KDE 2 is very nice, although it's a tad bit slower then KDE 1 (but it gets faster over time, I find). Konqueror's khtml seems to be a bit buggy (when it comes to textarea and some tags), but it hopefully will be fixed. krdb supporting GTK+ is very cool.

Last Monday, I went on my final 20 Mile Hike, from Rotterdam Junction to the Stockade district, nearby the GE plant.

Also worked on finishing up my Eagle Project paperwork. Need to set a meeting. On the same note, need to schedule a meeting with my Hiking and Emergency Prep MB Councilers. Yesterday, I did some work setting up the Tenderfoot camping trip.

As always, the news has been updated on iMacLinux, as has some of the other pages. Suggestions are always welcome. Shawn and JohnB, are working turning iMacLinux (and the related sites) into a non-profit org, registered under the name of Opaque Networks. I guess it's for legal purposes or something like that ;\.

I guess that's about it.

Fixed some links on imaclinux. The main problem was hard abosulte links that will break when things move. Unforently, because plain_page.php3 is only avalible on the www.ibooklinux.net/upgrade, I am currently forced to use absolute links

I really should be proof reading stuff before I post it. ;) At least, I think that's what John Buswell why implying when he wrote to me: TEST BEFORE POSTING IT LIVE OR YOU WILL DIE.

Yesterday I went on my 5th 10 mile hike for the Hiking Merit Badge. This was the last section across Berne. Basically I was doing 5 mile streches out then hiking back. Yes, this isn't the fastest way to do it, but if you have only one car, you have to do it.

Cool stuff I discovered. Apple's Mac.com iDisk and iEmail services are avalible under Linux, if you register for them under Mac OS (running in Mac-on-Linux or on another Macintosh computer) This is because, to install iDisk, you need a special Netscape plugin only avalible for Mac OS 9. Actually, you can run the intaller on other versions of Mac OS 7/8, if you hack the System file's version using Resedit.

After you are registered, you can do virtually everything in Linux. iEmail is just simple STMP mail, you enter in mail.mac.com for the STMP server in your Linux mail client, and you login and pass. Then you can recieve mail from your mac.com account, in my case it's andrewarthur@mac.com. I don't check that mail often, so don't bother emailing me there.

iDisk provides 20 megs of Webspace or storage, including a Photo Album. It's a simple old Appleshare over IP volume. To mount it in Linux you need to get asfsp, the Linux Appleshare mounting software. Then mount it using afpmount. The server is at idisk.mac.com. Your login and pass are the ones you registered in Mac.com.

More details, will be posted on imaclinux.net.

Which reminds me, I am out of black ink for my Epson Stylus 600. :(

So what's new...

Over at imaclinux, I've kept the news fairly up to date (its' been a slow week, like most ;). I guess I have added a few g_h's since last week. Beeler's send in his first version of the ibook howto for ibooklinux. Cool.

On the more exciting front, John Buswell, the main project manager, is working a totally new version, on a dedcated new server in his house, that will go online in the middle of October (hopefully). Hopefully, it will be easier to figure out then some of the Sourceforge stuff. While I don't know all of the details, and I probably can talk about them.

Around the same time, we will be releasing powermaclinux.net to our series of sites. This site being worked on mainly by maurice, will be geared to PowerMacs. It will be even more specialized then the pervious sites. Hopefully, it will eventually cover all PowerPC machines

Oh, before you ask, it's not my idea to buy so many domains and set up so many silly frontends. That's Buswell's idea. I think he has big plans, and totally unique frontends for each in the future.

He has some other cool sites he is working on, that I'll probably help contrib to, but I can't really talk about them (wait 'til October or Novemember for this). Sorry.

Started getting caught up on secure shell and secure copy today, as it appears I need to learn them. :) I've been using telnet and ftp for two long. However, they don't seem much more complex. I do use PGP from time to time, so, I am not a total newbie to encryption.

Finished up my eagle project today in BSA Troop 89. I am happy to have it done, now just lots paperwork and some merit badges left.

I guess that's about it. Bye.

Okay, I just wanted to let you know that I put up an early beta of PowerPC Linux Software Page and Newworld PowerMac Page.

It's important to note that these pages are subject to change, and I (and the rest of the imaclinux staff) want suggestions. Hopefully, soon I will figure out a good place to put this in the main iMacLinux database. I have sent a message off to the iMacLinux staff for them to decide.

I hope you enjoy.

Also, I have decided that this diary is as good of place as anywheres to let people know what's up.

Still no news on when my CD-burner is coming :(.

Next guide to work on? Either I will finish the RealPlayer guide or the XMMS one.

Oh, if you have saved somewhere's some of the old iMacLinux (pre-April new version) stuff, please send it to us. We lost all of our good documents last spring when the server crapped out on us.

1 older entry...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!