Re: Re : compilation error

2005-01-09 Thread Sam Watkins
On Sun, Jan 09, 2005 at 10:32:48PM +0100, Andrea Vettorello wrote:
> Look in the apt-get manual for the "--reinstall" option, if you want
> only to download some packages  use the "--download-only" option...

ok, so:

  apt-get --reinstall --download-only foo

will fetch "foo" from the archive even if it's already installed.
That's handy to know, thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Sam Watkins
On Sun, Jan 09, 2005 at 04:57:49PM +, Alex Papadopoulos wrote:
> Oh ok, now I got it... Well it IS a problem with gcc...
> Even 'gcc -v' gives me a segmentation fault...
> 
> I'll try to reinstall it...
> 
> How can this be done actually with apt-get ?

It can't really, AFAIK.

I would download the deb again manually, and install it with dpkg.

It's a pity apt-get does not have a raw "get" function which simply
downloads a named package, no matter whether it is installed already,
etc.  Not very modular of it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[OT] reminiscing about RISC OS...

2005-01-09 Thread Sam Watkins
On Sun, 2005-01-09 at 03:47 +1100, Sam Watkins wrote:
> I think we would end up with much better software if all developers
> were forced to use old, slow computers :)  I remember how good and
> fast the software was on my old RISC OS Acorn with 4MB RAM
> (Impression, Sibelius, Artworks).  Something is seriously wrong with
> the way people write software these days!

On Sat, Jan 08, 2005 at 04:12:14PM -0600, Ron Johnson wrote:
> I have to somewhat disagree.  Much modern software just *does 
> more*(1) than, and is more integrated with the DE, than old(2)
> software.  

The RISC OS software I mentioned is better than similar modern software,
I have not seen any equivalent modern software which I would prefer.

Sibelius, for example, is an absolutely top-notch music scorewriting
program.  Artworks is a vector-drawing program which is better than
anything else I have seen.  Impression was a very good, easy to use
desktop-publishing / word-processing program.  All of these programs
used good quality anti-aliasing and ran quickly on an 8Mhz CPU.

Similar "modern" software runs very slowly on my 200Mhz PC, because it
is poorly written in inadequate programming languages.

As for the "DE", anyone who has used RISC OS can only feel contempt for
modern desktop environments.  For example, RISC OS uses drag-and-drop to
save files, which means you can keep filer windows for the relevant
working directories open, and simply drag an icon to them to save, and
drag icons between applications to transfer them.  Much unnecessary
browsing was avoided.  This is the feature of RISC OS I miss most.

The quality of the RISC OS GUI in general, and the user-interfaces of
the applications, was very very high, much better than anything else I
have seen.  All KDE and Gnome developers should be compelled to acquire
and play with an old RISC OS box, so they can stop imitating microsoft
and playing creeping-featuretris, and learn the right way to do it!

> And don't forget that s/w written in C++ is larger and slower
> than C programs.

All of that software I mentioned was written in ARM code, not C.
Kind of sucks if you want to port it to a different CPU,
but the ARM is the best CPU anyway, who needs the others ;)

Better stop reminiscing about the good old days...

> But yes, VM can make people sloppy.  OTOH, it can allow them to
> write easier-to-read s/w, because of the lack of need to write
> dense, hard to debug, code that wrings the last bit of speed out 
> of the box.

True, but contemporary code is next to unreadable anyway, due to poor
languages and libraries.

C, C++, java, perl are definitely not "easy to read".  I would say they
are gratuitously difficult to read, especially perl.  Python can be
almost easy to read.  I understand pliant and haskell are pretty good,
but I don't know them very well.  ARM code isn't all that readable ;)

I'm working on an "easy to read" language, similar to C / C++
(it translates into C / C++).  Currently I'm implementing macros and
efficient co-routines, which latter are fairly hairy to implement in C,
so no one uses them.  Co-routines are the best :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 'Virtual Private Servers' - Advice, recollections and recommendations requested

2005-01-09 Thread Sam Watkins
On Fri, Jan 07, 2005 at 10:09:00PM -0200, Jeronimo Pellegrini wrote:
> On Fri, Jan 07, 2005 at 02:04:34PM -0500, Roberto Sanchez wrote:
> > The hosting provider I mention above offers 600 MB space and 25 GB/month
> > (for the $70 plan) or 800 MB space and 35 GB/month (for the $100 plan).
> > That should be plenty for most any organization.
> 
> Since I wanted root access, I got it (with Woody preinstalled) at
> linode.com (they use UML). For $20/mo, you get 25Gb transfer, 64Mb
> RAM, and 3Gb disk space.

I also use Linode, Linode is great, I have no complaints!  They have a
forum (quite like fastmail.fm's one) where you can get help from other
users and the developer of Linode, and they use a special kernel hack to
prevent other people on the same box from monopolising the disk IO and
slowing the machine to a halt.  The web interface is good.

I think I am right in saying that Linode is widely regarded as the best
UML virtual server provider (at least among Linode users!).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: APT_GET UPGRADE PREVENTS GUI FROM OPENING

2005-01-08 Thread Sam Watkins
On Thu, Jan 06, 2005 at 03:26:47PM -0600, Leonard Chatagnier wrote:
> So I do another apt-get update and install llibc6 and at the end of
> the install a message appears that says I should stop services(with
> your hands) on kdm gdm, postgresgl and xscreen saver and then come
> back and install libc6.  Well, I'd do just that if I knew what was
> going on and how to do it.

as root:

  /etc/init.d/kdm stop
  /etc/init.d/gdm stop
  /etc/init.d/postgresql stop

or even better, do the upgrade in single user mode:

  telinit 1

then when you've finished, go back to runlevel 2:

  telinit 2


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian on an old PC

2005-01-08 Thread Sam Watkins
On Thu, Jan 06, 2005 at 07:31:10PM +0100, Vegard Lundby Rekaa wrote:
> I got hold of 128MB RAM from a friend. Now there is a total of
> 128+16=144MB RAM. Don't you think that is enough for OO.org and WM when
> he's prepared for a slow machine?

FWIW I installed OO.org on my pentium MMX 200MHz with 128Mb RAM the
other day (after reading your email).  It takes a while to start but
works fine after that.  If you use a sensible window manager (not KDE or
gnome, maybe icewm) I guess it would work fine on your old computer,
apart from taking a while to start up.

It will be a lot slower than the appropriate version of microsoft office
for that machine, though.

I think we would end up with much better software if all developers were
forced to use old, slow computers :)  I remember how good and fast the
software was on my old RISC OS Acorn with 4MB RAM (Impression, Sibelius,
Artworks).  Something is seriously wrong with the way people write
software these days!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: no ipchains with 2.2/no network with 2.4

2005-01-08 Thread Sam Watkins
On Thu, Jan 06, 2005 at 06:21:30PM +0100, Pierre A. Damas wrote:
> So I suppose that finding where I could get ipchains.o and insmod it 
> would do the trick ?!?
> But in which package is it ?

All the kernel modules should be in the kernel package
(kernel-image-2.2.20-386 or something like that), and they should be
installed under /lib/modules/2.2.20/

You should be able to find it with "find /lib/modules | grep ipchains",
or "locate ipchains.o"

But if it is there, as it should be, then a simple "modprobe ipchains"
ought to load it.

I don't have a 2.2 box, so I can't check further.

Have you considered upgrading to "sarge" or "sid"?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian-user and mail tools

2005-01-06 Thread Sam Watkins
On Thu, Jan 06, 2005 at 04:09:20PM +0100, Bob Alexander wrote:
> So Sam,
> could you be so kind to comment/complete the complete "toolchain" ?

Glad to see you didn't have me killfiled yet ;)

> 1) ISP IMAP Server

I use FastMail.FM.  They provide a good email service for free, and more
space and some extra features for paying customers.  I used to work for
them, so I have a spacious account for free :)  You should use your own
ISP's SMTP server.  I think FastMail.FM is a really good email provider.
They provide sieve-based filtering "rules" which you can configure
through the web interface.  They'll only give you 10MB space for free,
though.

> 2) OfflineIMAP to fetch the IMAP mail and store it locally (Mail
> Delivery Agent ?)

Offlineimap doesn't use a delivery agent, you will need something to
send your mail to the SMTP server and to handle local mail.  I am
using postfix at the moment, which is overkill.  You could use a
simple one like ssmtp or msmtp if you only want to worry about sending
mail to the SMTP server, or exim.

I use a dodgy script I wrote which watches the IMAP server use the
"idle" command and runs offline imap (and shows me a message with
"larsremote" from larswm) when I get new mail.  Perhaps one of the other
IMAP syncing programs has the capability to use the "idle" command
directly.  I will add it, when I get the time.

> n) mutt as the Mail User Agent -> Will act on the local maildir mail and 
> then the alterations will be reflected back on the ISP via OfflineIMAP

yes.

> Where would procmail and/or spamassassin be integrated ?

In my case, FastMail.FM are running sieve and spamassassin.  I don't
think they kill spam for non-paying customers though, spamassassin uses
too much CPU.

I'm not sure how you could integrate procmail and offlineimap, when
using IMAP I guess the filtering / sorting into folders should happen
on the IMAP server.

Theoretically offlineimap should allow you to filter the mail as it
comes in using an external program (like procmail), and delete it if
it's to be excluded, but I don't think it does that.

I'm going to have a look at the other offlineimap-like programs, and see
which I like best, and have a go at enhancing whichever one if
necessary.  Don't hold your breath, though!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: at is broken

2005-01-06 Thread Sam Watkins
On Thu, Jan 06, 2005 at 09:32:35AM -0500, Aldebaran wrote:
> So I think I managed to patch at properly, and in man dpkg I learned that all 
> I need to do is dpkg -b at-3.1.8 and dpkg would kindly package all that stuff 
> up into a nice pretty .deb and within minutes I would be doing important 
> stuff like echo "ls" | at +1min

To build a package from source, chdir into the package source directory
and run "debuild -b".  (debuild is from the devscripts package, the -b
means binary only.)  Don't worry when it gives you an error about
not being able to sign the package, that doesn't matter.

You'll have to undo the other changes you made, i.e. move the "DEBIAN"
directory back to "debian" and put that blank line back in the control
file, or better still start again!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mozilla upgrade -> cursor menu loss in Epiphany/Galeon

2005-01-06 Thread Sam Watkins
On Thu, Jan 06, 2005 at 08:19:58PM +1100, Adam Bogacki wrote:
>   following the last mozilla upgrade in unstable I've lost
> cursor menu function in Epiphany and Galeon - my most used browsers.
> 
>   Please bring this to the attention of the respective
> maintainers [EMAIL PROTECTED]

can I suggest you file a bug yourself?
after checking that your problem is really a bug and hasn't been
reported already, of course.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: no ipchains with 2.2/no network with 2.4

