[eug-lug]Apologies to Dr. Seuss
Why Computers Crash! If a packet hits a pocket on a socket on a port, and the bus is interrupted at a very last resort, and the access of the memory makes your floppy disk abort, then the socket packet pocket has an error to report. If your cursor finds a menu item followed by a dash, and the double-clicking icon puts your window in the trash, and your data is corrupted cause the index doesn't hash, then your situation's hopeless and your system's gonna crash! If the label on the cable on the table at your house, says the network is connected to the button on your mouse, but your packets want to tunnel to another protocol, that's repeatedly rejected by the printer down the hall. And your screen is all distorted by the side effects of gauss, so your icons in the window are as wavy as a souse; then you may as well reboot and go out with a bang, 'cuz sure as I'm a poet, the sucker's gonna hang. When the copy on your floppy's getting sloppy in the disk, and the macrocode instructions is causing unnecessary risk, then you'll have to flash the memory and you'll want to RAM your ROM, and then quickly turn off the computer and be sure to tell your Mom! ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]FARTHER Off topic -- EFN related only
http://www.bayliner.com/ On 01/26/04 03am, horst wrote: > Sorry to bug this list, but this situation is quiet damaging to us(*), > and I know there are folks on this list who can fix the problem in no > time. (*)us being [EMAIL PROTECTED] (Cascade Canoe Club). > We have sent out invitations to a couple hundred people for an upcoming > event with references to our webpage hosted at EFN. > > But what they see instead is : > """ > You step in the stream, > but the water has moved on. > This page is not here. > """ > INSTEAD IT SHOULD MENTION THAT THERE IS A TECHNICAL SERVER PROBLEM, then > people would come back, but now our organiztion looks pretty silly > instead. > > Everybody understands that server problems and maintenance are > unavoidable but the original warning (**) did not mention web outage: > > ~~~ > Date: Wed, 21 Jan 2004 23:51:13 -0800 (PST) > Planned Maintenance While EFN Moves Equipment > > On Sunday, January 25th, EFN system administrators will be moving > some of our equipment out of our old machine room. Work will start > about 06:00 and will continue until we have the moved equipment up > and running at its new location. We hope to have things running by > noon. During the outage EFN hosted services like email will not be > available; dialup Internet service and DSL should continue to be > available. > Due to the changes in our service infrastructure this move will require, > EFN dialup shell service will be unavailable for some time after > the move is completed. While it is our intention to restore > dialup shell when we can, we will not have the capability to deliver > it, and we do not know when we will be able to do it again. > We apologize for any inconvenience, and we thank you for > supporting community networking! > -- > ~~~ > > - Horst ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]Conditional Bash script
That's pi-thon: 3. 1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825 3421170679 8214808651 3282306647 0938446095 5058223172 5359408128 4811174502 8410270193 8521105559 6446229489 5493038196 4428810975 6659334461 2847564823 3786783165 2712019091 4564856692 3460348610 4543266482 1339360726 0249141273 ... On 01/15/04 09pm, Bob Crandell wrote: > The trouble is, I just barely have a grasp on shell programming and I can only spell > piethon. > > Jason ([EMAIL PROTECTED]) wrote: > > > >Aggh, you've just sparked an old suppressed memory. > > > >I had to build this huge BIND install and hardening > >script one time. I created a function for just about > >every task in the script and used a function like that > >to check return values. In each of the task functions, > >I'd set a variable for function name (func_name). > > > >Something like: > > > >check_return () > >{ > > if [ $? -ne 0 ] > >then > > echo "$func_name went foobar" > >else > > echo "A-OK" > > fi > >} > > > >I'm no shell guru. Isn't there a better way to do > >error checking in huge shell scripts? Or is the > >answer: > > > >"Use python" > > > >Damn python bigots. > > > >See y'all tonight. > > > >Jason > > > >Garl wrote: > >> > >>Another way to do this would be to assign $? to a > >>variable and test the variable. That way you can add > >>logic to your script to return the error code and > >what >it means. This is nice when you are trying to > >figure >out why your script failed 2 years after you > >wrote it. > > > > > > > >__ > >Do you Yahoo!? > >Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > >http://hotjobs.sweepstakes.yahoo.com/signingbonus > >___ > >EuG-LUG mailing list > >[EMAIL PROTECTED] > >http://mailman.efn.org/cgi-bin/listinfo/eug-lug > > > > -- > Assured Computing > When you need to be sure. > [EMAIL PROTECTED] > www.assuredcomp.com > Voice - 541-868-0331 > FAX - 541-463-1627 > Eugene, Oregon > > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug] [msurkan@windows.microsoft.com: RE: Fwd: posting to Linux mail list]
Let me guess, we need to be using the latest version of IE, with all the "safety settings" off, and we need to watch a powerpoint(r) show first in order to take the survey... -- But I am being nice! On 12/19/03 01pm, Bob Miller wrote: > Michael Surkan at Microsoft would like to find some Linux users to > take a survey. This is his message. > > Be nice... (-: > > - Forwarded message from Michael Surkan <[EMAIL PROTECTED]> - > > From: Michael Surkan <[EMAIL PROTECTED]> > Date: Fri, 19 Dec 2003 13:07:08 -0800 > Subject: RE: Fwd: posting to Linux mail list > To: Bob Miller <[EMAIL PROTECTED]> > X-MimeOLE: Produced By Microsoft Exchange V6.5.7122.0 > X-MS-Has-Attach: > X-MS-TNEF-Correlator: > Thread-Topic: Fwd: posting to Linux mail list > Thread-Index: AcPGcy+m1Z61vWSzS6+L2IgkNiRFTQAALb/g > > Bob, > > Do I have to join the DL to post? It's just a little difficult to join > every DL I am communicating with. > > Thanks, > Michael > > Here's what I want to post: > === > I am a program manager at Microsoft doing some research around how we > can improve our operating systems. My goal is to help us identify > capabilities, improvements, and features that Microsoft should be > focusing on to help our customers over the next 5 years or so. > > I am particularly interested in hearing from Linux users, and get their > input about what they feel should be the priorities. In particular, I > would like to better understand what it is that makes Linux and Open > Source solutions so useful for you. > > If you would be willing to take a survey I have put together, please > write me at [EMAIL PROTECTED] > > Thanks, > Michael Surkan > > > -Original Message- > From: Bob Miller [mailto:[EMAIL PROTECTED] > Sent: Friday, December 19, 2003 1:01 PM > To: Michael Surkan > Subject: Re: Fwd: posting to Linux mail list > > Hi, Michael. > > You're welcome to join our list and discuss whatever you want. > Subscription instructions are on the web site at www.euglug.org. The > list's email address is <[EMAIL PROTECTED]>. > > However, depending on how you broach the subject, you may get some > impolite replies ( :-) ). You're probably well aware of that. > > > Rob Hudson wrote: > > > I'll let the president do the honors of replying... > > > > - Forwarded message from Michael Surkan > <[EMAIL PROTECTED]> - > > > > From: "Michael Surkan" <[EMAIL PROTECTED]> > > Date: Fri, 19 Dec 2003 00:49:54 -0800 > > To: <[EMAIL PROTECTED]> > > Subject: posting to Linux mail list > > > > I am a program manager in the Microsoft networking group, doing some > > research around how we can improve our operating systems. My goal is > to > > help us identify capabilities, improvements, and features that > Microsoft > > should be focusing on to help our customers over the next 5 years or > so. > > I am particularly interested in hearing from Linux users, and get > their > > input about what they feel should be priorities. > > > > > > > > I was wondering if you would mind if I posted a message on your Linux > > mailing list ([EMAIL PROTECTED]) asking for feedback? I want to > ask > > for people to e-mail me directly if they would be interested in taking > > an on-line survey I have put together (sorry, I don't want to post the > > survey URL directly to the public). > > > > > > > > If you don't feel this is an appropriate use of your list, that's > fine. > > Of course, I am always eager to hear your thoughts if you wanted to > > share them. :-) > > > > > > > > Thanks, > > > > Michael Surkan > > > > > > > > P.S. If it's ok for me to post to your distribution list, what is the > > best way I should do that? Is there an e-mail address you recommend I > > use? > > > > > > > > http://www.euglug.org/list.phtml > > > - End forwarded message - > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]new graphical browser winner for me.
These tests are very un-scientific, but I'm not trying to prove anything. I use Mozilla on my "fast" computer and elinks on my "slow" one. I'm looking forward to the Mozilla Calendar, it looks pretty good, but it's still a little unstable. On 12/18/03 06pm, Mr O wrote: > Have these tests all been run at various times during the day > and in various order to prove your results? :) I know that if > Mozilla is already open and I bring up a new tab I can have > euglug.org loaded before I get to blink. Of course if you're > counting loading time for the browser too then I'm at a loss. > > > --- Ralph Zeller <[EMAIL PROTECTED]> wrote: > > > I prefer elinks myself, because it does a better job IMO at > > rendering > > tables, even though it tests a bit slower than lynx. The > > fastest > > browser here is w3m: > > > > $ time lynx -dump http://www.euglug.org >/dev/null > > > > real0m1.056s > > user0m0.050s > > sys 0m0.000s > > $ time links -dump http://www.euglug.org >/dev/null > > > > real0m1.162s > > user0m0.040s > > sys 0m0.000s > > $ time elinks -dump http://www.euglug.org >/dev/null > > > > real0m1.201s > > user0m0.040s > > sys 0m0.030s > > $ time w3m -dump http://www.euglug.org >/dev/null > > > > real0m0.789s > > user0m0.090s > > sys 0m0.030s > > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]new graphical browser winner for me.
On 12/18/03 12pm, Wayne Scace wrote: > DISCLAIMER: While I do most of my browsing with lynx. IMHO still the > fastest browser on the web, bar NONE! I prefer elinks myself, because it does a better job IMO at rendering tables, even though it tests a bit slower than lynx. The fastest browser here is w3m: $ time lynx -dump http://www.euglug.org >/dev/null real0m1.056s user0m0.050s sys 0m0.000s $ time links -dump http://www.euglug.org >/dev/null real0m1.162s user0m0.040s sys 0m0.000s $ time elinks -dump http://www.euglug.org >/dev/null real0m1.201s user0m0.040s sys 0m0.030s $ time w3m -dump http://www.euglug.org >/dev/null real0m0.789s user0m0.090s sys 0m0.030s $ ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]power fluctuations
Here too, in Cottage Grove. On 12/12/03 02pm, Ben Barrett wrote: > We're getting some power fluctuations here at work, by the river > roughly across from the UO. > > Anyone else? > >Ben ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]Miserable Failure
Don't we have an activist list for stuff like this? On 12/10/03 02pm, Bob Miller wrote: > For a good time... > > 1. Go to Google. http://www.google.com/ > 2. Enter two words: miserable failure > 3. Click "I'm Feeling Lucky" > > Sorry if you've already seen it... > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]No clinic this week (Buy Nothing Day)
On 11/26/03 10am, Bob Miller wrote: > Speaking of Buy Nothing Day, anyone have any idea where/who/how > BND is being celebrated in Eugene? How America celebrates BND: http://s87271508.onlinehome.us/ ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]printing via cups
Tim, You have to open the port to outside computers, for me that means editing a file at /etc/cups/cupsd.conf and adding a line "here and there" that says something like "Allow From 192.168.4.*". Then restart cups and watch /var/log/cups/error_log and /var/log/cups/access_log. Make sure you can load http://tesla:631/ with your browser from boyle. Ralph On 11/25/03 06pm, Timothy Bolz wrote: > Maybe I'm missing something. I thought cups was easy? Do I have to have > Samba running (NO windows machines) when using cups? I've tried to get my > second computer (Boyle) to print on my main computer (Tesla) but to no avail. > I'm using cups on both machines. I have a laser printer on Tesla (main > computer) and a color inkjet printer on Boyle (second computer). I want to > print on the laser printer. I've configured Tesla and it works fine, but > I've added a printer on Boyle telling it Tesla's Printer configuration and > use http://192.168.0.1:631/printers/Laserjet4P but maybe I'm putting in the > wrong info. Tesla's line says parallel:/dev/lp0. Should it be the http one > instead? Anyone tried something like this using cups? I've searched the web > and read the documentation and maybe I just haven't had enought coffee to get > me going. Any help would be apreciated. It has to be something simple. > > Thanks > Tim ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]cOURSE REQS FOR mATH 60
On 11/21/03 10am, Cory Petkovsek wrote: > On Thu, Nov 20, 2003 at 08:06:27PM -0800, Dirk Ouellette wrote: > > I'm planning to take my Nursing pre-reqs now so when I retire from the > > Post office in Oct '06, I'll be ready to go. the following is a > > requirement for my first online Math 60 class. > > Will open Office fill the bill here? > > Thanks, Dirk > > > > Course Specific Requirements: [image]Microsoft Word with Equation Editor > > installed. > > > > You will be submitting homework assigments as Microsoft Word documents. > > You need to have the equation editor loaded in Microsoft Word. Check out > > the following link for instructions on using equation editor > > Ask the course instructor if they are going to fund the purchase of MS > Word. Explain that while the purchase of a $50 or even $100 text book, > while a little excessive is acceptable, the purchase of $3-500 software > product just for the sake of a class is absurd and should not be a > course requirement. Ask about alternatives. Ask now, so that in the > future when you are ready for the class, changes can have had time to > take effect. > > Cory If the instructor "brushes you off", take it to the department head, then to the director or president, on up to the school trustees, and then even to donors and other funding sources. Somewhere you will find someone who is concerned about education costs, and may be able to help the instructor determine whether materials costs are more or less important than personel costs. It's a matter about getting the school to examine its (de facto) policy about requiring specific software when proven alternatives exist. Everyone will benefit from your effort. ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]mail over ssh
Neat idea; I tried it but it didn't work, the status_format command doesn't interpret the % command the same as the index_format command, and even that doesn't update without some keyboard activity as far as I can tell. How about something silly like this: ping -i 840 myisp.net >>/dev/null & mutt && fg On 11/12/03 01pm, Rob Hudson wrote: > At work, I leave an SSH session open to my server and run Mutt off the > server. Recently, our worksite acquired a firewall that closes inactive > sessions after 15 minutes. So if I don't get mail for 15 minutes and > don't use the terminal, it drops me. > > What I'd like to do is update my .muttrc file and add a clock to the > status line. If I 'man muttrc', it tells me I can add "%" to my > "index_format" line to show the current time. Anyone familiar with > mutt rc files? Can I add the % to my status_format line? Any > other ideas to make activity on my screen to not drop the connection? > > Thanks, > Rob ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]Firewalls...
Jamie, Hope your father's ok. I don't know that much about iptables; there seem to be plenty of tutorials about it, though. The main thing is to close everything up, then be very selective about what comes through. Here's a iptables trick I use home. Sometimes the win98 box does dial-up directly, sometimes the linux box dials and shares. I set win98 to use my linux box as the default route and DNS server--which it overrides for direct dialup from win98. When the linux box dials out, I use fetchmail/postfix for getting/sending mail, but I didn't want to have to adjust any settings on the win98 box for this. These lines in my firewall setup will intercept the connections from the win98 box for getting and sending mail, regardless of which isp I choose to connect. Ralph echo "Rerouting to this smtp server, my isp won't relay from here." iptables -A PREROUTING -t mangle -p tcp --dport 25 -s ! 192.168.2.50/32 \ -j MARK --set-mark 444 iptables -A PREROUTING -t nat -m mark --mark 444 -j DNAT \ --to-destination 192.168.2.50 echo "Intercept connections to pop.myisp.IP.net, reroute to this host." iptables -A PREROUTING -t mangle -p tcp --dport 110 -s ! 192.168.2.50/32 \ -j MARK --set-mark 555 iptables -A PREROUTING -t nat -m mark --mark 555 -j DNAT \ --to-destination 192.168.2.50 On 10/09/03 12am, Jamie wrote: > we have a small bit of notes on his talk, they can be found at: > http://www.euglug.org/minutes.phtml?id=31 > and you can download his notes at: > http://www.euglug.org/stateful_firewalling.tgz > Unfortuantly, If cory gives it again, I wont be able to attend :( > Id like to see cory do more presentations, he seems to have quite the nack for > it. Ralph's presentation was pretty decent too. > > Jamie > > > On Thursday 09 October 2003 08:56 pm, Jack Morgan wrote: > : On Wed, 2003-10-08 at 20:45, Linux Rocks ! wrote: > : > So... Im finally getting around to setting up a firewall with IPTables. I > : > havent built a firewall since IPMASQ, and well.. IPTables is a bit > : > different. Cory did a great presentation a few years back, one of the > : > best presentations weve had I might add :) > : > : Well, perhaps we could have another presentation on iptables? I'd also > : like to hear more on the topic. > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]Today's KDE Tip
I changed mine from the default to opening a new tab, entering all this on one line in the preferences: ps x |grep -q '[m]ozilla' && mozilla -remote "openURL(%s, new-tab)" || mozilla "%s" On 10/08/03 01pm, Bob Miller wrote: > I recently discovered something cool in KDE. Some of you already > know this, some of you don't care, some of you don't use KDE, but > maybe there's one or two of you who will find this helpful. (-: > > If you launch klipper, aka Cut 'n' Paste History, then whenever you > make a text selection that happens to be a URL (starts with http:// or > https://) then a menu pops up in the lower right corner of your > screen and lets you select from several browsers to open that URL. > > We already knew that. (Some of us did. Maybe.) > > Today's tip is, that menu also has keyboard shortcuts. For example, > just type, 'M' to open the URL in Mozilla. That saves you the trouble > of dragging the cursor all the way down to the very corner of the > screen, then lining it up on a little bitty menu item. (My mousing > skills aren't good. I have trouble selecting menu items quickly. I > have trouble double-clicking too.) > > I've always found klipper to be a handy thing. Now that I know about > its keyboard shortcuts, I like it even better. > > Some people don't care for klipper. I'm no missionary* -- if you > don't like it, right-click** its icon in the panel (it looks like a > clipboard with a K), and select Quit from the pop-up. Then say No > when it asks whether it should start automatically. > > We hope you have enjoyed Today's KDE Tip. > > * I'm a Linux missionary, but not a Klipper missionary. > ** Technically, that should be "button-3-click", for the Lefties. > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]tar oddness
Works for me using Redhat 7.3: $mkdir blah $touch blah/tmp $tar cvf ./blah blah/ blah/tmp $ls blah* blah.tar blah: tmp $tar t > > Redhat 7.3: > when I perform any tar operation (tar cvf blah.tar ./blah) all I get is a > listing of files in in my current directory. I have checked the env and aliases > and cannot find anything about the problem in my web searches. Any suggestions? > > --Christopher ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]fetchmail
Tim, If you're just trying now, beware efn just changed the mail server and it might not have propagated to your local DNS server. You should be trying to connect to pop.efn.org, which should resolve to 207.189.190.10 Thanks Larry for helping me understand this! Ralph On 09/20/03 10am, Timothy Bolz wrote: > I've heard about fetchmail for years and finally read something about it. > >From what from what it sounds like it will fetchs you mail every so often. > How often does it get the e-mail? I use kmail and I have to press the > download button every time I want my mail. It looks like it's pretty simple > just set up an .fetchmailrc file with some script in it. Will it know what > directory my mail goes in? I've tried the command line of fetchmail > "fetchmail -k -s -u myusername efn.org" it gives the following. > Enter password for [EMAIL PROTECTED]: > IMAP connection to efn.org failed: Connection refused > POP3 connection to efn.org failed: Connection refused > fetchmail: Query status=2 (SOCKET) > > Any Idea's? > > Thanks > Tim ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]using a UPS
On 09/13/03 09pm, Mr O wrote: > How many are using a UPS on a linux system? What program are you > using to monitor? I have a Belkin UPS hooked up to my serial > port but haven't quite found software for it yet. Hoping for a > little advice before I go about breaking things. I read that if > you send the wrong commands to a smart UPS you can turn it into > a dump UPS real easily. Not something I want to do :) > > Thanx, > > Mr O. > I have five linux pc's on UPS. I'm using Cyber-Power and APC systems. There are linux tools for these, but I'm not using them at the moment. Like Bob, I mainly need just to buffer the one-second power interruptions that are common in Cottage Grove. For longer interruptions, I have time to shut things down properly. I recently cooked a motherboard when an old Cyber-Power UPS failed. The unit was installed late in 1997, and was running RedHat 6.1 when it failed. So, it might be worthwhile to set up the monitoring software, I plan to use it after this experience. ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]ssh with X
localhost$ xhost +remotehost remotehost being added to access control list localhost$ ssh remotehost [EMAIL PROTECTED]'s password: Last login: x remotehost$ xterm On 08/15/03 03pm, Rob Hudson wrote: > Does anyone have tips on SSHing and launching X apps on the remote > machine and have them appear on the local machine? > > Even if I connect with ssh -X, I can't seems to get it to work. > > Thanks, > Rob ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug] Caps-lock (vs. SQL)
Ben, Actually, I use maildir files for mail. I use SQL databases for accounting data. I hadn't thought of how NOISY the TYPICAL SQL query string is UNTIL you MENTIONED the funny USE OF the "capslock" KEY. Ralph On 08/09/03 12pm, Ben Barrett wrote: > AFAIK, you don't *need* UC in your SQL statements, but it sure > helps the readability thereof > > Ben > > PS - do you use a custom script to put your mail in your DB, or is it > some nifty package? > > > On Sat, 9 Aug 2003 11:50:43 -0700 > Ralph Zeller <[EMAIL PROTECTED]> wrote: > > | Capslock is useful for SQL; all keys are useful for xmodmap. > | > | SELECT message FROM mail WHERE subject LIKE "eug-lug"; > | > | On 08/09/03 11am, Ben Barrett wrote: > | > Yeah that's the worst, when, say caps lock is accidentally enabled > | > while you enter a new password. Isn't caps-lock outdated? Does > | > anyone make useful use of it (*other* than SHOUTING EXTENSIVELY)? > | > > | > regards, > | > > | >Ben > | ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug] Caps-lock
Capslock is useful for SQL; all keys are useful for xmodmap. SELECT message FROM mail WHERE subject LIKE "eug-lug"; On 08/09/03 11am, Ben Barrett wrote: > Yeah that's the worst, when, say caps lock is accidentally enabled while > you enter a new password. Isn't caps-lock outdated? Does anyone make > useful use of it (*other* than SHOUTING EXTENSIVELY)? > > regards, > >Ben > > On Fri, 8 Aug 2003 02:03:35 -0700 > "Patrick R. Wade" <[EMAIL PROTECTED]> wrote: > ... > | made booboo with vipw and didn't notice at time > | ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]importing "mbox" into Mozilla?
Evolution and Mutt peacefully co-exist using MailDir; that's what I use--Most of the time I use mutt for reading mail. But some of the time, it's nice to use Evolution for email. If you want Mozilla mail as well I think you could set up an IMAP server, which would (theoretically) let you use Mozilla, Mutt and Evolution at a whim, without having to import or export mail. And I think kde's mailer would work with an IMAP server too? Mozilla does not yet support MailDir mailboxes directly as far as I know; if you want MailDir mailboxes with Mozilla, you'd need to set up an IMAP server in between. There are lots of examples of .muttrc configurations; the config- uration possibilities are endless. Let us know what you want mutt to do for you, there is probably a way. On 08/03/03 08am, Mr O wrote: > Two words: Evolution, Mutt. > I would like to have both setup sharing the same folders. This > way I have the calendar and everything that Evolution offers but > at the same time I can ssh in anytime and read my mail too. Me > wishes that I had caught Ralph's presentation on Mutt since I > can't get my .muttrc configured correctly. > > And my system is set for autoclean. > > > > > --- Bob Miller <[EMAIL PROTECTED]> wrote: > > Mr O wrote: > > > > > Anyone? Can I import my Evolution mail into Mozilla? The > > last > > > two times I've done an "emerge world" Evolution got borked. > > > > Two words: Mutt. > > > > Uh, I mean... Mutt. Mutt! > > > > > And KBob, it's LYNUCKS :) > > > > Oh, that explains it. I thought it was MACawsseks and > > FREEbussed. > > > > Another advantage of mutt: easy to pronounce. (-: > > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]free Lego blocks
Now it's up to the Lego's to keep my kids busy so I can make it to a eug-lug meeting... On 07/28/03 12pm, Mike O wrote: > Ralph has made a call for them since he has children. Sorry :) > > > --- Linux Rocks! <[EMAIL PROTECTED]> wrote: > > hh I love legos! I may have to take you up that! if > > someone more > > deserving (like a kid...) doesnt take them first! > > > > Jamie > > > > At 06:21 PM 7/27/03 -0700, you wrote: > > >Anybody know anyone who's into Lego's? I have a bunch to get > > rid > > >of. Many of them have been in and out of fish tanks over the > > >years and have had algae on them so if they go to a child > > they > > >should be boiled first. They are free to anyone interested. > > >Quite a variety of mostly older style standard blocks, > > Technic, > > >and misc. small parts. Just contact me off list if you're > > >interested. > > > > > >Thanx, > > > > > >Mr O. > > > > > >__ > > >Do you Yahoo!? > > >Yahoo! SiteBuilder - Free, easy-to-use web site design > > software > > >http://sitebuilder.yahoo.com > > >___ > > >EuG-LUG mailing list > > >[EMAIL PROTECTED] > > >http://mailman.efn.org/cgi-bin/listinfo/eug-lug > > > > > > > ___ > > EuG-LUG mailing list > > [EMAIL PROTECTED] > > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]grub
Rob, You can look for yourself; something like: cd ~ cp /boot/initrd-xxx.img ~/whats_this.img.gz gunzip whats_this.img.gz mkdir mnt mount -o loop,ro whats_this.img mnt ls -laR mnt Ralph On 07/18/03 11am, Rob Hudson wrote: > So, since RedHat9 uses ext3, initrd probably has the ext3 module in it > so it can load the kernel? > > > On 20030718.1110, Cory Petkovsek said ... > > > > On Fri, Jul 18, 2003 at 10:47:31AM -0700, Bob Miller wrote: > > > Rob wrote: > > > > It dies when it tries to mount root. I wasn't sure what that > > > > 'root=LABEL=/1' thing was, so I left it. > > > > > > There may be a patch or special config setting needed (I don't know > > > for sure) to enable booting by label. Try replacing root=LABEL=/1 > > > with root=/dev/hda3 or whatever. > > > > > > > Also, remind me what initrd does? Do I need it? How do you make one? > > > > > > Initrd is short for initial ram disk. It is a ram disk image that the > > > boot loader loads into memory with the kernel. If your distro > > > uses initrd, then you should too, because it's hard to second-guess > > > what their config files do. > > Inital ram disk that often has kernel modules in it like... oh.. extfs, > > reiserfs, ext3fs. Since your kernel can't mount your root file system > > it may be because the kernel does have file system support for it. > > > > However I would take out root=LABEL=/1. I don't know what that is, but > > the root option tells the kernel where to to look for the root file > > system. Try root=/dev/hda1, which is what you specified already with > > "root (hd0,0)" > > > > > > Cory > > > > -- > > Cory Petkovsek Adapting Information > > Adaptable IT ConsultingTechnology to your > > (541) 914-8417 business > > [EMAIL PROTECTED] www.AdaptableIT.com > > ___ > > EuG-LUG mailing list > > [EMAIL PROTECTED] > > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > ___ > EuG-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]java
Yes. Can you run other java programs? Can you run `java` and `javac` from your shell? On 06/25/03 04pm, Rob Hudson wrote: > I've done that. If I check Help->About plugins it doesn't show up > there. Should it? > > > On 20030625.1636, Ralph Zeller said ... > > > > put a link in your mozilla plug-in directory, something like: > > > > cd /usr/local/mozilla/plugins > > ln -s /usr/java/j2re1.4.1_02/plugin/i386/ns610/libjavaplugin_oji.so . > > > > delete any other java plugins in your mozilla plug-in directory. ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]java
put a link in your mozilla plug-in directory, something like: cd /usr/local/mozilla/plugins ln -s /usr/java/j2re1.4.1_02/plugin/i386/ns610/libjavaplugin_oji.so . delete any other java plugins in your mozilla plug-in directory. On 06/25/03 02pm, Rob Hudson wrote: > Thanks for the replies. It seemed I had a java install from a previous > chunk of java XML something or other I was playing with. That got me as > far as compiling newsmonster, which uses Ant instead of a Makefile. > > Now that I have a .xpi file and tell Mozilla to install it. When I > restart, it complains that Mozilla can't find my java. I can't find > anywhere to tell Mozilla where my java is. I even went to > http://java.mozdev.org/ and got the blackdown java .xpi and that doesn't > work either. I can try the sun one, I suppose. > > Is there an easier way to get Moz and Java working together? > > Thanks, > Rob > > > On 20030625.1239, Cory Petkovsek said ... > > > > On Wed, Jun 25, 2003 at 09:39:56AM -0700, Rob Hudson wrote: > > > What's a good JDK to install on Linux? I think there are different > > > varieties (Sun's JDK, IBM's Kaffe?, etc.) > > > > > > I was looking at installing NewsMonster, a mozilla based blog reader, > > > but it requires a JDK. > > > http://newsmonster.org/ > > > > > > Thanks, > > > Rob > > > > I've used the jdk/jre from sun, and the jre from blackdown.org (ships > > with gentoo). > > > > Either's fine. Don't get the MS Java VM though. > > ___ > > EuG-LUG mailing list > > [EMAIL PROTECTED] > > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]BBC with NTFS support?
The RIP-cd has a nice feature: a dd-like utility for reading mostly unreadable drives, it won't give up just because there are a few (thousand?) read-errors. On 06/24/03 03pm, Mike O wrote: > Actually, after booting the lnx-bbc I did notice it had NTFS > support. It's just not mentioned on the website. > Thanks though. I'll check out the other one later for the heck > of it. > > Mr O. > > > --- Ralph Zeller <[EMAIL PROTECTED]> wrote: > > This one works for reading at least. I haven't tried writing. > > > > http://www.tux.org/pub/people/kent-robotti/looplinux/rip/ > > > > On 06/24/03 02pm, Mike O wrote: > > > Anyone know of a bootable CD that includes NTFS support? > > Even > > > read-only would satisfy me since I'm trying to copy off NTFS > > > onto FAT. From the looks of the lnx-bbc 2.1 it doesn't seem > > to > > > include NTFS support. The Gentoo liveCD won't do it, and > > Knoppix > > > hangs trying to create an /etc/fstab. (Trying to pull info > > off > > > an IBM DeathStar) > > > > > > Thanks. > > > > > > Mr O. > > > > > ___ > > EuG-LUG mailing list > > [EMAIL PROTECTED] > > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]BBC with NTFS support?
This one works for reading at least. I haven't tried writing. http://www.tux.org/pub/people/kent-robotti/looplinux/rip/ On 06/24/03 02pm, Mike O wrote: > Anyone know of a bootable CD that includes NTFS support? Even > read-only would satisfy me since I'm trying to copy off NTFS > onto FAT. From the looks of the lnx-bbc 2.1 it doesn't seem to > include NTFS support. The Gentoo liveCD won't do it, and Knoppix > hangs trying to create an /etc/fstab. (Trying to pull info off > an IBM DeathStar) > > Thanks. > > Mr O. > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]python2exe
Python's great. It starts slower than many small unix programs but the code is very readable. The wxPython library is a nice gui, there are several ways to do gui development with wxPython--boa, pythoncard, wxGlade, or vim! The scripts are fairly fast and responsive; it's not that hard to create programs that are comparable to c++ in speed. Best of all, there is no effort to compiling, linking, etc. Most developers using python rely on only the "print" command and builtin traceback info for debugging. I like wxPython because the code is very windows/linux portable. I like boa because you can use it to quickly create gui forms, menus, toolbars, and grids that work. You can add your own code, and drag it all back into boa to change the gui stuff. On 06/19/03 02pm, Rob Hudson wrote: > How is the executable on speed? Does it start up pretty quickly? > > > On 20030619.1439, Ralph Zeller said ... > > > > On 06/19/03 01pm, Rob Hudson wrote: > > > I ran into this today and thought it was interesting... > > > http://starship.python.net/crew/theller/py2exe/ > > > > > > There's also a perl2exe. > > > http://www.indigostar.com/perl2exe.htm > > > > > > Anyone ever play with these? > > > > py2exe works great. Except, the binary files can get really big if the > > library is big. For instance, I have a small (less than 150 code lines) > > wxpython program which lets you select a contact from a database, and > > print a label from the selection. The executable files are about 8mb. > > I haven't tried to trim it down; perhaps I'm importing too much stuff? > > > > I haven't tried perl2exe. > > ___ > > EuG-LUG mailing list > > [EMAIL PROTECTED] > > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]python2exe
On 06/19/03 01pm, Rob Hudson wrote: > I ran into this today and thought it was interesting... > http://starship.python.net/crew/theller/py2exe/ > > There's also a perl2exe. > http://www.indigostar.com/perl2exe.htm > > Anyone ever play with these? py2exe works great. Except, the binary files can get really big if the library is big. For instance, I have a small (less than 150 code lines) wxpython program which lets you select a contact from a database, and print a label from the selection. The executable files are about 8mb. I haven't tried to trim it down; perhaps I'm importing too much stuff? I haven't tried perl2exe. ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]a stupid Gentoo Sparc question
Rodney, I hope this is not a dumb answer! $bunzip2 Gentoo-Sparc64.iso.bz2 Ralph On 06/09/03 09am, Rodney Mishima wrote: > Hope this does not reveal how dumb I am. > > I downloaded a Gentoo Sparc file which is a compressed ISO > > It is > > Gentoo-Sparc64.iso.bz2 > > How do I uncompress it to Gentoo-Sparc64.iso so I can burn it to a CD, then > boot from it on my Sparc Workstation. > > Thanks, > > Rodney > > P.S. I tried to uncompress the .iso.bz2 file on my Mac under OS X with the > "Stuffit" utility, but it hangs up. > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]A RedHat'r responds....
I use RedHat; I have it installed on about five PC's. It's easy, it works, but my uptimes aren't as good as some because of my cheap hardware and habit of turning off computers when not in use. I use Mandrake on the kids' computer--the menu's were better organized on Mandrake, and it came with more games, as I recall. My 'minimalist' home router-machine has a 66mhz-Cyrix with 16mb of ram. It is a mostly original "Leading Edge" computer that someone gave me because it was not capable of upgrading from windows 3.1 to windows 95 years ago. Last summer I loaded a mostly original RedHat 7.3--I know, I really should replace it or at least compile a low memory kernel but hey, it works. I think it's amazing that a 2.4 kernel will work at all with such an old machine, but it does alright as a dial-up router, firewall, print-server, etc. It probably doesn't even have the horsepower to decode an mp3! This box has seen a few drive upgrades, but has been mostly turned-on, running and operational 24/7 since 1996, probably used little for the years before 1996. ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]burning MP3 CDs
Or use a find statement, `find mp3/* -printf "%p %TY%Tm%TH%TM%TS\n"` On 06/02/03 01pm, Dave Wyatt wrote: > It didn't quite come out correct, but this gets me in > the right direction. A little tweaking and all should > be good... Thanks. > > Dave > > --- Ralph Zeller <[EMAIL PROTECTED]> wrote: > > Maybe try something like: > > > > $x=0; for i in mp3/*; do let x=$x+1; echo "$i > > $x">>sortlist; done; > > $less sortlist #does it look sorted right? > > $mkisofs -r -J --sort sortlist -o mymp3s.img mp3/* > > > > On 06/02/03 10am, Dave Wyatt wrote: > > > I have created a single MP3 music CD of a multi-CD > > > set. I have tried everything I can think of to get > > the > > > MP3 files to burn on an unsorted way. Even using > > a > > > -path-list file with the MP3 files in the order I > > want > > > them to be burnt does not work, the files are > > still > > > sorted by filename in the mkisofs image. > > According to > > > man there is a -sort option for mkisofs but I > > don't > > > understand how it works. > > > > > > Can someone help me with that option or have a > > > suggestion how to get the files burnt in the order > > I > > > want (which is by creation date if it makes a > > > difference)? > > > > > > Dave > > > > > ___ > > EuG-LUG mailing list > > [EMAIL PROTECTED] > > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [eug-lug]burning MP3 CDs
Maybe try something like: $x=0; for i in mp3/*; do let x=$x+1; echo "$i $x">>sortlist; done; $less sortlist #does it look sorted right? $mkisofs -r -J --sort sortlist -o mymp3s.img mp3/* On 06/02/03 10am, Dave Wyatt wrote: > I have created a single MP3 music CD of a multi-CD > set. I have tried everything I can think of to get the > MP3 files to burn on an unsorted way. Even using a > -path-list file with the MP3 files in the order I want > them to be burnt does not work, the files are still > sorted by filename in the mkisofs image. According to > man there is a -sort option for mkisofs but I don't > understand how it works. > > Can someone help me with that option or have a > suggestion how to get the files burnt in the order I > want (which is by creation date if it makes a > difference)? > > Dave > ___ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]KDE 3.1.1 (KDE for workgroups?)
In prior release of KDE: Control Center --> Look & Feel --> Shortcuts --> Navigation --> Walk through Windows On 03/26/03 10am, Rob Hudson wrote: > I just installed KDE 3.1.1 via Konstruct (the Garball thing for KDE). > It's installed and I'm playing around with it, customizing things. > > The one thing I'd like to customize is the way Alt-Tab works to cycle > through windows. I can't find any way to configure it and am guessing > it's hidden somewhere. Can any KDE users give me any pointers? > > Thanks, > Rob > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]CIA Processors
Maybe something's wrong with Joseph's gpg encoding? On 03/24/03 02am, Bob Crandell wrote: > Broken? Email from Joseph and Klez are about the only ones that show up empty. > What's broken? > > Ralph Zeller ([EMAIL PROTECTED]) wrote: > > > >Rather, "How come phpgroupware is broken?" > > > >On 03/24/03 12am, Bob Crandell wrote: > >> How come your messages are empty? > >> > >> Joseph Carter ([EMAIL PROTECTED]) wrote*: > >> > > >> >-BEGIN PGP SIGNATURE- > >> >Version: GnuPG v1.2.1 (GNU/Linux) > >> >Comment: 1024D/20F62261F1857A3E79FC44F98FF7D7A3DCF9DAB3 > >> > > >> >iEYEARECAAYFAj5+T5wACgkQj/fXo9z52rOnQQCff1b6F54dDE9zGfebJiUpVHod > >> >qW0Anj7ywjOOLAqs8gOXRhcrYKapi2Ii > >> >=G07b > >> >-END PGP SIGNATURE- > >> > > >> > >> -- > >> Bob Crandell > >> Assured Computing > >> When you need to be sure. > >> [EMAIL PROTECTED] > >> www.assuredcomp.com > >> Voice - 541-689-9159 > >> FAX - 541-463-1627 > >> Eugene, Oregon > >> > >> > >> ___ > >> Eug-LUG mailing list > >> [EMAIL PROTECTED] > >> http://mailman.efn.org/cgi-bin/listinfo/eug-lug > >___ > >Eug-LUG mailing list > >[EMAIL PROTECTED] > >http://mailman.efn.org/cgi-bin/listinfo/eug-lug > > > > -- > Bob Crandell > Assured Computing > When you need to be sure. > [EMAIL PROTECTED] > www.assuredcomp.com > Voice - 541-689-9159 > FAX - 541-463-1627 > Eugene, Oregon > > > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]CIA Processors
Rather, "How come phpgroupware is broken?" On 03/24/03 12am, Bob Crandell wrote: > How come your messages are empty? > > Joseph Carter ([EMAIL PROTECTED]) wrote*: > > > >-BEGIN PGP SIGNATURE- > >Version: GnuPG v1.2.1 (GNU/Linux) > >Comment: 1024D/20F62261F1857A3E79FC44F98FF7D7A3DCF9DAB3 > > > >iEYEARECAAYFAj5+T5wACgkQj/fXo9z52rOnQQCff1b6F54dDE9zGfebJiUpVHod > >qW0Anj7ywjOOLAqs8gOXRhcrYKapi2Ii > >=G07b > >-END PGP SIGNATURE- > > > > -- > Bob Crandell > Assured Computing > When you need to be sure. > [EMAIL PROTECTED] > www.assuredcomp.com > Voice - 541-689-9159 > FAX - 541-463-1627 > Eugene, Oregon > > > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
[Eug-lug]Mutt updates for buffer overflow problems
Lots of us use mutt, looks like it's time to upgrade: http://www.mutt.org "Mutt 1.4.1 and 1.5.4 were released on March 19, 2003. These releases both fix a buffer overflow identified by Core Security Technologies. The only differences between 1.4 and 1.4.1 are bug fixes. If you are currently using 1.4, it's probably a very good idea to update." ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]win4lin in gentoo
John, Nettraverse is usually about three kernel patches behind, so prepare to compile your own kernel if you're running something recent. I doubt they have precompiled kernels for gentoo anyway... It's not that hard to patch a generic kernel for win4lin. Ralph On 03/22/03 01am, john fleming wrote: > Does anyone know how to setup win4lin in gentoo? > > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]evolution - group by categories
Click the Contacts icon. On the grey-bar above the listing of contacts, select "Search", "Category is", and select the Category. As long as we're talking about Evolution, I can't figure out where the font substitution table is--when I print messages encoded with unusual fonts, Evo prints in a strange cursive font, that's practically unreadable. On 03/21/03 02pm, Cory Petkovsek wrote: > I'm making all my contacts in evolution and I'm categorizing them. Now I > want to group them by categories. Where's that option? The help says I can > do it, but does not say _how_ to do it. I've categorized my contacts, but I > can't figure out how to view by categories. I don't see the "Categories" > option in the group by window. > > Cory > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]SETI@home news bulletin (fwd)
On 03/21/03 11am, Jamie wrote: > Dear jamie: > > This is an exciting time for [EMAIL PROTECTED] > On March 18-20 2003 we travel to the Arecibo radio telescope > to re-observe the most promising "candidates" produced by our search so far. > There is a chance that these new observations will yield > the first real evidence of extraterrestrial life. > Thanks for being part of this history-making effort! > According to our records, you have processed 1 work units, > the most recent on December 13, 1901. It's surprising you are still in their databases since you apparently have not contributed in over 100 years! ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]meeting
More than one way to boot a roommate. On 03/05/03 12pm, Linux Rocks ! wrote: > Maybe Ralph should have said lilo ? > > Jamie > > On Wednesday 05 March 2003 09:00 am, Tim Howe wrote: > : If we plan to now, perhaps people could prepare something to bring > : tonight... Maybe I could throw some pasta together? Anyone else? > : > : TimH > : > : On Wed, 5 Mar 2003 08:47:33 -0800 > : > : Ralph Zeller <[EMAIL PROTECTED]> wrote: > : > If only we had grub. (sorry!) > : > > : > On 03/04/03 11pm, Mike O wrote: > : > > How about I boot my roomie and we go back to my place :) If only > : > > . > : > > > : > > --- Bob Miller <[EMAIL PROTECTED]> wrote: > : > > > Tim Howe wrote: > : > > > > Is there a meeting this week? Today, tomorrow? > : > > > > : > > > This week, the clinic is on Wednesday. EFN. 6:30 to > : > > > eternity. > : > > : > ___ > : > Eug-LUG mailing list > : > [EMAIL PROTECTED] > : > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > : > : ___ > : Eug-LUG mailing list > : [EMAIL PROTECTED] > : http://mailman.efn.org/cgi-bin/listinfo/eug-lug > > -- > Let's call it an accidental feature. > -- Larry Wall > > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]meeting
If only we had grub. (sorry!) On 03/04/03 11pm, Mike O wrote: > How about I boot my roomie and we go back to my place :) If only > . > > --- Bob Miller <[EMAIL PROTECTED]> wrote: > > Tim Howe wrote: > > > > > Is there a meeting this week? Today, tomorrow? > > > > This week, the clinic is on Wednesday. EFN. 6:30 to > > eternity. ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]justifying text
Neil's suggestion is better, and for clarification I meant to say 'nroff'. On 03/03/03 04pm, Cory Petkovsek wrote: > Recall a discussion when Dexter left the list about his last email that was > fully left and right justified without additional spaces. Ralph said, "How > quickly we forget the wonders of troff." ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Multiple pictures to one sheet to be printed
Tim, I'd use Imagemagick to convert the big pictures so an appropriate sized thumbnail picture. Ralph Something like this (which also converts the files to gif): --- #!/bin/bash for i in myBigPictures/*.jpg do f="`basename $i`" f=${f%.jpg} convert -resize 140x140 -colors 16 myBigPictures/$f.jpg myThumbs/$f.gif; done On 02/21/03 04pm, Timothy Bolz wrote: > I was wondering if anyone knew if there was a program which you specify a > number of pictures and it prints as many as it can fit on one 8.5x11 sheet. > Or a program which takes many different sized pictures and prints them in > either thumbnails or a size which you tell it to. What happened is I scanned > individual photos into the computer. If I print them out on photopaper they > are the size I scanned them in, which is a waste of paper. I've been using > gimp and opening the photos up and coping and pasting into a sheet that > print's out as 8.5x11. I thought there has to be an easier way to do this. > The pictures are varied sizes. Some are small 1x1 while others are full > 8.5x11. I latter started scanning all the photos in a 8.5x11 sheet. This > made things a little better. I would lke to scan only individual photos in > though. Any suggestions would be apreciated. > > Also I've been using GQview and I love it. I can do a slideshow and it's > great. The only problem is it doesn't like larger file sizes. It just > disapears when it hits those large pictures. I moved the large picture into > another directory and it works fine. Nautalis doesn't display them, it just > shows an icon. This is a little nicer than the GQview just disapearing. I > figure out the file size limit by using nautalis. > > Thanks > Tim > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
[Eug-lug]Vim quick-reference
Here's a link to a 525-page book about Vim: http://www.newriders.com/books/opl/ebooks/0735710015.html And since Vim users are always looking for something a little faster, here are direct links to the book's quick-reference pages: http://www.newriders.com/books/opl/ebooks/0735710015/css/0735710015_528.html http://www.newriders.com/books/opl/ebooks/0735710015/css/0735710015_529.html http://www.newriders.com/books/opl/ebooks/0735710015/css/0735710015_530.html http://www.newriders.com/books/opl/ebooks/0735710015/css/0735710015_531.html http://www.newriders.com/books/opl/ebooks/0735710015/css/0735710015_532.html http://www.newriders.com/books/opl/ebooks/0735710015/css/0735710015_532.html http://www.newriders.com/books/opl/ebooks/0735710015/css/0735710015_534.html ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]underlining words in text!
In mutt, you can add a line in your .muttrc like this: color underline brightgreen default which will make Cory's underlined words appear in bright green on a display that supports color. On 01/27/03 08pm, Jacob Meuser wrote: > On Mon, Jan 27, 2003 at 05:29:30PM -0800, Cory Petkovsek wrote: > > Well for those of you not viewing your mail through a terminal they are > > characters that tell the tell the terminal to underline the text. > > Well, the underscores don't show up for me in mutt (1.4i/OBSD 3.2/ > ncurses 5.2); just looked like plain text. > > -- > <[EMAIL PROTECTED]> > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]underlining words in text!
Actually, that should be "_I" On 01/27/03 05pm, Cory Petkovsek wrote: > Well for those of you not viewing your mail through a terminal they are > characters that tell the tell the terminal to underline the text. > > I had typed: I^H_ to get I_ or an underlined I. ^H is the backspace > character so It's printing an I, backspacing then printing an underscore > which tells some terminals to underline the character. However as kbob > pointed out it is better to do ^H_I : _I so if the terminal doesn't support > it, it will supposedly show the letter rather than the underscore. > However I see in some terminals it will print _I rather than an > underlined I. > > In vi typing ctrl+h will delete the previous character so I use ctrl+v > to escape it. Thus I actually type: ^V^H_I to get an underlined I via > vim. > > Cory > > On Tue, Jan 28, 2003 at 01:16:06AM +, Bob Crandell wrote: > > I use phpGroupware. > > > > What's those little squares after each of the letters? > > > > Cory Petkovsek ([EMAIL PROTECTED]) wrote*: > > > > > >Hey look at this neat trick I learned: I_ c_a_n_ u_n_d_e_r_l_i_n_e_ >w_o_r_d_s_!_ > > > > > >Those of you using gui mail clients will probably not be able to see it > > >properly, but who knows? > > > > > >___ > > >Eug-LUG mailing list > > >[EMAIL PROTECTED] > > >http://mailman.efn.org/cgi-bin/listinfo/eug-lug > > > > > > > ___ > > Eug-LUG mailing list > > [EMAIL PROTECTED] > > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
[Eug-lug]Idea for ELUG mascot...
This would have been a great mascot for ELUG, with a "Northwest" theme, too bad it's already taken: http://trace.wisc.edu/linux/pics/lars.gif ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Unusual num-pad behavior
It's not a KDE setting... It works even if there's no window manager loaded at all. I think it's a xkb setting, there are a _lot_ of configuration files under /usr/X11R6/lib/X11/xkb/ These are all included in the rpm for XFree86-4.2.0-8. My /etc/X11/XF86Config-4 includes: Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "us" On 01/15/03 12pm, Ben Barrett wrote: > In KDE only?? I'm running Gnome/sawfish (also on RedHat) and > ctrl-shift-numlock doesn't seem to enable this feature for me... > is there an XF86Config entry for it? > > On Wed, 2003-01-15 at 11:34, Grigsby, Garl wrote: > > Ralph, > > You can turn this feature on and off by hitting CTRL-SHIFT-NUMLOCK. Works nice >when you don't have a mouse. > > > > Garl > > > > -Original Message- > > From: Ralph Zeller [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, January 15, 2003 11:27 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [Eug-lug]Unusual num-pad behavior > > > > > > It is nice--or, it would be nice, if I knew how to turn it on and off. > > Yes, the diagonal keys work as well, and acceleration works smoothly. > > The "5" key works like a middle button "paste" command. > > > > Just as mysteriously, though, I seem to have my regular num-pad back. > > > -- > Ben Barrett <[EMAIL PROTECTED]> > counterclaim > > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Unusual num-pad behavior
Thanks, Garl, this is a neat X trick, I wonder where it's documented. I knew about these keys, described in `man XFree86`, but the mouse emulator is a new one to me: Multiple key presses recognized directly by XFree86 are: Ctrl+Alt+Backspace Immediately kills the server -- no questions asked. This can be disabled with the DontZap XF86Config(5x) file option. Ctrl+Alt+Keypad-Plus Change video mode to next one specified in the configuration file. This can be disabled with the DontZoom XF86Config(5x) file option. Ctrl+Alt+Keypad-Minus Change video mode to previous one specified in the configuration file. This can be disabled with the DontZoom XF86Config(5x) file option. Ctrl+Alt+F1...F12 For BSD and Linux systems with virtual terminal support, these keystroke combinations are used to switch to Virtual Console 1 through 12. On 01/15/03 02pm, Grigsby, Garl wrote: > Ralph, > You can turn this feature on and off by hitting CTRL-SHIFT-NUMLOCK. Works nice >when you don't have a mouse. > > Garl > > -Original Message- > From: Ralph Zeller [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 15, 2003 11:27 AM > To: [EMAIL PROTECTED] > Subject: Re: [Eug-lug]Unusual num-pad behavior > > > It is nice--or, it would be nice, if I knew how to turn it on and off. > Yes, the diagonal keys work as well, and acceleration works smoothly. > The "5" key works like a middle button "paste" command. > > Just as mysteriously, though, I seem to have my regular num-pad back. > > On 01/15/03 11am, Ben Barrett wrote: > > Neat-o! Do 1/7/9/3 work for diagonals, or only the numpad-arrows? > > How do the other numpad keys behave? > > Does it seem to accelerate similarly to the mouse settings, or does the > > cursor always move pixel-by-pixel? I understand this is a bug for you, > > but one man's trash... it'd be nice if there were accelerators to help > > get the cursor across the screen quickly. I hope someone posts some > > good documentation links on this feature, er, bug. Ciao! > > > > BenB > > > > On Wed, 2003-01-15 at 10:21, Ralph Zeller wrote: > > > My num-pad has decided to be a mouse today. I must have pressed > > > something that turned my num-pad keys into a mouse driver, which > > > (for example) makes the insertion point or arrow zoom up if I hold > > > my finger down on the eight, and down if I hold my finger down on > > > the two. > > > > > > I want my regular num-pad behavior back! Does anyone know of a > > > hot-key which would restore normal keypad functionality? I'm > > > running RedHat 7.3 with KDE, and I haven't changed any of the > > > default mouse or keyboard settings. > > > > -- > > Ben Barrett <[EMAIL PROTECTED]> > > counterclaim > > > > ___ > > Eug-LUG mailing list > > [EMAIL PROTECTED] > > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Unusual num-pad behavior
It is nice--or, it would be nice, if I knew how to turn it on and off. Yes, the diagonal keys work as well, and acceleration works smoothly. The "5" key works like a middle button "paste" command. Just as mysteriously, though, I seem to have my regular num-pad back. On 01/15/03 11am, Ben Barrett wrote: > Neat-o! Do 1/7/9/3 work for diagonals, or only the numpad-arrows? > How do the other numpad keys behave? > Does it seem to accelerate similarly to the mouse settings, or does the > cursor always move pixel-by-pixel? I understand this is a bug for you, > but one man's trash... it'd be nice if there were accelerators to help > get the cursor across the screen quickly. I hope someone posts some > good documentation links on this feature, er, bug. Ciao! > > BenB > > On Wed, 2003-01-15 at 10:21, Ralph Zeller wrote: > > My num-pad has decided to be a mouse today. I must have pressed > > something that turned my num-pad keys into a mouse driver, which > > (for example) makes the insertion point or arrow zoom up if I hold > > my finger down on the eight, and down if I hold my finger down on > > the two. > > > > I want my regular num-pad behavior back! Does anyone know of a > > hot-key which would restore normal keypad functionality? I'm > > running RedHat 7.3 with KDE, and I haven't changed any of the > > default mouse or keyboard settings. > > -- > Ben Barrett <[EMAIL PROTECTED]> > counterclaim > > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
[Eug-lug]Unusual num-pad behavior
My num-pad has decided to be a mouse today. I must have pressed something that turned my num-pad keys into a mouse driver, which (for example) makes the insertion point or arrow zoom up if I hold my finger down on the eight, and down if I hold my finger down on the two. I want my regular num-pad behavior back! Does anyone know of a hot-key which would restore normal keypad functionality? I'm running RedHat 7.3 with KDE, and I haven't changed any of the default mouse or keyboard settings. ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]The spelling of "dammit"
James is right: $ echo dammit|aspell -l $ On 01/10/03 06am, Linux Rocks ! wrote: > bubba@bubba:~$ dammit > bash: dammit: command not found > > On Friday 10 January 2003 06:02 am, James wrote: > : Not that it matters.. as you have all been so helpful here.. but the > : correct spelling is "dammit." > : > : Just check dictionary.com > : > : james ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug] What euglug is about (was: Is there anybody besides..)
How soon we forget the wonders of troff! This is how all communications had to prepared back in the days before we had troff to make all of our communications and man-pages both left and right-justified, even when printed by teletype or other fixed-character device. On 01/09/03 05pm, Tim Howe wrote: > I noticed that right away too. I have had some fun contemplating the significance. > > TimH > > On Thu, 9 Jan 2003 16:57:36 -0800 > Rob Hudson <[EMAIL PROTECTED]> wrote: > > > You realize this paragraph is written just right so that it is justified > > left and right, without the use of extra spaces to format it so. It's a > > perfect block of text, and reads as if it were done by accident. > > > > Even the byline. > > > > Weird. > > > > > > On Wed, 2003-01-08 at 13:45, Dexter Graphic wrote: > > > Thanks for all your advice, technical and otherwise. I've learned a lot > > > from this group, but I don't feel that I belong here. We have different > > > goals. I'm here to serve and uplift all of humanity, but you're here to > > > indulge and empower yourselves. If you knew God you would serve with me > > > bringing the gifts of free software and open computer technology to the > > > people in need: the poor, the old, the young, and those who struggle to > > > overcome the injustice of military, economic, and political oppression. > > > If you valued goodness, truth, and beauty more than your own lives then > > > we could learn, work, and laugh together, even while enjoying the reign > > > of universal family love in our hearts and minds--the kingdom of heaven > > > on earth! But since you insist on putting yourselves first and pursuing > > > the illusions of the world rather than the perfect will of God, there's > > > very little compatibility between us. I will go and leave you in peace. > > > > > > Dexter Graphic -- Dedicated to presenting things as clearly as possible > > ___ > > Eug-LUG mailing list > > [EMAIL PROTECTED] > > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > > > -- > feelin' hella good, so let's just keep on hackin' > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Linux security/presentation topics/Evolution
I _do_ use Mutt. But, Mutt's not the mail solution for everyone, and Evolution is prettier. Of course, we could strap a pretty gui on Mutt to make it look as pretty as Evolution? Bwaa-ha-ha! On 01/08/03 10am, Bob Miller wrote: > Ralph Zeller wrote: > > > In particular, I'd like to figure out how to setup a shared address > > book in Evolution. > > Evolution?!?!?! I thought you were madly in love with mutt. ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Linux security/presentation topics/Evolution
Each of the topics Cory mentioned in this recent email would be great topic for a meeting presentation: snmp, certs (in general), vpn, nis, nfs, ldap, and boot disks. Any volunteers? In particular, I'd like to figure out how to setup a shared address book in Evolution. I think you have to setup an ldap server to do it. Once that is setup, can any user with sufficient priveleges view, add, delete, and change addresses? Ralph On 01/07/03 09pm, Cory Petkovsek wrote: > True. You could also use snmp. You can also use a console port via > serial, in fact you have to when you first set up a standard router. So > you could have an ssh-able machine that allows only root to access a > serial port, which is connected to the router console port. > > I'm ready for my network+. I recently got an a+. Next I'm looking at > either lpic or linux+. Not that I need the cert, but rather so I feel > confident that my linux knowledge is adequately broad and deep. For > instance I know a lot about freeswan/vpn and iptables firewalling, but > have never setup nis, nfs, ldap and still have difficulty making a > useable boot disk without a script, that actually has utilities on it > rather than just "cat /boot/vmlinuz >/dev/fd0". ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]] dma errors on dd
swapoff -a On 12/31/02 09am, Dexter Graphic wrote: > I just tried copying my partitions one at a time with DMA support turned > on and there were no DMA errors reported. You may recall that when I copied > the entire drive at once (dd if=/dev/hda of=/dev/hdb bs=1k) with DMA turned > on I got DMA and CRC errors in both Debian and Red Hat. So I wonder if this > may have been caused by copying my active swap partition? Is there any way to > turn off use of the swap portion during my dd backup process? -Dex ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Mirroring a drive (all partitions and the MBR)
On 12/24/02 06am, Dexter Graphic wrote: > > > > I will try it again tonight before bedtime. I figure it will take several > > > > hours to duplicate my 40 GB drive. Which block size do you think I should > > > > use to improve the speed? Is bigger better? > > > > > > It should take 1-2 hours, if you have all the right hdparm settings. > > > > Using Debian's default settings (copied below) it took 11.5 hours. > > > > # hdparm /dev/hda > > > > /dev/hda: > > multcount= 0 (off) > > I/O support = 0 (default 16-bit) > > unmaskirq= 0 (off) > > using_dma= 0 (off) > > keepsettings = 0 (off) > > nowerr = 0 (off) > > readonly = 0 (off) > > readahead= 8 (on) > > geometry = 4865/255/63, sectors = 78165360, start = 0 > > busstate = 1 (on) > > I ran a complete drive mirror/backup again last night using the following > optimized hdparms and idebus=66. It took 4.5 hours. > > # hdparm /dev/hda > > /dev/hda: > multcount= 16 (on) > I/O support = 1 (32-bit) > unmaskirq= 0 (off) > using_dma= 0 (off) > keepsettings = 0 (off) > nowerr = 0 (off) > readonly = 0 (off) > readahead= 8 (on) > geometry = 4865/255/63, sectors = 78165360, start = 0 > busstate = 1 (on) > > All the copied partitions checked out OK with "fsck -f" and all 3 linuxen > booted successfully. Hooray! > > The only problem I encountered was that Debian turned off the hard drive > DMA feature after encountering several errors the first time I ran dd. > When I ran it again with dd turned off it worked fine. (Note: both my > Intel motherboard and my Western Digital hard drives are relatively new, > about a year old, and should have no problem supporting dma transfers. > Even my BIOS reports both drives as being PIO Mode 5, UDMA100.) > > Here is the command I used: "time dd if=/dev/hda of=/dev/hdb bs=1k" > I figured that the smaller block size would be better since there was no > speed difference from using a larger block size anyway. > > Dexter Dexter, Your drive is still taking way too long. Use hdparm if necessary to set turn on the speedier features of your drive. You should be able to read and write your drive "a whole lot faster" than 4 hours. Ralph /dev/hda: multcount= 16 (on) I/O support = 1 (32-bit) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead= 8 (on) geometry = 2434/255/63, sectors = 39102336, start = 0 busstate = 1 (on) You can time the drive with `hdparm -t /dev/hda`, your results should be better than this: /dev/hda: Timing buffered disk reads: 64 MB in 2.19 seconds = 29.22 MB/sec ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]redhat 8
The first three are needed for an install. The last two are sources. There is also another iso for extra documentation. You can see which rpm's are on them with `ls /mnt/cdrom/Redhat/RPMS` On 12/21/02 09pm, Rob Hudson wrote: > I'm downloading the RedHat 8 ISOs for an installation for a friend. > There are 5 of them. Anyone know which ones I need and which are extra > stuff? Or how to find out what's on them? > > Thanks, > Rob ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Dan's text based computer system
On 12/17/02 02am, Joseph Carter wrote: > You can use whatever editor you prefer for writing your mail. I guess you > already have a favorite? I use vim, which works for me but is certainly > not for the faint of heart. Debian now uses nano as its default editor > because of its onscreen commands which are very simple. > > You then need a mail reader program. The two most common choices are mutt > and pine. I found pine's license to be annoying and moved to mutt a few > years ago. > > > If you want to spell-check your mail, you'll need aspell or ispell. I do > not know how these integrate with mutt yet, but can figure it out. Joseph, I configured vim for shpell cheking with mutt by adding the following line to my ~/.vimrc file: :autocmd FileType mail :nmap :w:!aspell -e -c %:e This werks great everietime. Ralph ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Palm owner?
I'll take them. I've been waiting for the prices to come down. Do you know if they will fit a Palm III ? On 11/24/02 03pm, Mike O wrote: > Anybody got a Palm? I got handed a Palm Pilot keyboard > and modem and I own a Handspring and a Zaurus. So, > whoever wants the keyboard and modem can have it. > > __ > Do you Yahoo!? > Yahoo! Mail Plus ? Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
[Eug-lug]Followup to Mutt presentation
Q: How do you read your .muttrc configuration file from mutt? A: You can enter the command 'source .muttrc' or define a macro to do it, like: macro generic \ 'source .muttrc' \ 'Re-read .muttrc' ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Linux conversion path.....I need suggestions
I haven't had problems with tables. If you have, please post a bug report to http://www.openoffice.org/issues/query.cgi On 11/19/02 11am, Joseph Carter wrote: > On Tue, Nov 19, 2002 at 09:40:12AM -0800, Ralph Zeller wrote: > > Have you tried OpenOffice.org? Or, depending on specifically what > > you are trying to accomplish, latex might be a solution. > > Beware of tables in OOo. They are self-corrupting. =p > > -- > Joseph Carter <[EMAIL PROTECTED]>You expected a coherent reply? ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Linux conversion path.....I need suggestions
Hal, Have you tried OpenOffice.org? Or, depending on specifically what you are trying to accomplish, latex might be a solution. I don't know what your "graphic converter" does, but can it match the features of ImageMagic and Ghostscript? These programs are not effortless, but neither are their proprietary closed-source counterparts. Ralph On 11/18/02 06pm, Harald Sundt wrote: > Linux conversion path.I need suggestions ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Reminder: This Saturday's Presentation
cat /proc/version On 11/18/02 10am, Bryan Kane wrote: > Quick question: What command will state the current > kernel version one is using (like 'pwd' tells the > current working directory). I saw it at one time, but > don't remember. ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]What time?
And "rdate" gets the time from another computer that's setup as a time server. On 11/06/02 05pm, Cory Petkovsek wrote: > "date" prints the os's clock > "hwclock" prints the hardware's clock > you can set one from the other with > "hwclock --hctosys" or "hwclock --systohc" > > If you want your system in UTC/GMT time you'll want to set your date, then > say, "hwclock --systohc --utc". You'll also need to tell your OS that it is > in UTC time. In debian this is in /etc/defaults/rcS, a line that says > 'UTC=yes' > > You'd use utc time so you don't have to change to/from daylight savings > time. Your OS will know the clock is in UTC time, but will report the > proper local time for you: > $ date > Wed Nov 6 17:21:57 PST 2002 > > > -Original Message- > From: Mike O [mailto:notanatheist@;yahoo.com] > Sent: Wednesday, November 06, 2002 4:03 PM > To: [EMAIL PROTECTED] > Subject: Re: [Eug-lug]What time? > > > date > > What about setting the time in the BIOS? Will both > OS's recognize that properly? > > > --- Dexter Graphic <[EMAIL PROTECTED]> wrote: > > Is there a command you can type at the Linux command > > line to tell you > > what time it is (or at least what time the computer > > thinks it is)? > > > __ > Do you Yahoo!? > U2 on LAUNCH - Exclusive greatest hits videos > http://launch.yahoo.com/u2 > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]extract to here
On 11/06/02 04pm, Dexter Graphic wrote: > On Wed, 2002-11-06 at 15:30, Mike O wrote: > > gunzip filename.gz > > tar -xzvf filename.tar.gz > > > > couldn't resist. > > The gunzip worked but it deleted the original file.Is there some way to > stop it from doing this? Next time, just use: tar xzvf filename.tar.gz mro's fingers were just going too fast! ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]scary meeting
Or you could try a really scary costume: http://images.ucomics.com/comics/ft/2002/ft021031.gif On 10/31/02 08am, Larry Price wrote: > On Thu, 31 Oct 2002, Mike O wrote: > > > Will there be a meeting tonight? > > Yes > > > Do we dress up so > > we're not so ugly? > > If YOU want to wear a pink tutu and tights, make yourself happy. > > > Is there going to be chocolate? > > If you bring some or someone else brings some then; yes. > > If you bring 200 of your closest friends, we could probably get some guys > in EPD SWAT team costumes to donate some tear gas ;-) > > > Is > > Eugene full of more freaks? > > No, Eugene on halloween is a hotbed of conformity, in which everyone looks > similar and gray flannel suits are [i]de rigueur[/i]. > > > Break loose with some > > news. Thanks. > > > You asked for it. > > > Mr O > > > > __ > > Do you Yahoo!? > > Y! Web Hosting - Let the expert host your web site > > http://webhosting.yahoo.com/ > > ___ > > Eug-LUG mailing list > > [EMAIL PROTECTED] > > http://mailman.efn.org/cgi-bin/listinfo/eug-lug > > > > -- > http://www.efn.org/~laprice( Community, Cooperation, Consensus > http://www.opn.org ( Openness to serendipity, make mistakes > http://www.efn.org/~laprice/poems ( but learn from them.(carpe fructus ludi) > > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]debian testing?
Sid is always unstable. --- FYI, here's a graph posted to debian-users showing how the debian releases are organized. sid--- \ \ \ \ \ === etch \ \ == sarge ==·| 3.1 ** | | woody ···| 3.0 ***|### || || 2.2 potato **|| [moved of to archive.debian.org] || || %$ where "-" == unstable"|" == release of a new stable "=" == testing "%" == release of woody as 3.0 "*" == stable "$" == release of sarge as 3.1 "#" == oldstable "\" == branching of of a new testing release; older testing (···) slowly frozen to stability This should hopefully illustrate how sid will remain unstable, while all other distributions start as new testings branched from unstable and later move on to become stable and finally oldstable. On 10/29/02 10am, Rob Hudson wrote: > I was using testing for a while before Woody became the new stable release. > How is sid (the new testing)? Is it still too early to use (unstable? > Broken packages?), or are a lot of folks using it for their day to day > systems? > > Thanks, > Rob > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Fwd: [PLUG] Red Hat Road Tour coming to Portland
Hey, there are a few of us here who haven't figured out how to configure every program ourselves yet. On (10/16/02 05:08), Joseph Carter wrote: > On Tue, Oct 15, 2002 at 09:28:08AM -0700, Ralph Zeller wrote: > > Is it almost time for a road trip, anyone? > > I wonder how many RH guys we can kill by throwing Debian CDs at them > > > > (clearly, I need to go to bed.) > > -- > Joseph Carter <[EMAIL PROTECTED]> This end upside-down > > * Simunye is so happy she has her mothers gene's > you better give them back before she misses them! > ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
[Eug-lug]Fwd: [PLUG] Red Hat Road Tour coming to Portland
Is it almost time for a road trip, anyone? - Forwarded message from Paul Nelson <[EMAIL PROTECTED]> - > To: plug <[EMAIL PROTECTED]> > From: Paul Nelson <[EMAIL PROTECTED]> > Date: 14 Oct 2002 17:27:26 -0700 > Subject: [PLUG] Red Hat Road Tour coming to Portland > > Should I have put free beer in the subject? ;-^) > > Red Hat's new bright red motor home is crossing the country and will be > stopping here in Portland for the weekend of Nov. 15 - 18. So far we've > planned for them to join us for a Linux Clinic on Saturday the 16th. > http://www.idg.net/ic_956369_1794_9-1.html > > We want to have an evening for grownups too though. The goal is to find > a place where we can have a round table discussion mixed liberally with > beverages for Saturday night on the 16th. > > So the question, who knows of a HUGE pub that can devote the space to a > group that wants to eat and drink and round table? We'd need to be able > to do all three. As far as numbers think 200 or so. > > I'm a bit out of my league here as I don't drink beer but I'm betting > that some of you do. ;-^) Let's post your suggestions and then I'll make > the arrangements. We've got one month of lead time so I think we're ok > on that. We'd also want to brain storm some of the PR stuff. > > The Linux in Schools folks are trying to send a group of 20 teachers to > NECC, the largest tech/edu conference in the US. There will be 10,000+ > teachers there. We have teachers who have submitted proposals to present > from all over the country but we don't really have much funding to help > them with the costs of a trip like this. How would you folks feel about > a cover charge that would go to fund travel and registration expenses > for teachers who are accepted to present at NECC? > http://ccenter.uoregon.edu/conferences/NECC2003/ > > BTW I love what happens when you search for necc seattle on google! > > I'd also like to explore some kind of business related event. Is there > someone with enough business/IT connections to bring together a luncheon > for Friday or Monday? We're working on getting some of the school IT > folks together for something like that. Who has some thoughts along > these lines? > > ;-) Paul > -- > == > Paul Nelson.. [EMAIL PROTECTED] > Riverdale High...9727 SW Terwilliger Blvd. Portland, OR 97219 > (503)892-0722..fax(503)892-0723 http://hs.riverdale.k12.or.us > > > ___ > PLUG mailing list > [EMAIL PROTECTED] > http://lists.pdxlinux.org/mailman/listinfo/plug - End forwarded message - ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]Re: [EUG-LUG:1555] for the logical geeks
Bob, Elegant solution. The solving concept seems similar to linear programming. You may also be interested in 'pysimplex' at http://www.pythonpros.com/arw/pysimplex/ Pysimplex tries to be an engine to solve this general genre of problems. The tricky part is to figure out how to represent the traits and rules using the standard format. Ralph On (10/10/02 23:25), Bob Miller wrote: > mro wrote: > > > Here's one for you all. Print it out and take some time for mind crunching > > fun. Admittedly, it took me quite some time to figure out. > > > > There are 5 houses in five different colors. In each house lives a person > > with a different nationality. These five owners drink a certain drink, smoke > > a certain brand of cigar, and keep a certain pet. No owners have the same > > pet, smoke the same brand of cigar or drink the same drink. The question is > > --- who owns the fish? > > > > Hints: > > - the Brit lives in the red house > > - the Swede keeps dogs as pets > > - the Dane drinks tea > > - the green house is on the left of the white house > > - the green house owner drinks coffee > > - the person who smokes Pall Mal rears birds > > - the owner of the yellow house smokes Dunhill > > - the man living in the house right in the center drinks milk > > - the Norwegian lives in the first house > > - the man who smokes Blends lives next to the one who keeps cats > > - the man who keeps horses lives next to the one who smokes Dunhill > > - the owner who smokes Blue Master drinks beer > > - the German smokes Prince > > - the Norwegian lives next to the blue house > > - the man who smokes Blend has a neighbor who drinks water > > *** Einstein wrote this quiz last century. He said that 98% of the World > > could not figure it out. *** > > Aagh! That is too hard for me. I had to ask my computer to help. > > (A solver, written in Python, is attached. It requires Python 2.2.) > > -- > Bob Miller K > kbobsoft software consulting > http://kbobsoft.com [EMAIL PROTECTED] > # There are 5 houses in five different colors. In each house lives a person > # with a different nationality. These five owners drink a certain drink, smoke > # a certain brand of cigar, and keep a certain pet. No owners have the same > # pet, smoke the same brand of cigar or drink the same drink. The question is > # --- who owns the fish? > # > # Hints: > # R1 - the Brit lives in the red house > # R2 - the Swede keeps dogs as pets > # R3 - the Dane drinks tea > # R4 - the green house is on the left of the white house > # R5 - the green house owner drinks coffee > # R6 - the person who smokes Pall Mall rears birds > # R7 - the owner of the yellow house smokes Dunhill > # R8 - the man living in the house right in the center drinks milk > # R9 - the Norwegian lives in the first house > # R10 - the man who smokes Blends lives next to the one who keeps cats > # R11 - the man who keeps horses lives next to the one who smokes Dunhill > # R12 - the owner who smokes Blue Master drinks beer > # R13 - the German smokes Prince > # R14 - the Norwegian lives next to the blue house > # R15 - the man who smokes Blend has a neighbor who drinks water > # *** Einstein wrote this quiz last century. He said that 98% of the World > # could not figure it out. *** > > > # > # Some terminology. > # > # There are five "persons". Each person has five traits. > # > # There are five "traits". The traits are house_color, > # nationality, drink, smoke, and pet. > # > # Each trait has five "alternatives". For example, > # the alternatives for drink are beer, coffee, milk, tea, and water. > # > # There are fifteen "rules" which restrict which persons have > # which alternatives. For example, Rule 1 is, "The Brit lives in > # the red house." > # > # A "solution" is a permutation of alternatives among persons. > # It is implemented as a list of five persons, and each person > # is implemented as a list of five alternatives. > > > from __future__ import generators > > def enumerate(seq): # built in in Python 2.3 > """Generate (index, element) for all elements in a sequence.""" > i = 0 > it = iter(seq) > while 1: > yield i, it.next() > i += 1 > > class Alternative(object): > > def __init__(self, name, trait): > self.name = name > self.trait = trait > > def get_trait(self): > return self.trait > > def __repr__(self): > return self.name > > class Trait(int): > """Trait is derived from int so that traits can be used to index lists.""" > > count = 0 > > def _make(_class, name, alternatives): > """Make a new trait.""" > t = _class(_class.count) > _class.count += 1 > t.init(name, alternatives) > # Put the trait name in the global namespace. >
Re: [Eug-lug]Re: Tomorrow's meeting
Horst, I didn't think we needed to encourage cross-posting. ;) Ralph Potential topics: -latex -printing -email clients compared -Linux in a SOHO -conferencing -programming language comparisons -gimp/drawing -mysql/php -interoperability w/other os's -kernel development trends -cvs -apache configuration -webmin -emacs On (10/10/02 15:14), Horst Lueck wrote: > Since I can't come tonight(usually Thu. is fine) here is some feedback: > > * I like the format suggestion, and the topics suggested by Ralph and > Cory. I am not sure if Ralph's email made it from herding to EugLUG ? > > * Days. We tried before to find a common denominator -- w/o luck. >Maybe we alternate days so no one gets excluded all the time. >Mo-Th works most the time for me >Wkends I am often out in the woods (boating/skiing) > > My 5c.. Horst > > On Wed, 9 Oct 2002, Bob Miller wrote: > > > I'd like to propose that we do some organizationalizing at tomorrow's > > (Thursday's) meeting. The regular meeting will start at 6:30 as > > usual, and the organizational discussion will start at 7:00. > > > > Here's what I have on my mind. > > > > Format. I propose that we have a presentation/panel/demo one > > Thursday night each month, and clinics on all other Thursdays. > > But I'm open to alternatives. > > > > Presentations/panels/demos. What topics would we like, and who > > will volunteer? (BTW, I've contacted a few of you today, and we > > have some presenters willing to try it.) > > > > Web site. We need a webmaster who will take it over from Rob. > > (Not me!) > > > > Publicity. How can we be more visible? How can we attract new > > folks? > > > > Be there or be disorganized. > > > > If you can't make it tomorrow night, please send me comments via email > > or reply to this message. > > > > -- > > Bob Miller K > > kbobsoft software consulting > > http://kbobsoft.com [EMAIL PROTECTED] > > > > > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]linux firewall
Here's an well-commented example of iptables setup, that includes info about loading modules: http://www.ecst.csuchico.edu/~dranch/LINUX/ipmasq/examples/rc.firewall-2.4 On (10/04/02 10:33), Ralph Zeller wrote: > iptables > > On (10/04/02 10:21), Rob Hudson wrote: > > I'm setting up a firewall/gateway at my house. > > > > What should I use? IPchains? What's the other option? Isn't there a > > standard packet filter for 2.2 and a different one for 2.4? I'm in the > > kernel config for 2.4.19 right now and don't see much. > > > > Pointers to articles to set it up or other info much appreciated. > > > > Thanks, > > Rob > ___ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]linux firewall
iptables On (10/04/02 10:21), Rob Hudson wrote: > I'm setting up a firewall/gateway at my house. > > What should I use? IPchains? What's the other option? Isn't there a > standard packet filter for 2.2 and a different one for 2.4? I'm in the > kernel config for 2.4.19 right now and don't see much. > > Pointers to articles to set it up or other info much appreciated. > > Thanks, > Rob ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
[Eug-lug]Sendmail setup question
I'm trying to get sendmail setup (under RedHat for now) and I'm having a problem with the X-Authentication warning when I'm sending from a transient host. Is there something in my setup that I can change that prevents the warning from showing up in my emails, or do I have to fix my DNS settings? Should I use my isp as a smart_host or not? Any other tips or gotchas that you see here? Ralph Here's the contents of my /etc/mail/sendmail.mc file: divert(-1) dnl This is the sendmail macro config file. If you make changes to this file, dnl you need the sendmail-cf rpm installed and then have to generate a dnl new /etc/sendmail.cf by running the following command: dnl dnlm4 /etc/mail/sendmail.mc > /etc/sendmail.cf dnl include(`/usr/share/sendmail-cf/m4/cf.m4') VERSIONID(`linux setup for Red Hat Linux')dnl OSTYPE(`linux') dnl Uncomment and edit the following line if your mail needs to be sent out dnl through an external mail server: dnl define(`SMART_HOST',`smtp.your.provider') define(`SMART_HOST',`mailhost.efn.org') define(`confDEF_USER_ID',``8:12'')dnl undefine(`UUCP_RELAY')dnl undefine(`BITNET_RELAY')dnl define(`confAUTO_REBUILD')dnl define(`confTO_CONNECT', `1m')dnl define(`confTRY_NULL_MX_LIST',true)dnl define(`confDONT_PROBE_INTERFACES',true)dnl define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl define(`ALIAS_FILE', `/etc/aliases')dnl dnl define(`STATUS_FILE', `/etc/mail/statistics')dnl define(`UUCP_MAILER_MAX', `200')dnl define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl define(`confAUTH_OPTIONS', `A')dnl dnl TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl dnl define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl dnl define(`confTO_QUEUEWARN', `4h')dnl dnl define(`confTO_QUEUERETURN', `5d')dnl dnl define(`confQUEUE_LA', `12')dnl dnl define(`confREFUSE_LA', `18')dnl dnl FEATURE(delay_checks)dnl FEATURE(`no_default_msa',`dnl')dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl FEATURE(redirect)dnl FEATURE(always_add_domain)dnl FEATURE(use_cw_file)dnl FEATURE(use_ct_file)dnl dnl The '-t' option will retry delivery if e.g. the user runs over his quota. FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl FEATURE(`blacklist_recipients')dnl EXPOSED_USER(`root')dnl dnl This changes sendmail to only listen on the loopback device 127.0.0.1 dnl and not on any other network devices. Comment this out if you want dnl to accept email over the network. dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') dnl NOTE: binding both IPv4 and IPv6 daemon to the same port requires dnl a kernel patch dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6') dnl We strongly recommend to comment this one out if you want to protect dnl yourself from spam. However, the laptop and users on computers that do dnl not have 24x7 DNS do need this. dnl FEATURE(`accept_unresolvable_domains')dnl dnl FEATURE(`relay_based_on_MX')dnl MAILER(smtp)dnl MAILER(procmail)dnl Cwlocalhost.localdomain ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
Re: [Eug-lug]solution to python puzzle
There's an analysis of the topic at developerworks: http://www-106.ibm.com/developerworks/linux/library/l-pycon?t=grl,l=252,p=iterators On (10/04/02 08:41), Bob Miller wrote: > Those of you who were at the clinic last night know that I > was asking for help on a weird limitation of Python. > > The problem: Consider the function, foo(), in this C program. > > #include > > int foo() > { > static int n = 0; > return ++n; > } > > main() > { > int n1 = foo(); > int n2 = foo(); > printf("%d %d\n", n1, n2); > return 0; > } > > It keeps state around between calls, but does not have extra names in > any nonlocal namespaces. > > How would you write a function in Python that does the same? > (Note, I don't want a solution that only returns successive numbers. > I might use this to return successive lines of a file or calculate > successive permutations of a sequence or whatever.) > > The solution: For some reason, this apparently simple problem doesn't > have any good solutions (that I'm aware of). Here's the best I can > do. > > def foo(): > n = [0] > def bar(): > n[0] += 1 > return n[0] > return bar > foo = foo() > > That reuses the single global name, foo. First, foo holds a function > that returns the function we need. Then we set foo to the returned > function. The original function is not accessible, AFAIK. > > -- > Bob Miller K ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
[Eug-lug]Ten ways to promote communication within a LUG...
>From: Frederick Noronha <[EMAIL PROTECTED]> >Newsgroups: comp.os.linux.announce >Subject: COMMENT: Ten ways to promote communication within a LUG... >Date: 27 Sep 2002 01:20:28 GMT >Ten ways to promote communication within a LUG: >*** >* Build a list of LUG speakers, and the topics they specialise on. >* List readily available GNU/Linux software, where available, and > under what terms it can be borrowed. >* Set up your own website. >* Mailing-lists play an important role for communicating between meetings. >* List LUG members and contact details. >* Try to get new LUG members to introduce themselves on the mailing list. >* Expanding numbers is important >* Report regularly on LUG meetings. This build bridges to those not present. >* Plan for LUG meetings well in advance. Meetings with fixed agendas > generally attract more people than vague, no-agenda meetings. >* If nothing else works, trying to build more mini-LUGs in your area. > You never know how many LUGs need to be set up to uncover hidden > resources. [Compiled from various inputs by FN] > ___ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
[EUG-LUG:3804] Re: Image viewers
kuickshow At 07:57 AM 8/27/02 Bob Miller <[EMAIL PROTECTED]> wrote: >I've used xv for 15 years to view images of all sorts. It's very >effective at what it does, which is show one picture, step through a >bunch of pictures, or do minor editing (cropping, gamma correction, >etc). It doesn't add any useless borders or toolbars, which is good. > >But Debian does not include xv. Xv is not free (it's shareware), >so it isn't there. > >What free alternatives are good? I'm especially interested in quickly >stepping through a whole album of photos. > >-- >Bob Miller K >kbobsoft software consulting >http://kbobsoft.com [EMAIL PROTECTED] >
[EUG-LUG:3648] Re: Host Woes
Or you might be running ipchains. On a RedHat system, you would try "/etc/init.d/ipchains stop" and "/etc/init.d/iptables stop", or use the "setup" command for automated firewall configuration. I think there is a gui tool in Mandrake to change firewall settings. Ralph At 11:22 PM 7/30/02 Bob Miller <[EMAIL PROTECTED]> wrote: >Bryan Kane wrote: > >> My problem is this: I can ping from Linux to win98 >> but not from win98 to linux. Has anyone seen this >> before? > >It sounds like you might be running iptables on the Linux box and have >it misconfigured. If you turn iptables off, does it get better? >
[EUG-LUG:3060] Sony Vaio for sale
Apologies in advance for this commercial message--it's only related to Linux in that I've been thinking about buying a laptop to bring to EugLug meetings... I think I'm going to pass up on buying a laptop from a friend of mine, but it seems like such a good deal that I thought I'd let you know: For Sale $850 firm -- Sony Vaio PCG-FX210, 10G Hard disk, 800 Duron CPU, 512mg Memory Builtin Rage compatible Video, Modem, 10/100 ethernet, cd/dvd, sound, floppy. Power adapter included. WindowsME included. Optional HP external usb cd-burner for $50. It seems to have lots of places to plug things in. This is a great little machine that looks like new. It now has Win2000 installed, and Office Professional, but the licenses for that are not included in this deal--besides, you will want to reformat and install Linux anyway. The owner is selling because he upgraded to a 1.8ghz laptop. He bought this one new last summer or fall. It booted from a linuxcare bootable business card, but choked when I tried to load Demo Linux v.3--something's not configured right in DemoLinux for dealing with the pcmcia slots. Read the info at Linuxlaptop.org for info on setting it up. If you are interested let me know, I plan to bring it to the next meeting (depending on when the next euglug meeting is!) Ralph
[EUG-LUG:3038] Re: change of pace
I prefer Wednesdays too. I've got a conflict most of the summer on Thursday night. At 02:46 PM 6/20/02 Horst wrote: >I prefer Wednesdays, because of conflicts with other activities. In >addition, people could walk from the TechBrew (also We.) straight to EFN. > EFN is the best location so far. In addition to the space, having fast >connections and extra terminals available (some with cygwin) makes it >possible to address issues other than just installations on the machines >people brought in -- I remember the evening Ralph shared with me a number >of neat tricks on the console. > > - Horst, on digest (i.e. 1/2 a day behind) > >On Wed, 19 Jun 2002, Larry Price wrote: > >> On Wed, 19 Jun 2002, Cory Petkovsek wrote: >> >> > > > ...What are the thoughts of a LUG on Tuesday? >> > > > How does that work for others? >> > >> > I'm not sure where the start of this thread is or who the original >> > author is, but tuesdays are better for me. Thursdays are out >> > completely, which is why I haven't been to the lug in a long while. >> > >> > Cory >> > >> > >> > On Tue, Jun 18, 2002 at 11:44:25AM -0700, Beaker wrote: >> > > >> > > Most Tuesdays work for me. >> >> Unfortunately tuesdays don't work very well for EFN/OPN as that has >> traditionally been the day for EFN board meetings. >> >> I'm going to whack together a PHP page for a sense of the LUG, vote; >> it'll be available later today. >> >
[EUG-LUG:2846] Re: fg and bg and jobs
There is a section in the man-page about remapping keys in your .screenrc file for emacs users. There is also a good summary statement about screen near the end of the man-page: "A wierd imagination is most useful to gain full advantage of all the features." At 09:49 PM 6/4/02 Larry Price <[EMAIL PROTECTED]> wrote: >It's not quite what you're looking for but the > >screen > >command might do the trick, it's a gnu program so available for the OS of >your choice. > >It allows you to run several processes attached to a terminal session, and >to remotely detach them from another terminal session and attach them to >your current terminal session. > >I've used it occasionally when trying to do complicated edits over a >dial-up link. It has it's drawbacks, but works well for what it is. > >it can kind of mess you up if you're an emacs user since the prefix >character is Ctrl-A which in emacs is equivalent to ^ in vi and that may >explain why i never became a big fan. > >http://www.gnu.org/software/screen/screen.html > >has more > >On Tue, 4 Jun 2002, Rob Hudson wrote: > >> When you start a program w/o the '&', then inside the program you >> Ctrl-Z it, then outside the program you 'bg' it. While you're in that >> same shell, you can 'fg' it to get back into the program. Is there a >> way to 'fg' that program from a different shell/term? >> >> Strangely on my woody box, man fg or bg or jobs turns up nothing. >> >> I was thinking it would be nice to regain control of a process by >> using the PID? Not sure if that's possible or not. >> >> One example: If I'm running mutt remotely on my home computer, then >> come up and want to take control of the mutt process w/o killing it >> and starting it again (if I'm composing an email?), I'd like to steal >> it from the terminal I left it open on. >> >> Thanks, >> Rob >> > >http://www.efn.org/~laprice( Community, Cooperation, Consensus >http://www.opn.org ( Openness to serendipity, make mistakes >http://www.efn.org/~laprice/poems ( but learn from them.(carpe fructus ludi) >
[EUG-LUG:2830] Re: fg and bg and jobs
Rob, I think you can use the 'detach' and 'attach' of 'screen' to do what you are trying to do. man screen Ralph At 09:57 AM 6/4/02 Rob Hudson <[EMAIL PROTECTED]> wrote: >I was thinking it would be nice to regain control of a process by >using the PID? Not sure if that's possible or not. > >One example: If I'm running mutt remotely on my home computer, then >come up and want to take control of the mutt process w/o killing it >and starting it again (if I'm composing an email?), I'd like to steal >it from the terminal I left it open on.
[EUG-LUG:2593] Re: BIG FILES
Try something like: dd if=/dev/zero of=mybigfile bs=1024k count=300 At 10:03 PM 5/9/02 "Grigsby, Garl" <[EMAIL PROTECTED]> wrote: >Bob, > First thanks for the tool. I have been wanting to play around with >large files on Linux, but have not wanted to deal with 3 Gb files... >Second it would seem that for me your program will only create a file up >to 1.1 Gb in size. I tried it on three Linux boxes two running ext3 and >one running ReiserFS (both of which should do a file larger than 2Gb). I >also tried it on a Sun E250 running Solaris 8. Now I know for a fact >that my E250 will create a file over 200 Gb (don't ask, it was a bad >weekend), but using your little tool all I get are files that are ~1.1 >Gb. What did I do wrong > >Garl > >-rw-r--r-- 1 grigsby gtac 1073741824 May 9 18:57 a-big-file > > > >-Original Message- >From: Bob Miller [mailto:[EMAIL PROTECTED]] >Sent: Thursday, May 09, 2002 12:22 PM >To: [EMAIL PROTECTED] >Subject: [EUG-LUG:2583] Re: BIG FILES > > >Kahli R. Burke wrote: > >> SO...how much are those 8TB drives running these days? Could you >spare >> me a couple? > >I wondered who'd call me on that first. The size of the file is 8 TB. >But it's a sparse file. It only has 44 nonzero bytes in it, and it >only uses 488 Kb of disk space. > >Here's the program that created it. To use on Linux, compile like >this. > > cc -o bigfile bigfile.c -D_FILE_OFFSET_BITS=64 > >-- >Bob Miller K >kbobsoft software consulting >http://kbobsoft.com [EMAIL PROTECTED] > > > > > > >RE: [EUG-LUG:2583] Re: BIG FILES > > > > >Bob, > > First thanks for the tool. I have been wanting to play around with large files on Linux, but have not wanted to deal with 3 Gb files... Second it would seem that for me your program will only create a file up to 1.1 Gb in size. I tried it on three Linux boxes two running ext3 and one running ReiserFS (both of which should do a file larger than 2Gb). I also tried it on a Sun E250 running Solaris 8. Now I know for a fact that my E250 will create a file over 200 Gb (don't ask, it was a bad weekend), but using your little tool all I get are files that are ~1.1 Gb. What did I do wrong > >Garl > > >-rw-r--r-- 1 grigsby gtac 1073741824 May 9 18:57 a-big-file > > > > >-Original Message- > >From: Bob Miller [mailto:[EMAIL PROTECTED]";>mailto:[EMAIL PROTECTED]] > >Sent: Thursday, May 09, 2002 12:22 PM > >To: [EMAIL PROTECTED] > >Subject: [EUG-LUG:2583] Re: BIG FILES > > > >Kahli R. Burke wrote: > > >> SO...how much are those 8TB drives running these days? Could you spare > >> me a couple? > > >I wondered who'd call me on that first. The size of the file is 8 TB. > >But it's a sparse file. It only has 44 nonzero bytes in it, and it > >only uses 488 Kb of disk space. > > >Here's the program that created it. To use on Linux, compile like > >this. > > > cc -o bigfile bigfile.c -D_FILE_OFFSET_BITS=64 > > >-- > >Bob Miller &nbs p;&n bsp; K> >kbobsoft software consulting > >http://kbobsoft.com";>http://kbobsoft.com&n bsp; [EMAIL PROTECTED] > > > >
[EUG-LUG:2474] Re: tool to convert links from absolute to relative?
You can use wget options, like "--convert-links", "--base-url", and "force-html". At 09:54 AM 4/29/02 Mark Bigler <[EMAIL PROTECTED]> wrote: >On Monday 29 April 2002 09:40, Bob Miller wrote: >> So, who knows of a tool that will scan a directory of files (or even >> a single file) and change all href and img src tags from absolute to >> relative? > >These do it on the fly (while pulling in a site): > > getleft - http://freshmeat.net/redir/getleft/3210/url_homepage/ > HTTrack - http://freshmeat.net/redir/httrack/4224/url_homepage/ > >so they may have a standalone tool you could break out. >
[EUG-LUG:2451] Re: multi gnome terminal
Hey Tim, we have most of those features even on a text-terminal using 'screen'! At 05:17 PM 4/28/02 Timothy Bolz <[EMAIL PROTECTED]> wrote: >I found this on freshmeat and thought it was the greatest idea. A terminal >with Tabs. Instead of having four terminal windows open you can have one and >tab between them. This would be a great idea to add to a browser. When I >saw it I said "That's a good idea". > >http://multignometerm.sourceforge.net/#debian > >Check out the screenshots. >http://multignometerm.sourceforge.net/snapshots.html > >I haven't tried it yet but it looks very good. Tell me what you think of it. > >Tim >
[EUG-LUG:2436] Re: Nifty X tricks
Tim, Other similar tricks-- --With win4lin running, one of the x sessions can be a win98 session--So then you Ctrl + Alt + F9 and you're running windows fullscreen. --You launch vncserver using display :1. Then connect to it fullscreen with vncviewer, locally or from anywhere. Your session stays up until the server reboots (might be a long time). --Mr O has the nicest hardware-based system for sharing one keyboard and mouse with more than one box. A software-based solution to the same problem is x2x (for 2 linux boxen) or win2vnc (2 win boxes, or linux & win). Ralph At 11:16 PM 4/25/02 Timothy Bolz <[EMAIL PROTECTED]> wrote: >Ok, I got 4 x sessions going at the same time. I got into a virtual term >Ctrl + Alt + F1 , logged in and typed the following >Startx -- :1 >x started up with windowmaker. I was then able to swithch between >windowmaker and gnome (sawfish). Ctrl + Alt + F7 and Ctrl + Alt + F8. I >then tried to test it even further by logging in 2 more terminals and startx >in each one with startx -- :2 and startx -- :3. It worked. I'd like to get >different window managers going at the same time and get a windows person and >say "can windows do this?". > >In one of the Xsessions I had the screensaver running as the background. I >did a "locate screensaver" found the directory they were in cd to that >directory and ran "pyro -root". For some reason gnome did nothing but >windowmaker had the fourth of July going with a window open. This is another >thing windows can't do straight out of the box with a screensaver. > >If anyone else has some cool x tricks share them. I thought others might >like to try this. I wonder how many sessions I could have gone to. I >suspect 6. > >Tim >
[EUG-LUG:2287] Re: mysqld and logrotate (or why not?)
Horst, I commented everything out of the /etc/log.rotate.d/daily/mysql and just periodically restart the server from a crontab setting. And, I use mysqldump on the same interval, for "rollback-like" capability. I've had it going a couple of years; it's the manual way to do transactions, and my log files behave properly, mostly only recording the restarts. What works for me might not work for others depending on the data. Newer versions of MySQL support transactions directly. Ralph At 06:58 PM 4/11/02 Horst <[EMAIL PROTECTED]> wrote: >PROBLEM: >cron.daily/weekly, logrote creates new /var/log/mysqld.log > but still writes to old /var/log/mysqld.log.N (N = 1,2,...) > >I tried all kinds of : > mysqladmin -u root -p refresh > mysqladmin -u root -p flush-logs > mysqladmin -u root -p status > mysqladmin -u root -p flush-logs > mysqladmin -u root -p flush-tables > > >SOME OBSERVATIONS: (see clips from console) >a) pid of mysqld is only 3byte (LF missing) >b) the pid listed is not the hightest parent >c) logrote instruction for mysql are quiet different from other processes >x)020407 4:02:02 /usr/libexec/mysqld: Binlog closed, cannot RESET >MASTER > >'SOLUTION': >The only cure is '.../mysqld restart' - currently run 1hr after >logrotate. >But that's not a 'solution' I am proud of... > >Anybody an idea? ... Horst. > >MYSQL: >=== >[root@plutobin]# cat /etc/logrotate.d/mysqld >/var/log/mysqld.log { >missingok >create 0640 mysql mysql >prerotate >[ -e /var/lock/subsys/mysqld ] && /bin/kill -HUP `/bin/cat >/var/run/mysqld/mysqld.pid` || /bin/true >endscript >postrotate >[ -e /var/lock/subsys/mysqld ] && /bin/kill -HUP `/bin/cat >/var/run/mysqld/mysqld.pid` || /bin/true >endscript >} >[root@plutobin]# > >[root@plutoadmin]# ll /var/run/mysqld/ >-rw-rw1 mysqlmysql 3 Apr 5 14:22 mysqld.pid > >[root@plutoadmin]# cat /var/run/mysqld/mysqld.pid >582[root@plutoadmin]# ps -ef |grep mysql >root 494 1 0 Apr05 ?00:00:00 /bin/sh >/usr/bin/safe_mysqld --d >mysql 547 494 0 Apr05 ?00:00:07 /usr/libexec/mysqld -- >defaults-f >mysql 581 547 0 Apr05 ?00:00:09 /usr/libexec/mysqld -- >defaults-f >mysql 582 581 0 Apr05 ?00:00:15 /usr/libexec/mysqld -- >defaults-f >mysql 591 581 0 Apr05 ?00:00:00 /usr/libexec/mysqld -- >defaults-f >root 20290 19418 0 10:41 pts/100:00:00 grep mysql > > >OTHER: >=== >[root@plutobin]# cat /etc/logrotate.d/named >/var/log/named.log { >missingok >postrotate >/bin/kill -HUP `cat /var/run/named.pid 2> /dev/null` 2> /dev/null >|| tru >e >endscript >} > >[root@plutoadmin]# ll /var/run/named/ >-rw-r--r--1 namednamed 4 Apr 5 14:22 named.pid > >-rw-r--r--1 root root4 Apr 7 04:02 httpd.pid > >[root@plutoadmin]# cat /var/run/httpd.pid >930 >[root@plutoadmin]# ps -ef |grep httpd >root 930 1 0 Apr05 ?00:00:02 /usr/sbin/httpd - >DHAVE_PROXY -DH >web 18778 930 0 09:24 ?00:00:00 /usr/sbin/httpd - >DHAVE_PROXY -DH >web 18781 930 0 09:24 ?00:00:02 /usr/sbin/httpd - >DHAVE_PROXY -DH >web 18782 930 0 09:24 ?00:00:01 /usr/sbin/httpd - >DHAVE_PROXY -DH >... many more > >~~ clip from the mysqld.log* ~~ >020407 4:02:02 /usr/libexec/mysqld: Binlog closed, cannot RESET MASTER > >Status information: > >Current locks: >key_cache status: >blocks used: 2317 >not flushed: 0 >w_requests: 0 >writes: 0 >r_requests: 0 >reads: 0 > >handler status: >read_key:0 >read_next: 0 >read_rnd 0 >read_first: 0 >write: 0 >delete 0 >update: 0 > >Table status: >Opened tables: 0 >Open tables:0 >Open files: 0 >Open streams: 0 >020407 4:02:02 /usr/libexec/mysqld: Binlog closed, cannot RESET MASTER > >
[EUG-LUG:2138] Re: Folding progress
Team Ranking: 23 At 10:11 PM 3/27/02 Bob Miller <[EMAIL PROTECTED]> wrote: >Ralph Zeller wrote: > >> I see we moved up a notch to Team #24: >> http://folding.stanford.edu/cgi-bin/teampage?q=668 > >It pays to pick your battles. I bet we wouldn't have done this well >in [EMAIL PROTECTED] > >-- >Bob Miller K >kbobsoft software consulting >http://kbobsoft.com [EMAIL PROTECTED] >
[EUG-LUG:2121] Re: dumb terminal and thin clients
Tim, If performance (speed) is not a factor then here's something to try: There is a single-floppy linux distribution that only runs a vnc-viewer from a floppy. There's no x-server, it just uses vnc and svgalib. I set it up once a long time ago, and it wasn't difficult. It should run just fine on 4 to 8 megs of system memory on a 386 or better, no hard-drive needed. The link is at the vnc site. I don't recommend it unless you are very patient, a plain text terminal is much better on archaic hardware. Ralph At 11:38 PM 3/27/02 Timothy Bolz <[EMAIL PROTECTED]> wrote: >I was thinking about making this one into a diskless x >terminal and was wondering if anyone ever made one work. Do you need a boot >rom for this to work or a floppy or what?
[EUG-LUG:2090] Folding progress
I see we moved up a notch to Team #24: http://folding.stanford.edu/cgi-bin/teampage?q=668
[EUG-LUG:2073] Re: DSL-QWEST
EFN is a "business"?? I thought it was a non-profit organization. I'm not knocking efn, I think efn provides a great service to the community. At 01:02 PM 3/23/02 Seth Cohn <[EMAIL PROTECTED]> wrote: >efn's price is slightly higher I believe, but you >are supporting local business, getting much >better service, and making me happy. Call efn >for more details: http://www.efn.org 484-9637
[EUG-LUG:1940] Re: Folding: Python vs. Perl
Thanks, Larry, that works. "a language feature would not be worthy of the name 'class' without supporting inheritance." At 11:49 AM 3/11/02 Larry Price <[EMAIL PROTECTED]> wrote: >On Mon, 11 Mar 2002, Ralph Zeller wrote: > >> >> KBob's script works fine in python2.2, but how do you make work with regard to >> inheritance using python1.5.2 ? >> >The UserList class encapsulates a list that can then have additional >methods added to it. > >You need to import it before you can inherit from it. > >from UserList import UserList > >class myfoo(UserList): > pass > > >> Ralph >> --- >> # python >> Python 1.5.2 (#1, Jul 5 2001, 03:02:19) [GCC 2.96 2731 (Red Hat Linux >> 7.1 2 on linux-i386 >> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >> >>> class t(list): pass >> ... >> Traceback (innermost last): >> File "", line 1, in ? >> TypeError: base is not a class object >> >>> >> >>> class t(UserList.UserList): pass >> ... >> Traceback (innermost last): >> File "", line 1, in ? >> NameError: UserList >> >>> >> >> At 09:02 PM 3/10/02 Sean Reifschneider <[EMAIL PROTECTED]> wrote: >> >On Wed, Mar 06, 2002 at 11:44:04PM -0800, Bob Miller wrote: >> >>class StatSample: >> > >> >In Python 2.1 and earlier, you could have made this a sub-class of the >> >"UserList" class: >> > >> > >>> class foo(UserList.UserList): pass >> > ... >> > >>> l = foo() >> > >>> print l >> > [] >> > >> >As I mentioned before, 2.2 includes the ability to subclass directly from >> >"list". Either of these options would prevent you from needing the __*__ >> >and append() methods. >> > >> >>def minimum(self): >> >>min = None >> >>for d in self: >> >>if min is None or min > d: >> >>min = d >> >>return min >> > >> >You could do these as: >> > >> > def minimum(self): return(min(self)) >> > def maximum(self): return(max(self)) >> > >> >Or, simply done away with the methods and relied on the fact that the >> >min()/max() builtins will operate on sequences: >> > >> > >>> list = [ 'a', 5, 1, 73 ] >> > >>> min(list) >> > 1 >> > >>> max(list) >> > 'a' >> > >> >>def mean(self): >> >>if len(self) == 0: raise >> >>sum = 0 >> >>for d in self: >> >>sum += d >> >>return sum / len(self) >> > >> >A common way of doing this is by using "reduce()", which takes a list and >> >applies a function to return a single value: >> > >> > def mean(self): >> > sum = reduce(lambda x, y: x + y, self) >> > return(sum / len(self)) >> > >> >>for line in fileinput.input(): >> >>timestamp = re.match(r'\[(\d+)\:(\d+)\:(\d+)\]', line) >> >>if timestamp: >> >>hr, min, sec = [int(n) for n in timestamp.groups()] >> > >> >I would probably have done: >> > >> > hr, min, sec = map(int, timestamp.groups()) >> > >> >map() is like reduce, but it instead of returning one value (the list >> >reduced to one value), it applies the function to every element and >> >returns a list of the new values. I mostly avoid the comprehension >> >syntax because I don't comprehend it. ;-) >> > >> >># Calculate and print statistics. >> >> >> >>print len(ftimes), "frames" >> >>print "fastest:", time_format(ftimes.minimum()), >> >>print " slowest:", time_format(ftimes.maximum()) >> >>print "mean:", time_format(ftimes.mean()) >> >>print "standard deviation:", time_format(ftimes.std_deviation()) >> > >> >How about: >> > >> > print '%d frames' % len(ftimes) >> > print 'fastest: %s slowest: %s' % ( time_format(ftimes.minimum()), >> > time_format(ftimes.maximum()) ) >> > print 'mean: %s\nstandard deviation: %s' % ( time_format(ftimes.mean()), >> > time_format(ftimes.std_deviation()) ) >> > >> >or: >> > >> > print '%d frames' % len(ftimes) >> > print 'fastest: %s slowest: %s\nmean: %s\nstandard deviation: %s' % \ >> > map(time_format, min(ftimes), max(ftimes), ftimes.mean(), >> > ftimes.std_deviation()) >> > >> >Sean >> >-- >> > The structure of a system reflects the structure of the organization that >> > built it. -- Richard E. Fairley >> >Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]> >> >tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python >> > >> > >http://www.efn.org/~laprice( Community, Cooperation, Consensus >http://www.opn.org ( Openness to serendipity, make mistakes >http://www.efn.org/~laprice/poems ( but learn from them.(carpe fructus ludi) >
[EUG-LUG:1932] Re: Folding: Python vs. Perl
Sean, KBob's script works fine in python2.2, but how do you make work with regard to inheritance using python1.5.2 ? Ralph --- # python Python 1.5.2 (#1, Jul 5 2001, 03:02:19) [GCC 2.96 2731 (Red Hat Linux 7.1 2 on linux-i386 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> class t(list): pass ... Traceback (innermost last): File "", line 1, in ? TypeError: base is not a class object >>> >>> class t(UserList.UserList): pass ... Traceback (innermost last): File "", line 1, in ? NameError: UserList >>> At 09:02 PM 3/10/02 Sean Reifschneider <[EMAIL PROTECTED]> wrote: >On Wed, Mar 06, 2002 at 11:44:04PM -0800, Bob Miller wrote: >>class StatSample: > >In Python 2.1 and earlier, you could have made this a sub-class of the >"UserList" class: > > >>> class foo(UserList.UserList): pass > ... > >>> l = foo() > >>> print l > [] > >As I mentioned before, 2.2 includes the ability to subclass directly from >"list". Either of these options would prevent you from needing the __*__ >and append() methods. > >>def minimum(self): >>min = None >>for d in self: >>if min is None or min > d: >>min = d >>return min > >You could do these as: > > def minimum(self): return(min(self)) > def maximum(self): return(max(self)) > >Or, simply done away with the methods and relied on the fact that the >min()/max() builtins will operate on sequences: > > >>> list = [ 'a', 5, 1, 73 ] > >>> min(list) > 1 > >>> max(list) > 'a' > >>def mean(self): >>if len(self) == 0: raise >>sum = 0 >>for d in self: >>sum += d >>return sum / len(self) > >A common way of doing this is by using "reduce()", which takes a list and >applies a function to return a single value: > > def mean(self): > sum = reduce(lambda x, y: x + y, self) > return(sum / len(self)) > >>for line in fileinput.input(): >>timestamp = re.match(r'\[(\d+)\:(\d+)\:(\d+)\]', line) >>if timestamp: >>hr, min, sec = [int(n) for n in timestamp.groups()] > >I would probably have done: > > hr, min, sec = map(int, timestamp.groups()) > >map() is like reduce, but it instead of returning one value (the list >reduced to one value), it applies the function to every element and >returns a list of the new values. I mostly avoid the comprehension >syntax because I don't comprehend it. ;-) > >># Calculate and print statistics. >> >>print len(ftimes), "frames" >>print "fastest:", time_format(ftimes.minimum()), >>print " slowest:", time_format(ftimes.maximum()) >>print "mean:", time_format(ftimes.mean()) >>print "standard deviation:", time_format(ftimes.std_deviation()) > >How about: > > print '%d frames' % len(ftimes) > print 'fastest: %s slowest: %s' % ( time_format(ftimes.minimum()), > time_format(ftimes.maximum()) ) > print 'mean: %s\nstandard deviation: %s' % ( time_format(ftimes.mean()), > time_format(ftimes.std_deviation()) ) > >or: > > print '%d frames' % len(ftimes) > print 'fastest: %s slowest: %s\nmean: %s\nstandard deviation: %s' % \ > map(time_format, min(ftimes), max(ftimes), ftimes.mean(), > ftimes.std_deviation()) > >Sean >-- > The structure of a system reflects the structure of the organization that > built it. -- Richard E. Fairley >Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]> >tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python >
[EUG-LUG:1896] Re: Folding: Team EUGLUG passes ChaosTheory...
I'm glad you're the president of this "organization" and not the treasurer. ;> On Sat, 9 Mar 2002, Bob Miller wrote: > * 28th by the Folding@home server's numbering, in which the top team > is #2 and the "We are all individuals" team is #1. We're 27th by > Chris Allen's numbering, which discounts "We are all individuals", > and 26th by my numbering, which puts the top team at #0 because 0 is > a more important number than 1. (-:
[EUG-LUG:1865] Re: Folding: Python vs. Perl
Bob, I'm new to Python, too. I was wondering if there is a way to inherit some of the list properties like min, max, len, etc rather than redefine them? If it's possible it could save 25 lines of code at least. Another newbie question--rather than parse the date/time yourself, would it make any sense to use a module like mxDateTime? I know it's overkill (bloat) but it might be more flexible. Ralph --- At 11:44 PM 3/6/02 kBob wrote: >I'm still new to Python. If you can see ways to write it better, >I'd appreciate the criticism.
[EUG-LUG:1773] Re: FoxTrot
ifruit-of-the-loom? At 11:36 PM 2/25/02 Sean Reifschneider <[EMAIL PROTECTED]> wrote: >On Mon, Feb 25, 2002 at 04:53:57PM -0800, Tim Howe wrote: >>Tim is amused. > >Sean wants to know where HE can get some. :-) > >Sean >-- > Why would I want to be a Doctor, when I could be a MASTER? >Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]> >tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python >
[EUG-LUG:1660] Re: forever folding
I just started "folding". It's fun to see who's participating at http://folding.stanford.edu/cgi-bin/teampage?q=668 My feeble 486/100 ran all night and completed 1/100 of a work unit. At 02:41 PM 2/14/02 Rob Hudson <[EMAIL PROTECTED]> wrote: >I've got my little p200 laptop folding, and finally after about a >week, it finally finished it's first work unit! Woohoo!! :) > >-- >Rob >my @euglugCode = qw(v+++ e--- eug+ bsd+++ gnu+ S+++); >
[EUG-LUG:1509] RE: Word Processors Considered Harmful
Great links! By the way, did anyone send a message to RMS telling him that he should refer to "Word" as "Microsoft/Word" ? At 12:19 PM 2/6/02 "Dexter Graphic" <[EMAIL PROTECTED]> wrote: >Great references, Bob! Thanks, I really enjoyed them. Here >are two more word-processor related links I found. -Dexter > >Sam Steingold: No Proprietary Binary Data Formats >http://www.podval.org/~sds/data.html > >Richard Stallman: We can put an end to Word attachments >http://linuxtoday.com/news_story.php3?ltsn=2002-01-11-002-20-OP > > >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of >>Bob Miller >>Sent: Wednesday, February 06, 2002 09:39 >>To: [EMAIL PROTECTED] >>Subject: [EUG-LUG:1495] Word Processors Considered Harmful >> >> >>This morning a colleague (I love that word!) forwarded me two fine >>rants against word processors. >> >>http://newsobserver.com/wednesday/business/Story/908438p-906360c.html >>http://ricardo.ecn.wfu.edu/~cottrell/wp.html >> >>I don't use 'em, myself. >> >>-- >>Bob Miller K >>kbobsoft software consulting >>http://kbobsoft.com [EMAIL PROTECTED] >> >> >