Re: Deleting locales?

2001-07-07 Thread John R Lenton
On Fri, Jul 06, 2001 at 03:45:56PM -0700, Chris Tillman wrote:
 Is there a utility to eliminate locales other than the native locale from 
 my machine? Or can I just delete the unneeded directories from the tree?

apt-localepurge

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Bimbo uccide entrambi i genitori per partecipare alla gita degli orfani.


pgpPgi7wLpsQ0.pgp
Description: PGP signature


Re: need man 5 regexp

2001-07-02 Thread John R Lenton
On Sat, Jun 30, 2001 at 05:00:49PM +, Pollywog wrote:
 I need the man page for regexp but can't seem to locate it.
 Anyone know where I can obtain it?  I searched the Packages page but could 
 not find it there.

I'm late in the thread, so maybe someone's answered you already: it
isn't regexp, nor regex(3), but regex(7). The packages is manpages
(and manpages-es, at least).

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Kill Ugly Processor Architectures
- Karl Lehenbauer


pgpLi3U60Grxq.pgp
Description: PGP signature


Re: apt-get remove package

2001-07-02 Thread John R Lenton
On Mon, Jul 02, 2001 at 12:44:24AM -0400, User zos wrote:
 I'm sorry...its been a super crazy night (and I mean ULTRA) and this has
 been bothering me for a while. Is there a specific benefit to not deleting
 this stuff after I have decided that I no longer want something installed
 on my box?

you might need the configuration later on. I know realizing just
after you've purged a package that you should've kept the config
files for next time you need the package isn't very nice.

use --purge.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
- Cosa dice una scimmia con la diarrea?
- Macaco addosso.
-- Da it.hobby.umorismo


pgpyqd1YfKmuy.pgp
Description: PGP signature


Re: xlate 8-bit MAC ascii to 8-bit latin1 ascii?

2001-06-21 Thread John R Lenton
On Wed, Jun 20, 2001 at 11:58:39PM -0500, will trillich wrote:
 surely there's a utility out there somewhere--

macutils

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Q:  Are we not men?
A:  We are Vaxen.


pgpp8XcTlODg9.pgp
Description: PGP signature


Re: Debian at Flying J

2001-06-17 Thread John R Lenton
On Sat, Jun 16, 2001 at 09:53:56PM -0500, Cameron Matheson wrote:
 This worked great, but they said they needed to be able to do remote
 admin. I installed ssh, but they wanted to have X, not the console, and
 they had to be able to do it from windoze.  I decided VNC was my answer,
 so I came up w/ this crude solution:

You'd probably have less hassle from a X for windows solution

 wondering if anyone's ever been able to successfully run X on a TV, and
 what they had to do to their XF86Config file.
 
 The Video cards are ATI [EMAIL PROTECTED] if that matters (they have S-Video
 and standard TV outputs).

it seems you have to either compile the vesafb into the kernel
and start up in a tv-friendly mode (and use X3 or X4 fbdev
driver), or use X4's vesa driver. The tvs should be plugged in at
card boot time, and should 'just work'.

Or so I'm told -- I have a radeon, and it's not *that* simple :/

If you're seeing framebuffer console on the tv output, X via
fbdev should be a non brainer.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Chimenea nueva blanca unos días, y al cabo negra.


pgp80N365tS3B.pgp
Description: PGP signature


Re: How do I restore the cdrom driver without a cd in the drive?

2001-06-17 Thread John R Lenton
On Sun, Jun 17, 2001 at 10:38:55PM -0500, Steve Taylor wrote:
 How can I restore the cdrom driver?

you can mount the cdrom as /dev/scd0, or you can modprobe
-r ide-scsi and try again.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
I was a cock-teaser at Rooster Rama.  
I used to enrage the bantams before the big bouts.
-- Firesign Theatre


pgpNoBqdhIpIP.pgp
Description: PGP signature


Re: lp0 on fire