2005-01-06 Thread Sam Watkins
On Wed, Jan 05, 2005 at 04:53:10PM +0100, Pierre A. Damas wrote:
> Since I installed the woody distribution, I am the happy owner of a
> kernel 2.2.

> I would like to use ipchains, but it is "not supported in this
> Kernel", so I searched everywhere to find an ipchains.o module to
> insmod for 2.2 (I found for 2.4).  In which package would it be ?

It should be supported in that kernel!  IIRC all the stock Debian 2.2
kernels support ipchains.  Do you have the "ipchains" package installed?

You could try installing the "ipmasq" package, that should set up a
firewall and masquerading whether you're using ipchains or iptables or
whatever.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian-user and mail tools

2005-01-06 Thread Sam Watkins
On Wed, Jan 05, 2005 at 04:42:33PM +0100, Bob Alexander wrote:
> A last item I do not like about TB is that using IMAP, my emails are on 
> the server, and in TB when I delete an item it gets into the server's 
> Trash folders and emptying it therefore takes a while.

I recommend to use offlineimap, or a similar program (isync, mailsync).
I use a script that re-syncs my mailbox whenever mail arrives on the
server.

> Does any of you offer some good suggestion on a client which will make 
> my life easier with filtering, killing/ignoring whole threads and any 
> other goodies experience shows you to be important on such an high 
> volume list ?

mutt?  ctrl-D (delete thread) works for me.  I would use a separate
program such as procmail to filter my mail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how run zsh script through ssh and telnet

2005-01-04 Thread Sam Watkins
On Mon, Jan 03, 2005 at 11:03:20PM -0800, Umar Draz wrote:
> hi Deear memberrs!
>  
>i have a user devish with zsh shel i want when this user access my
>sever remotly through ssh or telnet a zsh script run which i have
>already copy in /home/devish home directory.  script name is
>devish.zsh

Not sure exactly what you want.

1) to have this zsh script run when you log in remotely,
   and then to be able to continue typing commands:

   put this in your .profile file on the server:

   source ./devish.zsh

2) to be able to run a zsh script remotely,
   and automatically log out when it's done:

   ssh [EMAIL PROTECTED] zsh devish.zsh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: HELP! My printer won't stop!!

2005-01-04 Thread Sam Watkins
On Mon, Jan 03, 2005 at 11:09:02PM +0100, Vegard Lundby Rekaa wrote:
> every time I start my PC the printer start again.

you can use the programs "lpq" and "lprm" to show the printer queue and
remove jobs from it respectively.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X problem - desktop too big for screen size.

2005-01-04 Thread Sam Watkins
On Sat, Jan 01, 2005 at 05:35:50PM +1100, [EMAIL PROTECTED] wrote:
> Changed monitor and am back running X after a dpkg-reconfigure
> xserver-xfree86.
>  
> Problem is the windows are way too big for the 1024 x 780 resolution,
> and the desktop does not fit into the screen.

does the screen scroll when you move the mouse to the edge of it?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: tracking memory resource issues

2005-01-04 Thread Sam Watkins
On Wed, Dec 29, 2004 at 07:34:54AM -0800, Brian wrote:
> As a longtime Debian user, I really appreciate the 
> community that makes Debian the best. My question:
> What is the best way to track down a possible 
> memory leak that I have no idea which program is 
> causing it even? Here is the problem:
> I have a PIII-600 with 256 MB and an ATI Radeon 
> 9000 pro. My memory usage is fairly low when I 
> first bootup and login. The apps that I leave open 
> usually are Mozilla-Thunderbird and Firefox and 
> then I will open other things now and then. I use 
> WindowMaker and GDM, as well. However after a few 
> days to a week the memory usage has gradually 
> climbed to unbearable.  Further, even if I close 
> all programs and leave the computer on, the memory 
> usage doesn't drop to what it was when I logged 
> in. How can I trace what software is sucking my 
> memory?

It's probably the X server.

Try running "top" or "ps aux | less" and look for which process has
large numbers under "RSS" or something like that.  What is the output of
"free"?  Are you out of swap, or just RAM?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



dbischema [ was: Re: [OT], Database Comparer ]

2005-01-03 Thread Sam Watkins
Hi there, database people.  I have persuaded my database munger program
"dbischema" to work properly again, written some manpages for it, and
put it in a .deb  The company I wrote it for has given me permission to
release it under the GPL.

  http://nipl.net/dbischema/

Dbischema lets you automatically update database schemas from an XML
file which describes the schema in a fairly-much DBMS-independent way
(although it only works properly with PostgreSQL and mysql so far).
It can also port a database from mysql to PostgreSQL or vice-versa.
A DBMS-independent data dump / restore tool "dbidump" is included.

I have changed dbischema a fair bit in the last few days, and although
I have tested it quite a bit, there are likely to be LOTS OF BUGS.
Be very careful if you use it on real databases, and make backups!

The manpages and an example schema are online:

  http://nipl.net/dbischema/dbischema.1.html
  http://nipl.net/dbischema/dbidump.1.html
  http://nipl.net/dbischema/schema.txt

Enjoy!

(and have a good laugh at my insane Perl code)

Sam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: its a matter of ssh and its not working for me

2004-12-29 Thread Sam Watkins
On Tue, Dec 28, 2004 at 04:56:01PM -0700, Kent Andersen wrote:
> I have the public keys placed in remote machines under the correct user 
> account .ssh/ etc.. both sshd_conf files are identical (machines A,B).
> 
> machine A will automatically ssh login (without password) and rysync doesnt 
> ask for password either
> machine B requires me to login with password before the new command will 
> work (ie rsync) but ssh session will not require password.
> 
> I have been trying to figure out why this is happening if anyone can clue 
> me in I would be forever in debt. I have been working on trying to solve 
> this mystery for about a week now. ARRGH!

Did you try ssh -v -v -v to find out at what point ssh is failing?
You could set RSYNC_RSH="ssh -v -v -v".

Are you using ssh-agent?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: instaleren op 486 met 128 mb hd

2004-12-28 Thread Sam Watkins
On Tue, Dec 28, 2004 at 05:57:38PM +0100, talie-18 wrote:
> I want to instal colinux with debian could you please help me I am
> using a windows 2000 pro it seems like the image file doesn't load I
> want to use linux I have been trying for 2 weeks now this sucks but I
> am not giving up

What version of debian are you trying to install (woody, sarge, sid)?
Are you wanting to do a network install, or do you have CDs?
What exactly is the problem?

The way I recommend to install testing / sarge is with a netinst CD
image using debian-installer, see
http://www.debian.org/devel/debian-installer/

Can your machine boot from CD?  If not, there is a floppy image you can
get which helps it to boot from CD, I forget what it's called.

How much RAM do you have?  How much hard disc space?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Wayward syslog items

2004-12-28 Thread Sam Watkins
On Tue, Dec 28, 2004 at 01:48:11PM +0200, David Baron wrote:
> My syslog has failed items for pppd and chat. Just fine since I have
> no pppd connection and no chat. Question is why I am getting this? I
> did not see anything appropriate in /etc/init.d.

Strangely enough I have the same thing happening!  In my case I think
it's the /etc/init.d/ppp script, and I had an /etc/ppp/ppp_on_boot file.
Possibly your ppp is starting for a different reason.  Try:

  grep -r /etc/init.d -e ppp -e chat


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Installation

2004-12-28 Thread Sam Watkins
On Wed, Dec 29, 2004 at 12:54:37PM +1300, YH wrote:
> 1. The displayed characters flicks on konsole of X11 screen. My monitor 
> is a VE710B LCD and my video card is S3 Trio 3D/2X. I could not found 
> the driver for the Trio 3D/2X video card during installation, so I 
> selected S3virge driver. I am not sure that caused the problem or not, 
> how can I resolve this problem? Where can I get S3 Trio 3D/2X driver?

According to /usr/share/doc/xserver-xfree86/README.s3virge, this driver
supports the Trio3D/2x chip.  Possibly you have the refresh rate limits
set too high in /etc/X11/XF86Config-4.

> 2. The CDROM and Floppy are not defined in mtab, I suspect that the 
> debian did not detect the hardware during the installation. I can edit 
> mtab to add floppy and cdrom, but I don't know which device in /dev/ 
> linked to floppy and cdrom. Could you help please.

mtab is a dynamic list of what devices / filesystems are actually
mounted at a particular time.  You don't normally edit it by hand.  The
table of filesystems is called /etc/fstab.  This is the one which should
have /floppy and /cdrom or whatever in it.

If the floppy or cdrom aren't there, the floppy device is /dev/fd0, and
the cdrom device will probably be /dev/hdb, you can add them in:

/dev/fd0/floppy autodefaults,user,noauto0   0
/dev/hdb/cdrom  iso9660 defaults,ro,user,noauto 0   0

People are mounting their stuff under /media/floppy, /media/cdrom these
days, you can do that if you like.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Moving from Woody to Sarge

2004-12-28 Thread Sam Watkins
On Mon, Dec 27, 2004 at 04:10:26PM -0800, Syed Huq wrote:
> Question from a newbie. I am currently using 3.0r1(Woody) and would
> like to move to Sarge soon. I had to use a specific xserver-mach4 for
> my ATI card.
> 
> If I use Apt to do the upgrade to Sarge, do I need to re-do my xserver
> or that piece remains as is.

There is a different Xserver, xserver-xfree86, with the config file
/etc/X11/XF86Config-4

You shouldn't have much trouble getting it to work, probably won't even
have to edit the file.  X config is getting to easy these days :)

> Are there possible things that could break ? Just want to be prepared
> in advance.

I guess you probably won't have much trouble, I didn't.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Way off topic] the politics of ubuntu.org

2004-12-28 Thread Sam Watkins
On Tue, Dec 28, 2004 at 04:00:22PM -0500, William Ballard wrote:
> I read the Koran after 9/11 and found some bits very hostile to
> Christianity and Jews.  The basic plot is: God used to like Jews, now
> he doesn't because they messed up.  God used to like Christians, now
> he doesn't because they messed up.  We're going to fix what they
> messed up.

This is also untrue.  The Quran says:

  Surely those who believe,
  those who are Jewish,
  the Christians,
  the converts;
  anyone who
  (1) believes in God, and
  (2) believes in the hereafter, and
  (3) leads a righteous life,
  will receive their recompense
  from their Lord;
  they have nothing to fear,
  nor will they grieve.
  [ 2:62, 5:69 ]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Way off topic] the Quran

2004-12-28 Thread Sam Watkins
On Tue, Dec 28, 2004 at 09:22:30AM -0500, Roberto Sanchez wrote:
> The difference is this:
> 
> 1.  Muslims who commit terrorist acts do so in *compliance* with the
> teachings of Mohammed and Islam.
> 2.  Christians who commit terrorist acts are in direct opposition to
> the Bible and the Word of God.
> 
> -Roberto Sanchez

