Re: /dev/dsp not found: KDE/ALSA

2001-12-21 Thread Ross Boylan
Thanks for the suggestions.  Unfortunately, I already had the aliases
in my modules.conf (except I use sbawe).

I tried setting the sound system to OSS, but still no signs of life.

I'm reluctant to remove the aliases, since the alsa documenation calls
for them.

Argh!

lsmode shows lots of the right modules loaded:
snd-pcm-oss35744   0
snd-mixer-oss   9184   0  [snd-pcm-oss]
snd-card-sbawe  6016   0
snd-opl35312   0  [snd-card-sbawe]
snd-sb16-dsp5408   0  [snd-card-sbawe]
snd-pcm48576   0  [snd-pcm-oss snd-sb16-dsp]
snd-timer  10432   0  [snd-opl3 snd-pcm]
snd-mpu401-uart 2624   0  [snd-card-sbawe snd-sb16-dsp]
snd-rawmidi12576   0  [snd-mpu401-uart]
snd-emu800010816   0  [snd-card-sbawe]
snd-seq-device  3952   0  [snd-opl3 snd-rawmidi snd-emu8000]
snd-sb16-csp   15392   0  [snd-card-sbawe]
snd-sb-common   6040   0  [snd-card-sbawe snd-sb16-dsp snd-sb16-csp]
snd-hwdep   3680   0  [snd-opl3 snd-sb16-csp]
snd24776   0  [snd-pcm-oss snd-mixer-oss snd-card-sbawe 
snd-opl3 snd-sb16-dsp snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-emu8000 
snd-seq-device snd-sb16-csp snd-sb-common snd-hwdep]


On Thu, Dec 20, 2001 at 05:21:55PM +0100, Stephan Hachinger wrote:
> Hi!
> 
> Hmm, I don't have no idea :(. But I have looked through my modules.conf and
> found the following entries:
> 
> # ALSA multiplexer
> 
> alias char-major-116 snd
> 

[etc]
> 
> Maybe adding the missing entries helps. On this system where I have those
> entries in modules.conf, respectively in /etc/modutils/aliases (the best is,
> you add such entries to /etc/modutils/aliases -> run "update-modules" ->
> they are written to modules.conf automatically), strangely enough only
> setting the arts daemon to "open sound system" makes it work, but at least
> the sound server works... The system had another soundcard before and with
> this one, it worked absolutely the right way but now only with the "oss
> trick".
> 
> 
> Another try: I also have a second system here without any entries in
> /etc/modutils/aliases (arts runs properly!); on this system the following
> modules are loaded at bootup:
> 
> snd-card-sbawe (i.e. my sound card module)
> snd-mixer-oss
> snd-pcm-oss
> snd-synth-emu8000 (i.e. the module for my AWE wavetable device)
> 
> 
> Hmm, maybe the first or the second entries (or combine both ;)) help... Any
> other suggestions by anyone else?
> 
> Cheers,
> 
> Stephan



Re: how to use gcc to compile programs for Pentium

2001-12-21 Thread Mario Vukelic
On Fri, 2001-12-21 at 03:15, Mark Ferlatte wrote:
> On Fri, Dec 21, 2001 at 10:10:54AM +0800, a wrote (1.00):
> > i read manual of gcc, but can't find answer.
> 
> gcc -march=i586

Look at "apt-cache show pentium-builder"

> 
> > BTW what's memory requirement of gnome?
> 
> It depends, but you will probably be fine with 64MB.

Not if you want to run programs, too. I'd say if you run Evolution and
Mozilla or Galeon you need 128 at the least
-- 

I did not vote for the Austrian government





Re: How to Install Woody on ReserFS root ???

2001-12-21 Thread Johann Spies
On Thu, Dec 20, 2001 at 04:15:32PM +0200, Andrei Verovski wrote:

> Thank you very much for quick reply. BTW, how I can mount CD before 
> booting from it? I have empty partitoned HD right now and nothing else.

You will need some operating system that can read the CD.  You can even
use Windows or DOS with the tool rawrite (also on the CD) to make
floppies to boot with. 

Otherwise you can install a minimal linux system using the default ext2,
make the floppies and reinstall...

BTW do those pre-formated partitions contain data you want to keep?  If
not, you can re-partition your disk and later make your filesystems as
you wish.  You should anyhow have backups of important data before
trying to install.

Regards.

Johann
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "For a child will be born to us, a son will be given to
  us; And the government will rest on His shoulders; And
  His name will be called Wonderful Counsellor, Mighty 
  God, Eternal Father, Prince of Peace." 
Isaiah 9:6 



Re: looking for password managing program

2001-12-21 Thread Osamu Aoki
On Tue, Dec 18, 2001 at 05:30:30PM +, Pollywog wrote:
> Are there any password management programs for Linux?
> I usually record passwords for e-mail accounts, ICQ, etc in a book, but I 
> want to keep them on a floppy instead.
> I know such programs exist for Windows but I need one for Linux.

Use gnupg as a synmetric cypher to encrypt text file of your password :)

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://qref.sourceforge.net/quick/   +



Re: fetchmail questions

2001-12-21 Thread Paul Mackinney
Seth Delackner muttered:
> Not to get too picky, but in mutt you have to specify in your .muttrc
> which files are considered inboxes that could receive new messages.
> e.g. mailboxes ! =filtered_box =another_box

My setup is a little different. I have

  set folder=$HOME/Mail
  set spoolfile=~/Mail/inbox
  set mbox=+mbox

in muttrc.

I don't use procmail (yet), just a .forward file with the exim filter
declaration at the top. New mail cheerfully appends to various files
(not named in the .muttrc) according to if-then-elif lines in .forward.

Here's a question: where is the .forward file syntax documented? The
exim docs refer to "standard .forward file processing" but that's it. I
use things like 

if $h_x-mailing-list matches "^"
then
  save $home/Mail/deb.inbox
  finish
endif

that I've copied from others, but where can I find a list of supported
commands such as 'save' and 'finish'?

Thanks,

Paul

-- 
Paul Mackinney   |   Who profited from Sept 11?
[EMAIL PROTECTED]   |   http://www.copvcia.com/



Re: apt-get source?

2001-12-21 Thread Johann Spies
On Thu, Dec 20, 2001 at 07:18:14PM -0700, Robert L. Harris wrote:
> 
> I did the apt-get source and it dropped the source in my current directory.
> When I go to configure it doesn't build, missing "/root/qt/debian/objprelink"
> and it doesn't get auto-configured to match the paths etc of my pre-packaged
> version.

apt-get source -b  would download the source and build a debian
package for you which you can install with dpkg -i 

Regards.

Johann
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "For a child will be born to us, a son will be given to
  us; And the government will rest on His shoulders; And
  His name will be called Wonderful Counsellor, Mighty 
  God, Eternal Father, Prince of Peace." 
Isaiah 9:6 



chmod quiestion

2001-12-21 Thread pahud
Hello list,

Providing I have a directory /grpdir and chmod it to 775. If a user of
that group creates a subdirectory under it, say /grpdir/subdir, the subdir
will have 755 as it's default mode.

How to force the files and subdirectories under /grpdir to have the same
chmod value and user.group value?



Re: Converting between maildir and mbox

2001-12-21 Thread Rich Rudnick
On Thu, 2001-12-20 at 20:05, Craig Dickson wrote:

> Or, if you already have procmail set up, just adjust it for the new
> format, then pipe your old mail into it. Actually, I'm not sure that
> will work with an mbox file as input, because procmail might prefer to
> be invoked once per message (?). But it definitely works when your
> source format is MH or maildir. I imagine with mbox as input, you could
> do a simple script using awk or perl to pipe each message individually
> though procmail. Though at that point, the MUA would be simpler, as long
> as it understands both formats (which may not be the case).

This is a bash script I picked up somewhere that will forward mboxes
through procmail, filling your new maildirs.

#! /bin/bash

formail -s procmail < $1

-- 
first impressions are bunk (unknown)



Implications of using g++-3.0