2001-06-16 Thread John R Lenton
On Fri, Jun 15, 2001 at 05:13:13PM +0100, Colin Watson wrote:
In newer kernels this message reads lp1 reported invalid error status
(on fire, eh?).

that should read 'older newer kernels' or something. It means
2.2.x. (in 2.4.x people returned to sanity and put it back)

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
I suggest a new strategy, Artoo: let the Wookie win.
-- C3P0


pgpCUFEuQ4Y29.pgp
Description: PGP signature


Re: lp0 on fire

2001-06-16 Thread John R Lenton
On Sat, Jun 16, 2001 at 10:41:07AM +0100, Colin Watson wrote:
 Do let the FAQ maintainer know, then. According to the feedback section,
 his address is Robert Kiesling [EMAIL PROTECTED].

I'll wait for 2.4.7 :/

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
It is through symbols that man consciously or unconsciously lives, works
and has his being.
-- Thomas Carlyle


pgpvBMJYs3rZb.pgp
Description: PGP signature


Re: delete n files in a directory

2001-06-16 Thread John R Lenton
On Sat, Jun 16, 2001 at 10:08:14AM +, Mário Henrique Cruz Tôrres wrote:
 Good morning everyone. I wan't know if can I delete the first 200
 files ( in alphabetical order ) in a directory wich have
 300 files ?
 I'm using bash shell.

you can use xargs (as you've been told already), but I find it's
a pain when you have filenames with spaces, apostrphes, stuff
like that. I'd probably do something like

j=0; for i in *; do j=$((j+1)); rm -v $i; [ $j -eq 200 ]  exit; done

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
SCCS, the source motel!  Programs check in and never check out!
-- Ken Thompson


pgpcwqFn3fmjU.pgp
Description: PGP signature


Re: iptables logging to console (all basic solutions have failed)

2001-06-14 Thread John R Lenton
On Thu, Jun 14, 2001 at 07:32:46PM +1200, Adam Warner wrote:
 Hi all,
 
 I'm running Debian testing with a custom compiled 2.4.5 kernel. Since I've
 enabling logging with my iptables rules (at info and warn levels) every
 single log is being output to the current console.

set your debug level to 0. This can be done at boot (iirc
debug=0), or alt-sysrq-0.

 At no point in /etc/syslog.conf do I have any logging to /dev/console. And
 attempts to log to, say, /dev/tty8 work but continue to log to the current
 console.

I'm not sure, but wouldn't the line about 'emerg' apply?

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
O cigarro disse ao fumante: Hoje você me acende, amanhã eu te apago.


pgphNfkpxrhHV.pgp
Description: PGP signature


Re: Mathematica font problem on debian ?

2001-06-13 Thread John R Lenton
On Wed, Jun 13, 2001 at 11:47:01AM -0500, Balbir Thomas wrote:
 hi
 When I try to run mathematica on debian (potato with kernel 2.2.19) I get an
 error stating that mathematica fonts are not properly installed. I have
 added the mathematica font directory (i.e. subdirectories of 
 /usr/local/mathematica/SystemFiles/Fonts) to /etc/X11/XF86Config . On checking
 which fonts are installed by xlsfonts I find the math fonts to be installed.
 I even tried xset fp+ ... on the same font directories. In spite of all 
 this 
 I still get the error . Though as yet I have not been able to detect any font
 problem if I continue to use mathematica, ignoring the error message. The 
 error message reported by XFree86 is can't load font taipei16. 
 I have no clue what to do now . I would be grateful if you could give me 
 a pointer.

AFAICT the fonts are loaded, and the error message is bogus.
The curse of closed source.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Really??  What a coincidence, I'm shallow too!!


pgpW1gOGW7rLB.pgp
Description: PGP signature


Re: gdm

2001-06-08 Thread John R Lenton
On Fri, Jun 08, 2001 at 12:37:03PM +0200, vester wrote:
 
 i foolishly deleted /etc/init.d/gdm -- could anyone send me that script
 or tell me how to re-install it?

apt-get install --reinstall gdm

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Each Friday his engines abort,
But Scotty is never caught short.
He fills his machines
With space-navy beans,
And farts the ship back into port.


pgpqQ0ia8X7XT.pgp
Description: PGP signature


Re: two questions on emacs under Mutt

2001-06-08 Thread John R Lenton
On Fri, Jun 08, 2001 at 05:29:26PM +, Vittorio wrote:
 2) Is that possible to configure emacs to wrap lines at, say, 72 char?