This is complete ignorance and falsehood.  I have been reading the Quran
extensively of late, it is a beautiful and peaceful book.  The morality
of the Quran is far beyond what is practised by leaders of any country
today.  Obviously you speak without having read the Quran.  The Quran
does not promote terrorism or senseless violence, the Quran and true
Islam is extremely tolerant of other religions.  The passages in the
Quran concerning war are all based on the premise that the Islamic
nation is under attack.  The Quran repeatedly says that if the enemy
wants to make peace, then the Muslim must make peace.

See http://submission.org/, for example, for a readable translation of
the Quran.

The Quran is in fact far more consistent than the bible; I am able to
believe that the Quran is the uncorrupted word of God, whereas the bible
itself testifies that the scribes have corrupted it:

  "How can you say, 'We are wise, and the law of the LORD is with us'?
  But, behold, the false pen of the scribes has made it into a lie.
  (From the RSV Bible, Jeremiah 8:8)"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Way off topic] depleted uranium

2004-12-28 Thread Sam Watkins
On Mon, Dec 27, 2004 at 02:46:33PM -0800, Steve Lamb wrote:
> >The worst "terrorist" is America, with your depleted uranium
> >"dirty-bombs" which you throw around at every opportunity,
> 
> Cite?  Outside of Hiroshima and Nagasaki I don't recall a 
> detonation of any atomic or nuclear device on any civilian 
> population.

google "depleted uranium birth defects pictures".

America and the UK made armour-piercing and bunker-piercing shells from
nuclear waste (depleted uranium).  These are not conventional nuclear
weapons, but dirty bombs.  Depleted uranium was chosen because it is
cheap (a waste product) and it is very dense so pierces armour.  It also
causes massive fallout and birth defects.  It was used extensively in
the gulf and and in yugoslavia, both in shells and in the armour of
American tanks.  It is the cause of the "gulf war syndrome" that
returned American soldiers have suffered from.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Way off topic] the politics of ubuntu.org

2004-12-27 Thread Sam Watkins
On Mon, Dec 27, 2004 at 03:42:09PM -0500, Eric d'Alibut wrote:
> I don't have any idea what Shuttleworth's politics are, but he
> obviously does not hesitate to associate himself  -- even if "only"
> semantically -- with so-called revolutionary movements known for their
> terrorist agendas.

In what way does "ubuntu.org" have a terrorist agenda?
Or does pacifist equate to terrorist in your dictionary?

If you can demonstrate that it _does_ genuinely have a terrorist or
militant agenda, I'll stand corrected.



"Terrorist" has become such a bull-shit word.

The worst "terrorist" is America, with your depleted uranium
"dirty-bombs" which you throw around at every opportunity, with your
arms-companies selling land-mines to anyone who wants one, with your
"oil before people" capitalist mentality, with your "shock and awe"
tactics and your moronic amoral president, with your consumerism and
obesity in a world where people are starving, with your "our lifestyle
is more important than your life" mentality.  Take a good look at your
own country's agenda.

Australia is not much better.



I doubt that the name Ubuntu Linux was chosen in order to associate the
product with the politics of ubuntu.org, but if it was, good on them for
supporting an organization that (as far as I can see) promotes
international peace.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: remove perl

2004-12-27 Thread Sam Watkins
> > >   I need to remove perl for security reasons.
> > What's insecure about having perl on a machine?

On Mon, Dec 27, 2004 at 12:54:39AM -0800, saravanan ganapathy wrote:
> Refer the url for more details
> http://linux.math.tifr.res.in/doc/securing-debian-howto/ch3.en.html

They say that having perl on a box may help attackers to further
comprimise your system or other systems after they have already broken
in.  They also say that it's not possible to remove perl without
rewriting essential parts of Debian.  So the answer is, you can't do it.

If I were you, I would concentrate on keeping attackers out.  The
presence of perl does not help attackers break into your system.

Even openbsd (which is widely regarded as the most secure unix-like
operating system) has perl in the base system.  Freebsd and netbsd
don't, but this isn't for security reasons.  You could try one of those
if you really don't want perl.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Alternate OSes based on Debian

2004-12-27 Thread Sam Watkins
On Mon, Dec 27, 2004 at 03:43:32AM -0500, Eric d'Alibut wrote:
> The money trail might prove interesting. Clearly, the founders of the
> ubuntu linux project could not have been unaware of the dubious
> political connotations of the term. Who pays for all those free cd's?

Mark Shuttleworth, I suppose.

this thread is ridiculous, unworthy of further comment.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: remove perl

2004-12-27 Thread Sam Watkins
On Sun, Dec 26, 2004 at 11:53:47PM -0800, saravanan ganapathy wrote:
> Hai,
>   I need to remove perl for security reasons.

What's insecure about having perl on a machine?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mouse & xf86conf-4

2004-12-27 Thread Sam Watkins
On Sun, Dec 26, 2004 at 11:05:32PM -0500, Jim wrote:
> What must I do in order for my 3 button mouse to work properly?
> Thanks
> 
> >Section "InputDevice"
> > Identifier "Configured Mouse"
> > Driver  "mouse"
> > Option  "CorePointer"
> > Option  "Device"  "/dev/ttyS0"
> > Option  "Protocol"  "Microsoft"
> > Option  "ZAxisMapping"  "4 5"
> >EndSection

No sure.  Try setting Protocol to MouseSystems or IntelliMouse.

Take a look at /usr/share/doc/xserver-xfree86/README.mouse.gz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: reverse dns lookup problem on ssh debian vs redhat

2004-12-26 Thread Sam Watkins
google ssh reverse dns debian

turned up this as the first hit:

  http://lists.debian.org/debian-security/2002/03/msg00081.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian Geek Toolkit Question

2004-12-26 Thread Sam Watkins
On Sun, Dec 26, 2004 at 03:46:23PM -0700, Paul E Condon wrote:
> Sarge NetInstall is great for installing Sarge, but it
> appears not to be usable as a live CD for booting onto
> a system that has a broken installation.

It is usable, but not exactly convenient, as a rescue disk.  As it says
in the documentation, if you go through the install process to the
partitioning stage, and then stop before you repartition (!), you will
be able to access your system, chroot, whatever.

If you're using lvm, you may have to fiddle around with the lvm bit of
the installer to get the lvm started.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: resolv.conf

2004-12-26 Thread Sam Watkins
On Sun, Dec 26, 2004 at 07:59:12PM +, Alan Chandler wrote:
> Thats not what I meant.  What at the file access rights and owner/group of 
> the /etc/resolv.conf file?

-rw-r--r--  1 root root 144 Dec 24 16:53 /etc/resolv.conf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help allocating RAM to video card

2004-12-26 Thread Sam Watkins
On Sun, Dec 26, 2004 at 08:03:31AM -0800, Ridge Chittenden wrote:
> I have an old IBM Aptiva that has an onboard ATI chip
> with a measly 2MB of video RAM. This is enough for me
> to run X with a resolution of 800x600, but no more.

If you set the color depth to 16 bits instead of 24 bits, you should be
able to get 1024x768.  (1024x768*16/8 < 2*1024*1024!)

If you set it to 8 bits, you can get even more.

Personally I hardly ever use 24 bit graphics because it makes mozilla,
etc, use too much memory.

Just change the "DefaultDepth" setting in /etc/X11/XF86Config-4 to 16.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Alternate OSes based on Debian

2004-12-26 Thread Sam Watkins
> > The folks there should change the name: I would never use a thing named
> > _ubuntu_. Btw, Hurd is a name as horrible as ubuntu.
> 
> Yeah, I've gotta admit, I'm a bit turned off by the name, "Ubuntu." 

I think Ubuntu is a great name.  Meaningful!

Perhaps the poster would be turned off by any non-english or
non-european name.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Backup-software FTP

2004-12-26 Thread Sam Watkins
On Sun, Dec 26, 2004 at 02:09:43PM +0100, Jon-Eirik Pettersen wrote:
> What would you recommend of software to do simple directory-based 
> backups to an FTP-server?

I like "lftp", it can do recursive upload / download (mirror, mirror -R).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: The 'mail' system account

2004-12-26 Thread Sam Watkins
On Sun, Dec 26, 2004 at 07:59:48PM +0700, David Garamond wrote:
> >/var/mail isn't a system account, it's infrastructure.
> 
> By "system account", I meant a Unix account which has UID < 1000 (or is 
> it < 500?).

Ok, I see what you mean.  There is a "mail" user defined with a home
directory of /var/mail.  I think all the users and groups with UID < 100
are permanent fixtures of Debian, defined in the base-passwd package.
Even if you removed this user (which would be a bad idea) /var/mail
would not be deleted.

all I can see that this user / group is used for on my box is creating
lock files in /var/mail, and by procmail (probably for the same purpose)

  ls -l /usr/bin | grep ' mail '

> Thanks for the explanation. I see that the "usermin-mailbox" package 
> defines it, but that's probably not where it originates.

Every package that uses a directory mentions it like that.  This is
necessary for the build process to work.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Program to display process information (especially sockets)

2004-12-26 Thread Sam Watkins
On Sun, 2004-12-26 at 15:19 +0700, David Garamond wrote:
> Anyone knows of a program (command-line or GUI) to display process
> information, e.g. which TCP/UDP/Unix sockets are used by the process
> and what are their ports/hosts/etc.

Probably the best you're going to get is the output of netstat -p.

This will tell you process names and numbers for each socket, you can
parse that and do what you like with it.  If you need it to spit out the
info faster, try the -n option, which won't do reverse dns lookups.

One thing I would like to know how to do, but I don't think it's
possible, is to find out what process is on the other end of a pipe.
If that were possible, I could write a graphical system display tool,
that shows you all your processes and how they're connected together.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: The 'mail' system account

2004-12-26 Thread Sam Watkins
On Sun, Dec 26, 2004 at 03:02:49PM +0700, David Garamond wrote:
> In what package is the 'mail' system account defined and how do I find 
> this out? I've seen 'mail' even in the most minimalist installations 
> (without exim or mailx), but I'm not sure that if I put stuffs in 
> /var/mail it won't get deleted when some package removal include the 
> removal of the 'mail' system account.

/var/mail isn't a system account, it's infrastructure.

I guarantee no package is going to delete /var/mail when you uninstall
it.  Anyway, when you uninstall a package, it won't even delete
directories it owns if they aren't empty.

If /var/mail were in a package, you would be able to find out which
package by typing:

  dpkg -S /var/mail

I'm not sure exactly when it gets created it in the first place,
but it should be present on every system; mail is an essential part of
the system, for example cron and debconf need it to send you email.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



