Re: [SLUG] Bandwidth monitor for Optus@home

2001-04-29 Thread James Wilkinson

This one time, at band camp, Secret Squirrel said:
>Hello,

Shh! Secret Squirrel!

>I am looking for a bandwidth monitor for my
>optus@home packet pushing gateway, I would
>like it to log the data to a file so that I
>can write programs to analyse it.

Search google for MTRG.

You mentioned e-smith, I'm not an expert with that distro but something
is telling me that MTRG is packaged with e-smith.

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] One Liner Challenge!

2001-04-24 Thread James Wilkinson

This one time, at band camp, Jeff Waugh said:
>I need to get the first URL found in a file or stdin. Much like urlview (man
>urlview for a regexp), but without all the UI guff. Think procmail...
>
>As usual, least amount of processes spawned, most minimal software used, and
>shortest length wins. ;)

sed, which is nice and small, and has a shorter bootup time than perl,
just the 1 process... but the regex is a killer.

oh wait, did you only want the first?  damn.  pipe it to head -1.

-- 
jamesw

Always two there are; a Bastard, and a PFY.


#!/bin/sed -nf
# snarfs urls from stdin
# (c) 2001 Jamie Wilkinson <[EMAIL PROTECTED]>
# released under the GPL and all that.
# known bugs:  the first regex (commented) will match urls that have no protocol://
# but for urls that *do* have them and start with www or w3 or web, the protocol://
# will be stripped.

# ultramegamega regex
#s#^.*\(\(\(\(\(\(http\(s\|\)\|ftp\)://\)\|\(mailto\|news\):\)\|\(www\|w3\|web\)\.\)[-a-zA-Z0-9]\+\(\.[-a-zA-Z0-9]\+\)*\|file://\)\(\/[^'
   ()<>"]*\)*\).*$#\1#p

# mega regex
s#^.*\(\(\(\(\(http\(s\|\)\|ftp\)://\)\|\(mailto\|news\):\)[-a-zA-Z0-9]\+\(\.[-a-zA-Z0-9]\+\)*\|file://\)\(\/[^'
()<>"]*\)*\).*$#\1#p



Re: [SLUG] monkeys broke my apt?

2001-04-23 Thread James Wilkinson

