OT: it made me grin -:) see link

2003-06-23 Thread goldedge
http://asp2php.naken.cc/ Regards Michael

Re: truncate file with shell

2003-06-23 Thread Rex
Christopher Sawtell wrote: man 2 truncate System call, You'll have to write a trivial C program to call the kernel function. Surprisingly, nothing in man(1). Nope, `tis a function. man 2 truncate. Rex

Re: truncate file with shell

2003-06-23 Thread Christopher Sawtell
On Tue, 24 Jun 2003 17:04, you wrote: > Thanks, but both split and dd can only copy the first (or more) part(s) of > a file to a new file. Copying the start of the file is trivial, but > requires disk space and a lot of time. Truncating it in place is what I'm > after. man 2 truncate System call,

Re: truncate file with shell

2003-06-23 Thread Volker Kuhlmann
Thanks, but both split and dd can only copy the first (or more) part(s) of a file to a new file. Copying the start of the file is trivial, but requires disk space and a lot of time. Truncating it in place is what I'm after. Thanks, Volker -- Volker Kuhlmann is possibly list0570

Re: truncate file with shell

2003-06-23 Thread Andre Renaud
> Is there a shell command which can truncate a file to the given number > of bytes? It would need to work with large files (i.e. >> 2GB). Have a look at "split". Andre

RE: truncate file with shell

2003-06-23 Thread Bjorn Nilsen
Check out "man dd", it may be able to do this. > -Original Message- > From: Volker Kuhlmann [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 24 June 2003 3:54 p.m. > To: [EMAIL PROTECTED] > Subject: truncate file with shell > > > Is there a shell command which can truncate a file to the > gi

truncate file with shell

2003-06-23 Thread Volker Kuhlmann
Is there a shell command which can truncate a file to the given number of bytes? It would need to work with large files (i.e. >> 2GB). Thanks, Volker -- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list p

Re: script help

2003-06-23 Thread Volker Kuhlmann
> in other words of all the ones he (or I, or many other people) have > tried, it works the best at hw detection. Hm, I was hoping for a more elaborate answer along the lines of what hw detection systems are available, and where they fall short. You still don't specify "all the ones". An old ver

Re: script help

2003-06-23 Thread Nick Rout
On Tue, 24 Jun 2003 14:00:36 +1200 Volker Kuhlmann <[EMAIL PROTECTED]> wrote: > > > Even then the auto-detection may fail. > > The knoppix or morphix method is by far the best I've seen > > Can you give details about how you arrived at the "by far the best"? > > Volker > one word: "experience

Re: script help

2003-06-23 Thread Volker Kuhlmann
> > Even then the auto-detection may fail. > The knoppix or morphix method is by far the best I've seen Can you give details about how you arrived at the "by far the best"? Volker -- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.dnsalias.net/

Re: script help

2003-06-23 Thread Christopher Sawtell
On Tue, 24 Jun 2003 10:52, you wrote: > On Tue, 24 Jun 2003, Nick Rout wrote: > > I didn't write the cript, but it is designed to test all variants of > > nics and try and automatically load the appropriate one. > > This is a very tall order. > > It would be better to look at various auto-detectio

Re: Gentoo installfest ISO files

2003-06-23 Thread Christopher Sawtell
On Tue, 24 Jun 2003 10:34, Nick Rout wrote: > /etc/init.d/net.eth0 start > > please don't post html to the list if you can help it. > > Its odd that the /etc/init.d/local script does not load the 3c59x module. This is indeed very odd. The 3c59x module loaded perfectly on my machine. > the script

Re: Gentoo installfest ISO files

2003-06-23 Thread Conrad Wolf
Nick Rout wrote: /etc/init.d/net.eth0 start please don't post html to the list if you can help it. Ups! That wasn't my intention. Won't happen again :). Its odd that the /etc/init.d/local script does not load the 3c59x module. the script cycles through all the available net modules and tries t

Re: script help

2003-06-23 Thread Ryurick M. Hristev
On Tue, 24 Jun 2003, Nick Rout wrote: > I didn't write the cript, but it is designed to test all variants of > nics and try and automatically load the appropriate one. This is a very tall order. It would be better to look at various auto-detection "systems" already written, e.g. RedHat's kutzu

RE: Gentoo installfest

2003-06-23 Thread Brad Beveridge
Oh, sorry - I did misunderstand :) I highly doubt that a subminor version bump would cause object files to have link errors, in fact all the 3.2.xx series _should_ produce object files that correctly link to each other (ie 3.2.1 & 3.2.3). However - according to Murphies Law - there will be proble