I don't know how you'd put it in your .emacs, but C-x f is
set-fill-column, so C-u 72 C-x f would do that for you.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Default, n.:
The hardware's, of course.


pgpsaCm3PyRQj.pgp
Description: PGP signature


Re: filtering email via EXIM -- question

2001-06-07 Thread John R Lenton
On Wed, Jun 06, 2001 at 05:41:58AM -0500, will trillich wrote:
 1) is the exim filtering mechanism uncharacteristically
 lethargic? seems like processing takes heap long time forever.
 maybe i missed an option or feature...?

perhaps your exim is launched from inetd, and your load
deliver_load_max is too low, so everything is going to queue and
not actually getting delivered.

Take a look at the spec (that's /usr/share/doc/exim/spec.txt.gz,
or something similar in html if you've installed exim-doc), look
for 'load'.

 3) anybody got some high-power, dual-exhaust, chrome-plated,
 twin overhead cam examples of exim filters to get us
 .forwarding newbies off the ground? i've seen the simple ones
 they've got in /usr/share/doc/exim/filter.html ...

my experience is that that attitude is due to procmail. With the
exim filters your power consumption is lower, so you rarely need
dual exahust, and chrome only if you like it.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
If you do something right once, someone will ask you to do it again.


pgpjb6EEoTwwN.pgp
Description: PGP signature


Re: exim/filter: zapping duplicate messages?

2001-06-07 Thread John R Lenton
On Wed, Jun 06, 2001 at 03:33:43PM -0500, will trillich wrote:
 On Wed, Jun 06, 2001 at 11:55:56AM -0300, John R Lenton wrote:
  On Wed, Jun 06, 2001 at 05:41:58AM -0500, will trillich wrote:
   3) anybody got some high-power, dual-exhaust, chrome-plated,
   twin overhead cam examples of exim filters to get us
   .forwarding newbies off the ground? i've seen the simple ones
   they've got in /usr/share/doc/exim/filter.html ...
  
  my experience is that that attitude is due to procmail. With the
  exim filters your power consumption is lower, so you rarely need
  dual exahust, and chrome only if you like it.
 
 how does exim/filter go about purging cloned messages (both to
 me indivindually and to a mailing list, both of which arrive in
 my inbox)? or do we still fall back to formail -D?

I filter the mails from lists into list-specific mailboxes, and
leave emails to me in the inbox. That way the ones to me get my
immediate attention, but I don't loose the thread.

I'm pondering the other one :)

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Para Dios todo es hermoso, bueno y justo. Los hombres han concebido lo justo y 
lo injusto.
-- Heráclito de Efeso. (535-475 A.C.) Filósofo griego. 


pgpyEzhxcqBI0.pgp
Description: PGP signature


Re: Subject: Re: filtering email via perl?

2001-06-07 Thread John R Lenton
On Wed, Jun 06, 2001 at 03:04:02PM -0500, will trillich wrote:
 query:
 
 does
   seen save ...
 
 stop processing as if you'd said finish?

yes, and they're both redundant: save ... would be sufficient.
If you're really paranoid, you'd use seen save ... *and*
finish :)

Actually, I put the finish in there so that I could realize what
it meant two years later (as is the case).

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
La libertad no puede ser concedida sino conquistada.
-- Max Stiner. 


pgpxFx6Dw2g6W.pgp
Description: PGP signature


Re: Subject: Re: filtering email via perl?