aptitude bug?

2004-12-25 Thread Sam Watkins
I've noticed if I suspend aptitude with ^Z, then fg it again, then press
the up or down arrow key, it tries to run "reportbug" and then when I
get back to aptitude it's forgotten all the selections I made since last
saving.  This can be a real pain if you've made a lot of selections!
Can some one else confirm that this happens, and I'll report it as a
bug?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Article about apt-build

2004-12-25 Thread Sam Watkins
On Sat, Dec 25, 2004 at 09:29:07PM -0500, Chasecreek Systemhouse wrote:
> Wasn't it Larry Wall who said "Do we need 10 ways to do something?"

I think it was Larry Wall who said "there's more than one way to do it"
and invented an insane language (perl) in which there are 15 billion
confusing ways to do anything.  So Larry is not supporting your
argument!  :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Article about apt-build

2004-12-25 Thread Sam Watkins
> Well, not to follow up to my own post but ... something as simple as
> apt-build install top doesnt work.

Well you'll also find that "apt-get install top" and "dpkg -l top" don't
work either, for the reason that "top" is not a Debian package!

Try "dpkg -S `which top`", which will tell you that "top" is in the
package "procps", then "apt-build source procps", etc.

> I have played with it a bit and find it will not download things like
> openoffice.org or gnome-core

It works for me (at least it starts downloading stuff):

  apt-build install openoffice.org

I think if you already have openoffice.org installed, it won't download
it for some reason, I had that trouble when running "apt-build install
procps", but "apt-build source procps" still works to download it.  This
is a bit weird, I agree.  "apt-build build-source procps" works, then
you can install it with dpkg, but for some reason the "install" command
doesn't do this automatically if a version of the package is already
installed.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ssarge Upgrade-Lilo: FATAL

2004-12-25 Thread Sam Watkins
I think you'll find that in Debian at the moment, "grub" is a better
bootloader if you want things to just work when you install new kernel
images.  Try installing grub and see if that helps.

If you want to keep using lilo, and want help to fix it, please post
your lilo.conf and the output of:

  ls /
  ls /boot

to me or the list.

If you don't understand exactly how lilo.conf works, you probably
shouldn't use lilo; use grub.

> 1.  On a previous install of new image I used mkinitrd and it allowed 
> sarge to boot up but everything was broke except terminals.  The 
> mkinitrd never completed without error and called up the option menu.  I 
> have read the man mkinitrd and it seems definitely revelent but how to 
> use it not clear.

You shouldn't have to run mkinitrd unless you build your own kernel, the
kernel-image packages already include the appropriate initrd.img files.

> 2. Ran fsck without unmounting and maybe that was a mistake.  Made lots 
> of changes saying bad inodes and such.  I don't really think anything 
> was wrong with the file system but fsck did.

aargh!  doesn't fsck warn you not to run it on a mounted filesystem?
that was certainly a mistake.  don't know how much significant damage it
would have done, but I doubt it's the cause of your lilo problem.

> 3.  The last of the output from `apt-get install` was a warning about 
> installing a lilo block if you had another operating system installed.  
> I answered no several times, without helping, and then said yes to see 
> if it might fix things.  It didn't.

do you have another OS installed?  if you've been able to boot it
from lilo in the past, upgrading the kernel won't change that.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian vs. Fedora on Laptops

2004-12-25 Thread Sam Watkins
On Sat, Dec 25, 2004 at 09:10:11PM -0500, Ryan D'Baisse wrote:
> 1. I am still a Linux newbie.  Most of the install issues, both with
> the OS and with applications, have been taken care of for me with the
> slick install wizard and the RPM-based installations.  How much of a
> learning curve would one be faced with from Fedora to Debian?

The new debian-installer for sarge is very good.  You shouldn't have any
trouble setting up the base system.  After than, aptitude will make life
easier than it's ever been installing the rest of the system.  The
"difficult" things, such as configuring servers, etc, will remain the
same on both distros.  The simple things, such as installing packages,
will be different, but once you learn how it works, I think you'll find
the Debian way is much easier and better.

When you get stuck, there is good support available here in the
debian-user list (and the list archives).

> 2. I have been reading two books, "Linux Pocket Guide," by O'Reilly,
> and "Beginning Linux Programming," by Wrox.  Both tend to stress Red
> Hat and Fedora.  Will these books still be of use to me on Debian?

Probably.  I haven't read those books.  In the past, Red Hat has been
more popular among the general public than Debian, mainly because of
marketing.  I anticipate that Ubuntu - which is derived from and
cooperates with Debian - is going to become the most popular
distribution due to its quality and unusual marketing techniques (!),
and that some people will drift to Debian from Ubuntu when they become
more experienced.

Linux distributions have far more in common than differences.

> 3. My primary machine is a laptop (Toshiba 5005-S507).  Most of the
> info I can find on Google, pertaining to laptops, is for Fedora or
> Mandrake.  How well does Debian handle laptops?  Any URLs would be
> GREATLY appreciated.

Debian will work with all the same hardware as the other distributions
do.  Hardware autodetection is quite good now.  If it fails to detect
some of your hardware, it won't be too hard to sort out.

> 4. My second biggest problem on Fedora was/is wireless support.  I am
> currently using FC2 with Linuxant's DriverLoader software on my
> Linksys WPC54G PCMCIA NIC.  Be honest; am I going to be crying if I
> try to set this up?

no idea.  But people discuss wireless setup issues on the list and seem
to get the help they need.

As far as I know, Debian works fine with apci.

> Thanks, in advance, to anyone who chooses to respond.  Again, I have
> tried looking, but keep coming up with tons of info for Fedora and
> Mandrake.  Any advice would be greatly appreciated.

I recently went to a linux users meeting in Melbourne, and a guy who
works for or supports red hat asked for a show of hands - who uses which
distribution.  The balance was _overwhelmingly_ in favor of Debian,
which I thought was amusing.  This was a sample of experienced people,
not a sample of the entire linux-using population.

If you want to find debian-specific info, try searching google with:

  site:www.debian.org 

and:

  site:lists.debian.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Linux Functionality?

2004-12-25 Thread Sam Watkins
On Sat, Dec 25, 2004 at 08:33:50PM -0500, Curt Howland wrote:
> I view/listen all kinds of multimedia, but don't expect to get 
> entirely away from the megahertz requirements. While Linux is much 
> more resource friendly than Windows, movies still require at least 
> 800MHz to be viewable while doing anything else at the same time.

It depends what type of movies.  Normal not-too-big mpeg movies work
fine on a 200Mhz pentium mmx.  mpeg4 / divx / dvd movies may require a
faster machine.

> There is no functionality of Windows that is not equaled or bettered 
> in Debian Linux.

The only important thing Windows does better than Debian is implementing
the win32 platform.  Unfortunately there is some good software that some
people find necessary that runs on Windows and won't run under wine.  I
imagine business people with custom applications may find this a
compelling reason to stay with windows.

The are plenty of things that windows apparently does better than
Debian.  But in my opinion there are vastly, overwhelmingly more things
that Debian does better than windows (the things that I think matter).

For example, windows XP and Max OS X have a user-interface for switching
between multiples users' desktops.  We don't have such an interface in
Debian / under X as far as I know, but it possible to do the same sort
of thing from the command line, it's just that no one has gone to the
trouble to make a "click-and-drool" way to do this yet ;)

On the other hand, one thing that Debian does right, and windows doesn't
(or at least, hasn't in the past), is that if you download a program
from the web or receive it through email, your computer will refuse to
execute it until you explicitly give it "execute permission".  This
makes it impossible to accidentally get a virus while reading your
email.  Another thing is "rebooting" - in Debian when you install new
software, you never have to reboot the machine (unless you have
installed a new kernel).  You can even install new device drivers
without rebooting.

The fact is that all the software in Debian is designed to be good
useful software rather than to make money off you, or spy on you, or
whatever.  Whenever I am forced to use a windoze box these days I
experience almost constant fraustration.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: oops, I broke something :)

2004-12-25 Thread Sam Watkins
On Sat, Dec 25, 2004 at 05:29:41PM -0500, dorn hetzel wrote:
> I installed GCC 3.4.3 to fix problems compiling
> some software, and then got into conflicts with
> different versions of the C libraries (or at 
> least that's what I think went wrong).

I've got both gcc-3.3.5 and gcc-3.4.4 installed (using apt-get), and I
don't think I have any problems with libraries.  I suggest you reinstall
whatever libraries you removed and then we can try to work out what the
problem was with that.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Startinf fvwm

2004-12-25 Thread Sam Watkins
On Dec 26 2004, Sam Watkins wrote:
> I do it the second way (more or less).  If you start X with "startx" you
> need to call the script ~/.xinitrc, if you use a display manager (gdm,
> xdm or kdm) you need to call it ~/.xsession

On Sat, Dec 25, 2004 at 11:09:27PM -0200, Rog?rio Brito wrote:
> I usually start X with "startx" (I don't like to use display managers) and
> I only have an ~/.xsession script, not an ~/.xinitrc script.
> 
> The funny thing is that with some other Unices that I've tried (indeed, it
> was quite long ago), the way that X worked was the way that you described.

funnily enough it _still_ works the way I described
(at least on my box!)  Maybe your box is set up differently.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Startinf fvwm

2004-12-25 Thread Sam Watkins
On Sat, Dec 25, 2004 at 08:02:48AM -0800, alireza faryar wrote:
> When I run fvwm, it complains that can't open display.
> What am I missing,

X !!

You can't run fvwm from the Linux console, you have to start X first,
and then fvwm.  There are several ways to make sure fvwm gets run
automatically when you start X:

 configure it as your "x-window-manager" with update-alternatives:

   update-alternatives --config x-window-manager

 hard-code it into a ~/.xinitrc or ~/.xsession script, e.g.:

xset b 5 100 100
xrdb -merge ~/.Xdefaults
xsetroot -solid black
xterm -bw 0 -geometry 1014x100+0+690 &
unclutter &
fvwm2

I do it the second way (more or less).  If you start X with "startx" you
need to call the script ~/.xinitrc, if you use a display manager (gdm,
xdm or kdm) you need to call it ~/.xsession


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Nothing from list for two days -SOLVED

2004-12-25 Thread Sam Watkins
On Sat, Dec 25, 2004 at 02:52:17PM +, Anthony Campbell wrote:
> I decided to unsubscribe and subscribe again to see if it would help. I
> then found that I had some how become unsubscribed without my knowledge,
> so I subscribed and am now getting mail from the list again. No idea how
> that could have happened.

The only thing I can think of is if you have been on "vacation" and have
been running a program to mail people who contact you telling them you
are on vacation, and that program has been spamming the list, then I
or someone else probably unsubscribed you.  (by sending a message
pretending to be from you to the unsubscribe service, to which your
broken vacation program would have replied, thus unsubscribing you!)
We have done this to one or two people recently due to the annoyance of
receiving such messages every time we post.  I don't remember if you
were on vacation though.

:)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: PPP ip-up and firestarter