Re: Gentoo installfest

2003-06-23 Thread Nick Rout
On Tue, 24 Jun 2003 10:03:25 +1200 Brad Beveridge <[EMAIL PROTECTED]> wrote: > It may be wise at the dry run to test with both knoppix & Nick's CD. > It sounds like Nick has made a neat CD, but it may have a few wrinkles. > I've installed all my Gentoo's via a knoppix boot, as long as you can get

Re: Gentoo installfest ISO files

2003-06-23 Thread Nick Rout
/etc/init.d/net.eth0 start please don't post html to the list if you can help it. Its odd that the /etc/init.d/local script does not load the 3c59x module. the script cycles through all the available net modules and tries to insmod them. If one (perhaps the de4x5) hangs then it may give the symp

Re: script help

2003-06-23 Thread Nick Rout
I didn't write the cript, but it is designed to test all variants of nics and try and automatically load the appropriate one. It would not be appropriate to do whart you suggest as it won't work on machines with as different card. Thanks for the input though. On Tue, 24 Jun 2003 10:03:42 +1200

Re: script help

2003-06-23 Thread Ryurick M. Hristev
On Mon, 23 Jun 2003, Nick Rout wrote: > My research shows that the toshiba 6100 uses the e100.o driver, It > resides in /lib/modules/*/kernel/drivers/net/e100/e100.o (most net > drivers simply live in lib/modules/*/kernel/drivers/net ) > > My question for script gurus is: will this code fragment

RE: Gentoo installfest

2003-06-23 Thread Brad Beveridge
It may be wise at the dry run to test with both knoppix & Nick's CD. It sounds like Nick has made a neat CD, but it may have a few wrinkles. I've installed all my Gentoo's via a knoppix boot, as long as you can get the appropriate stage file onto your box somehow then it is the same as a gentoo in

Re: Gentoo installfest ISO files

2003-06-23 Thread Conrad Wolf
Sorry, this was supposed to go to the list, not only to Chris. Conrad. Original Message Subject: Re: Gentoo installfest ISO files Date: Tue, 24 Jun 2003 09:43:52 +0200 From: Conrad Wolf <[EMAIL PROTECTED]> To: Christop

Re: Linux Applications

2003-06-23 Thread Zane Gilmore
Probably the best place to look is: http://freshmeat.net (don't be put off by the name) On Mon, 2003-06-23 at 15:47, Adam Martin wrote: > Hello All, > I was wondering whether you all could tell me what the best place to > find linux applications from? - ideally freeware > > I am wanting to se

Re: Odd openGL issue...

2003-06-23 Thread C Falconer
Perhaps they're on a different screen, or just a long way off-screen Try a geometry parameter appname -geometry 320x200+100+100 -display :0 should dump it in the upper left corner of your :0 display. On Mon, 2003-06-23 at 20:04, Chris Wilkinson wrote: > Hi there, > > Recently I have had

Re: rpc.ypxfrd - considered harmful?

2003-06-23 Thread Chris Hellyar
'Evening. It's the NIS xfer agent... It's brought up by portmapper/ypxfrd. No big deal, you can disable it by doing a 'chkconfig ypxfrd off' as root, or find ypxfrd in the mandrake services tool and turn it off. This probably means you're running portmapper which can probably also be turned off

rpc.ypxfrd - considered harmful?

2003-06-23 Thread Wesley Parish
I just did a ps axe on my Mandrake 9.1 box, and discovered this: rpc.ypxfrd Is it considered harmful? I must confess, the thought of having a rpc.* running on my machine does worry me. Thanks in advance. Wesley Parish -- Mau e ki, "He aha te mea nui?" You ask, "What is the most important thin

Re: Gentoo installfest - can someone host a 50M iso?

2003-06-23 Thread Christopher Sawtell
On Mon, 23 Jun 2003 21:56, Nick Rout wrote: > yes ok i can see the problem...e dunno how to fix it easily. I mentioned it simply because it's there. I dont think it's worth spending too much time or spleen trying to fix it. > can you turn on dhcp on your ipcop firewall and see if that wor

Re: Gentoo installfest - can someone host a 50M iso?

2003-06-23 Thread Nick Rout
yes ok i can see the problem...e dunno how to fix it easily. can you turn on dhcp on your ipcop firewall and see if that works? I will work on the problem, we will have a dhcp server but i'd like to get the other way working too On Mon, 23 Jun 2003 21:25:19+1200 Christopher Sawtell<[