2001-06-07 Thread John R Lenton
On Tue, Jun 05, 2001 at 10:25:26AM -0500, will trillich wrote:
 okay. procmail  and i are  getting a divorce. we  just don't
 see eye-to-eye any more.

 i've seen people  post actual perl code  here, which somehow
 filters their email.  is that mailagent? (i  don't want to
 give command-line  access to  you average  script-kiddie, so
 mailagent makes me nervous...)

 how can i use perl to break emails into various mailfolders?

if you use exim, read /usr/share/doc/exim/filter.txt.gz

an example:

# debian-user
if $message_headers contains debian-user@lists.debian.org then
save /home/john/Mail/Linux/debian-user
finish
endif

I find this infinitely better than procmail.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
A woman's best protection is a little money of her own.
-- Clare Booth Luce, quoted in The Wit of Women


pgpoiXoOzC1tq.pgp
Description: PGP signature


Re: Don't allow incoming telnet

2001-06-01 Thread John R Lenton
On Fri, Jun 01, 2001 at 10:46:38AM +0100, Rory Campbell-Lange wrote:
 How do I stop telnet sessions coming IN?

don't run telnetd.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Yow!  I want my nose in lights!


pgpXeA3pkXqAZ.pgp
Description: PGP signature


test

2001-05-31 Thread John R Lenton
sorry, please ignore

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Look out!  Behind you!


pgprV3Jkb4Wnc.pgp
Description: PGP signature


Re: apt proxy

2001-05-11 Thread John R Lenton
On Fri, May 11, 2001 at 07:43:49AM +, Richard Skinner wrote:
 I've been searching for info on how to do this for a couple 
 of days, but now it's time to beg for help...
 
 I use a Debian box at home which I regularly update from 
 the 'unstable' archive on ftp.debian.org - at the moment 
 this is my main development/router box. I download packages 
 via a ppp ISP dialup using dselect/apt-ftp and keep the 
 packages in /var/cache/apt. 
 
 I also have a couple of other machines on the network which 
 I would like to sync to the 'unstable' branch using the 
 packages already downloaded on the router. Is this possible?

apt-get install apt-proxy


-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
In Mexico we have a word for sushi: bait.
-- Josi Simon


pgpYE2berC8FD.pgp
Description: PGP signature


Re: Building SPICE3 deb packages.

2001-05-09 Thread John R Lenton
On Tue, May 08, 2001 at 11:55:14PM -0600, Stefan Srdic wrote:
 I know that SPICE3 is BSD software, and that it comes with the same
 license as BSD, but I want to build a SPICE3 deb package so that I can
 use it with Oregano from the unstable.

let me know when you do -- I could use it myself.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
El beso es una forma de diálogo.
-- Aurore Dupín. (George Sand). (1804-1876) Novelista francesa. 


pgpPojCEKinIE.pgp
Description: PGP signature


Re: /usr/src is empty

2001-05-02 Thread John R Lenton
On Wed, May 02, 2001 at 12:20:53AM -0400, John Willey wrote:
 Yes, /usr/src is EMPTY.

You said it. :)

I append the debian-lovin-kernel-buildin-HOWTO, (c) apt the
#debian bot (not really, but someone on #debian). Enjoy.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
No digas no sin saber por qué no.
From memory:

# apt-get install kernel-package
# apt-get install kernel-source-version   (or ftp from ftp.kernel.org)
if you get the version from kerne.org, you might be interested in
/pub/linux/kernel/people/hedrick/version-ide/