2004-12-25 Thread Sam Watkins
On Sat, Dec 25, 2004 at 06:04:01AM -0800, Jedi Knight wrote:
> Anyway, whenever I get connected to my ISP, I get the
> message that the ip-up script has started and a little
> while later, that it has finished. However, If I check
> iptables -L, there's no rules at all.

For starters, I'd change /etc/init.d/firestarter so that right at the
start, it creates a file or something so that you can check whether it's
really running or not.  If it is, try the #!/bin/bash -x option to trace
what it's doing.  If it isn't, try the same debugging technique on the
script that is supposed to be invoking firestarter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: no kdm after upgrade to sarge

2004-12-25 Thread Sam Watkins
On Sat, Dec 25, 2004 at 04:56:05PM +0800, [EMAIL PROTECTED] wrote:
> My system cannot go into kdm after I upgraded from 'stable' to 'testing'.

do you have the "kdm" package installed?  what about the "kde-core" and
"kde" packages?

does /etc/init.d/kdm start work?

> After what seems like ages following login, gnome screen appears.

do you mean you logged in in gdm or xdm?

> Windows can be opened but not sized or moved about.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Linspire -> Devian ?

2004-12-24 Thread Sam Watkins
On Fri, Dec 24, 2004 at 11:56:16PM -0500, stan wrote:
> Would I be beter off wiping and doing a complet reinstall, or perhaps
> doing an apt-ge dist-upgrade?

My opinion is that you would be better off with Debian Sarge or Ubuntu.
If the end-user of the computer is not very experienced, try Ubuntu.

I highly doubt that apt-get will be able to upgrade the box to use
Debian instead of Lindows.  Debian derived distros are usually not
sufficiently close to Debian for this to work.  It might be possible
with a lot of help, but it would be much easier to reinstall and you'll
have to download all the packages again anyway.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Installing all available packages in sarge (testing)

2004-12-24 Thread Sam Watkins
On Fri, Dec 24, 2004 at 08:35:30PM -0800, cfk wrote:
> To see what happens. How do you do it.

apt-get install '.*'

  (this won't work, it will output a great list of conflicts - it's
  worth reading that list of conflicts to get an idea of the magnitude
  of what you are proprosing to do.)

If you really want to install everything, use aptitude and go to the
group line that says "Not installed packages" and press "+".  Then fix the
broken packages.  Maybe you can do this in synaptic too.  I haven't
tried this, probably aptitude will grind to a halt or spit the dummy or
something if you do.

Carl is right, installing everything is not a good idea, because:

1. Sorting out the conflicts will be a nightmare.
2. Having so many packages installed is unnecessary and unmanagable.
It is much better to install only what you want, when you need it, and
to use something like aptitude or debfoster to distinguish packages you
actually requested from those that were installed automatically.
3. It will download about 10 gigabytes of packages, which will take a
   long time.
4. It will use 33 gigabytes of disk space.

People tend to collect software, but in the free software world you
don't have to, because it will always be there waiting for you to
install it when you need it.

If you really want all the software to be available when you need it,
you could make a local mirror.  That way apt-get will be able to install
things quickly, without having to download them.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Newbie Xserver problem with ATI Mach64 and Woody

2004-12-24 Thread Sam Watkins
On Fri, Dec 24, 2004 at 07:12:17PM -0800, Syed Huq wrote:
> It Worked !!
> Downloaded the xserver-mach4 using apt.
> 
> Last question, how do I toggle between the various resolution modes.
> Right now, it's set to 640X480 and I want to toggle to the 1024X768

1. make sure the right resolutions are listed in your
/etc/X11/XF86Config-4 file, in the "Screen" section you should have
something like this for each colour depth:

SubSection "Display"
Depth   16
Modes   "1024x768" "800x600" "640x480"
EndSubSection

your preferred resolution should come first.

2. start X, it should come up in 1024x768.  if not, your video card or
monitor frequencies aren't configured right

3. you can zoom in and out with ctrl-alt-keypad_plus and
ctrl-alt-keypad_minus.  This isn't proper resizing, though.

4. there is a program called "xrandr" which can resize the display
properly, and even rotate it, I can't get it to work at the moment.

I think there's some GUI to do it in gnome too.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-build.conf

2004-12-24 Thread Sam Watkins
On Fri, Dec 24, 2004 at 05:30:39PM -0800, cfk wrote:
>   I did an apt-get of apt-build and it appears I need to create an
> apt-build.list. Can someone tell me what should be in this file please.

take (another) look at that new article on apt-build:

http://julien.danjou.info/article-apt-build.html

it contains an awk script to make your apt-build.list file:

dpkg --get-selections |
awk '{if ($2 == "install") print $1}' > /etc/apt/apt-build.list

It also mentions you should read README.Debian first, and remove certain
packages from the list (gcc, libc6).

apparently apt-build.list should contain a list of all packages you want
apt-build world to build.  I'd try it with a small world for a start
(e.g. sl, cowsay) before trusting it to rebuild my whole system.

good luck with your search for knowledge!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mozilla (sid) installation needs jdk118

2004-12-24 Thread Sam Watkins
On Fri, Dec 24, 2004 at 06:39:41PM -0800, cfk wrote:
>   I'm trying to get jdk downloaded to satisfy a couple of apt-get demands 
> with 
> sid. I keep getting the message with mozilla (and a couple of other java 
> dependent programs) pointing me at www.ibm.com/java/jdk/118/linux to obtain 
> the file "ibm-jdk-l118-linux-x86.tgz" and it into /tmp to continue with an 
> installation.

Do you really want the ibm jdk?  The blackdown java 2 sdk is more likely
to be what you need.

Put this in your sources.list and install j2sdk1.4

  deb http://ftp.au.debian.org/pub/java-linux/debian unstable non-free

There are several alternatives for java on linux, this is the one I use.
Google debian java faq if you want more info.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [CVS] Merging external snapshot to local repository

2004-12-23 Thread Sam Watkins
On Fri, Dec 24, 2004 at 04:47:53AM +0100, Mateusz ?oskot wrote:
> I'm running Debian and looking for some tools and solutions
> which could help me with merging external snapshot of some project
> into my own local version of it in the CVS repository.

There is a progam called cvsup, http://www.cvsup.org/,
maybe this is what you need.

For some reason it isn't in Debian,
http://lists.debian.org/debian-devel/1999/04/msg01587.html
has a link to some .debs


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Synchronize two servers (warm backup)

2004-12-23 Thread Sam Watkins
On Thu, Dec 23, 2004 at 08:46:26PM -0500, Carl Fink wrote:
> Hi.
> 
> I'm in the process of setting up a warm backup for a server I run.  I was in
> the middle of hacking together scripts to keep them in sync, but then it
> came to me:  what if Debian has a package that does that *for* me?
> 
> So does it? 

apt-cache search sync turned up:

  drsync tra unison

there may be some I missed

I haven't tried these, although I have a similar need.  Maybe I should!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: gcc with Debian on amd64

2004-12-23 Thread Sam Watkins


On Thu, Dec 23, 2004 at 09:22:33PM -0600, Michael Madden wrote:
> [EMAIL PROTECTED]:~$ gcc -o hello hello.c
> hello.c:1:19: stdio.h: No such file or directory

install "build-essential", and "devscripts" if you want to be able to
build debian packages.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cron.daily, howto control mailed reports

2004-12-23 Thread Sam Watkins
On Fri, Dec 24, 2004 at 02:22:10AM +, Joao Clemente wrote:
> Why do I receive daily reports (in my mail system) from this particular 
> script being runned, but not from other also existant in /etc/cron.daily?