Re: Gentoo installfest

2003-06-23 Thread Christopher Sawtell
On Mon, 23 Jun 2003 13:10, Hamish McBrearty wrote: > My appologies if this has already been answered (my mail server ate most > Clug messages last week) but have we settled on a date for this > installfest? Dry run at the next CLUG to attempt to sort out any stray issues. That's Monday 30/jul/03.

Re: Gentoo installfest - can someone host a 50M iso?

2003-06-23 Thread Christopher Sawtell
On Sun, 22 Jun 2003 21:03, Nick Rout wrote: > I want a few people to download, write and test it. I've just booted it and it came up ok, giving the warnings you mentioned. I have not got a dhcp server running and it seems that that is essential, because even if I set up the nic and route by hand

Odd openGL issue...

2003-06-23 Thread Chris Wilkinson
Hi there, Recently I have had an issue trying to run some small OpenGL apps. These are Xscreensaver modules which can also be run standalone without xscreensaver (they just run in a window). When I try to run them now, they run but nothing appears on the desktop. I tried 'LDD ' and all libs that t

Re: Gentoo installfest ISO files

2003-06-23 Thread Christopher Sawtell
On Tue, 24 Jun 2003 07:01, Conrad Wolf wrote: > Sorry to ask, but how can I download from a http url in binary mode? > When I downloaded the iso with Mozilla, the checksum and even the file > size didn't match. For ftp I normally use the gftp package, but I > couldn't connect to the http url with i

Re: script help

2003-06-23 Thread Nick Rout
I'd like to point out i didn't write the script :-) modprobe does seem a better idea. On Mon, 23 Jun 2003 21:03:11+1200 Christopher Sawtell <[EMAIL PROTECTED]> wrote: > On Mon, 23 Jun 2003 20:30, you wrote: > > On Mon, Jun 23, 2003 at 05:42:44PM +1200, Nick Rout wrote: > > > [start] > > > for x

Re: script help

2003-06-23 Thread Matthew Gregan
On Mon, Jun 23, 2003 at 09:03:11PM +1200, Christopher Sawtell wrote: > perhaps it might be better to say > for x in $(find /lib/modules/`uname -r`/kernel/drivers/net/ -type f) Ah, yeah. I was going to put a note saying "don't use the above, look at the man page for find to work out how to

Re: Gentoo installfest ISO files

2003-06-23 Thread Nick Rout
wget On Mon, 23 Jun 2003 21:01:18 +0200 Conrad Wolf <[EMAIL PROTECTED]> wrote: > Sorry to ask, but how can I download from a http url in binary mode? > When I downloaded the iso with Mozilla, the checksum and even the file > size didn't match. For ftp I normally use the gftp package, but I > co

Re: Gentoo installfest ISO files

2003-06-23 Thread Conrad Wolf
Sorry to ask, but how can I download from a http url in binary mode? When I downloaded the iso with Mozilla, the checksum and even the file size didn't match. For ftp I normally use the gftp package, but I couldn't connect to the http url with it. Cheers, Conrad. Nick Rout wrote: These are now

Re: script help

2003-06-23 Thread Christopher Sawtell
On Mon, 23 Jun 2003 20:30, you wrote: > On Mon, Jun 23, 2003 at 05:42:44PM +1200, Nick Rout wrote: > > [start] > > for x in /lib/modules/*/kernel/drivers/net/* > > do > > y=${x##*/} > > y=${y%%.*} > > echo -ne "

Re: script help

2003-06-23 Thread Matthew Gregan
On Mon, Jun 23, 2003 at 05:42:44PM +1200, Nick Rout wrote: > [start] > for x in /lib/modules/*/kernel/drivers/net/* > do > y=${x##*/} > y=${y%%.*} > echo -ne " ${GOOD}*${NORMAL} Scanning for ${y}..." >

Re: Now available:Gentoo installfest - can someone host a 50M iso ?

2003-06-23 Thread Nick Rout
robert, some more info required. straight after bootup give me an lsmod and dmesg|grep eth On Mon, 23 Jun 2003 20:11:12 +1200 Robert Fisher <[EMAIL PROTECTED]> wrote: > It does not work at home either with my RTL-8139/8139C/8139C+ > > Has anyone else successfully tried Nick's CD? > > On Mon,