2001-12-21 Thread Ross Boylan
If I use g++-3.0, do I need to build most of my own libraries?
For example, I wanted to use libstrutilsxx, but it didn't work.  I
think I read (though I can't find it) that object files from different
versions of the compiler can't be mixed.  True?

Since 2.95 is the default (i386 woody), all the debs are built with
that, so they won't work with 3.0, right?

(I'm hoping I'm wrong here!)

I tried getting the source and compiling for the library, but it
didn't work.  This was puzzling; perhaps it uses some language feature
that changed?  The problem seemed to be with streams; I haven't had
time to track it down.

Anyway, if all this is true, maybe I should go back to 2.95.  I
understand it doesn't implement the standard fully, and I was hoping
to avoid getting into that swamp.

Thanks for any advice.



Re: Converting between maildir and mbox

2001-12-21 Thread Paul 'Baloo' Johnson
On 20 Dec 2001, Brian Nelson wrote:

> First, run 'maildirmake Maildir' to create a maildir folder.  Probably
> the easiest way to move your messages around is to use a MUA that is
> both mbox and maildir aware, like mutt.  Just save your messages from
> the mbox file to the maildir, or vice versa.

OK, now the other question is does this affect procmail at all?

-- 
Baloo



Re: Problems booting from hard drive.

2001-12-21 Thread Guy Geens
> "Alberto" == Alberto Cabello Sanchez <[EMAIL PROTECTED]> writes:

Alberto> I just installed potato r3 on P75, 16 MB RAM and all worked
Alberto> fine. But booting from hard drive seems impossible to me.

I suspect a hardware problem. Try running `badblocks /dev/hda'

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Converting between maildir and mbox

2001-12-21 Thread Craig Dickson
Paul 'Baloo' Johnson wrote:

> OK, now the other question is does this affect procmail at all?

man procmailrc

Observe in particular the rule for specifying the format of a destination
folder. If you give a name without a trailing / then it is assumed to be
an mbox file. Put a trailing / on the name to tell procmail that it is
a maildir folder.

Craig



Re: What's a debian kid look like?

2001-12-21 Thread Craig Holyoak
Matt <[EMAIL PROTECTED]> said:
> Who are we here? I'm curious about what the Debian demographic is.

FWIW,

I'm a 22yo male, single, Christian. BSc (Comp. Sci), studying Grad
Diploma in Info Tech. I live in Brisbane, Australia.

I installed my first Linux System in 1997 (Debian) on a 486 with no Net
and no CD. I downloaded all the packages I wanted on my Mac and copied
them onto floppies for transfer! That was painful! A few months later
the HD crashed, so to avoid that slow process again, I bought a cheap
RedHat CD and borrowed a friends CD drive. I gave up on RedHat around
7.0 and returned to Debian, and haven't looked back! I also run an
OpenBSD firewall/gateway/proxy.

I do coding in C/C++, Java and shell. I've also done Python and Ada as
well as Prolog, Haskell, MIPS assembler, and a little Lisp at uni. I'm
learning Perl and PHP at the moment. I'm also doing some work at the
moment using C# and .NET.

In my spare time, I play too much HL/CS/Q3A. I also like to read, write,
watch movies, ski, drive, sleep, and just go out with my friends.

Craig

-- 
Craig Holyoak
[EMAIL PROTECTED]
http://www.uq.net.au/craigh/



Re: What's a debian kid look like?

2001-12-21 Thread Phillip Deackes
On Thu, 20 Dec 2001 19:48:59 -0800
Cam Ellison <[EMAIL PROTECTED]> wrote:

> * Matt ([EMAIL PROTECTED]) wrote:

> them but using them all the same.  I grabbed OS/2 when Warp came out --
> always had an aversion to M$ -- and hung onto that until a little after
> slink came out; then I made the switch to Debian, though I had
> considered BSD (before I got into OS/2, which I still like), and also
> Slackware, which looked like too much work.

I too arrived at Debian via OS/2. I really miss it though - I know it is
still around, albeit only just. I wish IBM would release the OS/2 GUI for
Linux. I like Linux, but I am exasperated sometimes by the lack of
comformity within X and how silly things like copying and pasting works
between most apps but not others, or how I can't get the Euro symbol
despite having followed advice from others who have achieved it, or how I
sometimes get silly little boxes instead of fonts - again I have followed
advice from all quarters - xfs on, xfs off, changing lines here, changing
lines there. Exasperating describes Linux well!

-- 
Phillip Deackes
Using Debian Linux

/"\   
\ /   ASCII RIBBON CAMPAIGN
 XAGAINST HTML MAIL AND NEWS
/ \ 



Where is sparc64-linux-ld ?

2001-12-21 Thread Johann Spies
I am trying to compile a kernel on a Sparc with Debian Woody.  The
compiling ended with 
-
sparc64-linux-ld  -r -o kernel.o context.o signal.o ksyms.o sched.o
dma.o fork.o exec_domain.o panic.o printk.o sys.o module.o exit.o
itimer.o info.o time.o softirq.o resource.o sysctl.o acct.o capability.o
kmod.o
make[3]: sparc64-linux-ld: Command not found
make[3]: *** [kernel.o] Error 127
make[3]: Leaving directory `/usr/src/linux/kernel'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/kernel'
make[1]: *** [_dir_kernel] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [stamp-build] Error 2
-

A  zgrep sparc64-linux-ld Contents-sparc.gz showed no such file.

Where do I get it?

Johann
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "For a child will be born to us, a son will be given to
  us; And the government will rest on His shoulders; And
  His name will be called Wonderful Counsellor, Mighty 
  God, Eternal Father, Prince of Peace." 
Isaiah 9:6 



-->PPP daemon has died! (exit code = 242) Newbie #61

2001-12-21 Thread Ian Balchin
Hi,

posting this under new Subject.

Any ideas?  What does exit code 242 say?

All the best for the festive season

Ian
Ian Balchin
Grahamstown, South Africa.



ppp daemon dies Newbie #61

2001-12-21 Thread Ian Balchin
Ben,

As user I made myself member of groups dialout and dip some time back and 
this is therefore not the problem.

Anita,

I have the password in the file /etc/ppp/chap-secrets but in fact wvdial 
connects with my username and password as in wvdial.conf  The file is user -
rw for sure and I am trying to connect as root.

John,

Not using a networked computer so copying the plog output across was more 
than I could cope with lastnight, in any case see below. I did run pppconfig. I 
really wanted to use wvdial - not sure why, probably ease of configuration and 
anticipation of less problems

All,

I have decided to do a complete reinstall in the light of the following 
considerations.

I have no data to lose
I have make mistakes
I am running in console mode only
Email has been part of GNU/Debian for years
The configuration of a single user on a standalone PC connecting to a dial-up 
ISP is surely one of the major standard uses of a Linux box
The problems are therefore likely of my own making and not inherent in the 
system. I have probably tended to rush in where angels fear to tread.

Finally, I have had my fill of going round and round looking at the same 
things with no improvement (well, did get wvdial to connect). If one of you 
were here it could probably be solved in no-time flat, but with my limited 
skills this is not going to happen. I do not have the experience or knowledge.

So, my plan of action is as follows.

1.  I will do a reinstall from the CD paying careful attention to any 
entries 
that I make.   I must assume that the email system is unlikely to be up and 
running immediately after an install and that there will be various 
configuration matters to attend to.
2.  I will then print out the relevant man pages and HOWTOS and do some 
serious study of this and relevasnt chapters in my GNU/DEBIAN BIBLE
3.  I will then post a complete plan of action of exactly what I see needs 
to 
be done for any comment.

Maybe I will do the reinstall tonight, but if not it may then have to wait 
until 
after the festive season (local summer holiday season here until 2nd week in 
Jan) as other matters are pressuring for my attention in the days and weeks 
ahead (i have to  make a living).

So, wishing you all the best for the festive season, whatever your faith, 
wherever you are, I will look to better success just now.

Regards
Ian

Ian Balchin
Grahamstown, South Africa.



Re: tape drive: Error with sense data

2001-12-21 Thread Karsten M. Self
on Thu, Dec 20, 2001 at 12:16:22PM -0800, brian r ([EMAIL PROTECTED]) wrote:
> Hi, 
> I am having problems getting my tape drive working.  Any suggestions?
> Sorry, if I gave to much output.
> 
> The command I give:
> 'mt -f /dev/nst0 status'
> 
> Error:
> 'st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense 
> key Illegal Request
> Additional sense indicates Invalid command operation code
> st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense 
> key Illegal Request
> Additional sense indicates Invalid command operation code
> drive type = Generic SCSI-2 tape
> drive status = 1191182848
> sense key error = 0
> residue count = 0
> file number = 0
> block number = 0
> Tape block size 512 bytes. Density code 0x47 (unknown).
> Soft error count since last status=0
> General status bits on (4101):
>  BOT ONLINE IM_REP_EN'
> 
> 
> My modules I am using to access the drive are st and ide-scsi.
> The drive is Seagate TapeStor Travan 20GB IDE which uses formats QIC-3095, 
> QIC-3220.
> The command 'dmesg' shows the tape drive as:
> 'hdd: Seagate ST22A, ATAPI TAPE drive'

Hmm...

Generally "sense data" errors are Not Good®.  I'd try a cleaning on the
tape.  Other things to check would include your blocksize and buffer
settings.  Google your errors to see what turns up, firmware and other
issues appear to be indicated. 

Peace.

-- 
Karsten M. Self http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?  Home of the brave
  http://gestalt-system.sourceforge.net/Land of the free
We freed Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire  http://kmself.home.netcom.com/resume.html


pgpcREqwBVObw.pgp
Description: PGP signature


Re: Where is sparc64-linux-ld ?

2001-12-21 Thread Johann Spies
I have found the answer on google:

ln -s ld /usr/bin/sparc64-linux-ld
ln -s as /usr/bin/sparc64-linux-as

Johann
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "For a child will be born to us, a son will be given to
  us; And the government will rest on His shoulders; And
  His name will be called Wonderful Counsellor, Mighty 
  God, Eternal Father, Prince of Peace." 
Isaiah 9:6 



kernel compilation fails on sparc

2001-12-21 Thread Johann Spies
I could not compile a 2.4 kernel with success so I tried 2.2.20 patched
to use ext3.

The linking failed with the following message on a lot of *.o files:

sparc64-linux-ld: warning: sparc:v9 architecture of input file `kmod.o'
is incompatible with sparc output

This is my first experience of Debian on the sparc.  Is there a way
forward?

Is is a Sun Ultra 1

Regards.
Johann
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "For a child will be born to us, a son will be given to
  us; And the government will rest on His shoulders; And
  His name will be called Wonderful Counsellor, Mighty 
  God, Eternal Father, Prince of Peace." 
Isaiah 9:6 



Re: KDE 3.0beta in sid ?

2001-12-21 Thread Ax
Dne čt 20. prosinec 2001 16:28 Meir Kriheli napsal(a):
> Is KDE 3.0beta going to be packaged for sid ?
>
> Or should we build them ourself ?

there is debian-kde@lists.debian.org mailng list, look in archives and see 
;)

Ax
-- 
   Vaclav Hula
   [EMAIL PROTECTED]  [EMAIL PROTECTED]
  http://atrey.karlin.mff.cuni.cz/~ax

There's long way from statue to liberty...
[Hobit - Ants]



Re: Party with porn stars

2001-12-21 Thread k l u r t
On Friday 21 December 2001 02:16 am, [EMAIL PROTECTED] wrote:
> Hey everyone,
>
> Ever wanted to party with your favorite porn stars??  

relay for spam
geez.. what a waste of a good FreeBSD box..


@debian:~$ whois 64.38.226.213
CWIE LLC (NETBLK-CWIE-BLK-1)
   1125 E Glendale AVE
   Phoenix, AZ 85020
   US

   Netname: CWIE-BLK-1
   Netblock: 64.38.192.0 - 64.38.255.255
   Maintainer: CWIE

   Coordinator:
  Cadwell, Ron  (RC622-ARIN)  [EMAIL PROTECTED]
  602-248-4963

   Domain System inverse mapping provided by:

   NS1.CWIE.NET 64.38.192.10
   NS2.CWIE.NET 64.38.192.11
   NS3.CWIE.NET 64.38.192.12
   NS4.CWIE.NET 64.38.192.13

   ADDRESSES WITHIN THIS BLOCK ARE NON-PORTABLE

   Record last updated on 15-Nov-2000.
   Database last updated on  20-Dec-2001 19:55:42 EDT.

@debian:~$ sudo nmap -sX -O -v 64.38.226.213
Password:

Starting nmap V. 2.54BETA30 ( www.insecure.org/nmap/ )
Host mkmm.cavecreek.net (64.38.226.213) appears to be up ... good.
Initiating XMAS Scan against mkmm.cavecreek.net (64.38.226.213)
The XMAS Scan took 29 seconds to scan 1549 ports.
Adding open port 80/tcp
Adding open port 21/tcp
Adding open port 22/tcp
Adding open port 25/tcp
Adding open port 23/tcp
Adding open port 3306/tcp
Adding open port 111/tcp
For OSScan assuming that port 21 is open and port 1 is closed and neither are 
firewalled
Interesting ports on mkmm.cavecreek.net (64.38.226.213):
(The 1542 ports scanned but not shown below are in state: closed)
Port   State   Service
21/tcp openftp
22/tcp openssh
23/tcp opentelnet
25/tcp opensmtp
80/tcp openhttp
111/tcpopensunrpc
3306/tcp   openmysql

Remote operating system guess: FreeBSD 4.3 - 4.4PRERELEASE
Uptime 63.265 days (since Thu Oct 18 22:07:59 2001)
TCP Sequence Prediction: Class=truly random
 Difficulty=999 (Good luck!)
IPID Sequence Generation: Busy server or unknown class



Re: chmod quiestion

2001-12-21 Thread k l u r t
On Friday 21 December 2001 01:39 am, [EMAIL PROTECTED] wrote:
> Hello list,
>
> Providing I have a directory /grpdir and chmod it to 775. If a user of
> that group creates a subdirectory under it, say /grpdir/subdir, the subdir
> will have 755 as it's default mode.
>
> How to force the files and subdirectories under /grpdir to have the same
> chmod value and user.group value?

Hello,

You're needing to use umask

The default mode for a fie or directory is set with umask, which uses the 
numeric system to define its value.  To set the umask, you must first 
determine the value you want the file to have.  For example, a common file 
permission set is 644, with which the owner has read and write permission and 
the rest of the world has read permission.  After the value is determined, 
you subtract it from 777.  Keeping the same example of 644, the value would 
be 133.  This value is the umask value.  Typically, this value is placed in a 
system file that is read when a user first logs on.  After the value is set, 
all files created will set their permissions automatically, using this value.

So, in your case... umask 002

- k l u r t



Re: chmod quiestion

2001-12-21 Thread Eric G . Miller
On Fri, 21 Dec 2001 14:39:23 +0800, [EMAIL PROTECTED] wrote:

> Hello list,
> 
> Providing I have a directory /grpdir and chmod it to 775. If a user of
> that group creates a subdirectory under it, say /grpdir/subdir, the subdir
> will have 755 as it's default mode.
> 
> How to force the files and subdirectories under /grpdir to have the same
> chmod value and user.group value?

You probably want to set the group id "g+s", and possibly the "sticky" bit.

-- 
Eric G. Miller 



Re: slattach woes

2001-12-21 Thread Shaul Karl
> A friend of mine tries to connect two pc's over the serial line
> with slattach, but failes. He comes to me, I try and fail:(
> So I turn to you guys. Please don't fail me:)
> 
> According to Net-* a simple
> 
>   # slattach /dev/ttyS0 &
>   # ifconfig sl0 A pointopoint B up
>   # route add B sl0
> 
> on machine A, and on machine B the similar
> 
>   # slattach /dev/ttyS0 &
>   # ifconfig sl0 B pointopoint A up
>   # route add A sl0
> 
> should work.  But I can't ping to the other:(, there is no
> activity on sl0 (checked with ifconfig and xnetload)
> I do have A and B in /etc/hosts, don't know what else to do.
> 
> O, and I get many
> 
>   sl0: transmit timed out, bad line quality?
> 
> on my console.
> 
> -- 
> groetjes, carel
> 


Perhaps the serial ports are not configured properly?
What is setserial output?

[13:54:32 tmp]$ setserial -ga /dev/ttyS?
/dev/ttyS0: Permission denied
/dev/ttyS1: Permission denied
/dev/ttyS2, Line 2, UART: 16550A, Port: 0x03e8, IRQ: 2
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test

/dev/ttyS3, Line 3, UART: unknown, Port: 0x02e8, IRQ: 3
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal

[10:39:33 tmp]$

It is not rare that /dev/ttyS0 is attached to the mouse. Perhaps you 
should choose another serial device? Maybe the cable is not appropriate 
(you probably need a null modem cable).
I guess that if the cable and devices are working properly then minicom 
should work too, which can let you verify the serial stuff before 
starting with the networking one.

-- 

Shaul Karl
email: shaulka(at-no-spam)bezeqint.net 
   Please replace (at-no-spam) with an at - @ - character.
   (at-no-spam) is meant for unsolicitate mail senders only.




installing Woody on new box - best way to go about it?

2001-12-21 Thread Rachel Andrew

Hi

I'm looking forward to being able to play with the new box I am getting for 
Christmas. Its for a dedicated Debian installation and I'll be also running 
KDE on it. At the moment I have a P133 with is running Debian (Woody) 
upgraded from Potato with KDE pulled from Sid.


Questions:

I have a CD with Potato on it, given that I am on a single band ISDN 
dial-up here am I best to install Potato and upgrade or is there somewhere 
I can download a CD image of Woody? (If so I could get my other half to 
download that at work on their DSL)


Is KDE 2.2 still only available in Sid? I have done this process before so 
I can get the packages from 2 places, however if it has made it into Woody 
then I needn't bother.


TIA

Rachel



Re: Party with porn stars

2001-12-21 Thread Karsten M. Self
on Fri, Dec 21, 2001 at 03:39:48AM -0500, k l u r t ([EMAIL PROTECTED]) wrote:
> On Friday 21 December 2001 02:16 am, [EMAIL PROTECTED] wrote:
> > Hey everyone,
> >
> > Ever wanted to party with your favorite porn stars??  
> 
> relay for spam
> geez.. what a waste of a good FreeBSD box..

I've got a few systems for trapping spam.  A modified set of Lars
Wirzenius's procmail filters ("spamfilter" in Debian), an asian-language
trap, and a few scripts to help automate the response process.

I'll post the whole mess at some point, but it's a bit unweildy (ugly,
but it works ;-).

I'm attaching one script I've been polishing over the past few days.  It
scans a message (or attachments) for URLs, gets the IP, then runs a
WHOIS query, extracts email addresses, and converts them to
"[EMAIL PROTECTED]" form.  abuse.net is a remailer run by John Levine, it
sends mail to known (or guessed) abuse reporting addresses for sites, as
well as sharing information with other services.  Spamcomp.net is a
similar service.  Substitute as appropriate.

My process in mutt is to pipe the message (or if it's encoded, an
attachment) through my script, paste the addresses into the "To:" line,
and send.  Results from ISPs are moderately impressive.  If nothing
else, ISPs will find they're getting massive complaints to spam.

The script isn't perfect.  It doesn't handle some obfuscated URL
(@-encoded, big-number URLs, though I'm working on it).  But it handles
most cases well.  I somewhat prefer the semi-auto nature of it as I have
some control over the actual execution and triggering.

The '-v' flag increases verbosity.

Peace.

-- 
Karsten M. Self http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?  Home of the brave
  http://gestalt-system.sourceforge.net/Land of the free
We freed Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire  http://kmself.home.netcom.com/resume.html
#!/bin/sh

PATH=/bin:/usr/bin

function get_urls () {
# Extract a set of distinct URLs from stdin.
awk '
BEGIN { FS = "\t <>,.=\"" }
/http:/ { 
for( i=0; i <= NR; i++ ) {
URL = ""
if ( match( $i, "http:")) {
URL = substr($i, index ($1, "http:") + 7 )
split( URL, aURL, "[^-.A-z0-9_]" )
URL = aURL[1]
if ( length(URL) > 0 ) printf( "%s\n", URL )
}
}
}
' | sort -u
}

function NicFILTER () {
# Extract email addresses from WHOIS NIC data and post as
# "[EMAIL PROTECTED]" format.

awk '
/@/ {
for( i = 1; i <= NF; i++ ) {
if ( $i ~ /@/ ) { 
host = substr( $i, index( $i, "@" ) + 1 )
gsub( "[^.A-z0-9_-]", "", host )
printf( "[EMAIL PROTECTED]", host )
}
}
}' | sort -u 
}

# Test for a verbose flag.

VERBOSE=n
if [ x"$1" = x"-v" ]; then
VERBOSE=y
fi

case $VERBOSE in
y) function uniqlist() { cat; } ;;
n) function uniqlist() { sort -u | awk '{ printf( "%s ", $0 ) }';  } ;;
*) echo "Bad VERBOSE value: $VERBOSE" 1>&2; exit 1 ;;
esac


#  

clear

URLLIST=$( get_urls /dev/stdin )
if [ -z "$URLLIST" ]; 
then
echo "No URLs found"
exit
else
echo "URLs: $URLLIST"
fi

for URL in $URLLIST
do
if [ "$VERBOSE" = "y" ]; then echo -e "$URL:  \c"; fi
HOST=$( host $URL 2>&1 )

if echo "$HOST" | grep -q "does not exist"; then
echo "No IP found for host $URL"
continue

elif echo "$HOST" | grep -q "   A   "; then
IPS=$( echo "$HOST" | awk '/A   / {print $3}')
if [ "$VERBOSE" = "y" ]; then echo -e "$IPS \c"; fi
else
IPS=$( echo "$HOST" | awk '/^Address:/ {print $2}' )
if [ "$VERBOSE" = "y" ]; then echo -e "$IPS \c"; fi
fi

for IP in $IPS
do
# We want a few specific bits from WHOIS
# Several forms of this:
# InterNIC ARIN:  US:  check for "NETBLK"
# RIPE:  EU.
# APNIC KRNIC: Asia.  Read from 
# First, find the netblock:

# echo "Searching whois"
WHOIS=$( whois $IP )

if echo "$WHOIS" | grep -q InterNIC; then
REGISTRY=InterNIC
elif echo "$WHOIS" | grep -q "ARIN Registration Services"; then
REGISTRY=ARIN
elif echo "$WHOIS" | egrep -q '(RIPE|DENIC)'; then
REGISTRY=RIPE
elif echo "$WHOIS" | grep -q KRNIC; then
REGISTRY=KRNIC
elif echo "$WHOIS" | grep -q APNIC; then
REGISTRY=APNIC
else :
fi

# Check to see if we're referencing a netblock...
if echo "$WHOIS" | grep -q "NETBLK"; then
NETBLOCK=$(
echo $WHOIS |
sed -ne '/^.*\(NETBLK[-A-Z0-9]*\).*/s//\1/p' |

Re: What's a debian kid look like?

2001-12-21 Thread Meir Kriheli
On Wednesday 19 December 2001 09:24, Matt wrote:

31 years old male, married + 2 dogs, living in Israel.

Programmer for both windows and Linux(PHP,Oracle,PostgreSql,MySql, 
Delphi/Kylix,C,C++). System administrator (Novell, Windows, Linux).

Own a development, consulting and support company.

Play the guitar. Doing 3D graphics and animations with Gimp/Blender (learning 
Blender as I write this).

Like to watch and play basketball, read sci-fi.
Like to listen to Rock and Metal.

Used (and still using) many computers and OS's, to name a few - OS/2, Windows 
(all version) . Linux : Redhat, SuSE, Mandrake. Used LinuxFromScratch for 
several months (great learning experience) - worked great but the maintenance 
is a killer. Tried Debian and liked it.

I'm using Debian Sid in workstations at home and at the office. Using potato 
for servers in out office, in addition to SuSE, Mandrake and two servers one 
with Novell and the other Win2000 (relax - they're used only for support :-)

In Israel I'm considered Left wing because of the support in the peace 
process (which unfortunately seems dead for now :-( ).

Well that's enough about me.
--
Meir Kriheli

> Forget support and distro discussion for a second..
>
> Who are we here? I'm curious about what the Debian demographic is.  I
> know this is sort of an impossible thing to answer, but it'd be
> interesting to explore in vague terms who uses Debian, at least compared
> to those who don't.
>
> Crushing realities like, "Am I typical? Does using Debian separate me
> from the rest?"
>
> Controversial questions like, "Will I ever meet more than 1 or 2 female
> Debian users who are active on mailing lists? Am I a Microsoft-branded
> pinko 'cause I like open-source?"
>
> IT? Artsy? Young? Old? Bitter? Socialist or CrewCut? Utopian or realist?
>
> I'll try to break the ice a bit: white male, 22, Canada, FineArts ex-pat
> turned CompSci near-grad, downtempo and raregroove on the weekends,
> csound, php and java development on the weekdays. Left-leaning (Harpers,
> not New Republic), piano-playing, community-oriented, social. Curious
> why so many people use RedHat.
>
> (Just an experiment)
>
> cheers,
> Matt



Re: Converting between maildir and mbox

2001-12-21 Thread martin f krafft
also sprach Craig Dickson <[EMAIL PROTECTED]> [2001.12.21.0505 +0100]:
>mkdir Mail/folder
>mkdir Mail/folder/cur
>mkdir Mail/folder/new
>mkdir Mail/folder/tmp

mkdir -p Mail/folder/{cur,new,tmp}

:)

> Seems to work well enough. Mutt is perfectly happy with such folders.

and they are absolutely valid. maildirmake really just does all this.
the reason why it should be used instead is because of abstraction -
because you as a user should not even worry about the existence of
{cur,new,tmp}: the implementation details are unimportant.

and, if everyone was using it, then it would be easy for djb to amend
the Maildir standard...


... which i doubt will happen anytime soon, so go ahead, happy
mkdir'ing

> Or, if you already have procmail set up, just adjust it for the new
> format, then pipe your old mail into it. Actually, I'm not sure that
> will work with an mbox file as input, because procmail might prefer to
> be invoked once per message (?).

formail -s procmail < mbox

will split mbox up into single messages and feed them into procmail
one by one...

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
windoze nt crashed.
i am the blue screen of death.
no one hears your screams.


pgp5yT7XUNPoL.pgp
Description: PGP signature


Re: init.d: writing custom init-scripts

2001-12-21 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>,
Brian May  <[EMAIL PROTECTED]> wrote:
>> "Colin" == Colin Watson <[EMAIL PROTECTED]> writes:
>
>Colin> In Debian, runlevels 2-5 are identical by default, and
>Colin> configuring any differences is left up to the system
>Colin> administrator.
>
>What does single user mode mean?
>I thought if I typed in "telinit s" it should kill off a number of
>daemons before entering single user mode.

Don't do that.

>It doesn't. It just goes straight to single user mode.

Right. "man init":

   Runlevels  0, 1, and 6 are reserved. Runlevel 0 is used to
   halt the system, runlevel 6 is used to reboot the  system,
   and  runlevel 1 is used to get the system down into single
   user mode. Runlevel S is  not  really  meant  to  be  used
   directly,  but more for the scripts that are executed when
   entering runlevel 1. For more information on this, see the
   manpages for shutdown(8) and inittab(5).

>Do I smell a bug somewhere here? Or is this normal behaviour?

It's the way it's supposed to be.

Mike.
-- 
"Don't worry about what anybody else is going to do ... The best way to
 predict the future is to invent it." -- Alan Kay.



sensord metric/English question

2001-12-21 Thread Paul 'Baloo' Johnson
Is it possible to get sensord to log in English measurements instead of
Metrics?

-- 
Baloo



ttyS1

2001-12-21 Thread Marcelo Chiapparini
Hi to all!

I am in a bit trouble. I deleted the /dev/ttyS1 file. Now I can't use the 
modem. The file exist in another machine (both of them run potato 2.2r4). How 
can I recover the file? Is a matter of copy the file to a floppy and copy back 
in the first machine? 

Thanks in advance for the help!

regards,

Marcelo

-- 
Marcelo Chiapparini
DFT-IF/UERJ
[EMAIL PROTECTED]



Re: ttyS1

2001-12-21 Thread Sebastiaan
High,

On Fri, 21 Dec 2001, Marcelo Chiapparini wrote:

> Hi to all!
> 
> I am in a bit trouble. I deleted the /dev/ttyS1 file. Now I can't use the 
> modem. The file exist in another machine (both of them run potato 2.2r4). How 
> can I recover the file? Is a matter of copy the file to a floppy and copy 
> back 
> in the first machine? 
> 
It is not a real file, it is a device, so it cannot be copied to a disk.
You have to remake the device again.

Log in as root and go to /dev. There, run './MAKEDEV ttyS1'. This will
restore your serial port device. Alternatively, you can do it by hand. An
'ls -l /dev/ttyS*' will give you:

crw-rw1 root dialout4,  64 Jul  5  2000 /dev/ttyS0
crw-rw1 root dialout4,  66 Jul  5  2000 /dev/ttyS2
crw-rw1 root dialout4,  67 Jul  5  2000 /dev/ttyS3
^   ^   ^
|character device   |major and minor device number

So, it looks like /dev/ttyS1 has a minor device number of 65. By hand:
# mknod /dev/ttyS1 c 4 65
# chmod u+rw,g+rw,o-rwx /dev/ttyS1
# chown root.dialout /dev/ttyS1

Greetz,
Sebastiaan



--
  NT is the OS of the future. The main engine is the 16-bit Subsystem
  (also called MS-DOS Subsystem). Above that, there is the windoze 95/98
  16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a 
  *real* 32-bit system.




Re: fetchmail questions

2001-12-21 Thread Cam Ellison
* Paul Mackinney ([EMAIL PROTECTED]) wrote:
> Seth Delackner muttered:
> > Not to get too picky, but in mutt you have to specify in your .muttrc
> > which files are considered inboxes that could receive new messages.
> > e.g. mailboxes ! =filtered_box =another_box
> 
> My setup is a little different. I have
>

 
> where can I find a list of supported
> commands such as 'save' and 'finish'?
> 

Look in /usr/share/doc/exim/filter.txt.gz.

It's all there, though you have to read it fairly carefully.

Cam

-- 
Cam Ellison Ph.D. R.Psych.
From Roberts Creek on B.C.'s incomparable Sunshine Coast
[EMAIL PROTECTED]
[EMAIL PROTECTED]



Re: Implications of using g++-3.0

2001-12-21 Thread J.H.M. Dassen \(Ray\)
On Thu, Dec 20, 2001 at 23:09:34 -0800, Ross Boylan wrote:
> If I use g++-3.0, do I need to build most of my own libraries?

In my limited experience, it works fine with 2.95-compiled C libraries, but
not C++ ones. Those you need to rebuild.

Ray
-- 
"But if you look carefully at their [Microsoft's] encryption algorithm, they
simply XOR the password with 'susageP', Pegasus spelled backwards. Pegasus
is the code name of Windows CE. This is so pathetic it's staggering." 
Bruce Schneier in http://www.counterpane.com/crypto-gram-9911.html 



Re: ttyS1

2001-12-21 Thread Paolo Alexis Falcone

Marcelo Chiapparini wrote:

>Hi to all!
>
>I am in a bit trouble. I deleted the /dev/ttyS1 file. Now I can't use the 
>modem. The file exist in another machine (both of them run potato 2.2r4). How 
>can I recover the file? Is a matter of copy the file to a floppy and copy back 
>in the first machine? 

man MAKEDEV


Paolo Alexis Falcone

__
www.edsamail.com



Re: slattach woes

2001-12-21 Thread Carel Fellinger
On Fri, Dec 21, 2001 at 10:43:51AM +0200, Shaul Karl wrote:
> > A friend of mine tries to connect two pc's over the serial line
> > with slattach, but failes. He comes to me, I try and fail:(
> > So I turn to you guys. Please don't fail me:)
...
> Perhaps the serial ports are not configured properly?
> What is setserial output?
> 
> [13:54:32 tmp]$ setserial -ga /dev/ttyS?

...output snipped
lookes the same here
besides, minicom on one and getty on the other work

> I guess that if the cable and devices are working properly then minicom 
> should work too, which can let you verify the serial stuff before 
> starting with the networking one.

yep, no cabling, port, mouse problems. Just not working:(

-- 
groetjes, carel



mutt saving maillists automatically

2001-12-21 Thread David Flatz
I want mutt to save my mailinglists automatically into a specific
mailbox.
I managed to get the maillists name with the subscribe command and i
changed the format of the index to see it. But i don't know anything in
.muttrc to get mutt saving the mails to the right mailbox.

thanks

David Flatz


pgpCPe9klB2zQ.pgp
Description: PGP signature


Re: What's a debian kid look like?

2001-12-21 Thread Alan Chandler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 19 December 2001 7:24 am, Matt wrote:
> Forget support and distro discussion for a second..
>
> Who are we here? I'm curious about what the Debian demographic is.  

UK, age 50 - been in the business for 30 years - now do non technical work at 
work so "play" at home.
- -- 

  Alan - [EMAIL PROTECTED]
http://www.chandlerfamily.org.uk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8Iylu1mf3M5ZDr2kRApmaAKCbJOcjlqTR4yT7h9X272mMJFW5FACgrxKH
yQh80ztf2qiqAAG+Jy5QfYI=
=OyBP
-END PGP SIGNATURE-



how to let cgis run by virtual users' permissions?

2001-12-21 Thread Vegh Karoly

'morning

I got pure-ftpd run with virtual users, the ftpd gets the datas
(username, passwd, uid, gid, homedir) of the virtual users from mysql.

The users will want to run their cgis of course, but I'd like to explain
it to apache, that these cgis should be ran with the permissions of the
virtual users...

The users are chroot'ed to their ftp-homedir.

will this work at all, or shall i forget it?

thx in advance.

lanc

-- 
Vegh Karoly





debian 2.1 -> 2.2 upgrade woes

2001-12-21 Thread Pete Templin

I did a live upgrade (production server, company doesn't have funds for a
development or transition server) on a box from Debian 2.1 to Debian 2.2,
and reminded myself why I don't like to upgrade boxes.  I've got most of
the stuff fixed (finally), but I get these errors in dselect:

When trying to [A]ccess, 

Connecting to ftp.debian.org...
Can't call method "quit" on an undefined value at
/usr/lib/dpkg/methods/ftp/setup line 148,  chunk 10.

query/setup script returned error exit status 29.
Press  to continue.


When trying to [I]nstall, 

Couldn't open /var/lib/dpkg/methods/ftp/vars : No such file or directory
Try to relaunch the « Access » step in dselect, thanks.

installation script returned error exit status 2.
Press  to continue.

Any suggestions on how to get my dselect happy again?

Please reply directly, as I'm not on debian-user at this time.

Thanks,

Pete

--
Peter J. Templin, Jr., CCNP, CCDP
Networking Consultant

On-Line Internet Services - URDirect.net
A division of Global On-Line Computers
5606 Randolph Blvd  [EMAIL PROTECTED]
San Antonio, TX 78233   (210)477-7603



Re: warning message from portsentry

2001-12-21 Thread rick
On Thu, Dec 20, 2001 at 07:44:51PM +, Pollywog wrote:
> On 2001.12.20 19:33 Pollywog wrote:
> >On 2001.12.20 19:04 [EMAIL PROTECTED] wrote:
> >>What does this warning mean and what is causing it?
> >>
> >>> Dec 20 12:02:10 tc portsentry[540]: attackalert: Possible stealth
> >>> scan from unknown host to TCP port: 111 (accept failed)
> >>
> >>I get it when I run a 2.4 kernel but not when I run a 2.2 kernel so
> >>I believe it's something internal to my system. There are hundreds
> >>of them every hour.

Correction. Make that hundreds of *thousands*. As in daemon.log entries:

Dec 21 08:31:03 tc portsentry[12063]: attackalert: Possible stealth scan
from unknown host to TCP port: 111 (accept failed)
Dec 21 08:31:33 tc last message repeated 98235 times
Dec 21 08:32:34 tc last message repeated 196030 times
Dec 21 08:33:33 tc last message repeated 187197 times

> >That appears to be Portmapper.  If you are not using it, disable it
> >or remove it.  Otherwise  go into your Portsentry config and remove
> >port 111 from the list of ports Portsentry monitors.

I stopped portmapper and still get the messages. (I ran
'/etc/init.d/portmap stop' and portmap no longer shows in a ps.)

> Instead of removing the port from the list of ports being watched, you
> can also add the host to portsentry.ignore if you think that best.  In
> mine, I have:
> 
> # IPs from /etc/portsentry/portsentry.ignore.static:
> 127.0.0.1
> 0.0.0.0
> 192.168.1.1
> 
> I am not sure why 0.0.0.0 is present and I believe it was added by
> debconf but it doesn't seem to hurt.

Those were already there.

Besides, I really don't want to just *ignore* the problem. I'd like to
know what's causing it.

Why does it happen when I run 2.4.16 and not when I run 2.2.16?

-- 
You contend that I am wrong to teach my son science and
philosophy; I believe you are wrong to teach yours Greek and
Latin. Let us both follow the dictate of our conscience. Let us
allow the law of responsibility to operate for our families. It
will punish the one who is wrong. Let us not call in human law; it
could well punish the one who is not wrong.
-- Frédéric Bastiat (1801-1850)
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net



Re: Implications of using g++-3.0

2001-12-21 Thread yugami
C has a defined interface standard, c++ does not (the biggest weakness of
c++ as admitted by Stroustrup himself)

- Original Message -
From: "J.H.M. Dassen (Ray)" <[EMAIL PROTECTED]>
To: 
Cc: "Ross Boylan" <[EMAIL PROTECTED]>
Sent: Friday, December 21, 2001 7:24 AM
Subject: Re: Implications of using g++-3.0


> On Thu, Dec 20, 2001 at 23:09:34 -0800, Ross Boylan wrote:
> > If I use g++-3.0, do I need to build most of my own libraries?
>
> In my limited experience, it works fine with 2.95-compiled C libraries,
but
> not C++ ones. Those you need to rebuild.
>
> Ray
> --
> "But if you look carefully at their [Microsoft's] encryption algorithm,
they
> simply XOR the password with 'susageP', Pegasus spelled backwards. Pegasus
> is the code name of Windows CE. This is so pathetic it's staggering."
> Bruce Schneier in http://www.counterpane.com/crypto-gram-9911.html
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



Re: XMMS bug

2001-12-21 Thread Steven Kurylo

Peter Jay Salzman wrote:


jesus.  speak of the devil.  i just spent about an hour on this today, in
fact.  you guys are mind readers.

i'm using OSS drivers (not alsa).  xmms kept segfaulting.  using the process
of elimination, i determined it was was the alsa plugin.

perhaps we should file a bug report..

i just went searching and I found bugs filed against xmms-alsa debian 
package and on the bugs.xmms.org sites.






Re: "C" Manual

2001-12-21 Thread Henrik Enberg
Phil Beder <[EMAIL PROTECTED]> writes:

> Where can I find a good, complete manual for C and C++ programming
> languages for the gcc compiler.  Other resouces for learning C also
> accepted.  I played with C when I was a mainframe programmer and wanted to
> get back in touch with it again.  

"info libc" will give you the api documentation for the GNU C library.
Even better is to look a it from Emacs.

Henrik
-- 
One of the great things about books is sometimes there are some
fantastic pictures.
-- George W. Bush



Re: /dev/dsp not found: KDE/ALSA

2001-12-21 Thread Stephan Hachinger
Hi!

Is the soundcore.o module also loaded? That's a module directly from
the linux kernel (if you compile the kernel yourself: You have to
switch general sound card support to "M" (modularized), but leave all
other options off on the sound card support configuration page; if
you don't compile it yourself: This module should be part of the
kernel packages). It it at least necessary with my alsa 5.10
distribution. Just try to load it using modconf.

Cheers,

Stephan


On Thu, 20 Dec 2001 22:00:31 -0800
Ross Boylan <[EMAIL PROTECTED]> wrote:

> Thanks for the suggestions.  Unfortunately, I already had the
aliases
> in my modules.conf (except I use sbawe).
> 
> I tried setting the sound system to OSS, but still no signs of
life.
> 
> I'm reluctant to remove the aliases, since the alsa documenation
calls
> for them.
> 
> Argh!
> 
> lsmode shows lots of the right modules loaded:
>   35744   0
> 9184   0  [snd-pcm-oss]
6016   0
   5312   0  [snd-card-sbawe]
  5408   0  [snd-card-sbawe]
 48576   0  [snd-pcm-oss snd-sb16-dsp]
   10432   0  [snd-opl3 snd-pcm]
   2624   0  [snd-card-sbawe snd-sb16-dsp]
   12576   0  [snd-mpu401-uart]
   10816   0  [snd-card-sbawe]
3952   0  [snd-opl3 snd-rawmidi snd-emu8000]
15392   0  [snd-card-sbawe]
> snd-sb-common   6040   0  [snd-card-sbawe snd-sb16-dsp
snd-sb16-csp]
> snd-hwdep   3680   0  [snd-opl3 snd-sb16-csp]
> snd24776   0  [snd-pcm-oss snd-mixer-oss
snd-card-sbawe snd-opl3 snd-sb16-dsp snd-pcm snd-timer
snd-mpu401-uart snd-rawmidi snd-emu8000 snd-seq-device snd-sb16-csp
snd-sb-common snd-hwdep]
> 
> 
> On Thu, Dec 20, 2001 at 05:21:55PM +0100, Stephan Hachinger wrote:
> > Hi!
> > 
> > Hmm, I don't have no idea :(. But I have looked through my
modules.conf and
> > found the following entries:
> > 
> > # ALSA multiplexer
> > 
> > alias char-major-116 snd
> > 
> 
> [etc]
> > 
> > Maybe adding the missing entries helps. On this system where I
have those
> > entries in modules.conf, respectively in /etc/modutils/aliases
(the best is,
> > you add such entries to /etc/modutils/aliases -> run
"update-modules" ->
> > they are written to modules.conf automatically), strangely enough
only
> > setting the arts daemon to "open sound system" makes it work, but
at least
> > the sound server works... The system had another soundcard before
and with
> > this one, it worked absolutely the right way but now only with
the "oss
> > trick".
> > 
> > 
> > Another try: I also have a second system here without any entries
in
> > /etc/modutils/aliases (arts runs properly!); on this system the
following
> > modules are loaded at bootup:
> > 
> > snd-card-sbawe (i.e. my sound card module)
> > snd-mixer-oss
> > snd-pcm-oss
> > snd-synth-emu8000 (i.e. the module for my AWE wavetable device)
> > 
> > 
> > Hmm, maybe the first or the second entries (or combine both ;))
help... Any
> > other suggestions by anyone else?
> > 
> > Cheers,
> > 
> > Stephan
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
> 



Debian on Compaq ProLiant DL380

2001-12-21 Thread Loren Jordan

I have a Compaq DL380 with a Smart Array 5i controller.

This machine doesn't seem to be happy with the "compact" boot disks.  The 
thing boots up but doesn't "see" the disks.  I have installed Debian on 
other Compaq machines before and have had to use the compact root and 
rescue boot disks.


I don't see any error messages while booting, however I also don't see the 
"discovering" of the array.  Am I missing something? boot command line for 
the kernel? or do I need to make a new custom kernel boot disk?


Thanks,
Loren



xmms hang - gtk related?

2001-12-21 Thread Stephen Gran
Hello all,
I have been having a problem with xmms for the past two weeks or so,
ever since an upgrade of it (tracking testing).  If I minimize xmms,
then maximize it later, the playlist has disappeared, and it shortly
thereafter segfaults.  Attached is an strace output - only the last
100 or so lines, when I start to see errors.  It looks much like bug
#121058, so it has been reported, and I figure there is not much to do
on that front.  What I am asking, in the meantime, does anyone have
any workarounds, or an older version that works well?  This may also
be strictly a Gnome problem, but I can't reproduce it in other apps,
so I tend to think it's xmms's problem, or at least a problem in the
way it expects to interact with Gnome.
TIA, 
Steve
-- 
Don't look now, but there is a multi-legged creature on your shoulder.
socket(PF_UNIX, SOCK_STREAM, 0) = 10
getuid32()  = 1003
geteuid32() = 1003
setuid32(0x3eb) = 0
setreuid32(0x3eb, 0x3eb)= 0
connect(10, {sin_family=AF_UNIX, path="/tmp/xmms_steve.0"}, 110) = 0
write(10, "\1\0 \0\0\0\0\0", 8) = 8
read(10, "\1\0\0\0\4\0\0\0", 8) = 8
read(10, "\0\0\0\0", 4) = 4
read(10, "\1\0\0\0\0\0\0\0", 8) = 8
close(10)   = 0
gettimeofday({1008943179, 609198}, NULL) = 0
ioctl(3, 0x541b, [0])   = 0
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}], 3, 
5) = 0
gettimeofday({1008943179, 624323}, NULL) = 0
gettimeofday({1008943179, 624473}, NULL) = 0
ioctl(3, 0x541b, [0])   = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}, {fd=7, events=POLLIN}, {fd=11, 
events=POLLIN}], 3, 9) = 1
gettimeofday({1008943179, 644357}, NULL) = 0
ioctl(3, 0x541b, [32])  = 0
read(3, "\5\1G\17|\'\263\3516\0\0\0,\0\240\1\0\0\0\0\346\4\\\0\371"..., 32) = 32
write(3, "\33\0\2\0\0\0\0\0+\0\1\0", 12) = 12
read(3, "\1\2I\17\0\0\0\0,\0\240\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(2, "\n", 1
)   = 1
write(2, "Gtk", 3Gtk)  = 3
write(2, "-", 1-)= 1
write(2, "CRITICAL **: ", 13CRITICAL **: )   = 13
write(2, "file gtkwidget.c: line 1428 (gtk"..., 89file gtkwidget.c: line 1428 
(gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed.) = 89
write(2, "\n", 1
)   = 1
write(2, "\n", 1
)   = 1
write(2, "Gtk", 3Gtk)  = 3
write(2, "-", 1-)= 1
write(2, "CRITICAL **: ", 13CRITICAL **: )   = 13
write(2, "file gtkwidget.c: line 3746 (gtk"..., 98file gtkwidget.c: line 3746 
(gtk_widget_set_uposition): assertion `GTK_IS_WIDGET (widget)' failed.) = 98
write(2, "\n", 1
)   = 1
write(2, "\n", 1
)   = 1
write(2, "Gtk", 3Gtk)  = 3
write(2, "-", 1-)= 1
write(2, "WARNING **: ", 12WARNING **: )= 12
write(2, "invalid class type `(unknown)\' i"..., 53invalid class type 
`(unknown)' in cast to `GtkObject') = 53
write(2, "\n", 1
)   = 1
write(2, "\n", 1
)   = 1
write(2, "Gtk", 3Gtk)  = 3
write(2, "-", 1-)= 1
write(2, "CRITICAL **: ", 13CRITICAL **: )   = 13
write(2, "file gtkobject.c: line 1034 (gtk"..., 93file gtkobject.c: line 1034 
(gtk_object_set_data): assertion `GTK_IS_OBJECT (object)' failed.) = 93
write(2, "\n", 1
)   = 1
write(2, "\n", 1
)   = 1
write(2, "Gtk", 3Gtk)  = 3
write(2, "-", 1-)= 1
write(2, "WARNING **: ", 12WARNING **: )= 12
write(2, "invalid class type `(unknown)\' i"..., 53invalid class type 
`(unknown)' in cast to `GtkObject') = 53
write(2, "\n", 1
)   = 1
write(2, "\n", 1
)   = 1
write(2, "Gtk", 3Gtk)  = 3
write(2, "-", 1-)= 1
write(2, "CRITICAL **: ", 13CRITICAL **: )   = 13
write(2, "file gtkobject.c: line 1034 (gtk"..., 93file gtkobject.c: line 1034 
(gtk_object_set_data): assertion `GTK_IS_OBJECT (object)' failed.) = 93
write(2, "\n", 1
)   = 1
write(2, "\n", 1
)   = 1
write(2, "Gtk", 3Gtk)  = 3
write(2, "-", 1-)= 1
write(2, "CRITICAL **: ", 13CRITICAL **: )   = 13
write(2, "file gtkwidget.c: line 3787 (gtk"..., 94file gtkwidget.c: line 3787 
(gtk_widget_set_usize): assertion `GTK_IS_WIDGET (widget)' failed.) = 94
write(2, "\n", 1
)   = 1
write(3, "+\0\1\0", 4)  = 4
read(3, "\1\2J\17\0\0\0\0,\0\240\1\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(3, ">\0\7\0\210\0\240\1T\0\240\1a\0\240\1\0\0\25\0\0\0\0\0"..., 2040) = 
2040
write(3, "J\0\r\0T\0\240\1a\0\240\1\f\0\23\1 \0002313. Rage Aga"..., 764) = 764

Re: scanner recommendations?

2001-12-21 Thread pirmin

1.
3200dpi, totalling a whopping 171.6MB took 682 seconds (ca. 260kB/s)

2.
300dpi, totalling 1.5MB took 73 seconds (ca. 21kB/s)


Thank you! And how long does a b/w lineart page A4 with 150dpi take?

-- Andreas von Heydwolff




Woody on CD

2001-12-21 Thread Andrew Pritchard
Is it possible to get (or build using the pseudo image kit) a snapshot of woody 
on CD(s)?

Cheers,

Andrew

"I do not agree with what you say,
but I will defend to the death your right to say it." 
Francois Marie Arouet Voltaire (1694-1778)



stable gcc for sid

2001-12-21 Thread Shri Shrikumar
Hi All,

Im keen on getting a stable version of a c++ compiler for sid. the
version I have says that it is a debian prerelease version and tends to
show internal error when compiling an application.

I've tried getting gcc from testing but that too seems to be a
pre-release and the one froms stable seems to want to remove a buch of
stuff I think I would like to keep.

I also have gcc-3.0 installed - would simply removing this bring gcc
back to a stable state ?

I upgrade quite regularly - once every few days.

Any thoughts / ideas. All Welcome.


Thanx



Shri
-- 
---
Shri Shrikumar
I.T. Consultant

U R Byte Solutions
23 McDonald Road
Edinburgh EH7 4LX
United Kingdom

Tel: (0131) 558 9990
Email: [EMAIL PROTECTED]
Web: www.urbyte.com
---



Re: Converting between maildir and mbox

2001-12-21 Thread Nathan E Norman
On Thu, Dec 20, 2001 at 11:32:58PM -0800, Craig Dickson wrote:
> Paul 'Baloo' Johnson wrote:
> 
> > OK, now the other question is does this affect procmail at all?
> 
> man procmailrc
> 
> Observe in particular the rule for specifying the format of a destination
> folder. If you give a name without a trailing / then it is assumed to be
> an mbox file. Put a trailing / on the name to tell procmail that it is
> a maildir folder.

A few observations:

If you've already created a maildir "foo/" but specify "foo" in your
.procmailrc, procmail will deliver to mbox "foo".  So don't forget
that slash :)

In my experience, if you are sorting mail into folders (or whatever
you want to call them), it's not necessary to create the maildir at
all; just tell procmail that you want all mail from the debian-xyzzy list
in "debian-xyzzy", and procmail will create the maildir itself when
the first message arrives.

qmail absolutely demands that the maildir exist before delivering mail
to it.  This confused the heck out of me once when I thought qmail was
using procmail as the MDA, but it really wasn't.

Regards,

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton


pgpGSEp9DYwFp.pgp
Description: PGP signature


Re: mutt saving maillists automatically

2001-12-21 Thread Nathan E Norman
On Fri, Dec 21, 2001 at 01:47:01PM +0100, David Flatz wrote:
> I want mutt to save my mailinglists automatically into a specific
> mailbox.
> I managed to get the maillists name with the subscribe command and i
> changed the format of the index to see it. But i don't know anything in
> .muttrc to get mutt saving the mails to the right mailbox.

Let procmail do it.  I use the following recipe for debian lists:

 # Debian lists ...
 :0 
 * ^X-Mailing-List: .*[<[EMAIL PROTECTED]>]
 * ^X-Mailing-List: .*[<] *\/[^ [EMAIL PROTECTED]
 Mail/$MATCH/

All my mail folders are subdirs of "Mail"; mail from this list goes in
the "debian-user" folder, debian-devel goes to "debian-devel", etc.

Before you reply and say "but how do I use procmail", man procmailrc,
man procmailex, and search the archives for this list: there are
several posts each month regarding procmail.

Good luck!

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton


pgpjcaMiph2HD.pgp
Description: PGP signature


Re: EXT2 trouble?

2001-12-21 Thread Guy Geens
> "Davi" == Davi Leal <[EMAIL PROTECTED]> writes:

Davi> Is it dangerous?

Either your filesystem is corrupt, or your hard disk has errors on it.

Try running badblocks (use -n for a non-destructive write test).

If that doesn't find anything, run e2fsck on the partition. Make sure
the partition is not mounted, or only read-only. (Use a boot disk to
be sure.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: stable gcc for sid

2001-12-21 Thread J.H.M. Dassen \(Ray\)
On Fri, Dec 21, 2001 at 14:56:06 +, Shri Shrikumar wrote:
> Im keen on getting a stable version of a c++ compiler for sid. the version
> I have says that it is a debian prerelease version

That's because, technically speaking, it is. It is a stable release of gcc,
updated with CVS changes from the relevant branch (which essentially should
be bugfixes only).

> and tends to show internal error when compiling an application.

See /usr/share/doc/gcc-2.95/README.Bugs.gz for information on how to provide
useful bug reports.

In general, gcc's internal compiler errors often indicate "there is something
wrong with your code, but we haven't handled this case yet, so there's no
useful diagnostic to provide you with". It is often enlightening to try to
compile it with the latest packaged version, which may well have a
diagnostic to help you along.

> I also have gcc-3.0 installed - would simply removing this bring gcc back
> to a stable state ?

No. The gcc-3.0 packages and the 2.95 ones are independent.

HTH,
Ray
-- 
Sexual paranoia: did I once unknowingly sleep with THEM?



Re: Party with porn stars

2001-12-21 Thread Justin R. Miller
Thus spake Karsten M. Self (kmself@ix.netcom.com):

> I've got a few systems for trapping spam.  

I've been quite happy with spamassassin.  Feel free to check out my
writeup: 

http://codesorcery.net/docs/spamtricks.html

-- 
Justin R. Miller <[EMAIL PROTECTED]>
View my website at http://codesorcery.net
Please encrypt email using key 0xC9C40C31


pgp2HXhUvoY5l.pgp
Description: PGP signature


Re: chmod quiestion

2001-12-21 Thread Dave Sherohman
On Fri, Dec 21, 2001 at 02:39:23PM +0800, [EMAIL PROTECTED] wrote:
> Providing I have a directory /grpdir and chmod it to 775. If a user of
> that group creates a subdirectory under it, say /grpdir/subdir, the subdir
> will have 755 as it's default mode.
> 
> How to force the files and subdirectories under /grpdir to have the same
> chmod value and user.group value?

You can't.

`chmod g+s dirname` will set the sgid bit on the directory, causing
all files created within it to be owned by the same group as the
directory.  You can't force the owning user.

The permissions on created files is determined, as another poster has
mentioned, by the user's umask.  This is, however, a user-controlled
setting.  As the sysadmin, you don't have the ability to force a
specific umask setting to be used on all files within a directory.
The best you can do is add the line

umask 002

to all relevant users' .bash_profile (note that Debian places `umask
022` in that file by default).  This will cause everything a user
creates (from within bash) to be group-writable, not just the single
directory, but that should pose minimal problems on a Debian system,
as Debian's default is to set up each user with their own private
group; as long as you don't add anyone to these groups, user-writable
and group-writable are equivalent unless the file is owned by a
different group (as would be the case in a sgid directory).

(I'm pretty sure that all of this is correct, but if I'm wrong, and
there is a way to force this, I would be overjoyed to learn of it...)

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Tom Swiss



please send me how to use sms-client

2001-12-21 Thread poý
 
 

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com



Re: mutt saving maillists automatically

2001-12-21 Thread Dave Sherohman
On Fri, Dec 21, 2001 at 08:56:53AM -0600, Nathan E Norman wrote:
> Let procmail do it.  I use the following recipe for debian lists:
> 
>  # Debian lists ...
>  :0 
>  * ^X-Mailing-List: .*[<[EMAIL PROTECTED]>]
>  * ^X-Mailing-List: .*[<] *\/[^ [EMAIL PROTECTED]
>  Mail/$MATCH/

Or, if you're running exim to handle your mail (which is the Debian
default), use that instead.  Just put the following in ~/.forward:

--- cut here ---
# Exim filter

# In case something goes wrong, allow the message to be delivered normally
if error_message then finish endif

# Put mail from the debian-* lists into their own folder instead of
# cluttering my main incoming mailbox with them
if $h_X-Mailing-List: contains "ebian-" then
  save $home/Mail/deb
endif
--- cut here ---

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Tom Swiss



Re: installing Woody on new box - best way to go about it?

2001-12-21 Thread Aaron Traas
Rachel Andrew wrote:
> I have a CD with Potato on it, given that I am on a single band ISDN
> dial-up here am I best to install Potato and upgrade or is there 
> somewhere I can download a CD image of Woody? (If so I could get my 
> other half to download that at work on their DSL)

Most of the Woody ISO's and install scripts are really buggy. If I were
you, I'd do a super-minimal Potato install, get networking up, edit
apt-sources, and upgrade to Woody, install packages as needed.

> Is KDE 2.2 still only available in Sid? I have done this process 
> before so I can get the packages from 2 places, however if it has made 
> it into Woody then I needn't bother.

KDE 2.2.1 for the most part is in Woody. Kmail in Woody is unfortunately
still the 2.1 version, and thus does not support IMAP. ARG! I'm waiting
to be able to replace Netscape mail with KMail, as I don't use Netscape
for browsing any more... Konq is good enough for me.

--Aaron



Re: q: noflushd won't do -- what else?

2001-12-21 Thread Joey Hess
[EMAIL PROTECTED] wrote:
> More details and further ideas: It is a more-or-less classical 
> dial-in box. It has a harddisk that from time to time is actually
> needed, but most of the time (approx 22hrs a day) its sole job 
> is IP maquerading and running a nameserver (BIND9 as out of 
> the box, caching-only). 

FWIW, I have a very similar box as my wireless access point and dialup
machine. With noflushd, I typically keep the disk spun down for 24 hours
at a time.

> ls -rt indicates that syslogd & al. are responsible for the 
> frequent activity, at any rate the only files that have changed 
> during the last couple of hours are to be found in /var/log. 

syslogd by default sync's log files when it writes them to disk. You
want to disable that by putting a '-' in front of all the filenames,
like so:

daemon.*-/var/log/daemon.log

-- 
see shy jo



Re: Woody on CD

2001-12-21 Thread Thomas R. Shemanske

ftp://ftp.fsn.hu/pub/CDROM-Images/debian-unofficial/woody

Andrew Pritchard wrote:

Is it possible to get (or build using the pseudo image kit) a snapshot of woody 
on CD(s)?


Cheers,

Andrew

"I do not agree with what you say,
but I will defend to the death your right to say it." 
Francois Marie Arouet Voltaire (1694-1778)









Re: stable gcc for sid

2001-12-21 Thread Shri Shrikumar
On Fri, 2001-12-21 at 15:10, J.H.M. Dassen (Ray) wrote:
> On Fri, Dec 21, 2001 at 14:56:06 +, Shri Shrikumar wrote:
> > Im keen on getting a stable version of a c++ compiler for sid. the version
> > I have says that it is a debian prerelease version
> 
> That's because, technically speaking, it is. It is a stable release of gcc,
> updated with CVS changes from the relevant branch (which essentially should
> be bugfixes only).

except if I run make again(without doing anything else), it goes through
fine so I _cant_ reproduce the problem. Its seems to be almost random. 

It hasn't happened since the last upgrade though so I guess it may be
eliminated. I was just a little concerned maybe the compiler was working
incorrectly for some reason.


Thanx for the help,



Shri

-- 
---
Shri Shrikumar
I.T. Consultant

U R Byte Solutions
23 McDonald Road
Edinburgh EH7 4LX
United Kingdom

Tel: (0131) 558 9990
Email: [EMAIL PROTECTED]
Web: www.urbyte.com
---



Re: ppp daemon dies Newbie #61

2001-12-21 Thread dman
On Fri, Dec 21, 2001 at 09:53:18AM +0200, Ian Balchin wrote:
| All,
| 
| I have decided to do a complete reinstall in the light of the following 
| considerations.

Sometimes it is good to do a reinstall when you are learning how the
system works.  Sometimes you can tweak (break) a config somewhere and
not know or remember or know how to track it down.  Seeing the
brand-new-freshly-installed configs can help, once you've been digging
into them for a while anyways.  I know that I reinstalled many times
when I was starting out.

The main suggestion I have is to print out the configs you have now
that work, or sort-of work so that you can compare it to the fresh
configs when you re-install.

-D

-- 

All a man's ways seem innocent to him,
but motives are weighed by the Lord.
Proverbs 16:2



Re: mutt saving maillists automatically

2001-12-21 Thread dman
On Fri, Dec 21, 2001 at 08:56:53AM -0600, Nathan E Norman wrote:
 
| Let procmail do it.  I use the following recipe for debian lists:
| 
|  # Debian lists ...
|  :0 
|  * ^X-Mailing-List: .*[<[EMAIL PROTECTED]>]
|  * ^X-Mailing-List: .*[<] *\/[^ [EMAIL PROTECTED]
|  Mail/$MATCH/

Oooh, neat!  This is much better than having a separate rule for each
list!  Now if only all lists followed a standard header so that this
trick could be used regardless of the server.

-D

-- 

The Lord detests all the proud of heart.
Be sure of this: They will not go unpunished.
Proverbs 16:7



Re: stable gcc for sid

2001-12-21 Thread J.H.M. Dassen \(Ray\)
On Fri, Dec 21, 2001 at 16:41:27 +, Shri Shrikumar wrote:
> except if I run make again(without doing anything else), it goes through
> fine so I _cant_ reproduce the problem. Its seems to be almost random. 

That's a typical sign of bad or badly configured hardware. Time to read
http://www.bitwizard.nl/sig11/ .

Ray
-- 
TV is the worst of both worlds. It's not as good at words as radio is
because the pictures are a distraction which demand attention, and it's not
as good as cinema because the pictures are not nearly as good.
Douglas Adams in http://slashdot.org/article.pl?sid=00/06/21/1217242



Multiple workspaces with Sawfish and Gnome, session management and navigation

2001-12-21 Thread Neilen Marais

Hi.

I'm running woody, with its attendand Gnome packages.  I use the 
Sawfish window manager, with 9 workspaces, with columns and rows both 
set to 1, as per the workspaces configuration tab under sawfish in the 
gnome control center.


This works fairly niceley, but there are two things I can't get quite 
right:


1) Session management
2) Keybindings to take me to each workspace directly.

1) The session management kinda works, but when I log in again, 
everything is always put on the first desktop.  Also, sometimes it 
remembers the settings of my aterms, sometimes it don't...


I remember long ago I was using icewm-gnome and gnome, and the 
sessionmanagement was better.  I like sawfish though, and can't use 
icewm due to some obscure focus bugs it has in pointer focus mode.


2) I can find options in the sawfish bit of gnome control center to 
take me to the previous, and next, workspaces, and have bound them to 
keys.  I can't, however, find anything to go directly to desktop x, so 
I can bind them to M-C-x.


Help appreciated

Thanks
Neilen



Quake2 with hardware accel

2001-12-21 Thread Neilen Marais

Hi all

Does anyone know what is needed to get quake2 working with  hardware 
accell in X4.1? It seems to need Mesa 2.6, while now adays we are 
around 3.x.  Is it even possible to get this working?


Or are newer binaries, etc. avail?  I only tried a really old archive 
of quake 2 that has been lying untouched on my HDD for years.


Thanks
Neilen



xmame-gl slow, even with direct rendering working

2001-12-21 Thread Neilen Marais

Hi All!

I recently (yesterday, in fact) got (finally) a vid card with some 
accellerated 3D support, nameley an ATI Rage 128GL, with 32MB RAM.


I Managed to get DRI working without too much effort (mainly compiling 
the r128 and agpgart kernel modules).  I know it is accelerated, since 
when I run gears without any DRI stuff, I get 100fps, and with accell 
about 300fps. Also, glaxium is completely unplayable without 3D accel, 
and with it, I get 30-40 fps.


This is on a Duron 750 (kt133 chipset, RAM speed set to medium, cas3, 
video 1152x864 32bpp).  Anyhow, I was hoping to use xmame-gl to get 
fast fullscreen support in X, but even running a game at 1:1 
resolution, I get only about 5fps. Running the normal X version, and 
scaling it to double size, I easily get 60fps.


Anyone have any ideas, or get it to perform better themselves?  If so, 
what config do you have?


Oh, one think that _might_ be significant, I am running mostly woody, 
with only the xmame comfing from sid.  All the X/DRI/Mesa/whatever is 
from woody, kernel 2.4.13.




Sending faxes with efax as a normal user

2001-12-21 Thread Neilen Marais

Hi all.

I noticed that I can not send faxes as a user.  The fax command 
complains of the following:


efax: 16:13 Error: can't open pre-lock file /var/lock/TMP..01473: 
Permission denied


The permissions on /var/lock are:

drwxr-xr-t3 root root 1024 Dec 21 17:18 /var/lock/

so, users should not be allowed to write.  I assume its this way for a 
reason.


So, how should efax be set up so as to allow normal users to send 
faxes, or is this not possible.  Sending faxes as root works, but I 
don't like the idea.


If there is no way to make efax do this, what other software are 
available?


Thanks
Neilen



Re: stable gcc for sid

2001-12-21 Thread Shri Shrikumar
On Fri, 2001-12-21 at 16:38, J.H.M. Dassen (Ray) wrote:
> On Fri, Dec 21, 2001 at 16:41:27 +, Shri Shrikumar wrote:
> > except if I run make again(without doing anything else), it goes through
> > fine so I _cant_ reproduce the problem. Its seems to be almost random. 
> 
> That's a typical sign of bad or badly configured hardware. Time to read
> http://www.bitwizard.nl/sig11/ .
> 

It doesn't segfault - it merely says internal compiler error. A lot of
warnings are being spewed out through the compiles - I figured it may be
the number of warnings that is triggering this instead of popping an
error saying "Too Many Warnings."

I am nevertheless checking the site out; you never know - it may be
harware related.

Thanx


Shri

-- 
---
Shri Shrikumar
I.T. Consultant

U R Byte Solutions
23 McDonald Road
Edinburgh EH7 4LX
United Kingdom

Tel: (0131) 558 9990
Email: [EMAIL PROTECTED]
Web: www.urbyte.com
---



tester

2001-12-21 Thread Américo Rocha





...there is no place like ~
---
  Américo Rocha
[EMAIL PROTECTED]



Re: stable gcc for sid

2001-12-21 Thread John Hasler
Shri writes:
> It doesn't segfault - it merely says internal compiler error.

This is a typical symptom of hardware problems.  Gcc works the cpu pretty
hard, heating it up.  If your cooling or timing is maginal this can cause
memory errors.  When these hit the compiler's data structures it interprets
them as internal errors.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin



Configuring dhcpd problem

2001-12-21 Thread Daniel Toffetti
Hi all !

I have a proxy and I want it to serve IP addresses to the internal 
network using dhcpd.
/etc/dhcpd.conf describes the internal subnet only, which corresponds 
to the interface eth1.
Looking in /var/log/daemon.log, dhcpd is complaining that there is no 
declaration for the subnet corresponding to interface eth0, which I 
don't want dhcpd to serve IP addresses to.
I've been told to look in the script /etc/init.d/dhcp and add the 
interface I want dhcpd to listen to for IP requests, in my case eth1. 
Otherwise, it would try to listen on all interfaces, and then would 
fail since eth0 is not properly declared.
But when I add eth1 like this:

/usr/sbin/dhcpd -- -d eth1

the script fails at boottime and I need to restart from floppies to get 
back. From what I understand from man dhcpd, this should be a perfectly 
valid option.
The booting process stops just after starting anacron, where it should 
start dhcpd.

What is the problem now ??  Any ideas ??  What else can I do to track 
the problem ??

Thanks in advance,

Daniel
-- 
"There is no spoon..." - The Matrix



tester2

2001-12-21 Thread Américo Rocha





...there is no place like ~
---
  Américo Rocha
[EMAIL PROTECTED]



Gdk Warning

2001-12-21 Thread colemw



I am trying to dpkg-reconfigure some applications 
ie gimp, abiword but I keep getting a Gdk Warning about a FontSet creation error 
involving ISO5589-1.   I am using Debian/linux 2.2 with gimp1.0.4 and 
abiword 0.9.5.1 on a Pentium cpu. I don't know where to go to find anything out 
about this error to try to find out how to fix it.  Any direction would be 
appreciated.
Thanks 
Michael
 


Re: Secure 2.4.x kernel

2001-12-21 Thread Alson van der Meulen
devil([EMAIL PROTECTED])@2001.12.21 18:11:38 +:
> does somebody knows where I can get Pine?
Try apt-get -b source pine, this should build pine from source.

Read man apt-get, and possibly some other debian newbie docs for more
info (http://www.debian.org/doc/ might contain some useful links).

(set CC and reply-to to debian-user mailing list, since that's the
appropiate place for this)
> PS. I'm a newbie
> =
> Kristof Van de Maele
> DeViL
> [EMAIL PROTECTED]
> =



Re: Party with porn stars

2001-12-21 Thread Peter Hicks
On Friday 21 December 2001 07:15, Justin R. Miller wrote:
> Thus spake Karsten M. Self (kmself@ix.netcom.com):
> > I've got a few systems for trapping spam.
>
> I've been quite happy with spamassassin.  Feel free to check out my
> writeup:
>
>   http://codesorcery.net/docs/spamtricks.html

I just installed razor and it works quite well.



Re: v2.4.14 kernel compile problem

2001-12-21 Thread pacmac
There is a binutils problem, I download binutils, binutils-dev and modutils
Potato version and it's compile :D There are my version's:

ii  binutils   2.9.5.0.37-1   The GNU assembler, linker and binary
utiliti
ii  binutils-dev   2.9.5.0.37-1   The GNU binary utilities (BFD development
fi
ii  modutils   2.3.11-13.1Linux module utilities.




 On Mon, Nov 05, 2001 at 10:54:43PM -0500, James D Freels wrote:
> I have just tried to compile a clean source (without any patches) of
> v2.4.14.  I did a straight "make oldconfig" of a working v2.4.13 .config.
> I get the following error message at that last part of the make bzImage
> when it is creating the final kernel image:
> 
> ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext 
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o 
> init/version.o \
> --start-group \
> arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o 
> fs/fs.o ipc/ipc.o \
>  drivers/char/char.o drivers/block/block.o drivers/misc/misc.o 
> drivers/net/net.o drivers/media/media.o
> drivers/char/agp/agp.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o 
> drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o \
> net/network.o \
> /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a 
> /usr/src/linux/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux
> drivers/block/block.o: In function `lo_send':
> drivers/block/block.o(.text+0x894f): undefined reference to `deactivate_page'
> drivers/block/block.o(.text+0x8999): undefined reference to `deactivate_page'
> make: *** [vmlinux] Error 1
> 
> I suspect others will have the same problem.  Any idea of a fix?
> 
> Please respond by email to either
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Converting policy.sgml to texinfo

2001-12-21 Thread Richard Kreuter

Hello,

(Apologies if I'm sending to the wrong list.)

I'm trying to convert the policy.sgml.gz file in package debian-policy
version 3.5.6.0 to texinfo and info formats with debiandoc2texinfo and
makeinfo, from packages debiandoc-sgml version 1.1.49 and texinfo
version 4.0b-2, respectively.  debiandoc2texinfo reports no errors, and
generates a file called policy.texinfo.  At the makeinfo step, makeinfo
reports approximately 35 times

policy.texinfo:428: @asis expected `{...}'.

and segfaults.  The info document it generates contains menus and an
empty section 1.1, but no further nodes (line 428 of policy.texinfo is
in section 1.2).

Trying to convert policy.texinfo to dvi generates an error at line 382,
and the resultant postscript consists of only the first two pages of the
policy file.  (I don't know much about TeX, but mention this in case it
helps debug the problem.)

The exact commands I issued are appended at the end of this email.

Can anybody help me to generate the info file, or point me to a
working copy in texinfo format?

Thank you,
Richard Kreuter
[EMAIL PROTECTED]

-
Edited transcript of attempt to produce policy.info file:

boole:debian-policy# whoami 
root
boole:debian-policy# pwd 
/usr/share/doc/debian-policy
boole:debian-policy# cp policy.sgml.gz policy.sgml.gz.dist
boole:debian-policy# gzip -d policy.sgml.gz

boole:debian-policy# debiandoc2texinfo policy.sgml
boole:debian-policy# makeinfo -v policy.texinfo 
policy.texinfo:428: @asis expected `{...}'.
policy.texinfo:428: @asis expected `{...}'.
policy.texinfo:428: @asis expected `{...}'.

Segmentation fault

boole:/usr/share/doc/debian-policy# tex policy.texinfo 
This is TeX, Version 3.14159 (Web2C 7.3.7)
(./policy.texinfo (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2001-03-28.08]: Basics, pdf, fonts, page
headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns,
macros,
cross references,
(/usr/share/texmf/tex/plain/dvips/epsf.tex) localization,
and turning on texinfo input format.) [1]
Overfull \hbox (12.04105pt too wide) in paragraph at lines 72--78
[EMAIL PROTECTED] A copy of the GNU Gen-eral Pub-lic Li-cense is avail-able as
[EMAIL PROTECTED]
 /usr/share/common-licenses/[EMAIL PROTECTED] '[]|
[2] Chapter 1
! Missing = inserted for @ifnum.
 
   @errmessage 
@item ->@errmessage 
[EMAIL PROTECTED] while not in a table}
@tablez [EMAIL PROTECTED] [EMAIL PROTECTED] @itemindex [EMAIL PROTECTED] 0#3
  >0 @advance @leftskip
by #...
l.382 ...tandard interfaces The material presented

? q
OK, entering @batchmode




Anyone using plip?

2001-12-21 Thread Anthony Campbell
I've tried to get plip running, both in a monolithic kernel and as a
module. No luck: dmesg reports "parport0 has no irq".
In fact, parport0 is there and is detected and used by lp0. Not sure
what to try next.

The information in the PLIP howto seems to be somewhat out of date; is
there anything more recent?

Anthony

-- 
Anthony Campbell - running Linux GNU/Debian (Windows-free zone)
For an electronic book (The Assassins of Alamut), skeptical 
essays, and over 150 book reviews, go to: http://www.acampbell.org.uk/

Our planet is a lonely speck in the great enveloping cosmic dark. In our
obscurity, in all this vastness, there is no hint that help will come
from elsewhere to save us from ourselves. [Carl Sagan]





Re: Party with porn stars

2001-12-21 Thread Cam Ellison
* Peter Hicks ([EMAIL PROTECTED]) wrote:
> On Friday 21 December 2001 07:15, Justin R. Miller wrote:
> > Thus spake Karsten M. Self (kmself@ix.netcom.com):
> > > I've got a few systems for trapping spam.
> >
> > I've been quite happy with spamassassin.  Feel free to check out my
> > writeup:
> >
> > http://codesorcery.net/docs/spamtricks.html
> 
> I just installed razor and it works quite well.
> 
That exists only in sid.  If you're running something else (I'm using woody), 
did you have any problems getting it installed?  I don't mind picking up a few 
things from sid, but I'm not prepared to switch over to it yet.

Thanks in advance

Cam

-- 
Cam Ellison Ph.D. R.Psych.
From Roberts Creek on B.C.'s incomparable Sunshine Coast
[EMAIL PROTECTED]
[EMAIL PROTECTED]



Re: Implications of using g++-3.0

2001-12-21 Thread Brian Nelson
Ross Boylan <[EMAIL PROTECTED]> writes:

> If I use g++-3.0, do I need to build most of my own libraries?
> For example, I wanted to use libstrutilsxx, but it didn't work.  I
> think I read (though I can't find it) that object files from different
> versions of the compiler can't be mixed.  True?

Yes.  See this answer to a similar question I asked:

http://lists.debian.org/debian-gcc/2001/debian-gcc-200111/msg4.html

> Since 2.95 is the default (i386 woody), all the debs are built with
> that, so they won't work with 3.0, right?

Yes.

> I tried getting the source and compiling for the library, but it
> didn't work.  This was puzzling; perhaps it uses some language feature
> that changed?  The problem seemed to be with streams; I haven't had
> time to track it down.

gcc-3.0 is far more standards compliant, and consequently breaks a lot
of old broken code.  I don't know if that's true for the libs you're
using though.

Personally, I was able to build qt-3 from trolltech's tarball with
gcc-3.0 without problems.

> Anyway, if all this is true, maybe I should go back to 2.95.  I
> understand it doesn't implement the standard fully, and I was hoping
> to avoid getting into that swamp.

If you write good, standards compliant code, it shouldn't be a problem.

-- 
Brian Nelson <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
http://bignachos.com



Re: Maildrop recipe

2001-12-21 Thread Jeff
Am?rico Rocha, 2001-Dec-21 00:55 +:
> 
> Hi there,
> I'm trying to make a maildrop recipe, in order to get my email
> organized.. I want all email comming from debian-user@lists.debian.org,
> moved immediately to ~/Maildir/debian-user.
> 
> I wrote a simple .mailfilter file, in order to accomplish this, that states:
> 
> 
> if (/^From: [EMAIL PROTECTED]/ \
> {
> to "./Maildir/debian-user"
> }
> 
> ..hum.. it didn't seem to work. 
> I don't have maildrop running anywhere, should i invoke it somewhere, as a
> daemon or something ?
> 
> TIA for any tips

Here's the one I've been using for a long time that works:

if ( /^(To|Cc):[EMAIL PROTECTED]/ )
{
to $MAILBOX/deb-user
}


jc

-- 
Jeff CoppockSystems Engineer
Diggin' Debian  Admin and User



Re: Maildrop recipe

2001-12-21 Thread Jake Di Toro

At 10:39 AM 12/21/2001 -0800, Jeff wrote:

Am?rico Rocha, 2001-Dec-21 00:55 +:
>
> Hi there,
> I'm trying to make a maildrop recipe, in order to get my email
> organized.. I want all email comming from debian-user@lists.debian.org,
> moved immediately to ~/Maildir/debian-user.
>
> I wrote a simple .mailfilter file, in order to accomplish this, that 
states:

>
>
> if (/^From: [EMAIL PROTECTED]/ \
> {
> to "./Maildir/debian-user"
> }
>
> ..hum.. it didn't seem to work.
> I don't have maildrop running anywhere, should i invoke it somewhere, as a
> daemon or something ?
>
> TIA for any tips

Here's the one I've been using for a long time that works:

if ( /^(To|Cc):[EMAIL PROTECTED]/ )
{
to $MAILBOX/deb-user
}


Ya, the from won't work because the message is still going to be from each 
individual that sends it.


But the best header to use for any of the mailing lists hosted 
@lists.debian.org is 'X-Mailing-List:'




Re: nfs root mount problem

2001-12-21 Thread David Wright


How did you make a boot floppy that initiates the process? I am just 
starting to try to make diskless systems (not to make thin clients, but to 
centralize software installation on a computational cluster) and am stuck. 
The etherboot tutorial says to
  cat floppyload.bin 3c905.lzrom > /dev/fd0
but the etherboot distribution doesn't contain any "floppyload.bin" (yes, 
I did make it) and the ROM images from http://www.rom-o-matic.net end in 
.lzdsk  not .lzrom, which I'm not sure is the same. Is there a more 
up-to-date tutorial which does etherboot with boot floopies?

On a related note, the 2.2.x kernels must be built with an "allow root to 
mount over nfs" option to get this to work, but this option appears to be 
gone from the 2.4.x kernels. Is it unnecessary, or just hiding?



Re: What's a debian kid look like?

2001-12-21 Thread Daniel Toffetti
On Wednesday 19 December 2001 04:24, Matt wrote:
> Who are we here? I'm curious about what the Debian demographic is.  I
> know this is sort of an impossible thing to answer, but it'd be
> interesting to explore in vague terms who uses Debian, at least
> compared to those who don't.

31 years old single white male from Argentina, Systems Engineer, some 
years developing in Visual Basic, DB2, C, Java, etc, recently 
unemployed. I enjoy very much various kind of music, from ethnic to 
punk to pop rock to tecno, I hope some day I'll learn to play guitar 
decently. Also lots of reading, mostly latin american and european 
literature and some sci-fi and fantasy. Many years playing role playing 
games both in table and by mail.
Linux is a good alternative for developing countries who cannot afford 
the expensive licenses of propietary software, specially in areas such 
as government, education and health. I started using Debian some 16 
months ago, after trying for a while another distros such as Red Hat, 
Mandrake and SuSE. Hard to learn but you get the guts of the thing.
Currently searching for a new job or, in the worst case, for a new 
country where to live in (some 20% unemployment rate here and getting 
worse).

Cheers,

Daniel
-- 
"There is no spoon..." - The Matrix



Re: USB Mouse, GPM and Kernel 2.4

2001-12-21 Thread Didier Malenfant
I was the one with the ES1371 problems, I tried to start from scratch by
compiling 2.4.16 myself and now my soundcard works fine. Only difference
seems to be that I now have an audio codec module loaded, didn't have
that under 2.2.18.

I don't have a /dev/input directory, am I missing a package? (devfs?)

I haven't tried /dev/usbmouse under X but I will do.

-D

On Thu, 2001-12-20 at 00:06, Cameron Matheson wrote:
> Hello
> 
> On Thu, 2001-12-20 at 00:25, Didier Malenfant wrote:
> > I'm switching to 2.4 to try and sort out some other problems (with
> > sound).
> 
> Have you tried Alsa (it's great).  What kind of problems are you having?
>  
> > Under 2.2.18 my Intellimouse explorer would work with GPM, from what I
> > gather the usbmouse driver would translate everything into a standard
> > PS/2 format because gpm.conf was still using /dev/psaux and everything
> > worked (even though the mouse was in the USB port).
> 
> That kinda surprises me.  My usb mouse is /dev/input/mice (i also made a
> symlink to /dev/mouse)  I believe you will find info on creating
> /dev/input/mice in Documentation/usb/hid.txt (in the kernel source).
> 
> > Under 2.4 this doesn't work. I tried to point gpm to /dev/usbmouse but
> > no chance. Loaded modules are input, usbmouse and mousedev.
> > 
> > What settings should I be using in gpm.conf and what modules need to be
> > loaded?
> 
> Sorry... gpm started to make my system lose input on bootup, so I
> stopped using it a while ago... If you can't get it to work even w/ the
> /dev/input/mice, i'll try gpm again
>  
> > (I'm using /dev/gpmdata for X so if I get gpm working, X works)
> 
> Just curious... what happens if you try X w/ your /dev/usbmouse file?
> 
> > Thanks,
> > -D
> 
> Cameron Matheson
> 
> 
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 




Pleez help with courier-POP !!!

2001-12-21 Thread Martin Puaschitz
Hey!

I run an imapd but know I would love to run a popd too. So I did a

apt-get install courier-pop

ps -ax | grep pop3 now says:

/usr/sbin/couriertcpd -pid=/var/run/courier/pop3d.pid -stderrlogger=/usr/sbi
n/courierlogger -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup -addres
s=0 110 /usr/lib/courier/courier/courierpop3login
/usr/lib/courier/authlib/authdaemon /usr/lib/courier/courier/courierpop3d
Maildir

/usr/sbin/courierlogger courierpop3login

great. I do telnet localhost 110, USER=martin, PASS, XXX, Connection lost.
/var/log/syslog tells me that pop3d can not access the maildir because it
can not find it.

I do some rechere on the net, so I set a "." instead of the "Maildir" - then
a connection is possible, but now mails are transfered. I did a makemail dir
/raid/users/martin (my home) but he denies and says that it already
exists

The final question:
- How do I know where the maildir is?
- How do I tell pop3d to access it?

I think the Maildir is directly in my home-directory
(/raid/users/username/).

Plz. help.
Martin, Austria/Vienna




Re: USB Mouse, GPM and Kernel 2.4

2001-12-21 Thread dman
On Fri, Dec 21, 2001 at 12:14:33PM -0800, Didier Malenfant wrote:
 
| I don't have a /dev/input directory, am I missing a package? (devfs?)

devfs isn't a package.  It is a feature of the 2.4 kernels, but you
don't have to use it.  If you want to learn more about it, read the
kernel docs and http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html

-D

-- 

The wise in heart are called discerning,
and pleasant words promote instruction.
Proverbs 16:21



Re: Converting between maildir and mbox

2001-12-21 Thread Brian Nelson
martin f krafft <[EMAIL PROTECTED]> writes:

> also sprach Craig Dickson <[EMAIL PROTECTED]> [2001.12.21.0505 +0100]:
> >mkdir Mail/folder
> >mkdir Mail/folder/cur
> >mkdir Mail/folder/new
> >mkdir Mail/folder/tmp
> 
> mkdir -p Mail/folder/{cur,new,tmp}
> 
> :)
> 
> > Seems to work well enough. Mutt is perfectly happy with such folders.
> 
> and they are absolutely valid. maildirmake really just does all this.
> the reason why it should be used instead is because of abstraction -
> because you as a user should not even worry about the existence of
> {cur,new,tmp}: the implementation details are unimportant.

Another good reason is that maildirmake handles permission settings
correctly, depending on whether you make private or shared maildirs.  If
you just use mkdir, you'll get world-readable dirs, which you probably
don't want.

-- 
Brian Nelson <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
http://bignachos.com



OT: BOFH sig gen

2001-12-21 Thread Matthew Sackman
I'm assuming that most people have come across/read the BOFH
stories...
...well I was bored and so put together a little script that
pulls an excuse off the board and puts it in the back of your
.signature file.

I realise this is off topic, just figured some people might
enjoy it! (obviously edit it as needs be).


#! /usr/bin/perl

my $ppp = `/bin/ping -qc1 google.com`;
if ($ppp =~ /1 packets received/)
{
my @text = `/usr/bin/telnet bofh.jive.org 666`;
my $bofh;
foreach (@text)
{
if ($_ =~ /Your excuse is\: (.*)/) {
$bofh = $1; }
}
my $sig = q/
Matthew Sackman
Nottingham
England

BOFH Excuse Board:
#bofh#
/;
$sig =~ s/#bofh#/$bofh/msg;
#print $sig, "\n";
open(FILE, ">/home/matthew/.signature") || die "Can not open file";
print FILE $sig;
close FILE;
}



enjoy,

Matthew

-- 

Matthew Sackman
Nottingham
England

BOFH Excuse Board:
Electrons on a bender


pgpZxJEJclsJ6.pgp
Description: PGP signature


Re: Pleez help with courier-POP !!!

2001-12-21 Thread master
On Fri, Dec 21, 2001 at 09:28:49PM +0100, Martin Puaschitz wrote:

> I do some rechere on the net, so I set a "." instead of the "Maildir" - then
> a connection is possible, but now mails are transfered. I did a makemail dir
> /raid/users/martin (my home) but he denies and says that it already
> exists
> 
> The final question:
> - How do I know where the maildir is?
> - How do I tell pop3d to access it?
> 
> I think the Maildir is directly in my home-directory
> (/raid/users/username/).

makemaildir /raid/users/username/Maildir



Re: sensord metric/English question

2001-12-21 Thread David Z Maze
Paul Johnson <[EMAIL PROTECTED]> writes:
PJ> Is it possible to get sensord to log in English measurements
PJ> instead of Metrics?

Hmm.  Doesn't look it.  For a momentary check, you can run 'sensors
--fahrenheit', but to make sensord also use English units you'd need
to change prog/sensord/chips.c in the lm-sensors source.  (In
particular, tweaking the fmtTemps_0 and fmtTemps_1 functions at the
top of the file should cover most, if not all, of the cases.)

-- 
David Maze [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
-- Abra Mitchell



Re: Converting between maildir and mbox

2001-12-21 Thread martin f krafft
also sprach Brian Nelson <[EMAIL PROTECTED]> [2001.12.21.2131 +0100]:
> Another good reason is that maildirmake handles permission settings
> correctly, depending on whether you make private or shared maildirs.  If
> you just use mkdir, you'll get world-readable dirs, which you probably
> don't want.

if i do it, i get 0700 dirs. it does depend on your umask... ;)

but yes, you have a point. maildirmake is an abstraction layer, and
abstraction layers are what make computers usable. they are A Good
Thing(tm).

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
prepBut nI vrbLike adjHungarian! qWhat's artThe adjBig nProblem?
   -- alec flett @netscape


pgpNNbGXpcKRe.pgp
Description: PGP signature


Keeping dpkg info up to date

2001-12-21 Thread Timm Gleason
I know there used to be a package for keeping the dpkg information updated
when you installed a particular piece of software from source instead of a
deb package.  Does anyone know if there is such a thing in the current
distribution?

Thanks

Sunday, December 16 2001
--  | Bad breath is better than no breath.
Timm Gleason|
http://www.gleason.to/  |
http://www.uranushertz.to/  |
Quis custodiet iposos custodes? |


-PGP PUBLIC KEY BLOCK AVAILABLE-



Re: What's a debian kid look like?

2001-12-21 Thread Erik Steffl
Phillip Deackes wrote:
...
> comformity within X and how silly things like copying and pasting works
> between most apps but not others, or how I can't get the Euro symbol

  did you try xcutsel?

erik



Re: scanner recommendations?

2001-12-21 Thread pirmin

philip baratta wrote:


Anthony Campbell wrote:



On 18 Dec 2001, Vineet Kumar wrote:




I recently bought an Epson Perfection 1650 which is working


perfectly

I am impressed by an Epson 1640 Perfections's speed
at work in a Win2k 
environment


I have an Epson 640U; although it is on the list of scanners that
work with Linux, I have been unable to get it to scan. I have
been following the Linux USB Scanner mini-HOWTO but have been
unable to get the 2.4.3 kernel in place as described in the
HOWTO.

when I try to make zImage, the last
few lines of the output are:

net/network.o(.data+0x57c4): undefined reference to
`sysctl_ipx_pprop_broadcasti
ng'
make: *** [vmlinux] Error 1

Have you been able to get the scanner running without going to
the 2.4 kernel? How have you gone about getting it to scan?

philip baratta



Sorry - I just have seen it under Win2k and own no Epson.

-- Andreas von Heydwolff




Re: Pleez help with courier-POP !!!

2001-12-21 Thread Martin Puaschitz
> > The final question:
> > - How do I know where the maildir is?
> > - How do I tell pop3d to access it?
> > 
> > I think the Maildir is directly in my home-directory
> > (/raid/users/username/).
> 
> makemaildir /raid/users/username/Maildir

file exists!

this does not work either. my maildir is /raid/users/username/
(i think so)

martin



Re: Pleez help with courier-POP !!!

2001-12-21 Thread Martin Puaschitz
> > The final question:
> > - How do I know where the maildir is?
> > - How do I tell pop3d to access it?
> > 
> > I think the Maildir is directly in my home-directory
> > (/raid/users/username/).
> 
> makemaildir /raid/users/username/Maildir

file exists!

this does not work either. my maildir is /raid/users/username/
(i think so)

martin



  1   2   >