If any cron script outputs anything on stdout or stderr, the output is
emailed to you (according to MAILTO).  The standard cron scripts don't
output anything unless something goes wrong (e.g. you type killall
updatedb while it's running).  Your ntp script will output stuff even
when it goes right, hence the message.

You should do something like:

  ntpdate -s pool.ntp.org

the -s puts the messages in syslog instead of stdout,
to quote the manpage, "primarily for convenience of cron scripts"

(speaking of which, my ntpdate script obviously isn't working,
my clock was wrong again!)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sarge not showing all RAM

2004-12-23 Thread Sam Watkins
JerryN wrote:
>Intriguing!  So many words in this track being said but nothing really
>of any value whatever...

we need a global "jerk database" for people like this


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get autoclean

2004-12-23 Thread Sam Watkins
ok, I'll quit saying "I want" and write it :)

here is a slow perl version:

  http://nipl.net/hacks/apt-clean.pl

and the fast version which you won't be able to build as it uses some
libraries and stuff that I'm too lazy to post yet:

  http://nipl.net/hacks/apt-clean.bb
  http://nipl.net/hacks/apt-clean.cc
  http://nipl.net/hacks/apt-clean (i386 elf)

The thing removes all the archives for packages I have already
installed, but not those I haven't installed.

I wrote the fast version in C++ using my pythonesque preprocessor
"brace".  I haven't published that yet, there's still a bit to do.
My C++ is terrible.  Or maybe C++ is terrible in general :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sarge not showing all RAM

2004-12-23 Thread Sam Watkins
On Thu, Dec 23, 2004 at 07:36:51PM +, Dave Ewart wrote:
> > As I understand it, the 686 is only for Pentium 4's.  I've seen
> > several emails about that.  
> 
> 686 is for any Pentium-based system and above, not just P4.  Unless your
> system is *very* old, a 686 kernel should be OK.

686 is for pentium II and above


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Noninteractive "apt-get upgrade "question.

2004-12-23 Thread Sam Watkins
On Thu, Dec 23, 2004 at 10:26:56AM -0500, Wayne Topa wrote:
> Sam Watkins([EMAIL PROTECTED]) is reported to have said:
> > I just noticed there are some dpkg options that cause it not to ask
> > these questions.
> > 
> >   --force-confold and --force-confnew
> > 
> > I wouldn't use --force-confnew, but --force-confold looks good.  One
> > could then merge the config files as a separate task, like gentoo's
> > dispatch-conf, as the new config files would be available as
> > /etc/foo.dpkg-new or /etc/foo.dpkg-dist or something.
> > 
> > You can apparently set this option permanently in /etc/dpkg/dpkg.cfg
> > by adding a line:
> > 
> 
> Humm.  I don't seem to have a /etc/dpkg/dpkg.cfg on my
> testing/unstable box.

I do (using sid).  If its not there you will have to create it.
Here's what's in mine:

# dpkg configuration file
#
# This file can contain default options for dpkg. All commandline
# options are allowed. Values can be specific by putting them after
# the option, seperated by whitespace and/or an `=' sign.
#
no-debsig

I'd skip the "force-overwrite" option from the example!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sarge not showing all RAM

2004-12-23 Thread Sam Watkins
On Thu, Dec 23, 2004 at 08:22:45AM -0500, JerryN wrote:
> Which kernels for a 386 would be 4GB enabled?

I don't think any of the default debian kernels are 4GB enabled,
are they?  Their package names don't mention it, anyway.  You may have
to build your own.  Is there someplace to download highmem kernels
packaged for Debian?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Noninteractive "apt-get upgrade "question.

2004-12-23 Thread Sam Watkins
On Sat, Dec 18, 2004 at 02:57:53AM +1100, Sam Watkins wrote:
> On Mon, Dec 20, 2004 at 05:31:32PM +1100, Ivan Teliatnikov wrote:
> > What is the best way to "apt-get update" a classroom full of debian
> > sarge machines. 
> > 
> > I tired using
> > 
> > apt-get update
> > DEBIAN_FRONTEND=noninteractive apt-get -uy dist-upgrade
> > 
> > Nevertheless I was asked some questions as follows:
> > 
> > Configuration file `/etc/profile'
> >  ==> Modified (by you or by a script) since installation.
> >  ==> Package distributor has shipped an updated version.
> >What would you like to do about it ?
> 
> If you're sure these are the only sort of question you'll get, which
> seems likely, then this should work:
> 
> yes n | apt-get update DEBIAN_FRONTEND=noninteractive apt-get -uy dist-upgrade

I just noticed there are some dpkg options that cause it not to ask
these questions.

  --force-confold and --force-confnew

I wouldn't use --force-confnew, but --force-confold looks good.  One
could then merge the config files as a separate task, like gentoo's
dispatch-conf, as the new config files would be available as
/etc/foo.dpkg-new or /etc/foo.dpkg-dist or something.

You can apparently set this option permanently in /etc/dpkg/dpkg.cfg
by adding a line:

  force-confold


this is certainly an improvement on my last suggestion, if it works!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ugrading just 1 Distribution in Debian howto

2004-12-23 Thread Sam Watkins
On Thu, Dec 23, 2004 at 06:15:36PM +0530, Siju George wrote:
> So I went to the subversion mailinglist and posted this problem and
> they gave me two urls which I added into my source list
> ---
> deb http://gulus.usherbrooke.ca/debian/ stable main contrib non-free
> deb http://gulus.usherbrooke.ca/debian-non-US/ stable/non-US main
> contrib non-free
> ---
> 
> and when I give 
> 
> #apt-get install subversion
> 
> debian says "I have the latest version installed already?

did you run `apt-get update` first?

> The problem is I don't know how to compile from source :))

well, it's a useful thing to know!

download some .tgz source program, and read the INSTALL file in it.

The basic general thing to do is:

tar xzf foo.tgz
cd foo
./configure
make
make install


That will usually put the program in /usr/local.

If the program you want to build is in Debian already, you can use
apt-get source foo, and debuild from the devscripts package, or use
apt-build.  I don't know about installing something from a different
release though.

I just read an article about apt-build, it looks really good,
check it out :)

  http://julien.danjou.info/article-apt-build.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Article about apt-build

2004-12-23 Thread Sam Watkins
On Wed, Dec 22, 2004 at 08:52:58PM +0100, Julien Danjou wrote:
> I have translated a french article about apt-build. This is a quick
> introduction about its usage.
> I hope this could help some people to use this software and to make it
> better by sending patches, for example. :-)

Julien, thanks very much for your translation.  I had not used apt-build
before.  Being able to automatically install build dependencies will be
very useful.

I often want to "tweak" software, either the configuration or the code,
apt-build will make it a lot easier to do that.

I thought gentoo was pretty good, until I discovered they don't actually
distribute any binary packages!  Their build system supports generating
binary packages, but there is no public binary distribution.

There are still some things about gentoo that I like, for example their
init scripts system, but on a system with limited resources, portage
uses too much disc.

One thing I would really like is a system that updates source packages
differentially from an arch or subversion repository, so that if someone
changes a couple of lines in mozilla I don't have to download the whole
package over again.  An rsyncable source tree would be another
possibility.  If make actually did what it's supposed to do (and people
used it right) we could theoretically rebuild just the changed bits of
packages too.

One could also do differential syncing for binary packages, but it would
be less effective.  We could definitely do it for package lists!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get autoclean

2004-12-23 Thread Sam Watkins
On Thu, Dec 23, 2004 at 11:18:24PM +1100, Robert Parker wrote:
> > Speaking of "apt-get autoclean", I think it would be nice to have an
> > option that does what autoclean does, but also deletes any packages that
> > have been installed on your computer.  If it's installed ok already, we
> > don't need the archive, right?
> 
> If you want to use jigdo to keep your install isos up to date maybe you do 
> want to keep that stuff until yo've built the new isos at least.

"maybe" being the operative word.  I was talking about an option /
feature, not a compusory thing.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Rotating mail.log

2004-12-23 Thread Sam Watkins
On Thu, Dec 23, 2004 at 11:56:42AM +, Antony Gelberg wrote:
> Perhaps I didn't explain properly.  I know cron is running (ps ax | grep 
> cron), but don't know how to check if it's doing what it's supposed to.

Apparently something's not doing what it's supposed to do if your logs
aren't getting rotated.

You can check if cron is doing anything by creating a new cron job that
echos some text or creates a file or something, using `crontab -e`

Man crontab(5) and crontab(1) if you don't know how to use it.

Or alternatively, put an executable script of your own in
/etc/cron.hourly or /etc/cron.daily and wait and see if it gets run.

What happens if you run the cron scripts directly?
(this checks the other side of the problem)

  /etc/cron.daily/sysklogd
  /etc/cron.weekly/sysklogd  (this is the one that should rotating
 mail.log)
  /etc/cron.daily/logrotate


if they don't work, try to take the script apart and find out why they
don't work.


good luck, let's know if you need any more help.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: My Keyboard layout change when shutting down

2004-12-23 Thread Sam Watkins
On Thu, Dec 23, 2004 at 10:38:56AM +0100, Ngawang Dorjee Gelek wrote:
> My Keyboard layout change when shutting down.
> I use swedish, 105 keys but when i restart I cant write ?, ? and ? and 
> the layout then is 104 keys but still swedish.

Are you talking about the keyboard layout in X?

> If anything else doent work... Can I find someone that can write a 
> startup-script that changes the keyboard layout automatic?

sure.

setxkbmap -model pc105 -layout se -option ""

If you put that in your .xinitrc or .Xsession file,
I suppose it should work.

There is some doc on this in /usr/X11R6/lib/X11/xkb/README.config,
which is certainly a strange place to have documentation!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Need help mounting an LVM partition in fstab...

2004-12-23 Thread Sam Watkins
On Wed, Dec 22, 2004 at 10:44:22PM -0600, Andrew Konosky wrote:
> I have both Debian 3.1 and Fedora Core 3 on this computer, and FC3 is
> using an LVM filesystem. I can mount my Debian filesystem in Fedora
> because it is a simple ext2 partition, but in Debian, I am not sure
> how to mount my Fedora filesystem. It is on /dev/hdb2, which is a 74gb
> physical volume in /dev/VolGroup00/LogVol00.
> 
> How can I mount this automatically through fstab?

Does your volume show up in /dev/VolGroup00/LogVol00 already?

If not, you need to load the appropriate modules, which I forget what
they are (lvm or lvm2 and device-mapper, maybe)

Then make a mount point, mkdir /fedora, and add to /etc/fstab:

/dev/hda1   /fedora ext3 defaults   0   2

or whatever filesystem you're using.

mount -a should mount it, and it will mount on boot.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Script to build system information. Guru needed :)

2004-12-23 Thread Sam Watkins
On Wed, Dec 22, 2004 at 02:13:43PM -0800, Karsten M. Self wrote:
> There's also a Debian package, IIRC 'si', which gleans data out of /proc
> and other sources.

There's a package called "hardinfo", is that what you meant?

Karsten's script is available at Rick Moan's very helpful linuxmafia
site, which has a great linux knowledgebase too.

  http://www.linuxmafia.com/pub/hardware/system-info
  http://www.linuxmafia.com/kb/

Apropos of nothing, can I recommend anyone who doesn't already use
"wondershaper" to check it out (it's in debian).  Wondershaper is a
fantastic traffic shaping script for making your network connection much
more responsive, you can use ssh or browse the web while uploading and
downloading and it's still responsive.  I don't know how I lived without
it :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound problem.

2004-12-23 Thread Sam Watkins
On Wed, Dec 22, 2004 at 09:51:27PM +0100, Richard Kemp wrote:
> I tested all outplug of xmms :
> OSS ... doesn't work
> ALSA ... doesn't work
> eSound  work ..
> 
> why eSound works and alsa doesn't and what it is ?

I think esound is the "elightened sound daemon", esd, which provides
sound mixing services, basically.  I suppose if esd is running, other
apps can't bind directly to /dev/dsp but have to go through esd.

my box doesn't have sound working at the moment, so I'm just remembering
this stuff, I may be up the creek.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Umask 002 policy

2004-12-23 Thread Sam Watkins
On Wed, Dec 22, 2004 at 10:54:29PM +, Clive Menzies wrote:
> However, I personally did chmod -R 770 on the basis that there aren't
> usually executables in people's data files (at least not the users I'm
> catering for).  Nevetheless I can see the desirability of eliminating
> the possibility of malicious scripts being executed.

aargh!  don't do that!  the x bit is your friend!  you can use David's
script to fix the damage.

Why do you think email viruses are so common on windoze?  it's because
they don't have an x bit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt-get autoclean

2004-12-23 Thread Sam Watkins
On Wed, Dec 22, 2004 at 01:18:38PM -0600, Kent West wrote:
> Ah! That'll definitely cause problems. I would recommend running 
> "apt-get autoclean".

Speaking of "apt-get autoclean", I think it would be nice to have an
option that does what autoclean does, but also deletes any packages that
have been installed on your computer.  If it's installed ok already, we
don't need the archive, right?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ALSA mixer does not unmute the volume

2004-12-23 Thread Sam Watkins
On Wed, Dec 22, 2004 at 07:01:29PM +0100, Bob Alexander wrote:
> Each time I reboot and login as bob I must manually launch alsamixer and 
> press M to unmute the main volume.
> 
> Why doesn't this get "remembered" across reboots ?

There is a gorgeous little program called "setmixer" that I use to set
the mixer from the console, and it runs an init script too.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mastering the console & gpm mouse management

2004-12-23 Thread Sam Watkins
I use "screen" for cut and paste in a terminal.

I wrote a front-end to screen called "splish" which makes it much easier
to switch between screens, and does other stuff, I get a splish prompt
instead of a bash prompt when I log in / open an xterm.

  http://nipl.net/hacks/splish

In screen ^A^[ puts you into "cut mode", where you can search through
the terminal output with ? and /, and mark the start and end of a
selection with ' ';  and ^A^] pastes.

I changed my screen escape character from ^A to ^J as ^A is
used by readline, but ^J normally just has the same effect as pressing
enter.  (except in emacs, which I don't use in a terminal)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Rotating mail.log

2004-12-22 Thread Sam Watkins
On Mon, Dec 20, 2004 at 02:42:36PM +, Antony Gelberg wrote:
>My server just ran out of space due to mail.log and mail.info getting 
>massive.  I have run syslogd-listfiles --weekly, and both files are 
>listed in the output.  Any ideas on how I can debug this?  (Please CC 
>me, I'm not subscribed.)

check this out if you want to rotate your mail logs daily:

  http://lists.debian.org/debian-isp/2004/05/msg00136.htmlo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: dnsmasq help needed

2004-12-22 Thread Sam Watkins
you can watch the TTL dropping by typing repeatedly:

  dig www.apple.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: dnsmasq help needed

2004-12-22 Thread Sam Watkins
On Mon, Dec 20, 2004 at 12:24:31PM +0100, Bob Alexander wrote:
> using tcpdump I see that Intranet queries are resolved on my localhost 
> by the installed dnsmasq daemon (e.g. w3.ibm.com) while external sites 
> (e.g. www.apple.com) are always sent to the first upstream DNS each time.

www.apple.com has a 50 second DNS timeout (TTL).  It is cached by
dnsmasq, but only for 50 seconds.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Replacing Dying Harddisk (ReiserFS)

2004-12-22 Thread Sam Watkins
On Tue, Dec 21, 2004 at 04:15:22PM -0600, Ron Johnson wrote:
> The issue is that links are automagically updated by the cp command.

Ron, can you give an example of this, with ls -l output,
I've never experienced this & don't understand what you mean.

thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Replacing Dying Harddisk (ReiserFS)

2004-12-22 Thread Sam Watkins
On Tue, Dec 21, 2004 at 02:32:13PM -0500, Mason Loring Bliss wrote:
> On Sun, Dec 19, 2004 at 09:41:40PM +0800, Robert Vangel wrote:
> 
> > have both drives in, boot with rescue cd, then
> > 
> > cp -a /mnt/hda/* /mnt/hda.new/
> 
> Ew. Splitting hard links is a bad thing.

doesn't cp -a preserve hard links?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Old Release

2004-12-21 Thread Sam Watkins
On Mon, Dec 20, 2004 at 11:53:35PM +0700, Muhammad Reza wrote:
> how do i upgrade my package, (ex:KDE), should i switch my source to 
> debian package repository ? and if yes, what repository should i use ?

If you have broadband, or are prepared to wait for a while, you can
update to testing (sarge) over the internet, or else you can reinstall using
debian-installer (http://www.debian.org/devel/debian-installer/ ;
I recommend to use the netinst CD image method)

If you want to upgrade over the net, the official doc on upgrading is at
http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#s-upgrade-process

This is talking about upgrading from potato to woody, but the process is
essentially the same.


here is my summary:

First, edit your /etc/apt/sources.list file so it looks like this:

deb http://mirrors.chipset.or.id/debian/ sarge main contrib non-free
deb http://mirrors.chipset.or.id/debian/ sarge/non-US main contrib non-free

deb-src http://mirrors.chipset.or.id/debian/ sarge main contrib non-free
deb-src http://mirrors.chipset.or.id/debian/ sarge/non-US main contrib non-free

If you don't want to install source, comment out the deb-src lines, and this
will save time when updating your package lists.

If you don't want to install any non-free packages, or contrib packages (ones
that depend on non-free software), remove those words from the end of each
line.

Are you in Indonesia?  I chose a mirror for you in Indonesia, you can try a
different one if this one is slow, see http://www.debian.org/mirror/list for a
list.  For each mirror in the list, there should be two hyperlinks (if there
aren't, don't use it!), one for "debian" and one for "debian-non-US".  You can
"copy link location" to paste them into your editor, e.g. if you wanted to use
the first japanese mirror, and no non-free or contrib packages, and no source
packages lists, you would have:

deb http://ftp.jp.debian.org/debian/ sarge main
deb http://ftp.jp.debian.org/debian-non-US/ sarge/non-US main

#deb-src http://ftp.jp.debian.org/debian/ sarge main
#deb-src http://ftp.jp.debian.org/debian-non-US/ sarge/non-US main

does that make sense?


Once you've chosen a mirror and written your /etc/apt/sources.list,
type the following:

apt-get update
apt-get install apt  # the upgrade might go better with a smarter apt
apt-get dist-upgrade

Hopefully everything will go well and you will end up with a sarge system - if
apt-get update gave errors it probably means you typed something wrong in the
config file.

You can then run "aptitude" or "synaptic" if you want to select more packages,
or just keep using apt-get.

If you want to upgrade to "sid" (unstable), just put "sid" instead of "sarge"
everywhere in your sources.list.  If you're running unstable (the cutting
edge!) I recommend that after you're set up, you only upgrade packages you
specifically want to upgrade, not every package every few days, else you'll
probably experience some bugs (and a lot of network traffic).

That's the other thing with unstable, you will have to download more to keep up
with it.  I recommend to try testing first and see if that does what you want.


good-luck


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: What files in /etc must be writable?

2004-12-20 Thread Sam Watkins
On Mon, Dec 20, 2004 at 03:24:27AM -0500, William Ballard wrote:
> However, the liveCD had errors during boot, because some files 
> apparently have to be writeable during boot.  For example, I guess, 
> /etc/mtab.  Does /etc/fstab have to be writeable?   What other files 
> need to be writeable?

/etc/fstab isn't updated during boot

You can find out which /etc files are touched during boot by taking a
look at the `date`, then booting, then typing:

ls -ltc /etc | less

This shows the last time each file (or its inode) was modified, sorted
most recently modified first.  If you want to check just for file
modification, `ls -lt` will do that.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Noninteractive "apt-get upgrade "question.

2004-12-20 Thread Sam Watkins
On Mon, Dec 20, 2004 at 05:31:32PM +1100, Ivan Teliatnikov wrote:
> What is the best way to "apt-get update" a classroom full of debian
> sarge machines. 
> 
> I tired using
> 
> apt-get update
> DEBIAN_FRONTEND=noninteractive apt-get -uy dist-upgrade
> 
> Nevertheless I was asked some questions as follows:
> 
> Configuration file `/etc/profile'
>  ==> Modified (by you or by a script) since installation.
>  ==> Package distributor has shipped an updated version.
>What would you like to do about it ?

If you're sure these are the only sort of question you'll get, which
seems likely, then this should work:

yes n | apt-get update DEBIAN_FRONTEND=noninteractive apt-get -uy dist-upgrade

This is really dodgy though.  There should be an option to configure
this.  I might look at it a bit more and write a patch or something.

The package maintainer's new config file will still be saved (as
/etc/foo.dpkg-new or something like that), so you can look for such
files after an upgrade (with a script) and update the config files if
necessary.