also check out the several packaged module kits (start with apt-cache 
--names-only search modules
# cd /usr/src
# tar Ixvf kernel-source-version.tar.bz2
# ln -s kernel-source-version linux
# cp /usr/doc/kernel-package/Flavours.gz .
# vim Flavours.gz   (edit as necessary)
# cd /usr/src/linux
# zcat ../Flavours.gz | patch -p0
# make menuconifg
# make-kpkg clean
# make-kpkg --revision number --flavour text kernel_image

(get coffee)

# cd ..
# dpkg -i kernel-image-version-flavour_revision_i386.deb



pgpnV4YX1bp3e.pgp
Description: PGP signature


Re: remove me

2001-05-01 Thread John R Lenton
On Tue, May 01, 2001 at 05:30:14PM -0400, Chris Story wrote:
 remove me

send Tony and Vito here your address and a photo, they'll be glad
to remove you. Nothing personal, it's their job.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Forgive him, for he believes that the customs of his tribe are the laws
of nature!
-- G.B. Shaw


pgpgbLrPwAvFP.pgp
Description: PGP signature


Re: Timeout for shell script

2001-04-28 Thread John R Lenton
On Thu, Apr 26, 2001 at 11:24:30AM +0200, Andre Berger wrote:
 I have a shell script in /etc/ppp/ip-up.d/ that synchronizes the system
 clock with time servers via rdate. Sometimes the servers can't be
 reached, and the rest of my scripts are blocked. Is there a way to say:
 You have at most 10 seconds to complete this command, or fail?


PROG=do-this
TIMEOUT=10

$PROG 
REAPER=$!

sleep $TIMEOUT

if [ $( ps h -p $REAPER -o ucmd ) == $PROG ]; then
kill $REAPER
fi


not 100% failsafe, but close.



-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Al oír un eco muchos creen que el sonido proviene de él.
-- Ernest Hemingway. 


pgpa8G8fXB1jE.pgp
Description: PGP signature


Re: get number of pages of a PostScript file

2001-04-28 Thread John R Lenton
On Sat, Apr 28, 2001 at 01:17:46PM +0200, Waldemar Brodkorb wrote:
 Hello Alexander,
 
 * Alexander Steinert wrote:
 
  What's the fastest way to do this on the command line?
 
 I think there are more than thousand solutions ;-)
 grep ^%%Pages file.ps|awk '{ print $2 }'

any idea why this is 2x as fast as the equivalent
   awk '/^%%Pages/ { print $2 }' file.ps
?

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Oh John, let's not park here.
Oh John, let's not park.
Oh John, let's not.
Oh John, let's.
Oh John.
Oh.


pgpT7REaBKYO5.pgp
Description: PGP signature


Re: documentation rant

2001-04-26 Thread John R Lenton
On Thu, Apr 26, 2001 at 12:10:37AM -0400, Michael P. Soulier wrote:
 I am so sick of spending hours crawling over HOWTOs from LinuxDoc just to
 find out that the documentation is wrong! Worse, tons of people know it's
 wrong, and no one, not the document maintainer, or anyone who's already gone
 through the process of finding out it's wrong, has bothered to update the
 incorrect document!

I'm therefore assuming you _have_ bothered?

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
What did you bring that book I didn't want to be read to out of about
Down Under up for?


pgpDKn6db4LrI.pgp
Description: PGP signature


Re: Mutt is best

2001-04-25 Thread John R Lenton
On Wed, Apr 25, 2001 at 09:27:51AM +1000, Mark wrote:
 Currently I am using Netscape for my emails.  I know that Mutt will
 handle gnupg signitures and encryption etc which Netscape doesn't seem
 to.  But will Mutt allow me to open .jpg, pdf and word files.  Currently
 I have Netscape set up to open word files with Abiword, and pdf files
 with xpdf.  Will this be possible with Mutt.

yes. on console, even. Or no --- not directly. You need to know
what helper apps to install, and also install mime-support.

The helpers you need for viewing what you mentioned on console
on i386 are zgv, xpdf (which includes pdftotext), and word2x.
Some hand editing is needed for the pdftotext to work (is this a
bug? probably.)

 I am willing to withstand the learning curve, but I must be able to
 QUICKLY open pdf and abiword files while reading the email.  If not,
 would evolution be the best bet.

No. mutt in X is probably the best bet for good solid MIME
support. Makeing it work on console is for extra hack points :)

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
By the time they had diminished from 50 to 8, the other dwarves began
to suspect Hungry.
-- a Larson cartoon


pgpRHfqkyYtw4.pgp
Description: PGP signature


