Re: [techtalk] modules and xconfig
my current kernel is: 497855 /boot/vmlinuz and the only modules generated from the kernel build are ppp_deflate.o bsd_comp.o soundcore.o usually,i don't even include modules support in my kernel but i need them to be able to use my sound card (alsa driver only compile as modules),i look forward for the day where there will be alsa driver in the kernel for my soundcard (sb awe64) and i switch to Cable modem,then,i won't need modules. Alain [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] USB Camera and IRQs
Malcolm Thanks Cheers! Sriram - Original Message - From: Malcolm Tredinnick <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 20, 1999 8:26 PM Subject: Re: [techtalk] USB Camera and IRQs > Afternoon all :) > > While aimlessly browsing the web, I sort of stumbled across the USB-HOWTO and > some other information that Harry mentioned without addresses: > > USB-HOWTO: www.dynamine.net/linux-usb/HOWTO/ > The Linux USB Wevsite: www.linux-usb.org/ > > Cheers, > Malcolm Tredinnick > > -- > If Barbie is so popular, why do you have to buy her friends? > > > > [EMAIL PROTECTED] http://www.linuxchix.org > __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] sound card help
> Oh hell yes. If noone reports the trivia, it doesn't get fixed. > And so much of the trivia is a two-second job for the right on the subject of 2 seconds fixes,here's the one i used to have sound working: cd /usr/src mkdir cvs/alsa cd cvs/alsa export CVSROOT=":pserver:[EMAIL PROTECTED]:/home/alsa/cvsroot" cvs login password: guest cvs -z3 co . cp -a alsa-driver/ ../../ cd ../../alsa-driver ./cvscompile --with-smp=no --with-processor=i586 --with-isapnp=yes --with-sequencer=yes --with-debug=none --with-oss=yes --with-cards=card-sbawe make install add these line in your /etc/modules file: snd-card-sbawe snd-mixer-oss snd-seq-oss snd-pcm-oss then reboot,it should work fine then,if it don't,yell at me. Alain [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] sound card help
forgot to say,crank up the volume with your mixer app of choice before yelling at me (sound is off by default and it doesn't keep the volume up between reboot,since my 'puter is mostly up 24/24 except when i can't stand the exceptionally noisy cpu fan) Alain "note to self,get a cpu fan asap before throwing the 'puter out of the window" Toussaint [EMAIL PROTECTED] http://www.linuxchix.org
[techtalk] python problem
i have a weird python bug which i can't figure out... consider the following simple python script, test.py: -- #!/usr/bin/python import time format = '%a %b %d %H:%M:%S %Z %Y' timetuple1 = time.localtime(time.time()) timestring = time.strftime( format , timetuple1 ) timetuple2 = time.strptime( timestring , format ) -- so all it's doing is getting the time as a tuple, formatting it as a string, and then trying to parse that string back as a tuple. when i run it, i get: -- Traceback (innermost last): File "./test.py", line 8, in ? timetuple2 = time.strptime( timestring , format ) ValueError: format mismatch -- am i missing something, or is this a bug in the python interpreter? ...derF\lieN Neil "Fred" Picciotto -=- [EMAIL PROTECTED] new and improved! -=- http://www.derf.net/ -=- now with actual content! [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] python problem
> consider the following simple python script, test.py: > > -- > #!/usr/bin/python > > import time > > format = '%a %b %d %H:%M:%S %Z %Y' > timetuple1 = time.localtime(time.time()) > timestring = time.strftime( format , timetuple1 ) > timetuple2 = time.strptime( timestring , format ) > -- well, i've now discovered that if i remove the time zone ('%Z') from the format string, it doesn't have this problem. so the workaround for the actual script i'm writing is to remove the time zone from the string i want to parse, and just use the format string '%a %b %d %H:%M:%S %Y'. so i guess it is a bug in the interpreter...? ...derF\lieN Neil "Fred" Picciotto -=- [EMAIL PROTECTED] new and improved! -=- http://www.derf.net/ -=- now with actual content! [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] sound card help
> > Telsa (who does have reasons for reporting trivia, honest!) > > Oh hell yes. If noone reports the trivia, it doesn't get fixed. > And so much of the trivia is a two-second job for the right > person, and a two-hour job for anyone else. > Jenn V. That, too :) I also think that correct spelling and grammar make it easier for the non-native English-speakers to read or to translate. There's also the point that if I'm using something for a while, trivia really gets to me when everything else is working beautifully, and I want it -all- to be as beautiful :) Telsa [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] xf86config....
On Mon, Dec 20, 1999 at 10:07:08AM -0800 or thereabouts, [EMAIL PROTECTED] wrote: > Hey There, > A couple different ways to rerun the X setup. You know, I begin to think a very brief run-down of the different X configuration tools is worth adding to the FAQ. X certainly seems to rival modem hassles and pppd for problems. :) Or add a pointer to the XFree86 HOWTOs (XFree86-HOWTO, XFree86-Video-Timings-HOWTO and XWindow-User-HOWTO are all in my /usr/doc/HOWTO directory on my RH system). The XFree86-HOWTO, though, really only mentions one or two tools. I'm sure I've seen discussions of people's preferred configuration tools about. Slashdot (Ask Slashdot) and linux.com (the polls section) spring to mind. I would bet there's a FAQ or five from Usenet, too, but I don't know where offhand. Just one saying, "Tool A: found in distributions X, Y and Z. It looks like this, expects you to provide the information about blah and blah, and its documentation is at " for a couple might be enough. Or does something like this exist already? It's the sort of thing which I'm sure some magazine or series of articles must have covered at some stage. Telsa [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
Hi Folks I have just uploaded some real cool books to driveway. I thought I could share it here. I have lots of Linux books there. Check it out. Don't forget to enter the password "beegees" http://www.driveway.com/bin/share.jsp?sid=4b1ce994.f122 Once again the password is beegees I hope you find them useful. Cheers! Sriram __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] xf86config....
Telsa Gwynne <[EMAIL PROTECTED]> wrote: > Or does something like this exist already? It's the sort of thing > which I'm sure some magazine or series of articles must have > covered at some stage. I rewrote the X configuration sction of Matt Welsh's "Installation and Getting Started." At the time, there _weren't_ any X configuration tools, but the section describes each step of writing the XF86Config file... minus the video timings, I think, but it does go into processes like using X --probeonly to find out the video card chipset, and so forth. It's GPL'd, and it's downloadable through the Linux FAQ Web site, http://www.mainmatter.com/. At least the LaTeX source is, but I could send you a postscript or dvi if necessary. It might be a good start point for what you described. Robert [EMAIL PROTECTED] http://www.linuxchix.org
[techtalk] Converting PMMail files to Maildir or mbox format
I am in the process of moving my mail from a OS/2 box. The mail client here is PMMail. Each email is stored in a seperate file, like in Maildir. I have moved these files to linux, but cannot read them using Mutt to convert them to Maildir named files. The PMMail files are named in 7.3 format, which is like ABCXYZ1.MSG When I issue the command, $ file *.MSG I get the following output FKBOL40.MSG: RFC 822 mail text FKOE9A0.MSG: RFC 822 mail text FKQ6D20.MSG: RFC 822 mail text FKU7OB0.MSG: RFC 822 mail text FKVW7B0.MSG: ASCII text FKXO320.MSG: RFC 822 mail text FKXO370.MSG: RFC 822 mail text How do you convert these files into mbox or Maildir format? I want to be able to read these messages using Mutt MUA. Thank you in advance. Subba Rao [EMAIL PROTECTED] http://pws.prserv.net/truemax/ => Time is relative. Here is a new way to look at time. <= http://www.smcinnovations.com [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
Hi Sriram, I tried to get the "Using Linux, Fourth Edition.zip" but it said it's an invalid url? Tech Docs wrote: > > Hi Folks > > I have just uploaded some real cool books to driveway. I thought I could > share it here. I have lots of Linux books there. Check it out. Don't forget > to enter the password "beegees" > > http://www.driveway.com/bin/share.jsp?sid=4b1ce994.f122 > > Once again the password is beegees > > I hope you find them useful. > > Cheers! > Sriram -- Clint Forgy "Paving the Information Gravel Road for the Midwest" http://www.midwestonline.com ICQ: 8443021Make Code, Not War [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
Hi Clint Try again http://www.driveway.com/bin/share.jsp?sid=4b1ce994.f122 Don't forget to enter the password "beegees" I am not sure of that msg. though. May be network timeout. Not sure. Try again and let me know. Cheers! Sriram __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
Tech Docs wrote: I haven't the time to really investigate this in any detail (and I'm on a totally sucky connection at the moment, so downloads are painful). I strongly recommend that everyone verify that these copies are legal before downloading anything. Check the copyright and licensing, and if it seems questionable, I recommend that you do not download the files. If you have already downloaded the files, I recommend that you delete them from your system if they seem to be of questionable legality. These lists are not intended for trading copyright protected materials in any way, shape, or form. Not cool. - deb > http://www.driveway.com/bin/share.jsp?sid=4b1ce994.f122 > > Don't forget to enter the password "beegees" -- [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
Hi Sriram, Nope, got the same error. It tries to look up the host "www.driveway.comhttp", which is "broken" ... Tech Docs wrote: > > Hi Clint > > Try again > > http://www.driveway.com/bin/share.jsp?sid=4b1ce994.f122 > > Don't forget to enter the password "beegees" > > I am not sure of that msg. though. May be network timeout. Not sure. Try > again and let me know. > > Cheers! > Sriram > > __ > Do You Yahoo!? > Thousands of Stores. Millions of Products. All in one place. > Yahoo! Shopping: http://shopping.yahoo.com > > > [EMAIL PROTECTED] http://www.linuxchix.org -- Clint Forgy "Paving the Information Gravel Road for the Midwest" http://www.midwestonline.com ICQ: 8443021Make Code, Not War [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
On Tue, 21 Dec 1999 13:54:57 -0500, Deb Richardson <[EMAIL PROTECTED]> said: >Check the copyright and licensing, and if it seems questionable, I >recommend that you do not download the files. If you have already >downloaded the files, I recommend that you delete them from your >system if they seem to be of questionable legality. Actually, you're under no obligation to delete them if you downloaded them innocently. The tort is committed by the operator of the site, who is probably looking at a massive copyright lawsuit any moment now. Kelly [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Converting PMMail files to Maildir or mbox format
For Maildir (assuming you have a Maildir setup), just rename all the files .. and put them in Maildir/new. You may be able to get away with making up ; you can make up; is just you're machine name. So a good script may be: #!/bin/sh timestamp=945801478 for i in *.MSG do timestamp=`expr $timestamp + 1` mv $i $timestamp.$$.`hostname` done ## Script end For mbox, its more tricky. Essentially you just concatenate all the files together, but you need to make sure: 1. There is a blank line between each message 2. The first line of each message reads: "From ", eg: From [EMAIL PROTECTED] Tue Dec 21 18:40:44 1999 this is *independant* of the From: header. A small script may be able to do this by stripping the information out of the Date: and From: headers. I could write one, but I'm going to leave that as an exercise for the reader :) Not certain, but I think the date part of the From line is fussy about the format, so best keep the format shown in the example above. Chris... -- @}-,'-- Chris Johnson --'-{@ / "(it is) crucial that we learn the difference / [EMAIL PROTECTED] \ / between Sex and Gender. Therein lies the key / \ / to our freedom" -- LB / www.nccnet.co.uk/~sixie \ [EMAIL PROTECTED] http://www.linuxchix.org
[techtalk] kernel compilation
Hey, all. I'm trying to get my linux machine up and running. (My first time ever using linux, so be gentle. ;) The biggest stumbling block I'm having is getting it setup for internet use. I'm running Mandrake 6.0. The installation does not compile ppp, and as a result, I can't get linux to even test the modem that I've been able to determine. I have gone through and remade my kernel through "make xconfig" and done the make dep, make zImage, and make modules. I want to do 3 things now that I don't know how...even though I know that they should be fairly easy things to figure out...I can't find it spelled out plainly anywhere. Anyway, I want to: 1) load the kernel onto a floppy so I can make sure linux will boot with the new kernal 2) backup the old kernal 3) install the new kernal Can anyone spell out in plain language how to do this? n. [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] kernel compilation
Hey Nick, From my experience with Mandrake 6.0, There are a lot of fixes that you will need to get it working without any sort of Internet access. Broken symbolic links, innitscript problems, etc. I understand they fixed this in Mandrake 6.1. I'm don't know personally though as I've never gone back(can't see justifying putting a system out thats not throughly tested). Anyhow fixing these problems might make a huge effect in what you're trying to do HTH, Harry Hoffman Product Systems Specialist Restaurants Unlimited Inc. Seattle WA 206 634-3082 ext. 270 On Tue, 21 Dec 1999, Nick Green wrote: > Hey, all. I'm trying to get my linux machine up and running. (My first > time > ever using linux, so be gentle. ;) The biggest stumbling block I'm having > is getting it setup for internet use. I'm running Mandrake 6.0. The > installation > does not compile ppp, and as a result, I can't get linux to even test the > modem that I've been able to determine. > > I have gone through and remade my kernel through "make xconfig" and done > the make dep, make zImage, and make modules. I want to do 3 things now that > I don't know how...even though I know that they should be fairly easy things > to figure > out...I can't find it spelled out plainly anywhere. Anyway, I want to: > > 1) load the kernel onto a floppy so I can make sure linux will boot with > the new kernal > 2) backup the old kernal > 3) install the new kernal > > Can anyone spell out in plain language how to do this? > > n. > > > > [EMAIL PROTECTED] http://www.linuxchix.org > [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] kernel compilation
I'm sorry...I just looked at the stuff I have, and it IS 6.1, not 6.0. -Original Message- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, December 21, 1999 2:39 PM Subject: Re: [techtalk] kernel compilation >Hey Nick, > From my experience with Mandrake 6.0, There are a lot of fixes >that you will need to get it working without any sort of Internet access. >Broken symbolic links, innitscript problems, etc. I understand they fixed >this in Mandrake 6.1. I'm don't know personally though as I've never gone >back(can't see justifying putting a system out thats not throughly >tested). Anyhow fixing these problems might make a huge effect in what >you're trying to do >HTH, > >Harry Hoffman >Product Systems Specialist >Restaurants Unlimited Inc. >Seattle WA >206 634-3082 ext. 270 > >On Tue, 21 Dec 1999, Nick Green wrote: > >> Hey, all. I'm trying to get my linux machine up and running. (My first >> time >> ever using linux, so be gentle. ;) The biggest stumbling block I'm having >> is getting it setup for internet use. I'm running Mandrake 6.0. The >> installation >> does not compile ppp, and as a result, I can't get linux to even test the >> modem that I've been able to determine. >> >> I have gone through and remade my kernel through "make xconfig" and done >> the make dep, make zImage, and make modules. I want to do 3 things now that >> I don't know how...even though I know that they should be fairly easy things >> to figure >> out...I can't find it spelled out plainly anywhere. Anyway, I want to: >> >> 1) load the kernel onto a floppy so I can make sure linux will boot with >> the new kernal >> 2) backup the old kernal >> 3) install the new kernal >> >> Can anyone spell out in plain language how to do this? >> >> n. >> >> >> >> [EMAIL PROTECTED] http://www.linuxchix.org >> > > > >[EMAIL PROTECTED] http://www.linuxchix.org > [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
I have no clues friend. Cheers! Sriram - Original Message - From: Clint Forgy <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 21, 1999 10:57 AM Subject: Re: [techtalk] Linux Books > Hi Sriram, > > Nope, got the same error. It tries to look up the host > "http://www.driveway.comhttp, which is "broken" ... > > > Tech Docs wrote: > > > > Hi Clint > > > > Try again > > > > http://www.driveway.com/bin/share.jsp?sid=4b1ce994.f122 > > > > Don't forget to enter the password "beegees" > > > > I am not sure of that msg. though. May be network timeout. Not sure. Try > > again and let me know. > > > > Cheers! > > Sriram > > > > __ > > Do You Yahoo!? > > Thousands of Stores. Millions of Products. All in one place. > > Yahoo! Shopping: http://shopping.yahoo.com > > > > > > [EMAIL PROTECTED] http://www.linuxchix.org > > -- > Clint Forgy > "Paving the Information Gravel Road for the Midwest" > http://www.midwestonline.com > ICQ: 8443021 Make Code, Not War > > > [EMAIL PROTECTED] http://www.linuxchix.org > __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
I am sorry about the copyright part, which I did not realize. I have downloaded them from various sites and only thought I could share it with people. I am sorry once again. Cheers! Sriram - Original Message - From: Deb Richardson <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 21, 1999 10:54 AM Subject: Re: [techtalk] Linux Books > Tech Docs wrote: > I haven't the time to really investigate this in any detail (and I'm on > a totally sucky connection at the moment, so downloads are painful). I > strongly recommend that everyone verify that these copies are legal > before downloading anything. Check the copyright and licensing, and if > it seems questionable, I recommend that you do not download the files. > If you have already downloaded the files, I recommend that you delete > them from your system if they seem to be of questionable legality. > > These lists are not intended for trading copyright protected materials > in any way, shape, or form. Not cool. > > > - deb > > > http://www.driveway.com/bin/share.jsp?sid=4b1ce994.f122 > > > > Don't forget to enter the password "beegees" > > -- > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > > [EMAIL PROTECTED] http://www.linuxchix.org > __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
Kelly I have no idea about copy rights. I had downloaded them from some sites on the net. So I was not sure of it, neither did I ever think about it. Once again I am sorry if I had violated the rules of this forum Cheers! Sriram - Original Message - From: Kelly Lynn Martin <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 21, 1999 11:02 AM Subject: Re: [techtalk] Linux Books > On Tue, 21 Dec 1999 13:54:57 -0500, Deb Richardson <[EMAIL PROTECTED]> said: > > >Check the copyright and licensing, and if it seems questionable, I > >recommend that you do not download the files. If you have already > >downloaded the files, I recommend that you delete them from your > >system if they seem to be of questionable legality. > > Actually, you're under no obligation to delete them if you downloaded > them innocently. The tort is committed by the operator of the site, > who is probably looking at a massive copyright lawsuit any moment now. > > Kelly > > > [EMAIL PROTECTED] http://www.linuxchix.org > __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Fax via linux???
As I recall, SuSE distro comes with SuSEfax and/or Hylafax software that does fax. Haven't played with it myself though, only glanced at it briefly, seemed easy enough to configure as I recall. Check http://www.hylafax.org/ for more info on Hylafax. Can download from there and they have a setup page. > I've not been able to find any software that would enable me to use my pc as a fax, >am I missing something?? Or is this out of the question in linux. > [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
Deb wrote: > >Check the copyright and licensing, and if it seems questionable, I > >recommend that you do not download the files. If you have already > >downloaded the files, I recommend that you delete them from your > >system if they seem to be of questionable legality. Kelly wrote: > Actually, you're under no obligation to delete them if you downloaded > them innocently. The tort is committed by the operator of the site, > who is probably looking at a massive copyright lawsuit any moment now. Well, one of them is okay: Maximum RPM is actually available from the www.rpm.org website :) However, one of the smaller ones (I too am on a slow connection!) has on page 2 a fairly standard copyright notice which says nothing about being able to copy it freely. Some of the books cost about $40 at Amazon: if they -are- freely distributable, I'd be absolutely delighted, but I think at least one of the user comments on amazon would have mentioned it. Alas, they didn't. Telsa [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] kernel compilation
> I can't find it spelled out plainly anywhere. Anyway, I want to: > 1) load the kernel onto a floppy so I can make sure linux will boot > with the new kernal 2) backup the old kernal 3) install the new > kernal You shouldn't need the floppy. When you build your new kernel, just make sure it has a different version than your booting kernel (use EXTRAVERSION if necessary). Put an entry in lilo.conf for the new kernel, and run make zlilo. You will have both kernels in /boot after this, and if the new one isn't any good, you just boot up the old one. Jeff [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Linux Books
Well..I know that several sites have these books publically available to browse through them at that site. I don't know what each site's specific terms are, but they are still offering the book for sale if you like what you read in the online edition. www.informit.com is one of these sites. I recommend just browsing through them there if you're not sure about the legal issues :) Kristin > Deb wrote: > > >Check the copyright and licensing, and if it seems questionable, I > > >recommend that you do not download the files. If you have already > > >downloaded the files, I recommend that you delete them from your > > >system if they seem to be of questionable legality. > > Kelly wrote: > > Actually, you're under no obligation to delete them if you downloaded > > them innocently. The tort is committed by the operator of the site, > > who is probably looking at a massive copyright lawsuit any moment now. > > Well, one of them is okay: Maximum RPM is actually available from > the www.rpm.org website :) > > However, one of the smaller ones (I too am on a slow connection!) > has on page 2 a fairly standard copyright notice which says nothing > about being able to copy it freely. Some of the books cost about $40 > at Amazon: if they -are- freely distributable, I'd be absolutely > delighted, but I think at least one of the user comments on amazon > would have mentioned it. Alas, they didn't. > > Telsa > > > [EMAIL PROTECTED] http://www.linuxchix.org > [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] python problem
On Tue, Dec 21, 1999 at 05:05:59AM -0800, Neil ''Fred'' Picciotto wrote: > > consider the following simple python script, test.py: > > > > -- > > #!/usr/bin/python > > > > import time > > > > format = '%a %b %d %H:%M:%S %Z %Y' > > timetuple1 = time.localtime(time.time()) > > timestring = time.strftime( format , timetuple1 ) > > timetuple2 = time.strptime( timestring , format ) > > -- > > well, i've now discovered that if i remove the time zone ('%Z') from the > format string, it doesn't have this problem. so the workaround for the > actual script i'm writing is to remove the time zone from the string i > want to parse, and just use the format string '%a %b %d %H:%M:%S %Y'. > > so i guess it is a bug in the interpreter...? The problem does indeed exist (which I was not willing to believe initially, since it just seemed so silly), but it is not Python's fault! It is a problem in the Linux C library (assuming the man pages can be trusted). The two functions strftime() and strptime() are implemented in terms of the C functions of the corresponding names. Looking at 'man strftime', we see that it takes a %Z modifier, whereas 'man strptime' takes no such modifier! So that explains the mystery -- albeit fairly unsatisfactorily. I've taken the liberty of posting some information about this to the Python mailing list (which is also the newsgroup comp.lang.python) to see what the story is on other Unices. The time module in Python is the source of *so* many questions -- particularly for those trying to do cross-platform programming and handle different time zones, etc. Unfortunately, this isn't one of the obvious questions (I hadn't seen it before and I spend a lot of time reading Python newsgroups, etc). Let me also recommend comp.lang.python and the Python mailing list to those who are interested Python programming. It is one of the friendliest help-lists I have been involved with (in fact, after first lurking here, my initial thoughts on this list were "it's just like the Python one"). No question too small, but some of the real language heavies hang out there, too (including Python author Guido van Rossum), so any really tricky questions are run into the ground as well. More information on this and other Pythonistic things at www.python.org . Cheers, Malcolm Tredinnick -- Who here is telekinetic? Raise my hand ... [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Mounting CD's and Floppies/Using Control Panel
Excerpts from linuxchix: 20-Dec-99 [techtalk] Mounting CD's an.. by [EMAIL PROTECTED] > 1) Mounting CD's and floppies in X from my user account. > > I can mount these with the mount tool but not copy from either > or write to the floppy, not even if I su - and try it again. I > can mount both from a wterm but only if I su - first. However, I > still can't write/copy. Note that you can't write to a cd as if it was a regular filesystem, even if it's a cdrw or cdr. (What do you mean by X and wterm? Are you trying to mount it with something other than the 'mount' command?) > The permissions on both the cd and floppy directories are > drwx rwx r-xowner: root group: root. > The permissions on the mount command are -rws r-x r-w > owner: root group: root. Sure its not -rwsr-xr-x 1 root root ? > The fstab file is > /dev/fd0 /mnt/floppy ext2 sync,nosuid,users,noauto,nodev 0 0 > /dev/cdrom /mnt/floppy ext2 suid,users,noauto,exec,nodev,ro 0 0 For the cdrom line, the ext2 here should be iso9660. Might also be a good idea to mount it somewhere other than /mnt/floppy, in case you want a floppy and cd mounted at the same time. Floppies are also not always the ext2 filesystem. I'm guessing that you might be trying to read a dos floppy. Personally, I use mtools for those (which you can use as a user if you have permissions on /dev/fd0), but you can also try changing the ext2 in the floppy line to msdos or vfat. [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] sound card help
thanks for your awsome response...I will check out the Bugzilla site! -Original Message- From: Telsa Gwynne <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Monday, December 20, 1999 5:44 AM Subject: Re: [techtalk] sound card help >Disclaimer: I know nothing about sound cards. My machine is a Cyrix >MediaGX which has 'on-board sound', whatever that means. When I >eventually got a proper soundcard for it, I broke sndconfig, too :) > >Chris said (at various times :)) >> The following error occured running the isapnp program: Don't know what >> do with CONFIGURE CTL0044/269079066 (LD2 on or around Line 346 >> /etc/isapnp.conf:346--fatal-error occured parsing config file - no action >> taken >[munch] >> Telsa, the version is Red Hat 6.0. I just went to a console, said setup and >> chose the sound card option. It looked really easy, it even had my sound >> card listed. I believe I got this error when the sound test came up. Any >> help/ideas would be appreciated. > >Well, when it's Red Hat, my first idea is usually to check RH's Bugzilla >to see if someone else has reported it too. > >Bugzilla is where people are encouraged to report problems with the >software. It's not tech support, really, but if there's a fix, they'll >tell you, and if they fix the relevant they'll tell you. (Bugzilla is >just the name of the bug reporting and tracking software, btw. It grew >out of the Mozilla project and other groups, including RH, now use it to >track their own bugs too.) > >Red Hat's Bugzilla database is at http://bugzilla.redhat.com/bugzilla >(well, it is at the moment: RH seem to move things a lot, but that >one stays reasonably consistent). To report bugs, you need to get >yourself a login and password (fill in the online form.) You don't >need to be a 'registered Red Hat user' who bought a CD and filled >in some form with that to use it. I mention this cos I think some >people think that :) You can use it whether you bought RH or downloaded >it off the net. > >If you just want to search bugzilla, I don't think you need a >login/password. > >Anyway, the search form is a bit hairy with Lynx but fine with Netscape. >I clicked on every possible bug resolution (notabug, duplicated, etc), >left everything else empty, and selected 'setup' and 'sndconfig' from >the software list. I got a list of about 60 reports mentioning one or >the other, from RH 5.x on up, so I'll summarise :) > >There are at least three people with AWE 32 problems. One bug was >closed cos the person didn't get back to them, but it sounded similar. >Someone else invoked sndconfig three different ways (via installation, >via setup and via sndconfig) and only one of them worked :) And >another doesn't have AWE 32 in the subject line: it's bug 1640, and >it turned into quite a saga which I'm afraid I daren't summarise as >I don't understand it. It starts off with "it doesn't work the first >time you run it", and then just continues on and on :) > >Bug 4643 reports the same format of error message you got, though >with slightly different numbers. The suggestion was to upgrade to >the latest isapnptools from Rawhide (this is a section on their >ftp site where they put the latest versions of packages and brave >people try 'em out). The person who sent the report didn't reply >on whether that helped. They were running RH 6.0, too. > >You could always report this to bugzilla. When you do, you get >an odd-format message back which shows you what's been entered. >Any responses in email come back in a 'unified diff' format: this >means that they print out any lines which are now different with + >and - signs in them to show what changed, and if something has been >added, they'll put a few lines for context and then just show >the new stuff. I mention this because when I first saw this stuff >I just stared, frankly :) To see the whole thing you can always look >on the website. You can respond either via email or via the web. If >you do, it's perhaps worth getting the latest isapnptools, trying >after upgrading that, and mentioned that you tried the fix from >bug 4643 and it didn't work. > >Reporting bugs via bugzilla is like reporting things to the gnome >bug tracker (which came from Debian's bug-tracker, btw :)). It's >a bit off-putting at first, but you get the hang of it, and it >can be very useful to know how to at least search the database. > >I encourage everyone to report everything because then I don't >feel so silly about reporting typos in man pages and comments in >config files :) It could be worse: I know someone who reports >misspellings in /usr/dict/words... > >Digression aside, I hope this helps. > >Telsa (who does have reasons for reporting trivia, honest!) > > >[EMAIL PROTECTED] http://www.linuxchix.org > > [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Mounting CD's and Floppies/Using Control Panel
--- Laurel Fan <[EMAIL PROTECTED]> wrote: > Excerpts from linuxchix: 20-Dec-99 [techtalk] Mounting CD's > an.. by > [EMAIL PROTECTED] > > 1) Mounting CD's and floppies in X from my user account. > > > > I can mount these with the mount tool but not copy from > either > > or write to the floppy, not even if I su - and try it again. > I > > can mount both from a wterm but only if I su - first. > However, I > > still can't write/copy. I managed to find an answer to the mounting problem. I was trying to mount the floppy with "mount /dev/fd0 /mnt/floppy" and the CD with "mount /dev/cdrom /mnt/cdrom". Someone pointed out that this doesn't work from a user account. The actual commands that do work are "mount /dev/fd0" and "mount /dev/cdrom." For some reason the system doesn't want the user to use the full syntax. I don't know if this is a Mandrake thing or applicable to all distros. > Note that you can't write to a cd as if it was a regular > filesystem, even if it's a cdrw or cdr. I should have been clearer. I meant I can't read to or write from a floppy or write from a CD. I still haven't been able to find a way to let my user account do this. > (What do you mean by X and wterm? Are you trying to mount it > with something other than the 'mount' command?) I meant when I was in the X Windowing System I tried to use the mount command from a Wterm (it's a Window Maker substitute for an Xterm). > > > The permissions on both the cd and floppy directories are > > drwx rwx r-xowner: root group: root. > > > The permissions on the mount command are -rws r-x r-w > > owner: root group: root. > > Sure its not > -rwsr-xr-x 1 root root ? Yes it is. I added the spaces to make it easier to read. (Well, it seemed like a good idea at the time :-> ) > > The fstab file is > > /dev/fd0 /mnt/floppy ext2 > sync,nosuid,users,noauto,nodev 0 0 > > /dev/cdrom /mnt/floppy ext2 nosuid, users,noauto,exec,nodev,ro 0 0 > > For the cdrom line, the ext2 here should be iso9660. Might > also be a > good idea to mount it somewhere other than /mnt/floppy, in > case you want > a floppy and cd mounted at the same time. The CD line in fstab is actually /dev/cdrom /mnt/cdrom iso9660 etc. I can only blame my bad typing and aging eyes. > Floppies are also not always the ext2 filesystem. I'm > guessing that you > might be trying to read a dos floppy. Personally, I use > mtools for > those (which you can use as a user if you have permissions on > /dev/fd0), > but you can also try changing the ext2 in the floppy line to > msdos or > vfat. It was an ext2 diskette. I have them clearly marked so I don't mix them up. For floppies, I've changed the fstab to read /dev/fd0 /mnt/floppy ext2 sync,nosuid,users,noauto,nodev 0 0 /dev /fd0 /mnt/a vfat sync,nosuid,users,noauto,nodev 0 0 and I added /a to the /mnt directory. By using the abbreviated mount command as I mentioned above, I can now mount floppies (ext2 or DOS) and CD's from my user account with either the mount tool or from a command line in a Wterm. Unfortunately, since I still can't figure out how to give my user account write privileges, I can look but not touch. And a solution to part two of my problem (why I can't use the control panel tools even after I su from a command line in a Wterm) still eludes me. = Glen Strom [EMAIL PROTECTED] __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com [EMAIL PROTECTED] http://www.linuxchix.org
Re: [techtalk] Mounting CD's and Floppies/Using Control Panel
Excerpts from linuxchix: 21-Dec-99 Re: [techtalk] Mounting CD'.. by [EMAIL PROTECTED] > The CD line in fstab is actually /dev/cdrom /mnt/cdrom > iso9660 etc. I can only blame my bad typing and aging eyes. It'd probably be easier and less error prone to cut and paste (do you know how?) > Unfortunately, since I still can't figure out how to > give my user account write privileges, I can look but not touch. For ext2, just give it permissions the normal way, by chmoding the files. (and make sure you/it has permissions on the /mnt/whatever dir, of course.) For vfat/msdos, use either the uid or umask options. Since these filesystems don't have permissions, these options tell mount what to set them to. umask=111 will tell it to create files with permissions -rw-rw-rw- uid=1000 tells it to create files with owner as my user, which happens to have a uid of 1000. You'll have to use the numeric uids, it doesnt like usernames. More details about this in the mount manpage in the section "Mount options for fat". > And a solution to part two of my problem (why I can't use the > control panel tools even after I su from a command line in a > Wterm) still eludes me. (Are you starting the control panel tools from a menu in x or something (ie. not by typing a command in the Wterm where you're root?)) Any program started by another program (such as a shell) is usually run as the same user as the parent program. So you start X as your user, which starts the windowmanager as your user, then when you, for example, click on the control panel, it starts the control panel as your user. The su command doesn't turn you into root, it just starts a new shell where you are root (su stands for SuperUser (or maybe SUperuser), not Switch User). So, try typing printtool or whatever in your su'ed wterm. [EMAIL PROTECTED] http://www.linuxchix.org