You can manage configuration files for a whole network centrally
using cfengine2.  (I haven't used this package yet, but it sounds good.)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: crontab uid ?

2004-12-20 Thread Sam Watkins
On Mon, Dec 20, 2004 at 06:54:01AM -0500, Kevin Coyner wrote:
>/usr/bin/br: error: [Input/output error] ioctl

if you're not sure what user it's running as, try running "whoami" in
the crontab.  although if it's root's crontab it should definitely be
running as root.

I assume if you run this progam yourself it doesn't give that error.

Trying putting "strace -f br" or "ltrace -Sf br" instead of "br" in cron
and see what it's doing when it fails.  (you'll need the strace and
ltrace packages respectively)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT], Database Comparer

2004-12-19 Thread Sam Watkins
I've been given permission to release this package dbischema under the
GPL, I'll tidy it up a bit and post in on my website in a few days.

Sam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: starting x

2004-12-19 Thread Sam Watkins
On Sun, Dec 19, 2004 at 12:18:14PM +0100, Sebastian Kapfer wrote:
> Since you're into KDE, I suggest kdm.  Though, being a GNOME geek, I
> also have to point out that GDM is much better ;-)

maybe we need an uber-display manager that lets the user choose what
display manager they want to use before entering the login ;)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: (more) the coffee house broke my auto

2004-12-19 Thread Sam Watkins
On Sat, Dec 18, 2004 at 11:56:25PM -0500, Emma Jane Hogbin wrote:
> ifconfig
>   eth1 Link encap: Ethernet HWaddr 00:02:2D:56:0C:29
>   inet addr: 192.168.1.101 Bcast: 192.168.1.255 Mask: 255.255.255.0
>   UP BROADCAST RUNNING MULTICAST MUT:1500 Metric:1
> 
> route -n
>  Destination  Gateway  GenmaskFlags  Metric  Ref  Use  Iface
>  192.168.1.0  0.0.0.0  255.255.255.0  U  0   00eth1 
>  0.0.0.0  192.168.1.1  0.0.0.0UG 0   00eth1 

This all looks right.  Is the IP address of your gateway actually
192.168.1.1?  I suppose it must be.

What happens if you type:

  ping 216.239.63.104

(that's www.google.com 's IP address)

If that works, but ping www.google.com doesn't, it's your name service
that isn't working (/etc/resolv.conf is wrong).  In that case, copy
across /etc/resolv.conf from the gateway.  This should be right though,
dhcp should set it up.

Other than that, all else I can think of is that masquerading has
stopped working on your gateway, but that's unlikely since it's the
laptop that must have changed at the cafe or whatever.

Did you say whether you are using cables or wireless at home?

I'm installing sarge on my laptop at the moment (I had been playing with
gentoo, it has some nice ideas, but I miss Debian!)  I'm using possibly
the most weird partitioning scheme ever...  well, certainly the weirdest
I've tried.  I'll post about it if it works!  :)  and then you can all
tell me how I _should_ have done it :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Server Security

2004-12-19 Thread Sam Watkins
On Sun, Dec 19, 2004 at 09:29:28AM +, Dave Ewart wrote:
> On Sunday, 19.12.2004 at 09:16 +, Jeffrin Thalakkottoor wrote:
> > How To Configure It On The Server Side ...
> > 
> > Configure The Server That A File On The Server Can
> > Only Be Viewed But Not Downloaded.
> 
> In order to 'view' you *have* to have already downloaded the file.  What
> you suggest cannot be done.