This one time, at band camp, Geoffrey Robertson said:
>dpkg: error processing /var/cache/apt/archives/gnome-libs-data_1.2.13-4_all.deb 
>(--unpack):
> trying to overwrite `/usr/share/idl/name-service.idl', which is also in package 
>libgnorba27

dpkg --force-overwrite -i
/var/cache/apt/archives/gnome-libs-data_1.2.13-4_all.deb

and then continue with the apt-get -f install

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Network Issues SuSE7.0

2001-04-17 Thread James Wilkinson

This one time, at band camp, D.V.Rogers said:
>I have two SuSE 7.0 boxes running and cannot figure out why I cannot
>see each other when I use Kruiser-the alternative file manager

define 'see' and perhaps a little more clear about what you want Kruiser
to do.

>i can ping and telnet between both boxes but cannot see each other
>through a gui any pointers anyone?

well, without knowing much about Kruiser or your setup, my guess is that
you'll have to explicitly export and mount your filesystems as NFS in
order to browse them. Or SMB.

>any suggestions on where to find some good recommended online
>documentation for networking linux?

www.linuxdoc.org, search for the Network Admin Guide (NAG).

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] JOB: Exciting Development Opportunities

2001-04-17 Thread James Wilkinson

This one time, at band camp, Robi Karp said:
>If you're interested then we'd love to hear from you.

Unless you've got a question or answer regarding Linux specifically,
then we don't want to year from you.

A quick search of this lists archives will tell you that job offers are
strictly OFF TOPIC here, and our in house flame-bots will grill you
mecilessly (cue Terry and Dazza).  You will have better luck posting to
an employment website (again, see archives for examples).

HTH, HAND.

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] USB Modem on Debian (Potato r2)

2001-04-17 Thread James Wilkinson

This one time, at band camp, Craige McWhirter said:
>Afternoon. Thanks Jdub for writing all that was wrong in the world.

URL!

>Can someone pass me a 1-2-3 clue stick?

"righting"

HTH, HAND.

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Time servers sought

2001-04-16 Thread James Wilkinson

This one time, at band camp, Howard Lowndes said:
>It's just that linuxconf uses rdate to do a clock check, which is 37 TCP.

Do you mean you want an actual timeserver so you can use rdate?

In that case, augean.eleceng.adelaide.edu.au provides time for rdate as
well as over NT.

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Time servers sought

2001-04-16 Thread James Wilkinson

This one time, at band camp, David Kempe said:
>The public servers are useful and precise, the CSIRO runs a bunch of them
>for australia, you just pick one in your timezone.

Timezone won't matter, they all give out UTC.  That's what zoneinfo is
for :)

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Can't resolve outside sites after new Deb installation.

2001-04-11 Thread James Wilkinson

[apologies to Matthew Dalton who will get this twice due to a PEBCAK
error]

This one time, at band camp, Matthew Dalton said:
>The /etc/init.d/network file is from Slink (Debian 2.1). Potato doesn't
>have this file anymore.

/etc/init.d/networking sets up ip spoofing protection, and calls ifup.

Interface descriptions are in /etc/network/interfaces, and ifup/ifdown
read this to work out how to set up the interfaces.

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Can't resolve outside sites after new Deb installation.

2001-04-11 Thread James Wilkinson

This one time, at band camp, Michael Lake said:
>But in my init.d directory the file is called "networks" and it does
>nothing like the above. It sets up anti spoofing, ip_chains, ipfw etc
>and the route command or even ifconfig is not in this directory.

rgrep ifconfig /etc/rc.d/

As for your default route: you said you were setting it to your local
machines ip?  (maybe i parsed that wrong)  You don't want to set the
default route to the same machine, that's just as bad as not having a
route in the first place.

As you're at a uni, surely the admin there will know what the ip for your
default gateway is.  Getting them to tell you is beyond the scope of
this list :)

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Is there a bot-abuse list?

2001-04-11 Thread James Wilkinson

This one time, at band camp, Jill Rowling said:
>There's also the bot-trap where the ignorant bot wanders at its peril into a
>series of server-side scripts with no way back.
>It was discussed in "Sys Admin" magazine a couple of months back.
>... look on google.
>It was mainly to stop spambots from gathering emails.

wpoison.pl is one of them

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Lost RPM database

2001-04-09 Thread James Wilkinson

This one time, at band camp, Bernhard L?der said:
>I have lost my RPM database, it seems.

You also have a defective MTA; it is duplicating outgoing mail.

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Re: cfengine

2001-04-09 Thread James Wilkinson

This one time, at band camp, Herbert Xu said:
>Angus Lees <[EMAIL PROTECTED]> wrote:
>
>> i've used cfengine for exactly that purpose for quite a while, and
>> have been intending to give a talk on it for ~8months now.
>
>Personally I prefer a layered "meta" package approach.  Now if only every
>Debian package repsected the sanctity of configuration files as they must...

Erm, how does a package one one system get the configuration from
another to respect said sanctity of the package?  It looks like i can
deploy configurations from the cfengine master, and that is what I am
looking for; rather than sshing to n machines and editing the same line
on all of them manually.

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] MySql question

2001-04-08 Thread James Wilkinson

This one time, at band camp, Simon Bryan said:
>Hi,
>Can anyone point me at some resources that describe how to move an MySql 
>database from one server to another?

mysqladmin -h server2 create dbname
mysqldump -h server1 dbname | mysql -h server2 dbname

you might want to make sure the dump gets the whole database structure
before you rely on its integrity

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] The Jedi Way

2001-04-06 Thread James Wilkinson

This one time, at band camp, Robert Smith said:
>I know this is of subject.
>ok So this one came to me from a freind and I just had to pass it on to
>every one .

Wasn't slug-chat built for this?

I'm too tired to flame you properly, so just pretend that I have.
Mainly because I've already got this 3 other times (at least you have
trimmed out all the fwd: junk around the message).

HAND.

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] cfengine

2001-04-05 Thread James Wilkinson

Ok, who's used/using cfengine?  Got any configs/urls to configs that are
nicely explained so that I can work out how to use it?  I've got 5 or so
Debian machines that really want to be managed nicely; actually, I've
got one lazy admin (me) who wants to easily manage these 5 machines.

I've read the stuff in the cfengine-doc package, but it's still not
crystal clear yet.

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Debian Vs Progeny

2001-04-05 Thread James Wilkinson

This one time, at band camp, [EMAIL PROTECTED] said:
>> latest Debian (woody I believe is stable) Release?
>
>Potato is stable, so to my knowledge, woody is not. Although it must be 
>close.

Yup.

potato == stable; woody == testing/unstable; sid == unstable

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Friday afternoon request for help - PLEASE

2001-04-05 Thread James Wilkinson

This one time, at band camp, Simon Wong said:
>What sort of size would you suggest for essentially a single user (me)
>system?

As big as you want.

I tend to parttition like so:

10M /boot  (first on the disk)
128M swap
everything else in /

This is for my personal machines that do more workstationing than
servering.

>I suppose all program installations will still be on the main partition so
>it is only working and preference info in /home?

Well, if you make /home separate, you can reinstall the system without
overwriting that partition, vis (numbers may vary):

10M /boot
128M swap
50M /
2G /usr
6G /home

If you hose /usr/bin like you have, you can reinstall from scratch and
not overwrite your /home data
You won't need to recreate the partitions, as they already exist, and
you can recreate the filesystems on / and /usr without fear of
overwriting your /home.

>How do I get /root to be in /home/root?

Why do you want to do this?  a) if you separate /home from /, root won't
be able to log in if theres a problem mounting /home, b) if you're
thinking of using root as your normal login account, think again.

PS: snip your replies, there were 3 other messages under this one :(

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Friday afternoon request for help - PLEASE

2001-04-05 Thread James Wilkinson

This one time, at band camp, Simon Wong said:
>I realised once it started that I had done a bad thing and am now minus some
>useful directories namely "/usr/bin" and "/usr/X11R6" :-((

Without seeing the actual damage, I'd say you're hosed.  /usr/bin is
quite necessary, and if you don't have that directory anymore, then the
system is mostly unusable.

What distro are you using?

You might be in luck and find that tools for rebuilding the machine are
in /bin (I'm guessing that /bin is still there, as you can boot into
it), if you're using debian, there must be an option to apt to reinstall
packages that are broken -- anyone know?

Failing that, you'll have to back up your home dir, and reinstall.

-- 
jamesw

Always two there are; a Bastard, and a PFY.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Hacking of my box

2001-03-21 Thread James Wilkinson

This one time, at band camp, Rick Welykochy said:
>   QUESTION: how complete do SLUGGERS feel Nessus' attacks are?
>   Can such a tool give one a false sense of security?

Yes.  Anything it finds means you are insecure, if nessus returns a
clean report, you have holes that nessus doesn't know about yet.

>6 - 10. There is no 6. 10. is noop().

There is no spoon.

-- 
jamesw

Surely someone writing documentation is familiar with the custom of
actually reading it?
-- Jeff Waugh, SLUG mailing list

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Whats happening here

2001-03-20 Thread James Wilkinson

This one time, at band camp, Jeff Waugh said:
>
>
>> I follow this same line... stable with security line... and tend to keep on 
>> top of it about once a week if I can, by checking for new updates.
>
>$ cat /etc/cron.d/aptgetupgrade 
>2 0 * * *   rootapt-get -qy upgrade
>
>What's all this manual, hand-upgraded bollocks? :)

I tried that for a while, automagically upgrading security, but as the
transfers kept timing out, all I got was a weekly email telling me how
none of the packages got downloaded.  In the end, nursing apt-get until
everything was completed was the only way.  Unless anyone knows of a way
to tell apt to keep trying until it's downloaded everything...

-- 
jamesw

Surely someone writing documentation is familiar with the custom of
actually reading it?
-- Jeff Waugh, SLUG mailing list

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Pls help newbie configure sources.list

2001-03-15 Thread James Wilkinson

This one time, at band camp, David Kempe said:
>> I don't grok that.  I always use the ftp servers, on principle:  .debs
>> are files, hence the use of File-tp, not HyperText-tp.
>
>If this was the case you would never send Complex (no code!!!) emails for 
>fear of breakin Simple Mail Transport Protocol.
>and since when *.html not a file?

Pfft, details :)

Me, I'm a standards kinda guy, and I like for people to not go doing
dumb things that are against standards (like HTML mail, using http for
file transfer, closed extensions to kerberos, to name a few).

Gah... why do I always go off topic like this?  I think I need sleep.

-- 
jamesw

Surely someone writing documentation is familiar with the custom of
actually reading it?
-- Jeff Waugh, SLUG mailing list

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Pls help newbie configure sources.list

2001-03-15 Thread James Wilkinson

This one time, at band camp, James Wilkinson said:
>>#deb http://security.debian.org stable/updates main contrib non-free
>
>Except for this one, cos they don't provide ftp, and the http requests
>*always* timeout.

What I meant was:  As Debian don't provide FTP access to the security
repository, I'm forced to use HTTP for it... which I hate, because it's
always timing-out for the update... *especially* for larger packages
like glibc that tend to appear frequently in security. :(

-- 
jamesw

Surely someone writing documentation is familiar with the custom of
actually reading it?
-- Jeff Waugh, SLUG mailing list

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Pls help newbie configure sources.list

2001-03-15 Thread James Wilkinson

This one time, at band camp, Jeff Waugh said:
>
>
>> deb ftp://ftp.au.debian.org/pub/debian stable main contrib non-free
>
>Best to use http, as it's faster. :)

I don't grok that.  I always use the ftp servers, on principle:  .debs
are files, hence the use of File-tp, not HyperText-tp.

>#deb http://security.debian.org stable/updates main contrib non-free

Except for this one, cos they don't provide ftp, and the http requests
*always* timeout.

Another one (which alternates with mirror.aarnet for title of least
likely to keep the mirror up to date :) is:

# UWA's mirror
#deb http://ftp.wa.au.debian.org/debian/ unstable main contrib non-free
#deb http://ftp.wa.au.debian.org/debian-non-US/ unstable/non-US main
contrib non-free

-- 
jamesw

Surely someone writing documentation is familiar with the custom of
actually reading it?
-- Jeff Waugh, SLUG mailing list


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: Debian is the One True Way(tm) (was Re: [SLUG] Debian Vs SuSE ?)

2001-03-12 Thread James Wilkinson

This one time, at band camp, Martin said:
>I had an important point made to me last time i mentioned the apt vs rpm
>debate:
>
>rpm is equivalent to dpkg
>RH has no equivalent for apt
>
>ie. you are comparing apples with oranges. 
>
>the real issue is dpkg vs rpm...

Without having read the article, my guess is that it's about
distributions using apt, not comparing .deb and .rpm.  apt supports rpm,
you know, so it's not like it will take too much effort to get everyone
using apt.

apt is a distribution method, and a damn classy wrapper for package
management.

Now i'll go read the article, excuse me if I'm way off track.

-- 
jamesw

 so you have a dodgey OS connected to a proxy with a dodgey network
card connecting to a dodgey ISP and chatting on dodgey IRC servers - all you
need now is some alcohol & night swimming & you have a winning combination!

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Linux Business Expo 2001

2001-03-09 Thread James Wilkinson

This one time, at band camp, Crossfire said:
>http://kitsumi.xware.cx/lbe2001/

In the last foto, http://kitsumi.xware.cx/lbe2001/lbe2001-fri-02.jpg
there's a comic strip, 2 guys fighting each other making 'command' noises...
anyone got a scan of this online?

-- 
jamesw

 so you have a dodgey OS connected to a proxy with a dodgey network
card connecting to a dodgey ISP and chatting on dodgey IRC servers - all you
need now is some alcohol & night swimming & you have a winning combination!

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Open Government- No linux interface for BAS lodgement.

2001-03-08 Thread James Wilkinson

This one time, at band camp, enterfornone said:
>I think some of you zealots need to get out of this dreamworld.  Linux is
>not yet a significant player on the desktop.  Most people do need Work skills
>to be employable.  
>
>Besides, countering every anti-linux arguement with "troll" is very childish,
>I think Godwin's law needs to be updated to include troll along with nazi.

regardless of your opinion, posting pro-MS propaganda to a *linux* list
is going to be classed as a troll.  Why?  because this is a *linux*
list.  Let me repeat, just in case you didn't get it.  the 'L' in SLUG
stands for Linux.

And as far as 'Linux is not yet a significant player on the desktop' -
that's hardly relevant when talking about documentation.  I use TeX on
non-linux machines as well, and many of these are servers.  And yes, I
am creating professional documentation, for the record.

I still disagree that there exist 'Word Skills'.  You have a paperclip
to do the thinking for you, what skills will you possibly learn? :)

-- 
jamesw

 so you have a dodgey OS connected to a proxy with a dodgey network
card connecting to a dodgey ISP and chatting on dodgey IRC servers - all you
need now is some alcohol & night swimming & you have a winning combination!

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Open Government- No linux interface for BAS lodgement.

2001-03-07 Thread James Wilkinson

This one time, at band camp, Paul Cameron said:
>> As well, I've had nothing but trouble with PDF's  using acroread
>> on Linux as well as ghostview (which often pukes up PDF's)
>
>Well maybe u shouldn't use the linux version as its crap! Use windows it
>was written for it! honestly i dont understand if u want documentation
>that is not man crap than use .doc!!!

"Hey there linux f00lz!  you sux0r!"  You're like a bull in a china
shop.

>I am honestly sick of the linux lamers at work, they want to use their
>own crazt abiword or man crap. It cant generate proper .doc files, so
>where is the point? I tried to make for them for application documentate
>software, but i can't appease those freakes.

Hello?  Is this a tr0ll?  Who wants Word .docs anyway, when there are
much better alternatives?

>> It jus' ain't practical compared with ASCII and HTML.
>
>Seem my previous stuff it you see Word exports html files!! Its damm
>easy u just select if from the menu.

Ever run an HTML validator on your supposed 'HTML' output?

>Look, I've seen this before. If you want to be employable, than you
>need to have the skills. Not knowing basics documentation stuff
>like Word is surefire way to get passed up. Anyhow theres my advice.

Using Word for documenting is hardly a 'skill', and any professional
documentor will be using tools like DocBook, or TeX, and generating
their documentation in something PORTABLE and USEFUL, unlike the
steaming crap that Word produces: i.e. *valid* HTML, PS, PDF, and many
others.

-- 
jamesw

 so you have a dodgey OS connected to a proxy with a dodgey network
card connecting to a dodgey ISP and chatting on dodgey IRC servers - all you
need now is some alcohol & night swimming & you have a winning combination!

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] ResierFS dependancies?

2001-02-26 Thread James Wilkinson

This one time, at band camp, Alexander Else said:
>reiserfs isn't available in the 2.4 kernel.  i had the same problem
>when i tried to move to 2.4 (only i didn't notice til the machine wouldn't
>boot with the new kernel :)

now that is weird, because I've upgraded to 2.4.1 on my home machine,
and reiserfs is still running fine on my 28G disk.

What you need to do is enable "Prompt for development and/or incomplete
code/drivers" under Code maturity options, and then turn on reiserfs in
the Filesystems section.

-- 
jamesw

I'm not into working out. My philosophy is no pain, no pain.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Personal sacrifice and free software

2001-02-24 Thread James Wilkinson

This one time, at band camp, Ian Tester said:
>Erm, frei? freisoftware?
>Don't know too much German...

'Zimmer frei' literally translates as 'free room' -- I think some
hackers will take offence at their software being labelled as 'empty' :)

-- 
jamesw

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Personal sacrifice and free software

2001-02-22 Thread James Wilkinson

This one time, at band camp, Peter Rundle said:
>"Freedom (of choice) Software"

DEVO Software.

"Use your freedom of choice, freedom of choice!"

-- 
jamesw

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Email Programs

2001-02-21 Thread James Wilkinson

This one time, at band camp, Andrew Reilly said:
>Galeon and Konquerer seem to be shaping up to be that.  Haven't
>used Konq myself, but do keep an eye on Galeon.

I've been using galeon, I like it, but the dependency on (at least in
debian) having mozilla installed is a pain (in my fantasy utopia, i only
have one browser on my machine)

>Really, I doubt that it's the mailer/newsreader stuff that makes
>Mozilla slow.  It's that the entire UI (buttons, frames, panes
>and all) is implemented in DHTML, aka JavaScript...  Galeon
>replaces that crap with compiled GTK, and it's reasonably
>snappy.

Yeah, i'm well aware that it's not the extra bits making it slow, but it
makes it *big*.  Reimplementing the UI was a bad choice, imho.  mozilla
on my system has a footprint of 25% system RAM, and it's clunky.

Preaching to the converted, i know... I'm just going to go write my own
browser, it's the only way to get anything you want these days ;)

-- 
jamesw

--
[EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: Konqueror/Mozilla (was Re: [SLUG] Email Programs)

2001-02-21 Thread James Wilkinson

This one time, at band camp, Ian Tester said:
>When will the Debian package be updated?

Don't know, but this method worked for me (a bit messy, but it worked):

point old browser at
http://archives.progeny.com
follow the links to the mozilla debs
dists/unstable/main/binary-i386/web/  iirc
get mozilla-whatever.deb and browser-common-*.deb
go up, and into the libs directory
get libnspr-blah.deb

become root,  dpkg -i *.deb that you've just downloaded

It's more stable than any other browser i've played with in a while,
even if it is a big fat memory whore.  Low centre of gravity, I guess.

-- 
jamesw

--
[EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Email Programs

2001-02-21 Thread James Wilkinson

This one time, at band camp, [EMAIL PROTECTED] said:
>Now, if I could get the MAILER without all the browser-
>crap overhead, I'd be interested

Damn, and all I want is BROWSER without all the mailer/newsreader/irc
crap overhead ;)

-- 
jamesw

--
[EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Environment Variables

2001-02-20 Thread James Wilkinson

This one time, at band camp, DaZZa said:
>Edit /etc/profile and place your variables in there.
>
>They'll then apply for every interaqction with the machine.

Given that you log out and back in again, if you need them immediately
;)

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: duplicate mail Re: [SLUG] Is Linus killing Linux?

2001-02-20 Thread James Wilkinson

This one time, at band camp, Dave Fitch said:
>no, what happens for me is: the one from slug goes to my slug
>mailbox, ones sent directly to me go to my inbox.  There's no
>duplicates and no lost email.  The only hassle is you get some
>slug email in your inbox - but only ones sent directly to you
>(which makes sense).

What do you mean "no"?  That's almost exactly the same setup as mine,
the only difference is I don't try to remove duplicates in procmail, I
try to prevent them by setting my reply-to header as the slug address
for slug mail.  see previous mail for an example.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: duplicate mail Re: [SLUG] Is Linus killing Linux?

2001-02-20 Thread James Wilkinson

This one time, at band camp, Mike Holland said:
>Dean, (and DaZZa too!)
>
>please fix your .procmailrc by adding:
>
>   # Discard duplicate messages
>   :0 Wh: msgid.lock
>   | formail -D 8192 msgid.cache
>
>Oila! No more duplicate messages.

Ba-bow.  If you procmail slug as I do, this doesn't work when the
personal mail arrives first.  The one with the slug headers goes to the
bit bucket and you get half the slug list in your inbox, which defeats
the purpose of procmailing in the first place.

bits from .procmailrc:
:0:
* List-Id:.*slug.slug.org.au
lists/slug

:0:
* ^List-Id:.*announce.slug.org.au
lists/slug-announce

Best is to use mutt, tell it that [EMAIL PROTECTED] is a mailing list,
and use 'L' for list-reply.  Even better is remapping the reply key to
listreply, group reply or single reply based on which mailbox you're in,
which i don't have an example for, it's next on the list of things to do
when i've got a moment.

bits from .muttrc:
lists [EMAIL PROTECTED]
send-hook '~t ^slug@slug\.org\.au$' 'my_hdr Reply-To: slug'

If you aren't using mutt, use a bit of nettiquette and take the time to fix
your headers manually before sending.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] That somewhat theoretical problem.

2001-02-20 Thread James Wilkinson

This one time, at band camp, Jon Biddell said:
>start of crappy basic program
>for x = 1 to 
>   do something sensible hereif flag = 1
>   exit
>   else
>   endif
>next x
>crappy basic program continues, with flag = 1

flag = 0
while flag = 0 do
something
if some-condition then flag = 1
end while

this way you don't run off the end of the for loop... the local
neighbourhood crax0r will be onto it in a second.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Microsoft Executive Says Linux Threatens Innovation

2001-02-16 Thread James Wilkinson

This one time, at band camp, Rick Welykochy said:
>For the browserless and the lazy, Allchin [M$ O/S chief] said:


"We can build a better product than Linux."

I was going to say something about this, but User Friendly did it
better.

http://ars.userfriendly.org/cartoons/?id=20010216&mode=classic

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Microsoft Executive Says Linux Threatens Innovation

2001-02-15 Thread James Wilkinson

This one time, at band camp, Rick Welykochy said:
> (*) I'm an American, I believe in the American Way. I worry if the government
> encourages open source, and I don't think we've done enough education of
> policy makers to understand the threat.

Damn those Open Source Communists, they're a threat to true
red-blooded Americans.

It scares me that so-called reputable news sources publish opinions
under the guise of fact so regularly.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Unix Giga-Party

2001-02-14 Thread James Wilkinson

This one time, at band camp, Craige McWhirter said:
>I think you all have your priorities wrong. You should be looking up
>excuses (like you need one) to party tonight, tomorrow, day after
>tomorrow etc etc ad infinitum (spelling correctors will be persecuted)
>not in 9mths, X years etc..

Ok, party in #slug at date -d "1970/01/01 utc + 982213200 sec".

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Convert unix timestamp to human readable?

2001-02-14 Thread James Wilkinson

This one time, at band camp, MacFarlane, Jarrod said:
>Does anyone have a script/method/program that'll convert a unix timestamp in
>to something I can read?

See Jeff's post, subject Unix Giga-party, and Ken's reply; there are
some clues hidden there.  The manpage for date will help too.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Debian Mozilla package

2001-02-14 Thread James Wilkinson

This one time, at band camp, Jan Schmidt said:
>Has anyone else installed the debian mozilla packages (M18-3) recently? 
>I'm trying to follow the instructions for setting up PSM, but the url 
>for the 1.3 PSM download given in the mozilla package FAQ is no longer 
>valid, and I couldn't locate a copy elsewhere, after a mid-strength search.

What version of Debian are you running?  I'm using sid (unstable), and
went to the Progeny mirror to get mozilla 0.7, which does https.  You
can finally scrap netscape forever.

http://archive.progeny.com/debian/unstable/main/binary-i386/
and get web/mozilla-something, web/browser-common* and lib/libnspr*, 
then dpkg -i *.deb

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Unix Giga-Party

2001-02-14 Thread James Wilkinson

This one time, at band camp, Jeff Waugh said:
>
>
>> Bloat! Try
>> 
>> date -d '1970/01/01 utc + 10 sec'
>
>I was hoping to receive a few more contributions! :)

#include 
#include 

void main() {
time_t time = 10;
puts(ctime(&time));
}

Dammit, the binary still comes out to be 3k after stripping.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] X won't play with me anymore

2001-02-14 Thread James Wilkinson

This one time, at band camp, David Fisher said:
>Sorry 'bout the previous empty message, I'm not used to mailx.
>Due to a recent death in the family (ie my rusty trusty Matrox Mill G200)
>I have had to install a borrowed S3 ViRGE DX.  I have rerun xf68config and now 
>when I try startx as user david I get 
>X: user not authorised to run the X server, aborting.
>
>Now I know there's a fix for this but I cannot for the life of me remember
>it.
>
>Anyone help, please?  We have Debian Woody, Xfree86 4.0.2.

# dpkg-reconfigure xserver-common

and make sure console users can run X

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] RPMs for Debian!

2001-02-05 Thread James Wilkinson

This one time, at band camp, Ian Tester said:
>On Mon, 5 Feb 2001, Craige McWhirter wrote:
>
>> There's going to be some long answers to this one. I'll focus mine on
>> the RealPlayer:
>> 
>> Nothing.
>> 
>> Don't download the RPM, down load the Tarball which has an installer in
>> it and you are off and running (worked fine on my Debian system).
>
>Gee, I've always just used the debian package that comes with debian. The
>post-install asks you to download the RPM and put it in /root. I guess it
>then uses Alien to convert it or something. 

realplayer depends on rpm, debian actually extracts the rpm to a sandbox
and moves the contents to the Correct(tm) locations.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Installing RH 7.0

2001-02-05 Thread James Wilkinson

This one time, at band camp, Bill Bennett said:
>[I have a problem with logic here. It seems to me that I cannot
>order an operating system to destroy/remove itself, because what
>carries out this operation, ie., what's left after completion, is
>part of the operating system. Am I right?]

Aha, you aren't being presented with the full picture.  The part of the
operating system that can be made responsible for removing the operating
system is mirrored into short term memory whilst the purge continutes.
The magic here is that once the long term storage is clean, the short
term can be erased by features outside of the OS, ie turning off the
power.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Skywell MagicTV video capture card

2001-02-05 Thread James Wilkinson

This one time, at band camp, Terry Collins said:
>Jeff Waugh wrote:
>
>> CP/M didn't have decent 3D accelerator support!
>
>We didn't need 3D to play games then - we knew how to PLAY. {:-)

"space invaders, and that other boring game." :)

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] I vote one for a newbies list

2001-02-04 Thread James Wilkinson

This one time, at band camp, Ken Foskey said:
>
>My hat goes in with Terry.
>
>I think that there is great scope for a newbies list.  This list should
>have predefined answers to 'which is the best distro' with input from
>each camp.  We KNOW that archives will not really work with newbies.

Hrm, I think the main SLUG list is good for newbies, what is being
suggested is SIGs for advanced users.

What you're really suggesting is a FAQ, and I'll wager that SLUG
maintaining a FAQ will be just replicating answers from official FAQs.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] MetaSLUG [Was: SLUG Activities]

2001-02-04 Thread James Wilkinson

This one time, at band camp, Heracles said:

>Terry Collins wrote:

>> The best people to help newbies/beginners are other newbies/beginners

>The "visually impaired" leading the blind 
>Maybe an unfair comment, but as I do not fully understand Linux, I
>could be considered one of the "severley visually impaired". I
>wonder just how much help I could get from others in my position
>who may be struggling with the same concepts.
>Surely it is wiser in the long run to have newbies set on the best
>path rather than have bad habits and myths become entrenched.

I find I teach a subject best if I've just mastered it.  I think what
Terry means is the best person to learn from is someone who's just a few
steps ahead of you.

>SIGs are a useful and fertile development within any club, just
>lets not let them become too exclusive.

If you make a SIG inexclusive, it's just a mini-UG.  That's when you
split the main UG.  Granted you need to remember to keep a perspective,
and make sure all members of the SIG are still part of the UG.

I've been here for a while now, and what I really appreciate from this
list is the openness, and the ability to tolerate a lot.  There's a nice
laid-back atmosphere here.  I doubt forming SIGs will have a significant
effect on the stability of SLUG as a whole.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Learning to program

2000-12-14 Thread James Wilkinson

This one time, at band camp, Martin said:

>This gets asserted all the time, and I absolutely disagree. Haskell is a
>language that is superbly elegant in some ways, and this makes people
>like lecturers and bright people who have studied a few languages wax
>lyrical about it's virtues. I do it myself. However, that is definitely
>not the same thing as being a good teaching language. I would say that I
>learnt close to nothing at all about programming in general from
>learning Haskell, at least not much that fell into place until quite a
>bit later.

I must concur that I learnt nothing about programming from Haskell,
which I put down to having programmed for about 8 years before attending
uni.

FWIW, I think I must retract all my arguments about good teaching
languages;  Any language I can start coding in without reading any
documentation or tutorials I consider good for teaching, and I admit my
opinions are very biased.  The 2 that fall into this category are
Haskell and Python (the latter I did at work, after 10 minutes of
reading the code I was assigned to modify, I stuck in a few lines -- I
still don't know how to program in python however ;)

ObFirstLanguage:  Microworld BASIC, on a Microbee 32, hideous amounts of
gotos and actually deriving what i would later learn to be structured
programming paradigm from first principles, if you will.

>I'm wondering if you did MahJong in Haskell. I loved writing small
>programs in Haskell. Writing longer programs made me feel like reaching
>for an AK-47 and finding a bell-tower.

Yes, that was a fun project :)

I wonder if I've still got it somewhere, I should put it back online.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Learning to program

2000-12-14 Thread James Wilkinson

This one time, at band camp, Umar Goldeli said:

>Seriously though.. teaching kids at uni languages that are completely and
>utterly useless (and UNSW still does this - Haskall (sp?) - a Miranda
>replacement or somehting.. is a complete and tter waste of time..
>
>I mean what use is a functionally orientated language which can't do much
>apart from using it in a mathematical context?

Because as Crossfire was saying, you need to start with a language that
teaches you the concepts in an easy to grasp way.  Haskell is a
brilliant teaching language, and it was also suitably different from
anything anyone would have had experience with before they begun uni,
thus putting everyone on a flat playing field at the beginning of the
course.

I don't necessarily agree with the last statement, but I believe it was
hinted at during the course.

Conversely, though, I really enjoyed coding in Haskell, it was easy to
debug, you could program based on a few rules that you had to remember
to adhere to, code just fell out of your brain and 99% of the time
worked first go ;)

>On another note - comp sci is ust getting stupid nowadays anyway - you can
>actually get through a degree without touching anything but silly
>macroturd things.. and M$ Access to be a "DBA"...

Comp Sci is getting stupid anyway, ... I won't mention
a second year course that held a supplementary supplementary
supplementary prac exam for the people who failed the supp. supp. exam,
because that's way off topic.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Learning to program

2000-12-14 Thread James Wilkinson

This one time, at band camp, Jamie Honan said:
>
>> I don't know what my point is, but the key part to learning a language
>> (computer or human) is to know the concepts first, and do the
>> translation when you need to communicate your ideas.
>
>Except that your concepts are often formed by language (computer
>or natural).

Aah, yes, I forgot the boundary conditions.  The key to learning a
*second* language is identifying where the concepts lie in the first
language, and applying that to the new one.  Then each language you
learn after that becomes easier, because the concepts and ideas that you
are programming (speaking?  I think there's a whole field of linguistics
on this) are more easily recognised.

>So blinded were some people by the then current orthodoxy (about the
>correctness of using Cobol) that one student, faced with
>the assignment of implementing a recursive descent parser, chose
>Cobol.

Ouch ;)

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Learning to program

2000-12-14 Thread James Wilkinson

This one time, at band camp, David Zverina said:

>Disclaimer: I dislike c++ since I started working with java. :)

Would it be ironic that since I learnt Java, I can't stand it, and
prefer C++ over it? :)

I don't know what my point is, but the key part to learning a language
(computer or human) is to know the concepts first, and do the
translation when you need to communicate your ideas.

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Learning to program

2000-12-14 Thread James Wilkinson

This one time, at band camp, Martin said:

>I think you learn programming by doing it and getting advice
>and feedback from others who also do it.

I think this is the key statement.

The first thing you should be drumming into potential programmers is
a) the concepts of programming, not how to lock yourself into a language
b) the popular languages change, learn to be adaptable and apply
   concepts learnt
c) there is always someone who knows more that you, so try to learn from
   people rather than dismiss what they have to say.
d) don't be surprised when you find yourself learning new data
   structures/techniques/etc long after you finish the course.

ObRealLife: I think you can apply these to life in general ;)  Teach them
this, and if they learn it, they will not only become great programmers, 
they will also become great people ;)

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Make menuconfig, 2.2.18 and Debian woody.

2000-12-13 Thread James Wilkinson

This one time, at band camp, David Fisher said:

>In file included from lxdialog.c:22:
>dialog.h:29: curses.h: No such file or directory

apt-get install libncurses-dev

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: Fwd: Re: [SLUG] EXIT COMMAND

2000-12-10 Thread James Wilkinson

This one time, at band camp, Herbert Xu said:
>Harry Ohlsen <[EMAIL PROTECTED]> wrote:
>
>> I guess "ZZ" was intended to mean "the end", as in the end of the 
>> alphabet.  I remember when I was at uni 20 years ago it was a lot of fun to 
>> walk up to someone's terminal and type "vi" to see if they could get out of 
>> it.  Let's face it, it's not obvious that you should type ":" to get to a 
>> command line, either :-).
>
>Oh yeah, but it's even less obvious to get out of emacs :)

killall emacs from a different terminal works fine for me ;)

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Why Free Software is doomed... DOOMED!

2000-12-08 Thread James Wilkinson

This one time, at band camp, Jeff Waugh said:
>See? Look what happens when you share source code!
>
>  http://news.gnome.org/gnome-news/976310729/index_html

oh GOD NO!

>(What an outrageously nutty piece of work... We need a term for "insane
>hack because we could", kinda like 'politically incorrect', but less crap.
>Ideas?)

I believe the word is "hella-dodgy" :)

-- 
  "Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications." 
//\   -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_  


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How much data can you fit on a CD?

2000-12-08 Thread James Wilkinson

This one time, at band camp, Rodos said:
>How much data can you fit on a CD? I have an .iso created with mkisofs
>which is 695M but cdrecord says it takes up 798M and won't fit onto the
>disk.

I filled a cd yesterday with 656M according to cdrecord... overwrote the
disk and the last files burnt were corrupted, lucky they weren't
important (and backed up elsewhere anyway).

So I don't think you'll fit 695M on there.

-- 
 * dpkg ponders: 'C++' should have been called 'D'
(o_ '   -- #Debian
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] EXIT COMMAND

2000-12-07 Thread James Wilkinson

This one time, at band camp, Rodos said:

>On Thu, 7 Dec 2000, John Ryland wrote:
>
>> However vi is the only one true editor :)
>
>Ahmen brother! And Pearl is the language of the Gods. Linux is the OS of
>the GNU generation ...

the innernet will have you believe otherwise...

http://www.amherst.edu/~jtagnew/ed.html

-- 
 * dpkg ponders: 'C++' should have been called 'D'
(o_ '   -- #Debian
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] EXIT COMMAND

2000-12-07 Thread James Wilkinson

This one time, at band camp, Rodos said:

>Oh what a bugger that would be. I seam to be in the habbit of hitting ESC
>everytime I pause to think, bit like the typing version of saying um
>whilst talking.

I think mine is 'ls'. ;)

-- 
 * dpkg ponders: 'C++' should have been called 'D'
(o_ '   -- #Debian
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] EXIT COMMAND

2000-12-07 Thread James Wilkinson

This one time, at band camp, John Ryland said:
>
>I've occassionally used kwrite and noticed to exit you can just hit ESC, 
>that's one keystroke.

Not so good for the ex-vi user (or the vi user in ex mode), who'll hit
ESC to delete a few lines and delete more than they wanted.

-- 
 * dpkg ponders: 'C++' should have been called 'D'
(o_ '   -- #Debian
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] EXIT COMMAND

2000-12-07 Thread James Wilkinson

This one time, at band camp, Rodos said:

>Who uese :wq anyway, ZZ is one stroke less.

*sigh* but then you've gotta hit shift!  (he says, not realising that
the colon is shifted too)

-- 
 * dpkg ponders: 'C++' should have been called 'D'
(o_ '   -- #Debian
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] mutt

2000-12-07 Thread James Wilkinson

This one time, at band camp, CaT said:
>On Thu, Dec 07, 2000 at 09:23:53PM +1000, [EMAIL PROTECTED] wrote:
>> I'm also lead to believe that my mutt configuration is allowing me to
>> type out very lengthy lines. Rather annyoing for the recipients. Is
>> there a setting I should be using or just stop typing excessive long
>> paragraphs?
>
>Yes. The Enter key. :)
>
>Failing you not having one, the fmt command with vim is nice. :)

In my .muttrc:

set editor='vim '+/$' -c "set tw=72"'  # go to first blank line and set
line width to 72 chars

(ps, sorry cat for the personal reply, remember kids, don't drink and
drive your email client)

-- 
 * dpkg ponders: 'C++' should have been called 'D'
(o_ '   -- #Debian
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] Network authentication

2000-12-03 Thread James Wilkinson

I need to upgrade the old auth mechanism at work, because it's
hella-broken (syncing passwd files across machines), and it's come back
to bite me today, so I really want to do soemthing like NIS, only not
NIS.

I'm thinking authentication using either LDAP or Kerberos, so I'd like
comments and tips from anyone who's used either of these services.

Oh, and the server is a Debian potato machine, so relevant packages would
be useful, too.

-- 
 * dpkg ponders: 'C++' should have been called 'D'
(o_ '   -- #Debian
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] I bent my Woody

2000-11-29 Thread James Wilkinson

This one time, at band camp, Jason Rennie said:

>2. Now zope gets an excpetion as it starts up and exits. I don't use zope,
>but does debian in some way ? I would simply chuck it, unless it was
>needed.

Chuck zope.  It's a web publishing backend, and unless you know about it
already then you don't need it.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] debian + hardware acceleration + opengl

2000-11-28 Thread James Wilkinson

Who here knows the package for hardware graphics acceleration for XFree
4.0?  I've got xlibmesa3 installed, which seems to provide libgl1, but
I'm not seeing any speedup over software rendering.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Quick Debian Question

2000-11-28 Thread James Wilkinson

This one time, at band camp, Dean Hamstead said:

>Its just a matter of how much you can be bothered to update.
>
>you will need to update what was ipchains and glibc 2.2 would be
>worth going to.

You'll also need to update the modutils package to the one in woody, as
the kernel modules have changed again for the 2.4 series kernel.

If it's not a production machine (and i'm guessing it isn't as you're
wanting 2.4.x) then upgrade to woody.. It's quite stable at the moment.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] email list

2000-11-27 Thread James Wilkinson

This one time, at band camp, Ken Yap said:

>Try egroups.com if you don't mind your submissions being archived on the
>web (mail addresses suitably spam mangled, don't worry). You have to put
>up with banner and signature ads though. A couple of free software
>projects I know use egroups.

I'm subscribed to a school friends list there, I use this procmail entry
to remove the ads tacked onto the messages (listname munged):

:0:
* ^Mailing-List:.*list.*[EMAIL PROTECTED]
| sed '/-~-~>$/,/--_->$/d' >> lists/oldschoollist

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] (no subject)

2000-11-27 Thread James Wilkinson

This one time, at band camp, Joe Haribonigo said:

>PS: how can i be a 37337 hacker=BF

warez.slashdot.org has everything you'll need.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] speaking of HW ...

2000-11-26 Thread James Wilkinson

This one time, at band camp, Jeff Waugh said:
>
>It's been released (check out Abit's website, which is something silly like
>abit-usa.com), but I haven't seen any around these parts. Yet.

www.abit.com.tw is the master site, iirc (being a taiwanese company and all)

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] speaking of HW ...

2000-11-26 Thread James Wilkinson

This one time, at band camp, Dean Hamstead said:
>I dont recommend VIA based boards. My gigabyte-ali works well
>i havd found gigabyte to generally be good in linux.

Have to disagree, my mobo is VIA based and it's smooth as.  I've also
heard bad stories involving gigabyte mobos ;)

Mmm, love that circumstantial evidence.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] speaking of HW ...

2000-11-26 Thread James Wilkinson

This one time, at band camp, Alex Salmon said:

>just on a personal note where do ppl like buying hardware
>HT, north rocks or joe blows computer world down the street or straight
>from the maker

joe blow down the street, and a different joe blow every time.  'cept
cetustech, i've shopped there twice ;)

I won't say what i think of Harris, i know people that work there are on
this list.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] speaking of HW ...

2000-11-26 Thread James Wilkinson

This one time, at band camp, [EMAIL PROTECTED] said:

>i am thinking aroung a PIII 500-800 or so hopefully..  or would an AMD be
>better. I am not looking for bleading edge so the latest stats from
>tomshardware dont really help so generally i am looking for real life
>experiences etc.

AMD athlons are dirt cheap now, you could get a gigahertz machine for
about $800 (guestimate price).  'course intel chips are cheapish, too
(relatively speaking of course).

That said, get an athlon with either a Asus k7v or an Abit KA7-100 mobo.
They're the slot A kinds, apparently the socket models are back in style
too, and legend has it they're better (faster?), so you might consider
an Athlon Thunderbird and a socket version of the above mobos.

>i already have all peripherals etc so i only need a board that is linux
>compt/happy.

the only time i've had trouble with my abit ka7-100 mobo is when i
installed a windows 95 partiton to run under wine... it erased the bios.
linux has run smoothly on the machine all the time, hasn't crashed yet
;)

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Quick Unixy Q.

2000-11-22 Thread James Wilkinson

This one time, at band camp, Jeff Waugh said:

>'tag,

'morgen

>Here's a quick one... What is /dev/zero used for, and what are a few good
>examples?

Making loopback devices for boot floppy images, etc

$ dd if=/dev/zero of=foofile bs=1k count=1440
$ mkfs -t ext2 foofile
$ mount -o loop foofile /mnt

Just a thought, shouldn't file:///dev/* be out of bounds (for any
browser)?  I mean, why would you want to read your device files?
Reminds me of file:///c:/con/con in older versions of IE.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Complete and utter... Multia

2000-11-22 Thread James Wilkinson

This one time, at band camp, Jeff Waugh said:

>So I finally got my hands on a Multia to play with. I've been wanting to fix
>my Intel/PC-skewed picture of the world for a long time. :)

Jeff, you might want to subscribe to the UNSW multia-users mailing list
([EMAIL PROTECTED], with "subscribe multia-users" in the
body).

Also, I've got a Debian Potato multia install guide (which isn't
entirely finished or readable yet) at
http://www.cse.unsw.edu.au/~s2230937/multia/

Though you're using a SCSI disk, this won't be entirely relevant.  I've
got a link to Telford Tendy's page on mine as well.  IIRC, he's got scsi
install instructions.

Then there's the SRM-HOWTO as well ;)

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] XFree86 4.0.1 + Matrox G400 + kernel 2.2.18pre22 success

2000-11-22 Thread James Wilkinson

This one time, at band camp, Jason Rennie said:

>Grab the 2.4.* series kernels, with the DRI stuff out of sourceforges
>CVS. Apparently it rocks. Unfortunrtly my new radeon card is still in
>devel, and a dev unstable branch at that.

But as Jeff said in a different thread ([rant] UT in linux, or
thereabouts), DRI in 2.4 isn't compatible with the DRI in XFree 4.0,
they're different versions of the API.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: FAQ Sample done Re: [SLUG] Repeated FAQs page

2000-11-22 Thread James Wilkinson

This one time, at band camp, Terry Collins said:
>James Wilkinson wrote:
> 
>> Picking one at random, I chose 'bttv'.  The first n messages returned
>> all had the same subject.  Is it possible to collaspe the threads on a
>> faq-search result?
>
>As was stated, it is just the same as a SLUG archive search, so each
>message would be different and have to be read and considered. I don't
>know if htdig can auto pick the first message in a thread.

Yeah, sorry, I guess I should have clarified.  I meant to ask if there
was a special option you can add to the url for this particular entry
into the search, to only return the top of each thread.. I think that
presenting one link per thread would be ideal for people searching for
the exact answer they're looking for.

If not, then I think I'll have a look at writing a patch ;)

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] XFree86 4.0.1 + Matrox G400 + kernel 2.2.18pre22 success

2000-11-22 Thread James Wilkinson

*excited*

As mentioned elsewhere, I had XFree 4.0.1 under debian running under
2.2.17 but without the DRI component.  I've just about made it all work
now.

Firstly, 2.2.17 doesn't support DRI, but 2.2.18 is going to have a big
backport of USB and DRI from the 2.4 series, atm it's only at pre22
stage (c/o Alan Cox).
ftp://mirror.aarnet.edu.au/pub/linux/kernel/v2.2/linux-2.2.17.tar.bz2
ftp://mirror.aarnet.edu.au/pub/linux/kernel/people/alan/pre-patch-2.2.18-22.bz2

I also need reiserfs support, they only do 2.2.17.
ftp://mirror.aarnet.edu/au/pub/linux/reiserfs/linux-2.2.17-reiserfs-3.5.27-patch.gz

While I'm patching the kernel, I got me the crypto patches as well.
ftp://mirror.aarnet.edu.au/pub/linux/kernel/crypto/patch-int-2.2.17.9.bz2

in this order:
untarred linux-2.2.17
applied the reiserfs patch -- all clean
applied the crypto patch -- all clean
applied the 2.2.18pre22 patch -- some failures.

from the root of the kernel:
find . -name '*.rej' -print
then I fixed up the 4 files that had not cleanly merged, these were very
trivial (due to the reiserfs patch, some usb includes and so on weren't
able to recognise where they went)

make menuconfig, selected useful stuff.
under Character Devices, chose /dev/agpgart support as a module,
selected the VIA chipset.  Chose DRI support as a module, selected
matrox support.

make-kpkg clean
make-kpkg --revision=2:willow.5 kernel_image # yes, 5th build so far :)

and then dpkg -i ../kernel-image-2.2.18pre22_willow.1_i386.deb

Before you reboot, one more thing.

I found a link off linux3d.org to some new matrox drivers for XFree86 4,
at this url:
http://www.matrox.com/mga/support/drivers/files/linux_03.cfm
Near the bottom there is a link to a mga_drv.o (source there as well).
It adds support for dualhead on the one card, among other things.

As per the readme, you replace /usr/X11R6/lib/modules/drivers/mga_drv.o
with the updated one.  I saved a backup copy as mga_drv.o.old just in
case.  Location works for Debian, whereever your distro puts the X
drivers.

Then a reboot, and gdm came up and everything was sweet!

However i hadn't insmodded agpgart.o or mga.o, so I exitted gdm and put
them in, no hassles, started X again, and everything is sweet ;)

installed xscreensaver-gl package just to be sure, and it flies.

This page had a few useful tips:
http://www.hazalthorn.freeserve.co.uk/xfree86.html


-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: FAQ Sample done Re: [SLUG] Repeated FAQs page

2000-11-21 Thread James Wilkinson

This one time, at band camp, Terry Collins said:

>http://www.woa.com.au/lists/slug/slugfaq.html

Picking one at random, I chose 'bttv'.  The first n messages returned
all had the same subject.  Is it possible to collaspe the threads on a
faq-search result?

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] Quotas and NFS

2000-11-21 Thread James Wilkinson

Who here knows about user quotas and NFS?  Say I export home directories
from one machine, and I want to limit usage on the home dirs that are
exported.  Do I need quotas enabled in all the clients or just the
server?

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Modules not found... (well then I ask a favour)

2000-11-21 Thread James Wilkinson

This one time, at band camp, Steven downing said:

>Unfortunately I figure this would mean trolling through the debian archive =
>directories to find all the dependencies needed for a package (source or =
>binary) with a Windows ftp client and then finding the required number of =
>floppies to transfer it all across.  For things like task-xwindows-complete=
> (or even core) this is pretty onerous, and I need to go to xfree4.0.1 for =
>the new nvidia drivers, which is why I was looking for a cd, as well as =
>the upgrade you mentioned.

Try apt-zip

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] compiling the kernel

2000-11-21 Thread James Wilkinson

This one time, at band camp, George Vieira said:

>I finally got my PPTP server working with 40-bit and 128-bit M$ encryption
>and all but what annoyed me was that I had to upgrade the kernel to 2.2.17
>and when I did a `make menuconfig`, all the options were reset to blank...
>almost.
>
>Is there a way to try an keep the original settings from the older kernel to
>the new. Was it just a matter of saving the kernel config and then load it
>in the new kernel or would that cause version conflict problems?

Well, if you applied a patch to an earlier kernel source tree, then your
config stays the same, if you untar a new tree then you can copy the
.config from the root of the old tree into the root of the new tree.

As Gus said about a week ago in the kernel-package thread, the .deb
contains /boot/config-, which you can copy to .config in your
new tree as well.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Modules not found.

2000-11-21 Thread James Wilkinson

This one time, at band camp, Steven downing said:

>Depmod wasn't searching those directories for some reason.

I read that you need to upgrade your modutils for 2.4, as they've gone
and changed the layout of /lib/modules again.

Sorry, I don't got any urls to this.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] covert lowercase to uppercase.

2000-11-20 Thread James Wilkinson

This one time, at band camp, Alister Waller said:

>I need to convert lowercase filenames to uppercase.
>its actually on a SCO box so something kinda generic would be nice.

for i in *; do mv "$i" "`echo $i | tr 'a-z' 'A-Z'`"; done

bourne shell and derivatives.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] [rant] Linux Unreal_Tournament is unbelieveable.

2000-11-19 Thread James Wilkinson

This one time, at band camp, Jeff Waugh said:

>Same card here, etc. (We've been through this before!)

:)

>I'm pretty sure that CVS XF4.0.1 supports DRM 2... You can always try. Me,
>I haven't played games for ages, so I can wait for pretty Armagetron and
>Tuxracer eyecandy. :)

Ok, q3a can wait.  I've got XMAME installed, and some good roms, and
these run quick enough without the hardware support.

This is probably a good thing, so I actually study for these coming
exams.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] [rant] Linux Unreal_Tournament is unbelieveable.

2000-11-19 Thread James Wilkinson

This one time, at band camp, Arunava Sen said:

>Anyway, I got UT working in linux yesterday. Xfree
>4.0.1, Nvidia Geforce, nvidia drivers. I am pleased to say that UT
>totally SCREAMS on my Geforce in Linux, now. 1600x1200 everything to max
>(but 16bit color) I get 47-60 fps while running around levels. In
>windows, I remember getting between 12 and 30 in 1024x768.

Are you using DRI from the kernel?  If so, what kernel version, and what 
patches if any did you apply? (urls as well, please)

I've tried 2.4.0-test9 (and the reiserfs patch for the same) with the 
Matrox DRM and agpgart features, and XFree 4.0.1 blacks the screen and 
steals the consol, but doesn't lock up (I can ssh in and kill the X process 
and the console works fine).

XFree 4.0.1 works fine from kernel 2.2.17.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Full Duplex Sound

2000-11-19 Thread James Wilkinson

This one time, at band camp, Peter Hardy said:

>Another option is to
>use full-duplex drivers like ALSA (http://www.alsa-project.org).

Does anyone know what the deal is with the sound drivers in the kernel?
The so-called Open Sound System is far from open, and ALSA seems to
do much better than OSS.  I'm wondering if anyone knows of any plans to
scrap OSS and replace it with ALSA, or if ALSA will remain a separate
module.

-- 
 "This is not an attack! It is a pre-emptive retaliation."
(o_ '
//\  
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] xprob, and su prob??

2000-11-18 Thread James Wilkinson

This one time, at band camp, [EMAIL PROTECTED] said:

[snip]

>xf86OpenConsole: Server must be running with root permissions

[snip]

>this and the next problem were caused i think after i did a chown -R
>salmona /ghoti/*
>
>/ghoti is not my home dir and it *shouldnt* have anything but programs
>etc..

[snip]

>[salmona@:/root]$
>[salmona@:/root]$ su
>Password:
>setgid: Operation not permitted
>[salmona@:/root]$

What is on this /ghoti directory?  Sounds like you've made a typo and
chown'd your whole filesystem to be owned by salmona.  Hence all your
suid programs are now running suid salmona, not suid root.

-- 
   we go to school to make friends .. to drink beer with
(o_ -  some go to school to get a peice of paper that says they
//\   did really well at school and because of this the rest of us laugh
v_/_  and wont drink beer with them


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Linux Compatible Cases

2000-11-16 Thread James Wilkinson

This one time, at band camp, Craige McWhirter said:

>Okay, so the subjects a bit of lark. I'm all inspired to retire my 
>last "Linux Super Workstation" (a 486) and bring my hardware into 
>the 21st century and I'm going to build a new machine from scratch 
>again (yes, the LJ article got me off my bum). One catch, all my 
>usual suppliers dont appear to be doing cases any more. Does anyone 
>know of any decent Sydney/Australian suppliers of interesting cases?

www.eyo.com.au, based in southwest sydney, iirc.  I got me a nice full
tower case from them... the HT model I think.  That, plus a linux badge
from len chan (www.cetustech.com.au, just round the corner from me ;)
and you've got your UberLinux Workstation.

>Apt-get a clue. Apt-get Debian.

rofl ;)

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Re: Netscrape 6 is here

2000-11-16 Thread James Wilkinson

This one time, at band camp, Jeff Waugh said:

>They're cool! Sure, there's a lot of features missing in them, like the
>above mentioned ones, Java, etc., but as simple browsers they're groovy!

Speaking of simple browsers.. I'm using the Gnome Help Browser to read
advogato whilst I wait for my apt-get to finish, and it sure has
surprised me.  Even clicking on a link to a .wav, it came up and told me
it'd saved it in /tmp and suggested how to go about fixing up a viewer
for it.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Re: Re: Debian + alsa + reiserfs + make-kpkg

2000-11-15 Thread James Wilkinson

This one time, at band camp, Herbert Xu said:

>Well those who've been following the wrong advice certainly got bitten :)
>The correct way to make sure your local packages don't get upgraded is to
>put them on hold.

Hold didn't work.  I tried that from dselect and dselect decided to
override my decisions... Obviously it knew better.  As gusl suggested,
seeting the epoch to 2: made it good.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Re: Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread James Wilkinson

This one time, at band camp, Angus Lees said:

>\begin{James Wilkinson}
>> >whenever I do an apt update, my new kernel image gets dusted by the
>> >version in the distro.
>
>add an epoch. ie: make-kpkg --revision 1:willow.1
>
>or make your version start with a letter, so its always greater than
>the official versions (which start with a number)

'w' isn't a letter now?

I was using --revision=willow.1, and they were getting beaten by
'2.2.17-1'.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread James Wilkinson

This one time, at band camp, I said:

>I've given up on kernel-package.  Despite rtfming, the patches are not
>being applied, the addon alsa modules are a pain to compile, and worse,
>whenever I do an apt update, my new kernel image gets dusted by the
>version in the distro.

I started to grok it as soon as I posted this.. ;)  So, i can now apply
the patch, and build the modules (i had messed the source up, a re-untar
fixed it).

The only problem I have now is that apt and/or dselect keep wanting to
'upgrade' my brand new kernel with the generic one in the repository.
Even putting the package on hold wasn't good enough.  As a work around I
made the new kernel-image have the same version as the one in the repos,
to fool apt.

Somewhere else, I noticed that there was controversy over the HelixCode
versioning scheme, in that it made it difficult to upgrade to the
official packages because 'helix' always was a greater version than any
number.  I also read that they've made a workaround in dpkg for this.
Could this be the reason that it's dusting my kernel?  I was using
'willow.1' as the version, which according to the docs, won't be
overwritten for the same reason as above.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] c++... a bit OT

2000-11-14 Thread James Wilkinson

This one time, at band camp, Alex Salmon said:

>what do u mean by that exactly 3 to sqrt(x) by 2... what is x 

if (num % 2 == 1) {
for (i = 3; i <= sqrt(num); i+=2) {
test;
}
}

He means, check for oddness, then go from 3 to the square root of the
number you're checking, in steps of 2.

>my idea was that as all primes end in 1,3,7,9 (not all ending 1 3 7 9 are
>primes tho)

Yeah, I stand corrected on that. feh, logic.  I'm still playing with
kernel-package on Debian, and logic doesn't seem to apply here.

>James said somthing about doing everything in binary. what would be the
>actually outcome of this i mean how could i extract the last digit and set
>it to a int to test it as such??

I was thinking, that as computers are binary machines, you could
probably speed up your algorithm by thinking in binary rather than
decimal.  This will mean doing a lot of modification to your algorithm.
Just thinking out loud again.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] c++... a bit OT

2000-11-14 Thread James Wilkinson

This one time, at band camp, [EMAIL PROTECTED] said:

>all primes end in either 1 3 7 or 9 except  2 and 5

How about 39?  That's not prime :)  You need a better heuristic ;)

> so it is pointless to test it if it dosent ie ends in a 5, so how can i
>test to see if the last number is 1 3 7 9  before i start the curnum % x
>!=0

Well, you could convert it to a string, and look at the last character.
I think you're going to spend more time in the conversion than you think
you'd save by using it.

Another way, is to do your computations in binary, then you can mask off
the last couple of bits.  i.e.: 1, 2, 3, 5, 7, 9, B, C, F are prime, you
can get the last 8 bits of an int by doing something like last8 = num &
0xF

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread James Wilkinson

This one time, at band camp, I said:

>So then I read the manpage for make-kpkg and it explained the usage of
>the --added_modules and --added_patches options.

I've given up on kernel-package.  Despite rtfming, the patches are not
being applied, the addon alsa modules are a pain to compile, and worse,
whenever I do an apt update, my new kernel image gets dusted by the
version in the distro.

I can see the advantages of using kernel-package, but I just can't grok
it.  Too much effort required to do something I can do manually in a
shorter time.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread James Wilkinson

This one time, at band camp, I said:

>I've checked /usr/share/doc/blah/ for alsa and reiser values of blah and
>there is sweet fa there (well, a README.Debian which tells me nothing)
>on how to install these patches the Debian way.  Sure, i can drive
>patch, but i'm guessing there is some magic command to stick them into
>the kernel tree before i 'make menuconfig'.

So then I read the manpage for make-kpkg and it explained the usage of
the --added_modules and --added_patches options.

And then I kicked myself.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] Debian + alsa + reiserfs + make-kpkg

2000-11-14 Thread James Wilkinson

Ok, this one's for the Debianites.

I've apt-get'd (apt-gotten?) kernel-source-2.2.17, alsa-source-0.4 and
kernel-patch-2.2.17-reiserfs.  These together put a bunch of tarballs
and weird directories in /usr/src.

I used to just extract the kernel source and do the make-kpkg like the
docs say, that part is the easy part.  Now, the reiserfs patch has
installed itself into /usr/src/kernel-patches/i386/2.2.17/ with the
patch and some functions, and the alsa-source tarball comes out to
/usr/src/modules/alsa-source-0.4/ with the entire alsa source.

I've checked /usr/share/doc/blah/ for alsa and reiser values of blah and
there is sweet fa there (well, a README.Debian which tells me nothing)
on how to install these patches the Debian way.  Sure, i can drive
patch, but i'm guessing there is some magic command to stick them into
the kernel tree before i 'make menuconfig'.

Any suggestions?  Or am I going to go the tried and true
'ignore-the-debian-way-for-the-kernel' method?

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Disabling console screensaver/blanking?

2000-11-12 Thread James Wilkinson

This one time, at band camp, Damien Gardner Jnr said:

>what I haven't been able to figure out
>though, is how to disable the screensaver/blanking thing on the
>console, so that I can see the last messages on the console when the
>machine locks up.. - Anyone happen to know how to disable the blanking?

setterm -blank 0  at the console.

-- 
 Sure, I subscribe to USENET, but I only get it for the articles.
(o_ '
//\
v_/_


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



  1   2   3   >