Re: debian newbie tip-of-the-day signature script

2001-04-25 Thread John R Lenton
On Tue, Apr 24, 2001 at 10:32:43AM -0500, will trillich wrote:
 [ ... about fiddling with mutt to get fancy signatures ...]

What I'd really like (and implement if I had the time) is for
mutt to have an option to check on startup if .signature is a
pipe, and if so to write into it the header of the email before
reading the sig (mutt has some idea of to:, cc:, and subject:
headers *before* reading the sig).

Thus a small modification of the one sig program makes it spew
content-specific signatures :)

hmm. take that back. If I have to open .signature O_RDWR the
select() call goes crazy :(.

Ok, so have two pipes, a .signature-ctl and a .signature, and
have mutt check in... erm...

...have a listener on port N...


...on a central server


...connected to a postgres database.

Ok, so this has gotten out of hand. More coffee, please.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Hoje eu tentei desenhar minha própria sombra. Não consegui! :(
Meu braço não parava de se mexer...


pgp6aWyYaflK6.pgp
Description: PGP signature


Re: [perl] glob() and filenames w/ spaces

2001-04-25 Thread John R Lenton
On Wed, Apr 25, 2001 at 01:37:39AM +0200, Sven Burgener wrote:
 How do I deal with the situation where glob(*) is used and where there
 are files that contain spaces in their file names?

what situation?

$ touch a\ b c\ d
$ ls -l
total 0
-rw-rw-r--1 john john0 Apr 25 01:25 a b
-rw-rw-r--1 john john0 Apr 25 01:25 c d
$ perl -w
my @files = glob(*);
foreach my $f (@files)
{
open(F, $f) or die $!;
print F hello\n;
close F or die $!
}
__END__
$ cat a\ b
hello

so the problem is...?

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
When you have to kill a man it costs nothing to be polite.
-- Winston Churchill, on formal declarations of war


pgpUrSJq1lTMs.pgp
Description: PGP signature


Re: mailboxes?

2001-04-23 Thread John R Lenton
On Sat, Apr 21, 2001 at 01:29:58PM +0100, Colin Watson wrote:
 
 mailx was made no longer setgid mail in a potato security update because
 it was too riddled with security holes, and hence it doesn't have write
 permissions to the /var/mail directory. You can still use it for sending
 mail, but unless you explicitly chmod g+s it yourself you can't really
 use it for reading mail sensibly.

why not change it to use /var/lock/mail/* ? (no, such a directory
doesn't exist). That sounds like a minimal change to make to
broken mail programs that try to do that kind of locking, but it
allows to have /var/lock/mail in mode 1777 (or 1770 and
root:mail).

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Ya entre locos me metí, y lo que fuere de ellos será de mí.



Re: Exim problem

2001-04-23 Thread John R Lenton
On Sat, Apr 21, 2001 at 09:49:09PM +0200, Mateusz Mazur wrote:
 Hi.
 
 It wasn't good idea to put all questions in one letter. So know I post
 it single. I will be very great ful fot any help.
 
 Q:
 How should I configure exim to relay mails. People from my office want
 send mails to anywhere and from anywhere (not only from office) and receive
 mails from anybody.

eximconf. When it says are there any networks of local
machines you want to relay mail for say oh, yeah. Altough a
nice thoughtful answer along the lines of 192.168.1.0/24 will
probably get you there quicker.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Strategy:
A long-range plan whose merit cannot be evaluated until sometime
after those creating it have left the organization.


pgpe4NiE7eRxA.pgp
Description: PGP signature


Re: time format in logfiles (I miss the year)

2001-04-23 Thread John R Lenton
On Sun, Apr 22, 2001 at 11:27:34AM +0200, Marcel Lanz wrote:
 
 at the moment I parse huge logfiles like /var/log/messages and I am
 suprised that the date string doesn't include the year in the timestamp.

The idea I guess is that if you actually keep the logs for more
than a year you're probably putting them into a tarball along the
lines of 2001-04.tar.gz or somesuch, and otherwise you don't
care, so the year is superfluous.

 can I configure the logfile format to include the year number ?

not in the standard syslogd, at least.

If you really care you could add it to the logs (while rotating
if nowhere else), but it really sounds pointless.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Mi complejo de superioridad es mejor que el tuyo.
-- Graffiti. 


pgpvh1wQ7QR3m.pgp
Description: PGP signature


Re: I dumped reiserfs - what about ext3 on Debian?

2001-04-23 Thread John R Lenton
On Sun, Apr 22, 2001 at 03:23:16PM -0700, Karsten M. Self wrote:
 
 I'm running ReiserFS under 2.2.18 with no problems.  I've also heard
 persistant rumors of not there yet under 2.4, including from several
 kernel hackers, and have no plans to migrate until I hear differently.
 I haven't talked to Hans Reiser about this.

The problems with corruption on small files was the last
outstanding bug, and the fix went in in the 2.4.3-pre* series (so
it's in 2.4.3 already).

You need reiserfsprogs-3.x.0j from unstable, of course.

Of course if there turn out to be problems in the 2.4.x VM,
you're SOL even in ext2 too.


-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:

O inimigo avança, retiramos. O inimigo acampa, provocamos. O inimigo cansa, 
atacamos. O inimigo se retira, perseguimos

--Mao Tsé-Tung


pgppaZ5cMWrn7.pgp
Description: PGP signature


Re: No sound from CD, but timidity works

2001-04-23 Thread John R Lenton
On Sun, Apr 22, 2001 at 10:28:40PM -0500, Stephen Boulet wrote:
 
 Thanks! You called it right. I had the cable going to my cdrom on /dev/sr1 
 and not the cdrw on /dev/sr0.

xmms has this wonderful plugin that reads music CDs via the data
cable á la cdparanoia, xmms-cdread. In unstable, at least.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
I'm glad I was not born before tea.
-- Sidney Smith (1771-1845)


pgpNul3Tk27oX.pgp
Description: PGP signature


Re: Simple Linux Dbase4 database application?

2001-04-23 Thread John R Lenton
On Sun, Apr 22, 2001 at 08:20:07PM -0700, Abner Gershon wrote:
 Is there a simple open source Linux database program
 available that can access Dbase IV file types. I have
 many Dbase IV files with personal and scientific
 information such as a CD library, address file,
 medical information, 35mm slide catalog which I now
 access via Lotus Approach.

Programs that actually mention version 4:

   libxdb - xbase compatible C++ class library
   dbview - View dBase III files

Programs that probably do, too:

   dbf2mysql - xBASE -- mySQL
   dbf2pg - Converting xBase files to PostgreSQL
   dbf - xbase manipulation package
   libdbf1.6 - xbase manipulation shared library
   libdbf1.6-dev - xbase manipulation static library and headers

All of this in unstable.

(apt-cache search is a wonderful tool -- use it)

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
E mais facil vencer um habito hoje do que amanha.
--  Confucio


pgpWxwvX55t7b.pgp
Description: PGP signature


Re: RAM economy tips

2001-04-21 Thread John R Lenton
On Fri, Apr 20, 2001 at 05:11:14PM +0200, Robert Voigt wrote:
 In theory, this is fine. But on my system (512 MB RAM) it's not always like 
 that. After a few hours of work with a lot of opening apps and documents and 
 images, it dips into swap, and it does that even when I close most apps. So 
 before I can continue working I have to reboot. This shouldn't be necessary. 
 Is it because I have a 'pre' kernel? I wondered why they made the 2.2.18pre21 
 the default kernel for potato when they otherwise put software in it that are 
 sometimes not usable because they're so ancient.

If someone told you that apps never die in linux, they lied.

HOWEVER, the kernel is usally rock solid (with notable
exceptions), and the wealth of process control programs makes it
usually quite painless to LART misbehaving apps into the ground.

Try this next time it happens:

ps --sort -rss -eo pid,rss,comm |head

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
BOFH excuse #31:

cellular telephone interference



Re: Moving to a new hd

2001-04-21 Thread John R Lenton
On Fri, Apr 20, 2001 at 12:06:53PM -0500, Jason Pepas wrote:
 i seem to remember reading that you have to use tar in order to get a
 complete copy of a filesystem.  unfortunately i dont remember the
 details.

GNU cp has the -a option. I've copied my hd several times now using

cp -vax / /mnt

x is don't cross mount points, and it's GNU too AFAIK.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
La suma de inteligencia del planeta es una constante; la población está en 
crecimiento.
-- Axioma de Cole. 



Re: linux crash

2001-04-21 Thread John R Lenton
On Fri, Apr 20, 2001 at 12:52:07PM -0500, Bradley James Reid wrote:
 i've got a problem at boot.
 my debian system crashes.  it's using kernel 2.0.36.
 the error follows the check of the hardware.
 and the error is:
   unable to open initial console

You compiled your own kernel? you've probably broken it :)

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
El hombre es rico en proporción a las cosas que puede desechar.
-- Henry David Thoreau. (1817-1862) Escritor, poeta y pensador. 



Re: How to move Netscape for Win local mail folders to imap

2001-04-21 Thread John R Lenton
On Fri, Apr 20, 2001 at 04:24:34PM -0500, hanasaki wrote:
 I tried adding an imap server to NS and using netscape to copy all my
 folders.  Ns bombed! even when copying one folder at a time.

perl. bash, even. Copy the NS folder over to a unix/linux box and
just move it in.

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
There's a whole WORLD in a mud puddle!
-- Doug Clifford



Re: mailboxes?

2001-04-21 Thread John R Lenton
On Fri, Apr 20, 2001 at 11:08:39PM -0400, Roderick Cummings wrote:
 I'm getting an error when checking my mail with mail. After reading the 
 mail, and exiting, it does not delete the mail, it prints out:
 
 Unable to lock mailbox: Permission denied
 
 Now if I use mutt, I can delete the message, but what is wrong with 
 mail/mailx?

They're probably trying to put a lockfile in /var/spool/mail. I
know Evolution does (which reminds me I've got to report that...)

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
A diplomat's life consists of three things: protocol, Geritol, and alcohol.
-- Adlai Stevenson



non-us bo archive

2001-04-20 Thread John R Lenton
Hello all.

I'm looking for an archive (á la archive.debian.org) of the
non-us part of bo. So far I've found dregs of one at wuarchive,
but AFAICT pieces are missing: the Packages file lists

apache-common apache-ssl bzip cfs crypt++el des-solnet mutt-i
pgp-i pgp-us rsaref sambades ssh ssleay ssltelnet

whereas binary-i386 holds

bzip cfs crypt++el des-solnet pgp-i pgp-us rsaref sambades
ssh ssleay ssltelnet ssltelnet

(mising are apache-common, apache-ssl, and mutt-i, and there's
two different versions of ssltelnet). The sources hold tarballs,
diffs and dscs for the above binaries, and the diff and dsc for
mutt-i.

Is there an official non-us archive in this sense?

Cheers,

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
One of the most striking differences between a cat and a lie is that a cat has
only nine lives.
-- Mark Twain, Pudd'nhead Wilson's Calendar



Re: Routing problems using metric [Does somebody undestood !]

2001-04-20 Thread John R Lenton
On Fri, Apr 20, 2001 at 09:58:02AM +, fr ml wrote:
 Sorry to insist, but does somebody reading this mailing
 list have any ideas of the way to resolv this problem.
 Or can you give me links or else to help me !
 
 It a project on with I had to figth for Linux to be
 considered as an alternative rather than a commercial
 router product ! It would be a pity to reconsider this :^(

apt-cache show routed

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
Have you heard about Magda Lupescu,
Who came to Rumania's rescue?
It's a wonderful thing
To be under a king--
Is democracy better, I esk you?