Realplayer seems to do this quite effectively (at least to stop the
average person being able to download it without special tools).
It would be possible to create a similar system for texual information.
With the assistance of a sufficiently evil OS and browser, or a weird
animation technique, you could probably even prevent the user capturing
an image of the media - but they could still run their monitor lead
through a video recorder.  Or point a camera at the screen.

Some people write javascript code the disables the right button (with
save as) in IE, and pops up a message "you can't download this!".  But
of course if you disable javascript or use a decent browser you can.

Sorry to say I'm firmly on the side of the user who wants to download
content rather than the media provider who wants to protect their
copyright and build their profits - but maybe your application is
different?  What sort of files do you want to protect?

Another technique is to display the file bit-by-bit, possibly using
scripts or images, so that they would have to suffer a lot of work, or
be a really good programmer, to be able to snarf it.  O'reilly does
something like this with their online bookshelf "safari" thing, it makes
the thing almost unusable and incredibly annoying.  They have the worst
content / megabytes ratio of any website I've ever seen, their hmtl is
horrible.

so in summary you can't just "configure" this sort of thing with today's
internet servers - although microsoft is working toward it with their
"trusted computing" ideas.  You have to do perform devious and evil
hacks that will probably reduce the value of your content until the
whole endeavour is not worthwhile.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: oom-killer vs system not reachable

2004-12-19 Thread Sam Watkins
On Sun, Dec 19, 2004 at 10:28:28AM +0100, Robert Ian Smit wrote:
> The points concerning the mbox file are taken (in fact I knew as
> much). Do you think that Linux might stop to respond or get stuck
> for a while as a result of the big file. 

One problem would be when mutt rewrites the file on exit (or pressing
$), that is a lot of IO to do.  On linux 2.4 at least if one process is
using a lot of IO, the other processes seem to grind to a halt.  I think
they are fixing this in 2.6.  Perhaps you could try upgrading to 2.6 if
you're using 2.4?

> In other words would the symptoms of an oom-killer event and the
> resource shortage before it be noticable for a longer period?

As I understand, there's two ways the computer can run out of vm -
first, if the system is pretty idle, and one process quickly allocates a
large amount of memory which goes over the limit, that process will be
killed, and probably no other programs will die.  This is relatively
painless.

Another situation is that several processes are competing for memory,
cpu and io, and you don't have enough ram to hold all the active pages
in ram at once.  Then the system "thrashes", constantly swapping.
If your active set expands gradually and more, the system gets very very
slow.  If it is on its way to running out of memory, it could take a
long time before the memory-hog processes are killed, and other
"innocent" processes might quite likely be slain into the bargain.

The weirdest thing I saw with swapping was once, trying to install red
hat on a relatively small machine, and its graphical installer used up
all the ram, and swap wasn't set up yet, so the only thing it could do
to free more ram was to "swap out" the executables back to the cd-rom,
so the thing was actually thrashing on the CD-rom, it was most unusable!

Anyway, I think the best way to find out what is happening on your box
is to monitor or log what happens when the system dies like this, either
watch it with top, or monitor maybe with something like:

mkdir -p /tmp/death.log
while true; do
D=`date +%Y%m%d.%H%M%S`
( w; echo; free; echo; ps auxf; ) > /tmp/death.log/$D
sleep 15
done


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pam-mkhomedir problems

2004-12-18 Thread Sam Watkins
On Sat, Dec 18, 2004 at 11:41:01PM +, [EMAIL PROTECTED] wrote:
> So pam-mkhomedir.so wasn't able to create the home directory.

> Does anyone have a suggestion ? 

Complain to whoever's responsible for pam-mkhomedir.c

You could hack it to call a setuid "make-my-homedir" program,
but I don't think that is a "decent" solution :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: starting x

2004-12-18 Thread Sam Watkins
startx is not part of the X server, it is in the package x-base-clients.

You should:

  apt-get install x-window-system-core

or probably:

  apt-get install x-window-system


you can look at what each of these "meta packages" depends on with:

  apt-cache show x-window-system-core

you can see reverse dependencies with

  apt-cache rdepends xterm

you can find out what package contains a certain file with "apt-file":

  apt-get install apt-file
  apt-file search startx
  apt-cache rdepends x-base-clients

etc.


good luck!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Max size of data in C++ prog?

2004-12-18 Thread Sam Watkins
On Sat, Dec 18, 2004 at 07:10:22PM -0500, Marc Shapiro wrote:
> Is there a maximum size to the data segment in a C++ program?  More 
> specifically, I am trying to write a program with a very large array. 
> The program compiles OK (since C/C++ do no bounds checking on arrays), 
> but segfaults when I try to run it.  The limit seems to be at just under 
> 8MB.  Is there a way to allocate more space for data?

there are two different data segments for a C or C++ program,
the stack and the heap.

stack space is (apparently) limited under Linux.
If you declare an array like this in a function:

  char c[10*1024*1024];

and write to it all, this will cause a segfault on Linux.

The heap can get much bigger, you can malloc as much as you want on the heap
(up to the limits of VM and process address space) and it won't segfault, e.g.

  char *c = malloc(100*1024*1024);
  int i;
  for (i=0; i

to use malloc.


C++ allocates data on the heap when you use "new", and the STL containers
allocate their elements on the heap.  For example these are ok:

  char *c = new char[100*1024*1024];
  // ...
  delete[] c;

  vector v;
  int i;
  for (i=0; i<1000; ++i)
v.push_back(i);


As Gregory pointed out (and I had forgotten to mention) global and static
variables go on the heap too.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian native java

2004-12-18 Thread Sam Watkins
On Sat, Dec 18, 2004 at 05:10:22PM -0500, Tong wrote:
> Thanks for the input. Yeah, I meant to try the 'free-java-sdk' since it is
> default in Debian Testing. But looking up Debian Java faq, I noticed that
> things are more complicated than that. More sdk/jvm are available, and I
> can't tell which one is better than others by just reading the faq. 

Without any shadow of a doubt the blackdown packages are "better" than
free-java-sdk if you want a functioning java system.  If you require a
free-software java system, go for free-java-sdk - but don't be surprised when
it doesn't run your java programs.

> Ok, let's forget the debian java packages and consider a simple question:
> I'm not just trying to compile a couple of small java programs. I want to
> use Java. Nowadays, many utilities are released in Java. Big monsters that
> comes to my mind are, eclips, jbuilder, together, IBM db2 control center,
> etc. What would be the best/safest java sdk package to use for such case,
> and all those ready built .jar files?

The blackdown or the sun java systems should work with these.
If you can get any of them to run with free-java-sdk, I am surprised, amazed
and impressed.

If you want to get your java programs running and get your work done, install
blackdown java.  If have ethical objections to non-free software, or you want
to support the development of free-software java systems, install
free-java-sdk.  Or you can install both (I don't think they conflict).

You said "I want to use java", so install the blackdown j2re-1.4 and j2sdk-1.4
packages.

http://www.debian.org/doc/manuals/debian-java-faq/ch11.html

The sun system is a reasonable alternative, but if I understand correctly it's
essentially the same as the blackdown system anyway, blackdown port java to
linux for Sun (and us).  And it's not packaged for debian, so it will be a pain
to install.  The ibm system apparently doesn't support all of java 2.

Sam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian native java

2004-12-18 Thread Sam Watkins
On Sat, Dec 18, 2004 at 04:03:02PM -0500, Tong wrote:
> > I understand the free software java systems don't work 100% yet.
> 
> So I read. That's why I'm scared and asked before trying. Seeing that you
> are using it really gives me the confident to give it a try. 

No, the blackdown j2re1.4 works perfectly fine, but it's not DFSG free software
due to licensing conditions imposed by Sun.

There are other projects to create a real free software java platform, but they
are not finished yet.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian native java

2004-12-18 Thread Sam Watkins
On Sat, Dec 18, 2004 at 02:41:04PM -0500, Tong wrote:
> Is Debian native java OK?

What package/s are you talking about?

I am using blackdown j2re1.4, it works.
I understand the free software java systems don't work 100% yet.


This is the Debian Java FAQ:

  http://www.debian.org/doc/manuals/debian-java-faq/ch11.html

and here is the relevant bit of it:

11.1 How can I get Debian packages from Blackdown?

If the releases provided aren't recent enough for you, you can of course
install the files from the Blackdown mirrors. You can either use the Debian
packages provided by Blackdown or download their tar files.

If you want to use their packages, add the following line [2] to your
/etc/apt/sources.list:

 deb proto://url/debian potato main non-free
 deb proto://url/debian woody main non-free
 deb proto://url/debian testing main non-free
 deb proto://url/debian unstable main non-free

Where proto://url is one of the mirrors from the list available at
http://www.blackdown.org/java-linux/mirrors.html. [3] For example, in Debian
3.0 using Metalab's mirror use:

 deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian 
woody main non-free

And then do:

 $ apt-get update
 $ apt-get install j2sdk1.4



(I changed the j2sdk1.3 to j2sdk1.4)

you can also just install j2se1.4 if you don't need the development kit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mutt suddenly won't attach files

2004-12-18 Thread Sam Watkins
On Sat, Dec 18, 2004 at 12:36:37PM -0500, Nori Heikkinen wrote:
> > if I type ".."  it says:
> > 
> >   Unable to attach ..!
> 
> So, you have the same problem!

no I don't, mutt is supposed to behave like this - if you type ".." and press
enter, that is the error you get.  If you want to browse directories, have to
type "../"  or "?"

> That's precisely what I can't do -- select "..".  As you said yourself
> above, when I select "..", it tells me:
> 
> Unable to attach /home/nori/Mail/..!

no, I said when I type ".." it says that.  If I select "../" from the file
browser it works fine.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help on changing partitioning scheme please

2004-12-18 Thread Sam Watkins
On Sat, Dec 18, 2004 at 05:50:46PM +0100, Bob Alexander wrote:
> I would like to transition from the "monopartition" to one with 
> independent /, /home, /var, /tmp and /usr.
> 
> Was about to make a mistake by using Partition magic to slice the 
> current /dev/hda7 since it would have changed the /dev/hda8 into 
> something else and I would not have rebooted ...
> 
> What is the proper way to procede ?

Make sure you have a rescue disk that works (e.g. knoppix, rip, tomsrtbt),
and preferably a backup!

I would go ahead and repartition with PM or parted,
and then use the rescue disk to fix everything up.
that might not be the best way, I don't know.

You might like to think about using lvm.

> The /dev/hda5 fat32 partition is quite large and contains most of my 
> work related data and also data from Firefox, Thunderbird and Lotus 
> Notes. Since this machine from times to times must also work under WinXP 
> :( I would like to use this partition in common with the similar Linux 
> programs ... is using symbolic links the correct way to handle this ?

yes, I think you could use symlinks to do this.
give it a go and see if it works.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   >