Re: Printing problems

2002-01-12 Thread Jeff
Adam Majer, 2002-Jan-11 19:24 -0600:
> On Fri, Jan 11, 2002 at 04:08:44PM -0800, Jeff wrote:
> 
> > and the printer prints, but not the text.  The output has words
> > that look like the filter or enscript calls, e.g.
> > '%%BoundingBox...' and '/.notdef' and '%!PS-Adobe-3.0'
> 
> These are post script things. Your printer doesn't understand these.
> It should be using gs from the filter..
> 
> Check if you gave a correct pointer in your printcap file.. That's 
> used by lpr. From the output it looks like the filter is never called.

Okay, I checked in /etc/lprng and found a link to /etc/printcap.
The link is good, and the default path to printcat for lprng is
to this link.

With my fiddling, I think I made it worse.  Now when I try to
print, the job show in error in the queue (lpq) and the printer
prints "Unknown device: pc13" and thats it.

thanks,
jc

-- 
Jeff CoppockSystems Engineer
Diggin' Debian  Admin and User



LPRng, HP1100 & accounting.

2002-01-12 Thread Petrov M.I.
Hi.
I am having a PC with Woody & kernel-2.2.19. HP LaserJet1100 is 
connected to it using parallel port. Now, I wanted to check whether this
supports the bidirectional feature. Could you please tell 
me how to include the bidirectional feature in order to to know about the 
status of the printer and also to grab the pagecount information. 
I am using apsfilter with LPRng.
Thanks. 



Re: trouble dumping whole filesystem to tape /sbin/dump

2002-01-12 Thread Karsten M. Self
on Thu, Jan 10, 2002 at 04:56:27PM +1100, James Cameron ([EMAIL PROTECTED]) 
wrote:
> Thedore Knab wrote:
> > /sbin/dump -0ua -f /dev/st0 / -L slash 2>> output.txt
> > /sbin/dump -1a -f /dev/st0 /usr -L usr 2>> output.txt
> > The second comand rewrites over the data I recorded with the first
> > command.
> 
> Change the first /dev/st0 to /dev/nst0 perhaps.

Yes.

The difference between /dev/st0 and /dev/nst0:

   /dev/st0 is the *rewinding* tape device.  The tape rewinds on the
   completion of all operations.  You'll overwrite data.

   /dev/nst0 is the *non*-rewinding tape device.  The tape doesn't
   rewind unless explicitly directed to (mt -f /dev/nst0 rewind).

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


pgpTFXX30rk2L.pgp
Description: PGP signature


Re: Re: Debian Vs RedHat

2002-01-12 Thread Karsten M. Self
on Sat, Jan 12, 2002 at 01:07:18AM +0800, Paolo Alexis Falcone ([EMAIL 
PROTECTED]) wrote:
> 
> Alec wrote:
> 
> >On Thursday 10 January 2002 06:19 pm, martin f krafft wrote:
> >> also sprach Colin Watson <[EMAIL PROTECTED]> [2002.01.10.1834 +0100]:
> >> > Does the RPM build process have an equivalent of dpkg-shlibdeps?
> >>
> >> only since recently... but in general, RPM and DEB are really
> >> functionally equivalent. RPM *is* a good packaging system, it's other
> >> things which make .rpm based systems suck (read my next post).
> >
> >If RPM is good, why did Debian project feel compelled to create dpkg?
> 
> That time, RPM wasn't good enough (in short, it sucked big time then

Well, yes, after a fashion.

Debs came before RPMs.

-- 
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


pgpt4JGO2IHEM.pgp
Description: PGP signature


Re: (OT-ish:) procmail eating messages -- why?

2002-01-12 Thread Karsten M. Self
on Fri, Jan 11, 2002 at 11:16:09PM -0600, Nori Heikkinen ([EMAIL PROTECTED]) 
wrote:
> my previous posts got lost in a thread above, i think, so i'm
> rephrasing the question as it now stands:
> 
> trying to implement spamassassin with procmail, i installed the
> former, and then put the following in the latter, as directed:
> 
> :0f
> | /usr/local/bin/spamassassin -P
> 
> (i'd tried it without the -P flag, but that didn't work at all.)
> 
> however, even with the -P back in, downloaded mail was just getting
> eaten and piped off to some oblivion.  i had to comment out the above
> recipe completely to start getting mail again in any form.  i see why
> it wouldn't work without the -P flag, but with it ...?
> 
> any help would be appreciated.  tia,

A 'c' will 'carbon copy' a message on a rule:

:0fc
| /usr/local/bin/spamassassin -P

...may fix your problem.  I'm not sure what spamassasin does.

For more information, man (1) procmailrc.

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


pgpHSaaNb1wmg.pgp
Description: PGP signature


Re: Debian Vs RedHat

2002-01-12 Thread Karsten M. Self
on Wed, Jan 09, 2002 at 10:26:41PM +0100, martin f krafft ([EMAIL PROTECTED]) 
wrote:
> also sprach Robert L. Harris <[EMAIL PROTECTED]> [2002.01.09.2217 +0100]:
> > Ok then.  When talking about locations of files, paths (/etc/init.d/
> > vs /etc/rc.d/*) what term would be correct?
> 
> strictly speaking, /etc/rc.d/* is the proper SysV way, but these days
> even RedHat uses /etc/{init,rc?}.d

Wrong.  Cf:  Nemeth, et al, or Frisch.  Both cite /etc/{init,rc?}.d.

RH invented the rc.d/ directory variant.

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


pgp2YtVOSarW9.pgp
Description: PGP signature


Re: Why netscape menu item runs mozilla

2002-01-12 Thread Stephen Gran
Thus spake Adam Majer:
> On Thu, Jan 10, 2002 at 01:23:23PM -0800, Bill Wohler wrote:
> >   The Gnome Internet/Netscape menu item is set to run gnome-moz-remote
> >   which in turn runs Mozilla. This actually seems like a bug to me;
> >   otherwise, why have separate Netscape and Mozilla menu items? Is this
> >   really a bug? If so, in which package should I report it?
> > 
> >   Is there a way to set gnome-moz-remote to point to netscape or to have
> >   the the menu item point to netscape directly?
> > 
> >   I know the workaround is to create my own menu item.
> 
> IMHO, this is a serious bug. Netscape is _not_ mozilla. It is misleading.
USER CONFIGURATION
   If  you  want  to  start  netscape instead of mozilla with
   gnome-moz-remote, create a file named  ~/.gnome/gnome-moz-
   remote with the following contents:

  [Mozilla]
  filename=netscape


From man gnome-moz-remote.
HTH,
Steve


pgpcnmUEEdCte.pgp
Description: PGP signature


Re: Testing to unstable

2002-01-12 Thread Stephen Gran
Thus spake Jason M. Harvey:
> | without any problems. I might try compiling a non-debian 2.4 to see how it 
> | goes. (I can still boot the system with my old 2.2 kernel)
> | 
> | The way the error messages referes to device 303, does 2.4 refer to devices 
> | differently?
> | 
> 
> as for the device 303 error,
That's probably 3:03, which should be /dev/hdc or /dev/hda3, I can't
remember which right now - presumably the one mentioned in lilo.conf.
Steve


pgpdzYb5vztEt.pgp
Description: PGP signature


Re: Debian Vs RedHat

2002-01-12 Thread Karsten M. Self
on Wed, Jan 09, 2002 at 01:46:46PM -0700, Robert L. Harris ([EMAIL PROTECTED]) 
wrote:
> 
> 
> I'm starting a "Debian Vs Redhat" comparision.  At this point I just have 
> the ball rolling.  Many other people showed interest so I'm throwing this
> out for public addition/correction.  (We use Solaris systems so the 
> SYSV/BSD is a valid point)
> 
> Please feel free to add on, but lets keep the jokes to a minumum for now...
> 
> 
> 
> 
> 
> Common to both:
>   Integrated Package Management (rpm/deb)
>   Alien can be used to convert RPM's to DEB and vice versa.
>   Commercial Support from outside paid vendors
>  
> 
> Debian:
>   Server Oriented

No.

>   Integraged software install/update tool  (apt) [a version is
>   available for redhat but requires considerable time/effort to install]
>   Publicly available 3 tier development cycle (dev, test, production)
>   Publicly available bug archive for testing and searching
>   System layout is SYSV like Solaris

Both RH and Debian use a SysV init.  The alternative a BSD init -- cf:
OpenBSD, with a single system "rc" file.

> 
> 
> RedHat:
>   Well Known
>   Desktop Oriented
>   No pre-installed install/update tool (apt)
>   Dev and Test cycles are internal only or non-existant
>   Bug tracking system is not available for searching
>   System layout is BSD

Wrong.

The biggest differentiator between Debian and RedHat is that Debian is
policy based.  apt is just a system to implement policy.  Functionally,
dpkg and rpm are roughly equivalent.  It's what they're _meant_ to do
that affords the difference.  I see a couple things in RPM that would be
nice adds for deb, but overall, the concept of a deb (hey, it's just an
'ar' archive with embedded tarballs) is simple, robust, and versatile.

IMO the project organization used by Debian also has much to speak for
the quality and comprehensiveness of the distribution.

-- 
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


pgpqhws4w6Rqw.pgp
Description: PGP signature


Re: Using netselect, a list of mirrors

2002-01-12 Thread Randy Orrison
On Sat, 2002-01-12 at 05:53, Paul E Condon wrote:
> I am interested in using netselect to find the mirror site to use for
> the most socially responsible downloading of debian packages.

When I installed netselect I also got netselect-apt which does exactly
this, and produces a sources.list file in the current directory.  You
just have to tell it whether you want stable or testing or unstable and
it gets the list of mirrors and checks the all for you.

Randy



Re: Using netselect, a list of mirrors

2002-01-12 Thread Brian Nelson
Paul E Condon <[EMAIL PROTECTED]> writes:

> I am interested in using netselect to find the mirror site to use for
> the most socially responsible downloading of debian packages. The
> lists of mirrors that I have found are cluttered with html formatting
> tags that make them neat to read in a browser, but unsuitable for
> input to netselect. Is there a text file that is useable as netselect
> input somewhere on the internet, or is there a script that strips the
> html file down to its text essentials? Where?

Use netselect-apt, as in "netselect-apt stable", which will produce a
sources.list file in your current directory.

-- 
Brian Nelson <[EMAIL PROTECTED]>



Re: Printing problems

2002-01-12 Thread Stephen Gran
Thus spake Jeff:
> Adam Majer, 2002-Jan-11 19:24 -0600:
> > On Fri, Jan 11, 2002 at 04:08:44PM -0800, Jeff wrote:
> > 
> > > and the printer prints, but not the text.  The output has words
> > > that look like the filter or enscript calls, e.g.
> > > '%%BoundingBox...' and '/.notdef' and '%!PS-Adobe-3.0'
> > 
> > These are post script things. Your printer doesn't understand these.
> > It should be using gs from the filter..
> > 
> > Check if you gave a correct pointer in your printcap file.. That's 
> > used by lpr. From the output it looks like the filter is never called.
> 
> Okay, I checked in /etc/lprng and found a link to /etc/printcap.
> The link is good, and the default path to printcat for lprng is
> to this link.
> 
> With my fiddling, I think I made it worse.  Now when I try to
> print, the job show in error in the queue (lpq) and the printer
> prints "Unknown device: pc13" and thats it.
Try rerunning magicfilterconfig - it'll generate a clean
/etc/printcap for you.
Steve


pgpB9z5N36zlE.pgp
Description: PGP signature


Re: Printing problems

2002-01-12 Thread Adam Majer
On Fri, Jan 11, 2002 at 10:24:57PM -0800, Jeff wrote:
> Adam Majer, 2002-Jan-11 19:24 -0600:
> > On Fri, Jan 11, 2002 at 04:08:44PM -0800, Jeff wrote:
> > 
> > > and the printer prints, but not the text.  The output has words
> > > that look like the filter or enscript calls, e.g.
> > > '%%BoundingBox...' and '/.notdef' and '%!PS-Adobe-3.0'
> > 
> > These are post script things. Your printer doesn't understand these.
> > It should be using gs from the filter..
> > 
> > Check if you gave a correct pointer in your printcap file.. That's 
> > used by lpr. From the output it looks like the filter is never called.
> 
> Okay, I checked in /etc/lprng and found a link to /etc/printcap.
> The link is good, and the default path to printcat for lprng is
> to this link.
> 
> With my fiddling, I think I made it worse.  Now when I try to
> print, the job show in error in the queue (lpq) and the printer
> prints "Unknown device: pc13" and thats it.

Don't know. But I have /etc/printcap set like this:

lp|ps|PS|PostScript|djps:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:pl#66:\
:pw#80:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lp/filter:\
:sh:


sd - the location of spool directory
if - input filter
lp - printer device

and /var/spool/lpd/lp/postscript/filter is symlinked to /etc/magicfilter/dj500


Try setup like that except you link to your printer.. Then try lpr with a 
PostScript
file. Or print map page for something, eg. file

man -t file | lpr



Re: Why netscape menu item runs mozilla

2002-01-12 Thread Adam Majer
On Sat, Jan 12, 2002 at 02:48:25AM -0500, Stephen Gran wrote:
> Thus spake Adam Majer:
> > On Thu, Jan 10, 2002 at 01:23:23PM -0800, Bill Wohler wrote:
> > >   The Gnome Internet/Netscape menu item is set to run gnome-moz-remote
> > >   which in turn runs Mozilla. This actually seems like a bug to me;
> > >   otherwise, why have separate Netscape and Mozilla menu items? Is this
> > >   really a bug? If so, in which package should I report it?
> > > 
> > >   Is there a way to set gnome-moz-remote to point to netscape or to have
> > >   the the menu item point to netscape directly?
> > > 
> > >   I know the workaround is to create my own menu item.
> > 
> > IMHO, this is a serious bug. Netscape is _not_ mozilla. It is misleading.
> USER CONFIGURATION
>If  you  want  to  start  netscape instead of mozilla with
>gnome-moz-remote, create a file named  ~/.gnome/gnome-moz-
>remote with the following contents:
> 
>   [Mozilla]
>   filename=netscape
> 
> 
> From man gnome-moz-remote.
> HTH,
> Steve

Yes, but that's not the point. Menu says netscape but runs mozilla 
which is another menu item...

- Adam



Re: Using netselect, a list of mirrors

2002-01-12 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 12 January 2002 02:41 am, Brian Nelson wrote:
> Paul E Condon <[EMAIL PROTECTED]> writes:
> > I am interested in using netselect to find the mirror site to use for
> > the most socially responsible downloading of debian packages. The
> > lists of mirrors that I have found are cluttered with html formatting
> > tags that make them neat to read in a browser, but unsuitable for
> > input to netselect. Is there a text file that is useable as netselect
> > input somewhere on the internet, or is there a script that strips the
> > html file down to its text essentials? Where?
>
> Use netselect-apt, as in "netselect-apt stable", which will produce a
> sources.list file in your current directory.

I tried "netselect-apt testing", and it said that the fastest
mirror to me is in Austria.  Something's wrong...

- -- 
++
| Ron Johnson, Jr.Home: [EMAIL PROTECTED]|
| Jefferson, LA  USA  http://ronandheather.dhs.org   |
||
! "Millions of Chinese speak Chinese, and it's not   |
!  hereditary..."|
!Dr. Dean Edell  !
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8P/lqjTz5dS9Us5wRAnWxAJ9jg3GeWGEdYPwia404Hq0wMVh2LQCff7OJ
a/MR/LMq2sfaVdG7KXfpSCM=
=/9Ao
-END PGP SIGNATURE-



GNU parted and ext3

2002-01-12 Thread Calyth
It seems that they don't mix well.
Here's the problem.
I want to resize the FAT and ext3 partition on my laptop because FAT is truly 
fatter than the ext3 and linux actually could use a bit more space. So I wanted 
to do fair game and manage to shrink the FAT partition. Somehow parted cannot 
resize the ext3 partition so that it will take the empty space that FAT has 
released (ext3 is the partition right after FAT [spatially])
I'm thinking of removing the journal (the parted boot floppy doesn't have 
LILO), and then resize the drive, then put in the journal.
I know how to put the journal back on but anyone knows how to remove the 
journal safely?
Calyth




Re: GNU parted and ext3

2002-01-12 Thread Martin Fluch
> I know how to put the journal back on but anyone knows how to remove
> the journal safely?

mount the partition as ext2 (!) at /some/mount/point and then 

  rm /some/mount/point/.journal

That should do the trick.

Martin



Re: Using netselect, a list of mirrors

2002-01-12 Thread Brian Nelson
Ron Johnson <[EMAIL PROTECTED]> writes:

> On Saturday 12 January 2002 02:41 am, Brian Nelson wrote:
> > Paul E Condon <[EMAIL PROTECTED]> writes:
> > > I am interested in using netselect to find the mirror site to use for
> > > the most socially responsible downloading of debian packages. The
> > > lists of mirrors that I have found are cluttered with html formatting
> > > tags that make them neat to read in a browser, but unsuitable for
> > > input to netselect. Is there a text file that is useable as netselect
> > > input somewhere on the internet, or is there a script that strips the
> > > html file down to its text essentials? Where?
> >
> > Use netselect-apt, as in "netselect-apt stable", which will produce a
> > sources.list file in your current directory.
> 
> I tried "netselect-apt testing", and it said that the fastest
> mirror to me is in Austria.  Something's wrong...

*shrug*

Try apt-spy instead...

-- 
Brian Nelson <[EMAIL PROTECTED]>



Question regarding heavy CPU during disk i/o

2002-01-12 Thread J Marler
I am running Debian Woody on a K7 850Mhz system with 384MB of RAM.

My motherboard is an Abit KT7-RAID with VIA chipset and VIA IDE
controllers.  I have a Western Digital 60GB WDC600BB UDMA 100 hard
drive, currently running only UDMA 66.  I have the RAID controller
disabled for simplicity sake (that may be a mistake as only the RAID
controller will do UDMA 100).

My question is this:  Whenever I do any kind of "heavy" disk access,
such as copying large files (10MB+), the CPU usage sky rockets and my
system reacts slowly.  Why?  And how do I fix this?

I have DMA access disabled with hdparm.  If I enable it, the system
promptly locks hard.  I have multicount enabled at 16.  32-bit i/o is
enabled.  readahead is enabled at 8.  busstate is 1 (not sure what that
is.)

I am sure there is a simple answer to my question, but I have tinkered
with this thing for too long now.  I can't seem to figure it out.

Any help would be greatly appreciated.

Please copy me at [EMAIL PROTECTED] on any replies as I am not
subscribed to this list.

Thank you.

Jon



Re: locale error messages

2002-01-12 Thread Timeboy

On Saturday 12 Jan 2002 04:50 CET Titus Barik wrote:

> After doing a recent dselect upgrade, I'm noticing the following when
> trying to view man pages:
> 
> [EMAIL PROTECTED]:~$ man ls
> (null): can't set the locale; make sure $LC_* and $LANG are correct
> Reformatting ls(1), please wait...

This could be a bug. I have the same trouble since two days. Trying to
configure locales in /etc/locale.gen and /etc/environment had no
effect.

Please let me know if there is a way to fix this and this is NOT a bug.
Some other things also working bad. Hope that there cames a better
update soon.

Timo



Re: 2 questions: Sylpheed & Mozilla

2002-01-12 Thread Mario Vukelic
On Fri, 2002-01-11 at 22:34, Curtis Vaughan wrote:
> Ok, make uninstall seems to have disabled it, but the directories are all 
> still there.  Is it Ok to delete them?

If they are empty it's probably ok to rm them.

> I'm using KDE.

Sorry, I don't now anything about that

> Clicking on hyperlinks within Mozilla works.  But if the hyperlink is in any 
> other application, it won't work.  Mozilla opens on a blank page.

Probably also a KDE issue?

Kind regards, M.
-- 

I did not vote for the Austrian government





Re: locale error messages

2002-01-12 Thread Joel Mayes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Timeboy <[EMAIL PROTECTED]> writes:

> On Saturday 12 Jan 2002 04:50 CET Titus Barik wrote:
> 
> > After doing a recent dselect upgrade, I'm noticing the following when
> > trying to view man pages:
> > 
> > [EMAIL PROTECTED]:~$ man ls
> > (null): can't set the locale; make sure $LC_* and $LANG are correct
> > Reformatting ls(1), please wait...
> 
> This could be a bug. I have the same trouble since two days. Trying to
> configure locales in /etc/locale.gen and /etc/environment had no
> effect.
> 
> Please let me know if there is a way to fix this and this is NOT a bug.
> Some other things also working bad. Hope that there cames a better
> update soon.
> 
> Timo
> 

I've fixed this by adding

LANG="en_AU"
LANGUAGE="en_AU"

export LANG LANGUAGE

to /etc/profile, you'de probably want to change it a bit if your not
in Oz

Cheers

Joel
- -- 
Go ahead try and spam me ...
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 

iD8DBQE8QBZxFgrYE4V82aYRAvL/AKCicy8ovsuuP0pTF29cO+unNpqKbgCdF24i
KgDwiLT79gqw8uVCGDf7B50=
=0SGr
-END PGP SIGNATURE-



Re: GNU parted and ext3

2002-01-12 Thread Eduard Bloch
#include 
Martin Fluch wrote on Sat Jan 12, 2002 um 11:16:29AM:
> mount the partition as ext2 (!) at /some/mount/point and then 
> 
>   rm /some/mount/point/.journal
> 
> That should do the trick.

NO. THIS IS A RUDE HACK AND SHOLD NOT BE DONE.

Instead, do

tune2fs -O^has_journal /dev/device
e2fsck -f /dev/device

After resizizing, ..., recreate the Journal with tune2fs -j

Gruss/Regards,
Eduard.
-- 
Was ist das, ein Winword-Dokument? Stell' Dir vor, es gibt tatsächlich
noch Leute, deren Anwendersoftware oder sogar Betriebssystem nicht von
der kleinen unbedeutenden Klitsche aus Redmond stammen.
Ulf Neumann in d.r.t.k



Re: Debian Vs RedHat

2002-01-12 Thread martin f krafft
also sprach Karsten M. Self  [2002.01.12.0835 +0100]:
> Wrong.  Cf:  Nemeth, et al, or Frisch.  Both cite /etc/{init,rc?}.d.
> 
> RH invented the rc.d/ directory variant.

they sure did. but in 7.0, redhat provided the /etc/init.d symlink, and
i believe that 7.2 had it completely switched. im not sure actually.
redhat *is* aware that they are the onlu ones, and that /etc/rc.d/init.d
is uncool.

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
it's as bad as you think, and they are out to get you.


pgp3wVjvxUQsx.pgp
Description: PGP signature


Re: spamassassin/procmail generating blank message

2002-01-12 Thread martin f krafft
also sprach nori heikkinen <[EMAIL PROTECTED]> [2002.01.12.0149 +0100]:
> i've fixed the recipe (added that -P flag on the end), but am still
> getting these senderless, headerless, Jan 01 blank messages ... 

have you set VERBOSE=yes and then pinpointed one such message creation?

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
he who laughs last, thinks slowest.


pgpssGS4vTmAd.pgp
Description: PGP signature


Re: (OT-ish:) procmail eating messages -- why?

2002-01-12 Thread martin f krafft
also sprach nori heikkinen <[EMAIL PROTECTED]> [2002.01.12.0616 +0100]:
> :0f
> | /usr/local/bin/spamassassin -P

why /usr/local/bin? did you install the debian package? then it is
/usr/bin/spamassassin and explains the problem. you do know about
procmail's logfile, which i think will lilst 100 errors about a "cannot
execute /usr/local/bin/spamassassin"

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
joan of arc heard voices too.


pgpiFgcqhnjSX.pgp
Description: PGP signature


Re: (OT-ish:) procmail eating messages -- why?

2002-01-12 Thread martin f krafft
also sprach Karsten M. Self  [2002.01.12.0832 +0100]:
> A 'c' will 'carbon copy' a message on a rule:
> 
> :0fc
> | /usr/local/bin/spamassassin -P
> 
> ...may fix your problem.  I'm not sure what spamassasin does.

no, you don't combine 'c' and 'f', it wouldn't make sense... it'd be
almost like a fork without differentiation between the two processes.

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
"if I can't dance, i don't want to be part of your revolution."
- emma goldman


pgpr7cyWSRqmT.pgp
Description: PGP signature


Re: (OT-ish:) procmail eating messages -- why?

2002-01-12 Thread martin f krafft
also sprach nori heikkinen <[EMAIL PROTECTED]> [2002.01.12.0622 +0100]:
> sorry to respond to my own post, but i forgot something.  when
> procmail sinks the message i'm getting, it seems to generate this
> blank, no-header, zero-size, from-me (by the 'F' flag in mutt),
> subjectless email, dated Jan 01.  no idea where this comes from but it
> seems to be related.

it's simply what mutt makes of a an empty file in your Maildir. it's Jan
01 1970 by the way :)

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
i don't speak for anyone save myself.


pgp9VYsJKn7gF.pgp
Description: PGP signature


Re: i386-none not in remapping table - FIXED

2002-01-12 Thread David Raeker-Jordan
David Raeker-Jordan wrote:
> I have an unstable system with a 2.2.19 kernel. I am trying to compile a
> 2.4.17 kernel, but I get the following error when I run "make-kpkg clean"
> 
> claire:/usr/src/linux-2.4.17/linux# make-kpkg clean
> dpkg: warning, architecture   386-none' not in remapping table
> rm -f modules/modversions.h modules/ksyms.ver debian/files stamp-build
> stamp-configure stamp-source stamp-image stamp-headers stamp-src stamp-diff
> stamp-doc stamp-buildpackage stamp-libc-kheaders stamp-debian
> test ! -f .config || cp -pf .config config.precious
> test -f Makefile && make  ARCH=i386-none distclean
> make[1]: Entering directory /usr/src/linux-2.4.17/linux'
> Makefile:243: arch/i386-none/Makefile: No such file or directory
> make[1]: *** No rule to make target rch/i386-none/Makefile'.  Stop.
> make[1]: Leaving directory /usr/src/linux-2.4.17/linux'
> make: [clean] Error 2 (ignored)
> test ! -f config.precious || mv -f config.precious .config
> rm -rf debian/tmp-source debian/tmp-headers debian/tmp-image
> test -f stamp-building || test -f debian/official || rm -rf debian
> 
> 
> If I run "make-kpkg kernel_image" yields these error messages at the end
> of the compile:
> 
> make[1]: Entering directory /usr/src/linux-2.4.17/linux'
> Makefile:243: arch/i386-none/Makefile: No such file or directory
> make[1]: *** No rule to make target rch/i386-none/Makefile'.  Stop.
> make[1]: Leaving directory /usr/src/linux-2.4.17/linux'
> make: *** [stamp-build] Error 2
> 
> 
> I have searched google and the debian mail archives, but the best answer I
> could find was to make sure all required packages were up to date. (They
> are) I think I recall reading about a problem with binutils, but the errors
> do not seem to be the same as what I am getting. I even found one posting
> with the same error, but it appears no one had an answer.
> 
> Thanks in advance for any assistance.
> 
> -- 

I ended up compiling a 2.4.17 kernel on another machine. Once I installed the
new kernel on the machine in question, I could then recompile 2.4.17 kernels
(to add the stuff I forgot during the first compile.) Don't know why it
worked, but it did. Perhaps I could have installed a packaged deb kernel and
then recompiled to get what I wanted. Thanks to Paolo Alexis Falcone for his
assistance.

 -- 
David Raeker-Jordan
mailto:[EMAIL PROTECTED]
Harrisburg, PA, USA



Re: LVM - pvcreate error

2002-01-12 Thread Martin Wuertele
On Fri, Jan 11, 2002 at 10:08:48PM +, Dougie Nisbet wrote:
> I tried LVM today, but didn't get very far. I've used fdisk to set the
> partition type, and tried to pvcreate it. But I get an i/o error. What
> have I done wrong? This is on an up to date woody system.
 
> [EMAIL PROTECTED]:~# uname -a
> Linux guestw 2.4.16 #1 Fri Jan 11 10:31:57 GMT 2002 i686 unknown
 
is your kernel lvm version the same as as lvm10 package?
[EMAIL PROTECTED]:~$ dpkg -l lvm* | grep ii
ii  lvm-common 1.3The Logical Volume Manager for Linux (common
ii  lvm10  1.0.1rc2-1 The Logical Volume Manager for Linux
[EMAIL PROTECTED]:~$ dmesg | grep LVM
LVM version 1.0.1(26/11/2001)

if not this might be the problem. i usually get the cvs source and patch
the kernel. 

hth martin
-- 
<[EMAIL PROTECTED]> -- NO HTML MAILS PLEASE
 PGP/GPG encrypted and signed messages preferred


pgpeVxftJ9y0r.pgp
Description: PGP signature


Re: Printing problems

2002-01-12 Thread Petrov M.I.
Hi.
I have problem with printing from RedHat to coputer with Debian (307-4).
>From another computer (Debian ...) printing works good.
>From computer with RedHat: 
~$ lpr printcap
~$ lpq
Printer: [EMAIL PROTECTED] 'galprint' (dest [EMAIL PROTECTED])
 Queue: no printable jobs in queue
 Server: no server active
  ^ 
 Status: job 'cfA300localhost.localdomain' saved at 15:56:29.307
 Rank   Owner/ID  Class Job Files Size
Time
done   root A   300 printcap   107
15:56:29
Printer: [EMAIL PROTECTED] 'Printer1 auto'
 Queue: no printable jobs in queue
 Status: job 'cfA020ADDR307-4.mao.kiev.ua' saved at 16:02:41.222
~$
When I am printig from this computer to other (no Debian) printing works!
This is mystery!!!
I am using LPRng on all computers.



dpkg failure -problems in /var/lib/dpkg

2002-01-12 Thread Chris
Hi all,

Today I came across a weird thing: dpkg and apt are not working
anymore.
Only two days ago I have been installing some packages and I did not
notice anything strange then -all went well.

Today, on doing an apt-get update I got the error that it couldn't read
the package list:

Reading Package Lists... Error!
E: Could not open file /var/lib/dpkg/status - open (19 No such device)
E: The package lists or status file could not be parsed or opened.

In the /var/lib/dpkg directory it shows some weirdness:

drwxr-xr-x6 root root 1024 Jan  9 22:11 .
drwxr-xr-x   29 root root 1024 Dec 26 13:31 ..
drwxr-xr-x2 root root 1024 Jan  5 21:24 alternatives
-rw-r--r--1 root root  6319846 Jan  9 22:11 available
-rw-r--r--1 root root  6319846 Jan  9 22:11 available-old
-rw-r--r-x1 root root8 Nov  4 19:53 cmethopt
c--xrw  29811 1634428001 1701276020  88,  82 Aug 15  2027
diversions
?rx-wT  25978 980640613 1814063443 1852795252 Aug 15  2027
diversions-old
drwxr-xr-x2 root root78848 Jan  9 22:11 info
-rw-rx1 root root0 Jan 12 12:59 lock
-rw-rx1 root root0 Jan 12 12:58 methlock
drwxr-xr-x5 root root 1024 Oct  4  2000 methods
-rw-r--r--1 root root  104 Dec  9 17:44 statoverride
-rw-r--r--1 root root   66 Dec  9 17:44 statoverride-old
c--xr--r-x  11890 1886347632 1769235828 115, 100 Jul 26  2010 status
br-xr-sr--  29793 1819895149 174417001 115, 101 Sep 17  2028 status-old
drwxr-xr-x2 root root 1024 Jan  9 22:11 updates

I have no clue how to solve this. I can do a 'touch -m' to correct the 
timestamp(just tried om status-old) but the ownership and file permissions I 
cannot change -no permission. These numbers do not appear my /etc/passwd or 
/etc/group file.

I am running woody with a 2.4.16 kernel (my first home-made).

Please advice,

thanks
Chris



sise of the panel in gnome

2002-01-12 Thread Olivier Esser
Does anyone know how to customize the size of the gnome panel (at the
bottom of the screen)  (I use Debian potato 2.2r4). In Red Hat there is an
option avaible by right clicking on the panel by I see nothing similar
here.



Re: Printing problems

2002-01-12 Thread Joachim Fahnenmueller
On Fri, Jan 11, 2002 at 04:08:44PM -0800, Jeff wrote:
> I'm having some trouble.  This used to work, and all-of-a-sudden
> it isn't now.  I have a woody/2.4.16 system with an HP Deskjet
> 952C on the parallel port.  I use LPRNG and MAGICFILTER with the
> dj690c-filter, and this has worked fine in the past.  I've done a
> few apt-get update/upgrades since last I printed, so I'm
> suspicious of something that might have changed in an upgrade.
> 
> My BIOS setting for the port is ECP and my kernel settings are:
> 
> CONFIG_PARPORT=y
> CONFIG_PARPORT_PC=y
> CONFIG_PARPORT_PC_CML1=y
> CONFIG_PARPORT_1284=y
> CONFIG_PRINTER=y
> 
> The following lines show up in /var/log/dmesg:
> 
> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
> parport0: irq 7 detected
> parport0: cpp_daisy: aa5500ff(38)
> parport0: assign_addrs: aa5500ff(38)
> parport0: cpp_daisy: aa5500ff(38)
> parport0: assign_addrs: aa5500ff(38)
> lp0: using parport0 (polling).
> 
> I can send data to the printer using:
> 
> cat text.file > /dev/lp0
> and...
> lpr text.file
> and...
> enscript -1 -G text.file
> 
> and the printer prints, but not the text.  The output has words
> that look like the filter or enscript calls, e.g.
> '%%BoundingBox...' and '/.notdef' and '%!PS-Adobe-3.0'
> 
> This is messing with me...I feel like I'm close, but I'm missing
> something small.  
> 
> I've purged and reinstalled LPRNG and MAGICFILTER, and even tried
> using LPR, but no luck.
> 
> Any help will much appreciated.
> 
> thanks,
> jc
> 
> -- 
> Jeff Coppock  Systems Engineer
> Diggin' DebianAdmin and User
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

What is the content of /etc/printcap ?

-- 
Joachim Fahnenmüller
Lehrer für Mathematik und Physik

Herder-Gymnasium
Kattowitzer Straße 52
51065 Köln



Re: X Configuration in Woody

2002-01-12 Thread Joachim Fahnenmueller
Edit your XF86config-4 file, look for lines like these (see below). Insert the 
correct frequency settings for your monitor, and the resolutions you want.
BTW, if you specify more than one resolution, you can switch them on-the-run by 
pressing Ctrl+Alt+'+' or Ctrl+Alt+'-'.
See also man XF86Config(x).

# **
# Monitor section
# **

# Any number of monitor sections may be present

Section "Monitor"

Identifier  "Scott 7720"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync   30-70

#HorizSync  30-64 # multisync
#HorizSync  31.5, 35.2# multiple fixed sync frequencies
#HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50-150

EndSection

( ... )

# **
# Screen sections
# **

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier  "Screen 1"
Device  "ATI Rage 128"
Monitor "Scott 7720"
# DefaultDepth 8
DefaultDepth 24

 Subsection "Display"
Depth   24
Modes   "1024x768" "800x600" "640x480"
ViewPort0 0
Virtual 640 480
EndSubsection
EndSection

Regards,

-- 
Joachim Fahnenmüller
Lehrer für Mathematik und Physik

Herder-Gymnasium
Kattowitzer Straße 52
51065 Köln



Re: Using netselect, a list of mirrors

2002-01-12 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 12 January 2002 03:30 am, Brian Nelson wrote:
> Ron Johnson <[EMAIL PROTECTED]> writes:
> > On Saturday 12 January 2002 02:41 am, Brian Nelson wrote:
[snip]
> > > Use netselect-apt, as in "netselect-apt stable", which will produce a
> > > sources.list file in your current directory.
> >
> > I tried "netselect-apt testing", and it said that the fastest
> > mirror to me is in Austria.  Something's wrong...
>
> *shrug*
>
> Try apt-spy instead...

A little cut-and-paste, python and vim produced a nice list for
netselect.  Too bad the fastest mirrors don't work or are way
out of date...

I am, however, installing apt-spy.

- -- 
++
| Ron Johnson, Jr.Home: [EMAIL PROTECTED]|
| Jefferson, LA  USA  http://ronandheather.dhs.org   |
||
! "Millions of Chinese speak Chinese, and it's not   |
!  hereditary..."|
!Dr. Dean Edell  !
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QEnmjTz5dS9Us5wRAngrAJ9EUhLtfBK3RpjdWd0/pIkxu3qhhwCfacLI
MtzK509bBTZBaqZA9YQUzbE=
=xB7E
-END PGP SIGNATURE-



Apt dependency tangle in ident-server

2002-01-12 Thread Mike Perry
I've run into some form of dependency tangle in ident-server. Sorry about the
cross-post, but I'm not sure if it's a bug or just something I've fucked up in
configuration. In any event, it seems to have broken apt a bit, so I'm in need 
of a little assistance.

It seems that while switching between midentd, mdidentd, gidentd, and pidentd
(in that order), mident got confused about what was on the system and
dependencies, and only deinstalled itself half-way during the install of
pidentd. This was off of a 3.0 testing box that was current to earlier this
week (via dist-upgrade).

Now, every time I run any apt-get install command, I get something like
the following due to the partially removed mident:

root:/usr/src> apt-get install ee
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  ee 
0 packages upgraded, 1 newly installed, 0 to remove and 31  not upgraded.
1 packages not fully installed or removed.
Need to get 42.7kB of archives. After unpacking 147kB will be used.
Get:1 ftp://ftp.us.debian.org testing/main ee 1:1.4.2-4 [42.7kB]
Fetched 42.7kB in 2s (15.4kB/s)
Selecting previously deselected package ee.
(Reading database ... 66525 files and directories currently installed.)
Unpacking ee (from .../ee_1%3a1.4.2-4_i386.deb) ...
Setting up midentd (2.1-3) ...
An override for "/var/run/identd" already exists, aborting
dpkg: error processing midentd (--configure):
 subprocess post-installation script returned error exit status 3
Setting up ee (1.4.2-4) ...

Errors were encountered while processing:
 midentd
E: Sub-process /usr/bin/dpkg returned an error code (1)

  
What is an override? I couldn't find it in any manual. Removing /var/run/identd/
didn't help.

Here's a look at roughly what the dependency tangle is:

root:/usr/src> dpkg -P ident2
dpkg: dependency problems prevent removal of ident2:
 mdidentd depends on pidentd | midentd | oidentd | ident-server; however:
  Package pidentd is not installed.
  Package midentd is not configured yet.
  Package oidentd is not installed.
  Package ident-server is not installed.
  Package ident2 which provides ident-server is to be removed.
  Package bidentd which provides ident-server is not installed.
  Package pidentd which provides ident-server is not installed.
dpkg: error processing ident2 (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 ident2

The actual problem was inititally that midentd was to be removed before pidentd 
was installed if I remember correctly.


Attempts to purge the package fail:

root:/usr/src> dpkg --force-all -P midentd
(Reading database ... 66516 files and directories currently installed.)
Removing midentd ...
An override for "/var/run/identd" already exists, aborting
dpkg: error processing midentd (--purge):
 subprocess post-removal script returned error exit status 3
Errors were encountered while processing:
 midentd


Even an attempt to reinstall fails:

root:/usr/src> apt-get install --reinstall midentd
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 31  not 
upgraded.
Need to get 0B/6948B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] y
Selecting previously deselected package midentd.
(Reading database ... 66517 files and directories currently installed.)
Preparing to replace midentd 2.1-3 (using .../midentd_2.1-3_i386.deb) ...
Unpacking replacement midentd ...
Setting up midentd (2.1-3) ...
An override for "/var/run/identd" already exists, aborting
dpkg: error processing midentd (--configure):
 subprocess post-installation script returned error exit status 3
Errors were encountered while processing:
 midentd
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
Mike Perry
Hacker in Chief
fscked.org enterprises, inc



Re: NE2000 ISA

2002-01-12 Thread Stephan Hachinger
Hi!

I've got _two_ ne2000 compatibles (one realtek pci and one other isa) in my
machine and they work w/o problems (and this machine also has many other
cards (scsi, sb64 etc.) inside). With my isa card came a disk with a setup
utility to set the i/o port of the isa card. Even if you have pnp enabled,
there should be a diagnostic utility or so which will tell you the i/o port,
and if you're lucky it will work under dos which you can boot from a disk.
Do you have such a setup disk and a dos boot disk??

Cheers,

Stephan


 Original Message -
From: "Dimitri Maziuk" <[EMAIL PROTECTED]>
To: 
Sent: Friday, January 11, 2002 9:24 PM
Subject: Re: NE2000 ISA


> * arief muLya ([EMAIL PROTECTED]) spake thusly:
> ...
> > The problem is, I can't just modprobe the module. They says if it's an
> > ISA NE2000 Card, I need to give the right IO and IRQ setting when I
> > modprobe/insmod the module.
>
> Your best bet is to get a different NIC and throw ne2k away
> (yes, I know, finding an ISA NIC may be hard these days).
>
> If it's a jumpered card, you should have (may be able to find)
> the fine manual. If not, you'll need the config utility (IIRC
> ne2k's weren't pnp, even the ne2k+ that claimed to be, so
> fscking around with isapnp won't get you anywhere).
>
> Either way, ne2k had a wide i/o port that overlapped with other
> devices' ports in most configurations (FVO "other devices" =
> sound card, floppy, ide and parallel port). Configuring them
> was a real PITA even if you had the manual and software.
>
> Dima
> --
> "Mirrors and copulation are abominable because they increase the number of
> entities."-- corollary to Occam's
Razor
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>



Re: dpkg failure -problems in /var/lib/dpkg

2002-01-12 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

fsck???

On Saturday 12 January 2002 08:06 am, Chris wrote:
> Hi all,
>
> Today I came across a weird thing: dpkg and apt are not working
> anymore.
> Only two days ago I have been installing some packages and I did not
> notice anything strange then -all went well.
>
> Today, on doing an apt-get update I got the error that it couldn't read
> the package list:
>
> Reading Package Lists... Error!
> E: Could not open file /var/lib/dpkg/status - open (19 No such device)
> E: The package lists or status file could not be parsed or opened.
>
> In the /var/lib/dpkg directory it shows some weirdness:
>
> drwxr-xr-x6 root root 1024 Jan  9 22:11 .
> drwxr-xr-x   29 root root 1024 Dec 26 13:31 ..
> drwxr-xr-x2 root root 1024 Jan  5 21:24 alternatives
> -rw-r--r--1 root root  6319846 Jan  9 22:11 available
> -rw-r--r--1 root root  6319846 Jan  9 22:11 available-old
> -rw-r--r-x1 root root8 Nov  4 19:53 cmethopt
> c--xrw  29811 1634428001 1701276020  88,  82 Aug 15  2027
> diversions
> ?rx-wT  25978 980640613 1814063443 1852795252 Aug 15  2027
> diversions-old
> drwxr-xr-x2 root root78848 Jan  9 22:11 info
> -rw-rx1 root root0 Jan 12 12:59 lock
> -rw-rx1 root root0 Jan 12 12:58 methlock
> drwxr-xr-x5 root root 1024 Oct  4  2000 methods
> -rw-r--r--1 root root  104 Dec  9 17:44 statoverride
> -rw-r--r--1 root root   66 Dec  9 17:44 statoverride-old
> c--xr--r-x  11890 1886347632 1769235828 115, 100 Jul 26  2010 status
> br-xr-sr--  29793 1819895149 174417001 115, 101 Sep 17  2028 status-old
> drwxr-xr-x2 root root 1024 Jan  9 22:11 updates
>
> I have no clue how to solve this. I can do a 'touch -m' to correct the
> timestamp(just tried om status-old) but the ownership and file permissions
> I cannot change -no permission. These numbers do not appear my /etc/passwd
> or /etc/group file.
>
> I am running woody with a 2.4.16 kernel (my first home-made).
>
> Please advice,
>
> thanks
> Chris

- -- 
++
| Ron Johnson, Jr.Home: [EMAIL PROTECTED]|
| Jefferson, LA  USA  http://ronandheather.dhs.org   |
||
! "Millions of Chinese speak Chinese, and it's not   |
!  hereditary..."|
!Dr. Dean Edell  !
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QEuojTz5dS9Us5wRAmkHAJ4+44aAhpP+lstXpKUOBDp68sPmmwCfQmn9
fW9AwlfoVNxjPL9DwI5MvcI=
=73KE
-END PGP SIGNATURE-



Re: sise of the panel in gnome

2002-01-12 Thread Mario Vukelic
On Sat, 2002-01-12 at 15:24, Olivier Esser wrote:
> Does anyone know how to customize the size of the gnome panel (at the
> bottom of the screen)  (I use Debian potato 2.2r4). In Red Hat there is an
> option avaible by right clicking on the panel by I see nothing similar
> here.

Which version of Gnome? IIRC the standard Gnome in potato is 1.0.55 and
I think that had no configurable size at all (and is really much worse
than 1.4 in any respect). There should be Gnome 1.4 debs for potato
available inofficially. For sources for these look at www.debianhelp.org
or www.debianplanet.org. Or you can use Ximian's from www.ximian.com

Kind regards, M.
-- 

I did not vote for the Austrian government





Re: RFC: Beginner's vim tutorial

2002-01-12 Thread Donald R. Spoon

"Mark S. Reglewski" <[EMAIL PROTECTED]> wrote:


On Friday, January 11, 2002 at 11:44 AM dman wrote:

On Thu, Jan 10, 2002 at 10:27:39PM -0600, Donald R. Spoon wrote:



| 2. I have always had problems at the start remembering keyboard
| commands  on ANY wordprocessor / editor that I have ever tried.
| VI/VIM has been especially perplexing because I cannot determine
| the under-lying logic used in its design.  This means I am
| constantly in the "help" section and reading the docs and never
| get any work done.  Eventually I give up and go to something that
| I have already learned and use it.  Are you aware of ANY
| documention that will give a historicaly perspective about
| VI/VIM?  How did it evolve?  Why was this particular set of
| commands chosen?  Is there any "logic" (neumonics?) available
| to help remember important commands for the beginner? (Example:
| Wordstar's command keys were layed out in a geometric manner
| on the keyboard.  Once I knew this I could usually figure out a
| command sequence and NOT have to refer to the docs/help menus
| nearly as much.)


[snip start of dman's mini-tutorial]


x   Delete current character (don't know why this key, just
remember it) (same as 'dl')


Hahahahaha.  You are obviously not old enough to remember the
archeological artifact called a typewriter.  These mechanical devices
were used, before personal computers loaded with word processors and
text editors, to create hard-copy printed output such as letters, term
papers, and the like.  The canonical overstrike character used to wipe
out errors in preliminary drafts of typewritten documents was the 'x'.
*Very* informal documents might even be distributed to recipients
without the x overstriking having been cleaned up.

The hackers who coded vi and the ex line editor upon which it is based
lived in the Cretaceous period, when dinosaurs walked the earth, and
many documents were prepared with typewriters.  This is *probably* the
origin of 'x' as delete in vi and its clones.  Only way to be sure is
to ask the coders themselves, of course, but I'd bet a lot on my
conjecture's being correct.

[snip end of dman's mini-tutorial]

Cordially,
Mark S. Reglewski



BINGO!

Thanks, Mark and Dman!  This is EXACTLY the sort of stuff I was seeking! 
 I am old enough to have used a typewriter extensively during my high 
school and college days.  In fact, the only other recourse at the time 
was pen/pencil and paper no other automation was avalable.  Now it 
makes a LOT more sense for me.  Shucks, I still have & use my old 
mechanical slide rule too .


This old "geezer" is in your debt!  Many thanks!!

Cheers,
-Don Spoon-







gatos permissions problem (xatitv)

2002-01-12 Thread David Roundy
Hello.  I have a problem, in that I can only run the xatitv program from
gatos as root.  If I run it as a normal user, I get an error messages
saying something about not being able to access /dev/mem.  I've tried
adding my user to all the groups that seemed relevant, but to no avail.

It seems most likely that I just need to add my user to the right group
(although maybe I should make the xatitv program SGID or something), but am
at a loss as to which group could be relevant.  Any help would be
appreciated.
-- 
David Roundy
http://civet.berkeley.edu/droundy/



Re: Printing problems

2002-01-12 Thread Jeff
Joachim Fahnenmueller, 2002-Jan-12 09:43 +0100:
> On Fri, Jan 11, 2002 at 04:08:44PM -0800, Jeff wrote:
> > I'm having some trouble.  This used to work, and all-of-a-sudden
> > it isn't now.  I have a woody/2.4.16 system with an HP Deskjet
> > 952C on the parallel port.  I use LPRNG and MAGICFILTER with the
> > dj690c-filter, and this has worked fine in the past.  I've done a
> > few apt-get update/upgrades since last I printed, so I'm
> > suspicious of something that might have changed in an upgrade.


> 
> What is the content of /etc/printcap ?
> 

lp|dj952c|HP Deskjet 952C:\
:lp=/dev/lp0:sd=/var/spool/lpd/dj952c:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/etc/magicfilter/dj690c-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

This is generated using 'magicfilterconf'.  I've recreated it a
few times.

thanks,
jc

-- 
Jeff CoppockSystems Engineer
Diggin' Debian  Admin and User



Re: X Configuration in Woody

2002-01-12 Thread Donald R. Spoon

Mark Wagnon <[EMAIL PROTECTED]> wrote:


Hi,

Thanks for the response!

I am able to create an XF86Config-4 file using debconf. It's tailored
to my system's specs, and X is functional. The problem is that it's
driving my monitor at a resolution that 1) renders everything too
small to read, and 2) that AFAIK, is outstide my monitor's
capabilities. I would expect that my monitor would display some kind
of "out of range" message, but it doesn't. My manual specifies that it
is capable of 1280x1024, however X is driving it at a much higher
resolution. 


Also, I beleive that I have only verion 4 files on board because I
installed X after upgrading from potato. I could be wrong about that
though.

I'm not sure where else to look. I've hunted down and renamed all my
XF86Config* files with the exception of /etc/X11/XF86Config-4. I just
don't understand where it's pulling the resolution setting it's using from.

If anyone thinks of anything else...please share ;-)

TIA!
--
  Mark Wagnon <[EMAIL PROTECTED]>



Mark,

I have been on the same "learning curve" as you jsut a short while ago. 
 I recall somewhere that the "preferred" method of creating the 
/etc/Xll/XF86Config-4 file IN DEBIAN is to use one of the Debian config 
tools.  The only one I have been able to make work here is the 
"dpkg-reconfigure xserver-xfree86" command, which brings up the debconf 
utility you see when you install Debian.  It seems that Debian is 
constantly improving the debconf utility, and the last time I used it 
for configuring X (about a week ago) it had a few extra questions I had 
not seen before about creating special "debconf-only" sections in the 
resulting XF86Config-4 file.  Anyhoo, here are some recollections from 
my faulty short-term memory that might relate to your resolution "problem".


1.  Early in the debconf screens you are queried about how you want to 
handle the Monitor questions.  IIRC, the options are "simple", "medium" 
and "advanced".  This last time I chose "advanded" and got a series of 
query screens that asked detailed questions about my Monitor's ratings. 
 I could explicitly define both the horizontal and vertical refresh 
rate ranges.  I don't recall having the opportunity to do this with the 
"simple" or "medium" options where you were just given a menu of 
pre-defined choices.  IF you define the EXACT ranges that your monitor 
can handle, there is no way X can "over-drive" the capabilities of your 
Monitor and damage it.  You might want to give the "advanced" (or 
"expert"...don't recall the exact wording) mode a try.


2.  Later in the debconf section is a query about the screen resolution 
modes you want to run.  IIRC, there is a "[ ]" selection box at the 
start of the line of a given screen resolution... i.e "[ ] 800x600".  On 
this screen you should only mark the resolutions you want to have 
available for use. Also, I recall some of the lower resolution options 
were not visable at the bottom until you scrolled down to them, and were 
easily overlooked.  I would suggest you check this screen carefully to 
make sure that ONLY the screen-resolutions your want are marked for 
use...  i.e. "[*] 800x600".  If you do this correctly, these are the 
ONLY screen resolutions that will be considered when XF86Config-4 is run.


3.  As far as I know, X will only activate screen resolution modes that 
are compatable with your hardware as defined in XF86Config-4.  It is 
pretty smart and will calculate the modes that will work and remove any 
that fall out of range or are not selected for use.  This means that the 
better the data you supply during the creation of XF86Config-4, the 
better the results will be for you.  If you define the monitor ranges 
correctly, tell it the correct video device + correct amount of memory, 
and tell it the modes you want enabled, then you will get exactly what 
you asked for in a "safe" manner.  One of the features of XFree86-v.4.X 
is the ability to auto-probe your devices and determine a LOT of this 
info from the device itself.


HTH.

Cheers,
-Don Spoon-



Re: Printing problems

2002-01-12 Thread Jeff
Adam Majer, 2002-Jan-12 02:46 -0600:
> 
> Don't know. But I have /etc/printcap set like this:
> 
> lp|ps|PS|PostScript|djps:\
> :sd=/var/spool/lpd/lp:\
> :mx#0:\
> :pl#66:\
> :pw#80:\
> :lp=/dev/lp0:\
> :if=/var/spool/lpd/lp/filter:\
> :sh:
> 
> 
> sd - the location of spool directory
> if - input filter
> lp - printer device
> 
> and /var/spool/lpd/lp/postscript/filter is symlinked to /etc/magicfilter/dj500
> 
> 
> Try setup like that except you link to your printer.. Then try lpr with a 
> PostScript
> file. Or print map page for something, eg. file
> 
> man -t file | lpr
> 

Thanks for the suggestion, it didn't work.  I'm still getting the
unknown device: pc13 error.  I feel like I'm moving backwards on
this!  

I put the symlink in /var/spool/lpd/lp as filter pointing to
/etc/magicfilter/dj... and changed the lp line in your printcap
to match up to my printer.  I tried your printcap as is first,
then changed the lp line, but no luck.

man -t ... didn't work, it got

[212] $ man -t file
/usr/bin/groff: can't find `DESC' file
/usr/bin/groff:fatal error: invalid device `ps'
man: command exited with status 768: /usr/bin/zsoelim
/tmp/zman9jrbHR | /usr/bin/groff -mandoc

I'm sure that I'm doing something wrong, just don't know what.

thanks for you help.

jc

-- 
Jeff CoppockSystems Engineer
Diggin' Debian  Admin and User



Re: CDs y manuales de Debian

2002-01-12 Thread Daniel Toffetti
On Wednesday 09 January 2002 15:27, Carlos Parra wrote:

Para comenzar, en esta lista de correo normalmente se habla en inglés, 
si quieren seguir escribiendo aquí deberían hacerlo en inglés y sino 
pueden escribir a la lista debian-user-spanish@lists.debian.org

> También hemos visto que hay mucha información al respecto pero
> necesitamos alguien que nos oriente sin perdernos por el camino.
> ¿que nos recomiendan ustedes?

Hay varios sitios con muchísima información en español acerca de 
Debian, como www.esdebian.org, laespiral.org, lucas.hispalinux.es, 
http://www.barrapunto.com/index.pl?section=debian, y muchos otros.

Para comenzar, deberían conseguirse unos CDs de instalación fiables, 
una buena forma de obtenerlos es descargarlos directamente del sitio de 
debian http://www.debian.org/CD/ y grabarlos ustedes mismos.
Además, es muy aconsejable que participen de alguna lista de correo 
donde realizar consultas en caso de que tengan problemas de instalación 
y/o configuración.
Otra fuente muy importante de información son las "man pages", los 
manuales, documentación y archivos LEAME, los HOWTOs (COMOs) que vienen 
en los CDs de instalación.

Desde ya mucha suerte, pueden consultarme cuando lo deseen.

Daniel
Tandil, Argentina
-- 
"There is no spoon..." - The Matrix



printer sharing problem

2002-01-12 Thread Davor Balder
Greetings all, 


I have a very interestting problem. I am trying to connect to HP DeskJet 400 
from RedHat system (my Debian box is connected to this other computer via 
ethernet connection). Printer is connected (parallel connection) to my Debian 
box and of course works fine. Samba connection to the same machine (from 
WindowsME) works OK on the same printer.  I have done everything according to 
Printing-Howto including that hosts.lpd file (same logic as for /etc/hosts). I 
was using printtool to configure printer (remote queue), but when it comes to 
printing, first of all: nothing prints (disappointment) and secondly: when I 
issue lpq command I get the message that my host is not connected to line 
printer. 
ie, 

[EMAIL PROTECTED] davor]$ lpq
Printer: [EMAIL PROTECTED] (dest [EMAIL PROTECTED])
Queue: 1 printable job
Server: pid 2661 active
Unspooler: pid 2664 active
Rank   Owner/IDClass Job FilesSize Time
active(attempt-2) [EMAIL PROTECTED] A 660 davor.txt   6 03:02:23
 debian: /usr/sbin/lpd: lp: Your host does not have line printer access

/etc/printcap seems OK (created by printtool) and according to recommendations 
from the literature. 

##PRINTTOOL3## REMOTE
lp:\
 :sd=/var/spool/lpd/lp:\
 :mx#0:\
 :rm=debian:\
 :rp=lp:\
 :lpd_bounce=true:

RedHat uses LPRng system (this should be compatible to my LPR system on Debian 
potato). At least that is what info says...


I printed several files just for test after logging into my Debian machine and 
all is OK... so, printer works... 


What could be wrong? 

I have exhausted my resources... can anybody enlighten me on what I may have 
overlooked?



Take care, 


Davor






Packages to run kernel 2.4.x on potato (release 23)

2002-01-12 Thread Adrian Bunk

I have prepared the packages needed to run kernels up to 2.4.17 on a
Debian 2.2r5 (potato) system. Please read [1] for more information.

Changes in this release:

  + fixed the bug that isdnutils erased /etc/services
if you were affected by this bug copy the file you can find
at [2] to /etc/services
Sorry for any inconveniences caused by this bug!
  + updated: ksymoops (2.4.0-1 -> 2.4.3-1.1)


cu
Adrian

[1] http://www.fs.tum.de/~bunk/kernel-24.html
[2] http://people.debian.org/~bunk/services





Strange Sound problem.....

2002-01-12 Thread Josef Oswald

Hi:-)

this is the situation:

Soundblaster Live5.1 the driver is compiled into the Kernel, (version
2.5.0)

XMM and the gnome-Cd-player do work fine

yet some other program's don't

cat /usr/share/sounds/login.wav > /dev/audio only produces some
strange noise other sound-program's don't work also 

Is there a package I need to install?

( this Linux-install) was once a Progeny clone upgraded to Gnu/linux
3.0

any pointers are appreciated :-) 
-- 
LinuxUser aka Josef Oswald [EMAIL PROTECTED] 
registered-linux-user # 134.818 at http://counter.li.org

The box said Windows, NT or better, so I installed Linux :-) 




dpkg -S bug?

2002-01-12 Thread Carl Fink
Here is a selection from a screen capture. This is a bug, right?


nitpicking:/home/carlf# dpkg -S audiofile.h
dpkg: *audiofile.h* not found.

.
.
.

nitpicking:/home/carlf# apt-get install libesd0.dev

.
.
.


nitpicking:/home/carlf# updatedb

.
.
.

nitpicking:/home/carlf/install/Cinelerra/cinelerra# locate audiofile.h
/usr/include/audiofile.h
==

If libesd0-dev install audiofile.h, shouldn't dpkg -S say so?

-- 
Carl Fink   [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum




Mysql 3.23 TCP/IP ports broken?

2002-01-12 Thread Ryan Hagan

Greetings,

I was wondering if anyone else had noticed that the latest versions of 
MySQL (3.23.46 and 3.23.47) seem to have TCP/IP ports disabled?  I can work 
with MySQL fine through Unix ports, but once I try to connect through TCP I 
get the following error:

ERROR 2003: Can't connect to MySQL server on 'myhostname' (111)

Has anyone else seen this problem?  Any suggestions for fixing it, other 
than rolling back to a previous version?


--
Ryan
[EMAIL PROTECTED]



Re: OT: Perl & UTF-8

2002-01-12 Thread Holger Rauch
Hi!

Thanks for your reply!

On Sun, 6 Jan 2002, dman wrote:

> [...]
> So the regexps you're using are in a 8859-n source file, right? 

Yep.

> Can perl handle UTF-8 source files? 

Don't know. That's why I mailed this question ;-)

> Are you trying to use things like the
> posix character class [:alpha:]?  

No.

> I don't think those will handle all
> alphabetic characters in all unicode supported languages (probably
> just ascii/english alphabet).

What about \w?

Thanks again for your hint.

Greetings,

Holger




Re: dpkg -S bug?

2002-01-12 Thread MH
> "Carl" == Carl Fink <[EMAIL PROTECTED]> writes:

Carl> Here is a selection from a screen capture. This is a bug,
Carl> right?
Carl> 
Carl> nitpicking:/home/carlf# dpkg -S audiofile.h dpkg:
Carl> *audiofile.h* not found.

Carl> .  .  .

Carl> nitpicking:/home/carlf# apt-get install libesd0.dev

Carl> .  .  .


Carl> nitpicking:/home/carlf# updatedb

Carl> .  .  .

Carl> nitpicking:/home/carlf/install/Cinelerra/cinelerra# locate
Carl> audiofile.h /usr/include/audiofile.h
Carl> ==

Carl> If libesd0-dev install audiofile.h, shouldn't dpkg -S say
Carl> so?



dpkg -S audiofile.h
libaudiofile-dev: /usr/include/audiofile.h

dpkg -l dpkg

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  dpkg   1.9.18 Package maintenance system for Debian



-- 
(Dr.) Michael Hummel
mailto: [EMAIL PROTECTED] || [EMAIL PROTECTED]
--
fprint = F24D EAC6 E3D7 372C 9122 D510 EB24 01CA 0B56 B518
id: 1024D/0B56B518 key: http://www.seitung.net/key

pgp4aMtgHqkNS.pgp
Description: PGP signature


Re: dpkg -S bug?

2002-01-12 Thread Colin Watson
On Sat, Jan 12, 2002 at 11:33:10AM -0500, Carl Fink wrote:
> If libesd0-dev install audiofile.h, shouldn't dpkg -S say so?

No, 'dpkg -S' only searches installed packages. If you want uninstalled
packages, try 'auto-apt search', 'apt-file search',
http://packages.debian.org/, or download dists/$dist/Contents-$arch.gz
and zgrep it.

-- 
Colin Watson  [EMAIL PROTECTED]



Re: dpkg -S bug?

2002-01-12 Thread L Vogtmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 12 January 2002 08:33 am, Carl Fink wrote:

> If libesd0-dev install audiofile.h, shouldn't dpkg -S say so?

- From man dpkg:
dpkg -S | --search filename-search-pattern ...
Search  for  a  filename from installed packages. All standard shell 
wildchars can be used in the pattern.

Notice the _installed_ part.  Use this to figure out where a file on your 
system came from.

I assume you are trying to find out what package you need to install to get a 
certain header file.  I'm not sure of the best way to do that, anyone else?
- -- 
vmann
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
GnuPG/PGP Fingerprint CE80 018B D825 6DF1 4990  C15F E11A B17E 4A0C D133
Sair Linux and GNU Certified Administrator #563619
Whidbey Linux Users Group - http://www.wlug.net
http://vmann.net


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QGr74RqxfkoM0TMRAijCAJ0WwI5br2UAvHGCwUA5IYm3Gn/V8QCcCN+Q
CavtGz80oU1lzEXLF//JUh4=
=gznN
-END PGP SIGNATURE-



Re: OT: performance problems.

2002-01-12 Thread csj
On Fri, 11 Jan 2002 20:01:26 +0100
Theo Wribe <[EMAIL PROTECTED]> wrote:

> On Thu, Jan 10, 2002 at 07:51:19AM +0800, csj wrote:
> > On Tue, 8 Jan 2002 23:11:46 +0100
> > Theo Wribe <[EMAIL PROTECTED]> wrote:
> > 
> > > On Tue, Jan 08, 2002 at 02:00:27PM -0800, Brian Nelson wrote:
> > > > It's all about scsi baby...
> > > > 
> > > > /dev/sdb:
> > > >  Timing buffer-cache reads:   128 MB in  0.78 seconds =164.10 MB/sec
> > > >  Timing buffered disk reads:  64 MB in  1.62 seconds = 39.51 MB/sec
> > > 
> > > My Western Digital 80G 7200RPM is pretty good too.
> > > 
> > > /dev/hdb:
> > > Timing buffer-cache reads:   128 MB in  0.80 seconds =160.00 MB/sec
> > > Timing buffered disk reads:  64 MB in  1.58 seconds = 40.51 MB/sec
> > 
> > Now that's something to get jealous over. How did you manage the
> > additional 20MB over mine (20MB+/sec)? Is it just the RPM's or some
> > other kernel compile option or hdparm paramater? Please don't tell me to
> > RTFM. 20MB/sec is the most I could get from all my fine reading and
> > tweaking. Also, I'm curious: anybody there who's managed to get even
> > half of the theoretical UDMA 100?
> >
> RTFM - Just kidding ;> Thing I did was to compile my kernel with support
> for Intel IDE controllers. Rebooted and got nice preformance. After that
> I ran hdparm -c3 for I/O support in 32bit w/sync but It did just give me
> an increase of 2-4MB/sec. Im pretty happy with the speed overall.

I have AMD Inside.



Re: Play VCD on computer

2002-01-12 Thread csj
On Fri, 11 Jan 2002 20:43:24 +0100
Martin Wuertele <[EMAIL PROTECTED]> wrote:

> On Fri, Jan 11, 2002 at 07:38:58AM +0800, csj wrote:

> 

>From one snipper to another:

> you should not use any packaged version of mplayer for the following reasons
> (see http://www.mplayerhq.hu/DOCS/users_against_developers.html#binary)
> 
> 1. Law: Mplayer "contains several files with incompatible licenses
>   especially on the redistribution clauses. As source files, 
>   they are allowed to coexist in a same project."

Kind of like the substance abuse motto: save the pusher, jail the user.
 
> 2. Technical:
>   "MPlayer's speed (MMX, SSE, fastmemcpy, etc) optimizations are
>   determined during compilation. 

You're absolutely right on the technical reasons.
 
> just download the source and do a fakeroot debian/rules binary and it will
> compile fine, optimised for the system you compile it on.

Source also comes in packages ;-). Otherwise you have to write your own
makefiles, configure script, etc. The unoffical Debian archive I cited
provides apt-get'table source in the official three part format (.dsc,
..diff.gz, .orig.tar.gz). Does the mplayerhq.hu source (which I see as a
single gz/bz2 tar file) come with an internal ./debian directory?



Re: GNU parted and ext3

2002-01-12 Thread David B Harris
On Sat, 12 Jan 2002 01:13:18 -0800
Calyth <[EMAIL PROTECTED]> wrote:
> It seems that they don't mix well.
> Here's the problem.
> I want to resize the FAT and ext3 partition on my laptop because FAT
> is truly fatter than the ext3 and linux actually could use a bit more
> space. So I wanted to do fair game and manage to shrink the FAT
> partition. Somehow parted cannot resize the ext3 partition so that it
> will take the empty space that FAT has released (ext3 is the partition
> right after FAT [spatially]) I'm thinking of removing the journal (the
> parted boot floppy doesn't have LILO), and then resize the drive, then
> put in the journal. I know how to put the journal back on but anyone
> knows how to remove the journal safely? Calyth

Perhaps a perusal of Parted docs will help. :) In other words, in the
Parted manual, you'll find that they explicitly state that Parted can
not (as yet) change the position of the start of an ext2/3 filesystem :)

You'll have to use another tool. There's no need to remove the journal,
in any case. It's just another file. So unless you're resizing this
partition while it's mounted read-write, you don't need to worry about
it.

Enjoy. :)

--
 .--=-=-=-=--=---=-=-=.
/David Barclay HarrisAut agere, aut mori.  \
\Clan Barclay  Either action, or death./
 `---==-=-=-=-===-=---=--='


pgpKMz3X8HADM.pgp
Description: PGP signature


Re: dpkg failure -problems in /var/lib/dpkg

2002-01-12 Thread Chris
On Sat, Jan 12, 2002 at 08:43:52AM -0600, Ron Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> fsck???
(original message below)

Well, tried that and yes it found lots of errors. I said yes fix it to
'm all and the result was that the status and diversion files are gone. 
>From a little research I did, it seems that this could mean my system is
hosed. Not a happy camper if that would be the case.

In /var/backups there is a copy of status from jan 7th. I installed software on
the 9th (I know what packages they were), so it is not totally up to date. Can 
Iuse that version to rebuild it so that it would be current again?

What about the diversions file? I only found info on that in the dpkg
programmers' manual, which really is over my head.

I also read (in the archives of the dpkg mailing list) that Wichert Akkerman 
wasworking -or intended to do so- on a script to rebuild the status file from  
/var/lib/dpkg/info. Is there any more info on that?

In short, any pointers to how to proceed from here would be very
welcome.

dpkg version is 1.9.18 (i386) on woody

thanks,
Chris

> On Saturday 12 January 2002 08:06 am, Chris wrote:
> > Hi all,
> >
> > Today I came across a weird thing: dpkg and apt are not working
> > anymore.
> > Only two days ago I have been installing some packages and I did not
> > notice anything strange then -all went well.
> >
> > Today, on doing an apt-get update I got the error that it couldn't read
> > the package list:
> >
> > Reading Package Lists... Error!
> > E: Could not open file /var/lib/dpkg/status - open (19 No such device)
> > E: The package lists or status file could not be parsed or opened.
> >
> > In the /var/lib/dpkg directory it shows some weirdness:
> >
> > drwxr-xr-x6 root root 1024 Jan  9 22:11 .
> > drwxr-xr-x   29 root root 1024 Dec 26 13:31 ..
> > drwxr-xr-x2 root root 1024 Jan  5 21:24 alternatives
> > -rw-r--r--1 root root  6319846 Jan  9 22:11 available
> > -rw-r--r--1 root root  6319846 Jan  9 22:11 available-old
> > -rw-r--r-x1 root root8 Nov  4 19:53 cmethopt
> > c--xrw  29811 1634428001 1701276020  88,  82 Aug 15  2027
> > diversions
> > ?rx-wT  25978 980640613 1814063443 1852795252 Aug 15  2027
> > diversions-old
> > drwxr-xr-x2 root root78848 Jan  9 22:11 info
> > -rw-rx1 root root0 Jan 12 12:59 lock
> > -rw-rx1 root root0 Jan 12 12:58 methlock
> > drwxr-xr-x5 root root 1024 Oct  4  2000 methods
> > -rw-r--r--1 root root  104 Dec  9 17:44 statoverride
> > -rw-r--r--1 root root   66 Dec  9 17:44 statoverride-old
> > c--xr--r-x  11890 1886347632 1769235828 115, 100 Jul 26  2010 status
> > br-xr-sr--  29793 1819895149 174417001 115, 101 Sep 17  2028 status-old
> > drwxr-xr-x2 root root 1024 Jan  9 22:11 updates
> >
> > I have no clue how to solve this. I can do a 'touch -m' to correct the
> > timestamp(just tried om status-old) but the ownership and file permissions
> > I cannot change -no permission. These numbers do not appear my /etc/passwd
> > or /etc/group file.
> >
> > I am running woody with a 2.4.16 kernel (my first home-made).
> >
> > Please advice,
> >
> > thanks
> > Chris
 



Re: dpkg -S bug?

2002-01-12 Thread Carl Fink
On Sat, Jan 12, 2002 at 10:54:45AM -0600, Colin Watson wrote:

> No, 'dpkg -S' only searches installed packages. 

Oh.  Never mind.



Menu editor in Debian's KDE?

2002-01-12 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

As a Mandrake KDE user (Debian is my firewall), I really like the
convenience of MenuDrake, the menu editor.  *Very* intuitive, easy,
and solid.

Does Debian's KDE (I guess it's pretty much a stock KDE?) have
such a menu editor?

TIA
- -- 
++
| Ron Johnson, Jr.Home: [EMAIL PROTECTED]|
| Jefferson, LA  USA  http://ronandheather.dhs.org   |
||
! "Millions of Chinese speak Chinese, and it's not   |
!  hereditary..."|
!Dr. Dean Edell  !
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QHUijTz5dS9Us5wRArjDAJwMnCA0eilc3m15czfWM7q877+BNACfa9o7
XR7dHg49I/GFXTK90CSunr0=
=WUBw
-END PGP SIGNATURE-



Re: Mysql 3.23 TCP/IP ports broken?

2002-01-12 Thread Eric-Olivier Lamey
On Sat, Jan 12, 2002 at 11:45, Ryan Hagan wrote:
> Greetings,

  Hi,

> I was wondering if anyone else had noticed that the latest versions of 
> MySQL (3.23.46 and 3.23.47) seem to have TCP/IP ports disabled?  I can work 
> with MySQL fine through Unix ports, but once I try to connect through TCP I 
> get the following error:
> ERROR 2003: Can't connect to MySQL server on 'myhostname' (111)
> 
> Has anyone else seen this problem?  Any suggestions for fixing it, other 
> than rolling back to a previous version?

  I don't know if it is the best solution, but I commented the line
skip-networking
  in /etc/mysql/my.cnf:
# skip-networking

-- 
Eric-Olivier Lamey



Re: Question regarding heavy CPU during disk i/o

2002-01-12 Thread Brian Nelson
J Marler <[EMAIL PROTECTED]> writes:

> I am running Debian Woody on a K7 850Mhz system with 384MB of RAM.
> 
> My motherboard is an Abit KT7-RAID with VIA chipset and VIA IDE
> controllers.  I have a Western Digital 60GB WDC600BB UDMA 100 hard
> drive, currently running only UDMA 66.  I have the RAID controller
> disabled for simplicity sake (that may be a mistake as only the RAID
> controller will do UDMA 100).
> 
> My question is this:  Whenever I do any kind of "heavy" disk access,
> such as copying large files (10MB+), the CPU usage sky rockets and my
> system reacts slowly.  Why?  And how do I fix this?
> 
> I have DMA access disabled with hdparm.  

Well, this answers your first question.  Without DMA, your CPU has to do
all the work.  Fix it by enabling DMA.

> If I enable it, the system promptly locks hard.  I have multicount
> enabled at 16.  32-bit i/o is enabled.  readahead is enabled at 8.
> busstate is 1 (not sure what that is.)
> 
> I am sure there is a simple answer to my question, but I have tinkered
> with this thing for too long now.  I can't seem to figure it out.
> 
> Any help would be greatly appreciated.

Only thing I can think of is to mess with your kernel config.  Are you
running 2.4.x?  Make sure you've enabled the via82cxxx driver, and read
the comments at the top of file

drivers/ide/via82cxxx.c

in your kernel source directory.

-- 
Brian Nelson <[EMAIL PROTECTED]>



Hardware Question

2002-01-12 Thread Jeff Flowers
Does Debian support the SB512PCI? This is the same chipset
as the SBLive! cards, an EMU. If so, how do you do it.


Thanks,

Jeff Flowers



Re: OT: Perl & UTF-8

2002-01-12 Thread dman
On Sat, Jan 12, 2002 at 05:42:31PM +0100, Holger Rauch wrote:
| Hi!
| 
| Thanks for your reply!
| 
| On Sun, 6 Jan 2002, dman wrote:
| 
| > [...]
| > So the regexps you're using are in a 8859-n source file, right? 
| 
| Yep.
| 
| > Can perl handle UTF-8 source files? 
| 
| Don't know. That's why I mailed this question ;-)
| 
| > Are you trying to use things like the
| > posix character class [:alpha:]?  
| 
| No.
| 
| > I don't think those will handle all
| > alphabetic characters in all unicode supported languages (probably
| > just ascii/english alphabet).
| 
| What about \w?

No idea.

Here's another thought, though.  Are you reading the file as if it was
single-byte?  If so, then that won't work right.  For example, the
euro symbol is character \u20ac.  In UTF-8 the file will contain
'\xe2\x82\xac'.  If you read this as you would any other single-byte
file you'll have 3 characters above the us-ascii range.

-D

-- 

The light of the righteous shines brightly,
but the lamp of the wicked is snuffed out.
Proverbs 13:9



Re: locale error messages

2002-01-12 Thread Nori Heikkinen
on Sat, 12 Jan 2002 11:39:31AM +0100, Timeboy insinuated:
> > [EMAIL PROTECTED]:~$ man ls
> > (null): can't set the locale; make sure $LC_* and $LANG are correct
> > Reformatting ls(1), please wait...
> 
> This could be a bug. I have the same trouble since two days. Trying to
> configure locales in /etc/locale.gen and /etc/environment had no
> effect.
> 
> Please let me know if there is a way to fix this and this is NOT a bug.
> Some other things also working bad. Hope that there cames a better
> update soon.

`dpkg-reconfigure locales`



<[EMAIL PROTECTED]>--
-http://www.sccs.swarthmore.edu/~nori/jnl/daily.html



Re: Using netselect, a list of mirrors

2002-01-12 Thread Paul E Condon
Brian Nelson wrote:

> Ron Johnson <[EMAIL PROTECTED]> writes:
>
> > On Saturday 12 January 2002 02:41 am, Brian Nelson wrote:
> > > Paul E Condon <[EMAIL PROTECTED]> writes:
> > > > I am interested in using netselect to find the mirror site to use for
> > > > the most socially responsible downloading of debian packages. The
> > > > lists of mirrors that I have found are cluttered with html formatting
> > > > tags that make them neat to read in a browser, but unsuitable for
> > > > input to netselect. Is there a text file that is useable as netselect
> > > > input somewhere on the internet, or is there a script that strips the
> > > > html file down to its text essentials? Where?
> > >
> > > Use netselect-apt, as in "netselect-apt stable", which will produce a
> > > sources.list file in your current directory.
> >
> > I tried "netselect-apt testing", and it said that the fastest
> > mirror to me is in Austria.  Something's wrong...
>
> *shrug*
>
> Try apt-spy instead...
>

I can't find either "netselect-apt" or "apt-spy" using dselect
and looking at ftp.us.debian.org.
Where are they available? It seems I need to look at both and
make a choise.

--
Paul E Condon
[EMAIL PROTECTED]





Re: Locale problems

2002-01-12 Thread Nori Heikkinen
on Fri, 11 Jan 2002 11:49:24PM -0800, [EMAIL PROTECTED] insinuated:
> I'm afraid that I missed the previous thread, but I did have a
> similar problem when I tried to clean install Woody.  Was your issue
> also during an install?
> 
> If it was, it would seem that we have a bug.  The question is: where
> to report it.  No one responded to my post.

i wasn't exactly installing woody, but i may as well have been -- i
was installing spamassassin, which is only available >=woody, so i
also got 125 packages that needed to be upgraded.  i have absolutely
no experience in bugs/reporting, but if a lot of people get this error
(perl locales) during similar processes (running anythign that is
remotely perl-like or -dependent, or manpages, so far as i can tell),
it seems to me like it would be.  if it looks like a duck ... where to
report, i have no idea, so i'm cc'ing the list, who (which? the
readers of which?) will certainly know.



<[EMAIL PROTECTED]>--
-http://www.sccs.swarthmore.edu/~nori/jnl/daily.html



Re: Using netselect, a list of mirrors

2002-01-12 Thread Wayne Topa
Ron Johnson([EMAIL PROTECTED]) is reported to have said:
> 
> >
> > Try apt-spy instead...
> 
> A little cut-and-paste, python and vim produced a nice list for
> netselect.  Too bad the fastest mirrors don't work or are way
> out of date...
> 
> I am, however, installing apt-spy.
> 

I tried that.  Got a bunch of really fast Mirrors, that were not up to
date, at best, or just didn't work.  Went back to what I started with,
after purging apt-spy.
-- 
It is easier to change the specification to fit the program than vice
versa.
___



Re: Using netselect, a list of mirrors

2002-01-12 Thread Brian Nelson
Paul E Condon <[EMAIL PROTECTED]> writes:

> Brian Nelson wrote:
> 
> > Ron Johnson <[EMAIL PROTECTED]> writes:
> >
> > > On Saturday 12 January 2002 02:41 am, Brian Nelson wrote:
> > > > Paul E Condon <[EMAIL PROTECTED]> writes:
> > > > > I am interested in using netselect to find the mirror site to use for
> > > > > the most socially responsible downloading of debian packages. The
> > > > > lists of mirrors that I have found are cluttered with html formatting
> > > > > tags that make them neat to read in a browser, but unsuitable for
> > > > > input to netselect. Is there a text file that is useable as netselect
> > > > > input somewhere on the internet, or is there a script that strips the
> > > > > html file down to its text essentials? Where?
> > > >
> > > > Use netselect-apt, as in "netselect-apt stable", which will produce a
> > > > sources.list file in your current directory.
> > >
> > > I tried "netselect-apt testing", and it said that the fastest
> > > mirror to me is in Austria.  Something's wrong...
> >
> > *shrug*
> >
> > Try apt-spy instead...
> >
> 
> I can't find either "netselect-apt" or "apt-spy" using dselect
> and looking at ftp.us.debian.org.
> Where are they available? It seems I need to look at both and
> make a choise.

testing and unstable.

Use http://packages.debian.org to find where packages are available.

-- 
Brian Nelson <[EMAIL PROTECTED]>



Re: (OT-ish:) procmail eating messages -- why?

2002-01-12 Thread Nori Heikkinen
on Sat, 12 Jan 2002 01:20:52PM +0100, marTin insinuated:
> have you set VERBOSE=yes and then pinpointed one such message
> creation?

ah, no.  ::cough cough::
now i have.
what's the easiest way to monitor a logfile like that?  i know there's
a command to just keep it open so you can watch it; i've seen you do
it ...

on Sat, 12 Jan 2002 01:26:00PM +0100, marTin insinuated:
> why /usr/local/bin? did you install the debian package? then it is
> /usr/bin/spamassassin and explains the problem. you do know about
> procmail's logfile, which i think will lilst 100 errors about a
> "cannot execute /usr/local/bin/spamassassin"

good point.  

on Sat, 12 Jan 2002 01:26:53PM +0100, marTin insinuated:
> it's simply what mutt makes of a an empty file in your Maildir. it's
> Jan 01 1970 by the way :)

right, that makes sense. 

thanks; should be solved. 



<[EMAIL PROTECTED]>--
-http://www.sccs.swarthmore.edu/~nori/jnl/daily.html



Re: Using netselect, a list of mirrors

2002-01-12 Thread Brian Nelson
Wayne Topa <[EMAIL PROTECTED]> writes:

> Ron Johnson([EMAIL PROTECTED]) is reported to have said:
> > 
> > >
> > > Try apt-spy instead...
> > 
> > A little cut-and-paste, python and vim produced a nice list for
> > netselect.  Too bad the fastest mirrors don't work or are way
> > out of date...
> > 
> > I am, however, installing apt-spy.
> > 
> 
> I tried that.  Got a bunch of really fast Mirrors, that were not up to
> date, at best, or just didn't work.  Went back to what I started with,
> after purging apt-spy.

Personally, I just stick with http://http.us.debian.org.  Every mirror
I've tried has been unreliable and almost always broken (the packages
list is never in sync with the available packages).  Apparently
running rsync is a difficult task to master.

-- 
Brian Nelson <[EMAIL PROTECTED]>



Re: Locale problems

2002-01-12 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 12 January 2002 01:02 pm, Nori Heikkinen wrote:
> on Fri, 11 Jan 2002 11:49:24PM -0800, [EMAIL PROTECTED] insinuated:
> > I'm afraid that I missed the previous thread, but I did have a
> > similar problem when I tried to clean install Woody.  Was your issue
> > also during an install?
> >
> > If it was, it would seem that we have a bug.  The question is: where
> > to report it.  No one responded to my post.
>
> i wasn't exactly installing woody, but i may as well have been -- i
> was installing spamassassin, which is only available >=woody, so i
> also got 125 packages that needed to be upgraded.  i have absolutely
> no experience in bugs/reporting, but if a lot of people get this error
> (perl locales) during similar processes (running anythign that is
> remotely perl-like or -dependent, or manpages, so far as i can tell),
> it seems to me like it would be.  if it looks like a duck ... where to
> report, i have no idea, so i'm cc'ing the list, who (which? the
> readers of which?) will certainly know.

I just did something similar that needed perl 5.6, but have not
had the same problem.  Maybe it's because I did things piecemeal
over a 2 day period, instead of One Big Install???

- -- 
++
| Ron Johnson, Jr.Home: [EMAIL PROTECTED]|
| Jefferson, LA  USA  http://ronandheather.dhs.org   |
||
! "Millions of Chinese speak Chinese, and it's not   |
!  hereditary..."|
!Dr. Dean Edell  !
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QJcTjTz5dS9Us5wRAuKSAJ9mZ8zi9fjWk0vTlM5cuDSzxQybDQCdEud4
2Jx4+sRhR8q89+6P2rzx7I8=
=+Qfk
-END PGP SIGNATURE-



Re: Using netselect, a list of mirrors

2002-01-12 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 12 January 2002 01:54 pm, Brian Nelson wrote:
> Wayne Topa <[EMAIL PROTECTED]> writes:
> > Ron Johnson([EMAIL PROTECTED]) is reported to have said:
[snip]
> Personally, I just stick with http://http.us.debian.org.  Every mirror
> I've tried has been unreliable and almost always broken (the packages
> list is never in sync with the available packages).  Apparently
> running rsync is a difficult task to master.

ftp://debian.rutgers.edu is up-to-date, and is socially responsible
if you are in cox.net's eastern zone, which goes thru DC.

- -- 
++
| Ron Johnson, Jr.Home: [EMAIL PROTECTED]|
| Jefferson, LA  USA  http://ronandheather.dhs.org   |
||
! "Millions of Chinese speak Chinese, and it's not   |
!  hereditary..."|
!Dr. Dean Edell  !
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QJfSjTz5dS9Us5wRAtclAJ4owHrGYCKCY2sCV4YFed8xjYP2mwCeLVAD
1rbbzSIuucHZbcjt8rRRetU=
=ptuU
-END PGP SIGNATURE-



Re: Hardware Question

2002-01-12 Thread Kevin C. Smith
On Sat, Jan 12, 2002 at 01:52:38PM -0500, Jeff Flowers wrote:
> Does Debian support the SB512PCI? This is the same chipset
> as the SBLive! cards, an EMU. If so, how do you do it.

Yes, the newer Linux kernels come with emu10k1, which is the driver you
need. Get a newer kernel, if you don't already have one, such as 2.4.17
which has been working fine for me. Compile it with sound support:

#
# Sound
#
CONFIG_SOUND=y
# CONFIG_SOUND_BT878 is not set
# CONFIG_SOUND_CMPCI is not set
CONFIG_SOUND_EMU10K1=y
CONFIG_MIDI_EMU10K1=y

Or as a module whatever works for you.

1. Read The Linux Sound Howto or other sound howto documents. 

2. Read about compiling your own kernel, if you have not done so before.
   Use kernel-package and the debian method for the kernel compile.


-- 
Kevin C. Smith   | I'm desperately trying to figure out why kamikaze
[EMAIL PROTECTED]  | pilots wore helmets. -- Dave Edison
Debian GNU/Linux (sid)   |



mirrordir

2002-01-12 Thread Dougie Nisbet
Has anyone had any success using this to upload files to an ISP? I've 
experimented a great deal, but the problem is not connecting or authorising, 
but trying to get it to NOT try and cd to /, or /pub. It seems to always want 
to do a cd to root.

Dougie



Re: locale error messages

2002-01-12 Thread Titus Barik
On Sat, 12 Jan 2002, Nori Heikkinen wrote:
> `dpkg-reconfigure locales`

This did the trick, thanks. I was using uxterm and did not have the
UTF-8 locale installed.

Titus Barik ([EMAIL PROTECTED])
AIM: TBarik  ICQ: 1604453



Re: Determining FQDN (was Re: Yow, Madduck!)

2002-01-12 Thread dman
On Fri, Jan 11, 2002 at 05:05:42PM -0600, Richard Cobbe wrote:
| Lo, on Thursday, January 10, dman did write:
| 
| 
| 
| One minor nit to pick from an otherwise very good explanation (and I
| wouldn't bother, except that I've been bitten by this before).
| 
| > This directive tells exim to use that name as the hostname in the SMTP
| > greeting (HELO/EHLO) instead of that reported by the gethostbyname() C
| > function (which returns the first thing after 127.0.0.1 in
| > /etc/hosts).
| 
| 
| 
| Not quite.  gethostbyname() returns the host record for whatever name or
| address you supply as a parameter.  I think, although I'm not actually
| certain, that by default, MTAs like exim use the machine's FQDN on the
| HELO/EHLO line.

Yes, by default exim uses the result of uname() or gethostbyname() in
the EHLO line.

| Finding the FQDN is a somewhat complicated process:

Somewhat.  Here's what I learned from my experiences :

/etc/hosts :
127.0.0.1  localhost dman
/etc/hostname :
dman
/etc/resolv.conf
domain ddts.net

So my machine is "dman.ddts.net", right?  Not quite.

The uname() function only returns "dman".  Since it doesn't contain
any dots, exim continues with gethostbyname() to find the FQHN.

| 2) Pass this value to gethostbyname(3)

That's an interesing choice.  When I was testing out the results to
see what this function does, I passed "localhost" to gethostbyname().

I found that gethostbyname() returned the first thing in the 127.0.0.1
line.  That was why exim was using "localhost" in gethostbyname() (and
hotmail's mx handlers were rejecting that).  When I put
"dman.ddts.net" as the first entry on the 127.0.0.1 line, exim
(correctly) used that in the EHLO line.

The easiest, but not wholly correct, solution was to set
"primary_hostname" in exim.conf.  After determining the above, though,
I corrected /etc/hosts so that all programs can properly determine the
FQHN.

| In either situation, the order of the hostnames on the line *is*
| signficant!

Right.

-D

-- 

It took the computational power of three Commodore 64s to fly to the moon.
It takes at least a 486 to run Windows 95.
Something is wrong here.



Re: RFC: Beginner's vim tutorial

2002-01-12 Thread dman
On Fri, Jan 11, 2002 at 10:09:43PM -0600, Mark S. Reglewski wrote:
| On Friday, January 11, 2002 at 11:44 AM dman wrote:
| > On Thu, Jan 10, 2002 at 10:27:39PM -0600, Donald R. Spoon wrote:
| 
| > | 2. I have always had problems at the start remembering keyboard
| > | commands  on ANY wordprocessor / editor that I have ever tried.
| > | VI/VIM has been especially perplexing because I cannot determine
| > | the under-lying logic used in its design.  This means I am
| > | constantly in the "help" section and reading the docs and never
| > | get any work done.  Eventually I give up and go to something that
| > | I have already learned and use it.  Are you aware of ANY
| > | documention that will give a historicaly perspective about
| > | VI/VIM?  How did it evolve?  Why was this particular set of
| > | commands chosen?  Is there any "logic" (neumonics?) available
| > | to help remember important commands for the beginner? (Example:
| > | Wordstar's command keys were layed out in a geometric manner
| > | on the keyboard.  Once I knew this I could usually figure out a
| > | command sequence and NOT have to refer to the docs/help menus
| > | nearly as much.)
| 
| [snip start of dman's mini-tutorial]
| 
| > x   Delete current character (don't know why this key, just
| > remember it) (same as 'dl')
| 
| Hahahahaha.  You are obviously not old enough to remember the
| archeological artifact called a typewriter.

I remember it; I've used one a couple times.  But you're right, they
are before my time.

| The canonical overstrike character used to wipe out errors in
| preliminary drafts of typewritten documents was the 'x'.  *Very*
| informal documents might even be distributed to recipients without
| the x overstriking having been cleaned up.

Oh, I see.  That makes sense.

| The hackers who coded vi and the ex line editor upon which it is based
| lived in the Cretaceous period, when dinosaurs walked the earth, and
| many documents were prepared with typewriters.  This is *probably* the
| origin of 'x' as delete in vi and its clones.  Only way to be sure is
| to ask the coders themselves, of course, but I'd bet a lot on my
| conjecture's being correct.

Makes sense to me.

-D

-- 

The remote desktop feature of Windows XP is really nice (and *novel*!).
As a Microsoft consultant can *remotely* disable the personal firewall
and control the system.  We'll ignore the fact that this tampering with
the firewall is not logged, and more importantly, that the firewall
isn't restored when the clowns from Redmond are done with their job.
-- bugtraq



Re: X Configuration in Woody

2002-01-12 Thread Dimitri Maziuk
* Mark Wagnon ([EMAIL PROTECTED]) spake thusly:

...The problem is that it's
> driving my monitor at a resolution that 1) renders everything too
> small to read, and 2) that AFAIK, is outstide my monitor's
> capabilities.

If it's a CRT monitor, max resolution depends on refresh rate. 
Your manual may list [EMAIL PROTECTED] as the max, but the monitor 
will work at e.g. [EMAIL PROTECTED] Max refresh rate on the video
card also depends on the number of colour bits per pixel: higher
bpp -> lower refresh rate. Oh, and lower refresh rates are bad
for your eyes. Fluorescent lights flickering at 50Hz and monitor
flickering at 56Hz is a particularly nasty combination.

There's a program called xvidtune, try it. Also, try pressing
Ctrl - Alt - Grey + (or Grey -) to cycle through video modes.

Modern monitors go blank if you try driving them outside the
specs. Old ones may go titsup.

As for fonts, you can tell X to use bigger fonts.

Dima
-- 
Surely there is a polite way to say FOAD.-- Shmuel Metz
"Go forth and multiply". -- Paul Martin



Re: Debian Vs RedHat

2002-01-12 Thread Karsten M. Self
on Sat, Jan 12, 2002 at 01:19:27PM +0100, martin f krafft ([EMAIL PROTECTED]) 
wrote:
> also sprach Karsten M. Self  [2002.01.12.0835 +0100]:
> > Wrong.  Cf:  Nemeth, et al, or Frisch.  Both cite /etc/{init,rc?}.d.
> > 
> > RH invented the rc.d/ directory variant.
> 
> they sure did. but in 7.0, redhat provided the /etc/init.d symlink, and
> i believe that 7.2 had it completely switched. im not sure actually.
> redhat *is* aware that they are the onlu ones, and that /etc/rc.d/init.d
> is uncool.

LDS indicates /etc/{init,rc}.d, so RH is coming around to the standard.

Mind you, when I try explaining this to my RH friends, there's generally
strong resistence to the concept that Dweebian might have got this one
right

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


pgpzpwbd4jpDq.pgp
Description: PGP signature


Re: GNU parted and ext3

2002-01-12 Thread Calyth
Well I do have another tool Partition Magic residing on the otherside of
the dual boot, The problem is that it couldn't move the partition either... it
thinks the ext2 is full. All it could do is to delete the partition, which
would be the last thing on earth that I wanted to do.

Calyth




Re: (OT-ish:) procmail eating messages -- why?

2002-01-12 Thread Stephen Gran
Thus spake Nori Heikkinen:
> on Sat, 12 Jan 2002 01:20:52PM +0100, marTin insinuated:
> > have you set VERBOSE=yes and then pinpointed one such message
> > creation?
> 
> ah, no.  ::cough cough::
> now i have.
> what's the easiest way to monitor a logfile like that?  i know there's
> a command to just keep it open so you can watch it; i've seen you do
> it ...
tail -f 
HTH,
Steve


pgpeBsq1Bx2K0.pgp
Description: PGP signature


Re: (OT-ish:) procmail eating messages -- why?

2002-01-12 Thread dman
On Sat, Jan 12, 2002 at 01:38:43PM -0600, Nori Heikkinen wrote:
| on Sat, 12 Jan 2002 01:20:52PM +0100, marTin insinuated:
| > have you set VERBOSE=yes and then pinpointed one such message
| > creation?
| 
| ah, no.  ::cough cough::
| now i have.
| what's the easiest way to monitor a logfile like that?  i know there's
| a command to just keep it open so you can watch it; i've seen you do
| it ...

tail -f 

It's really cool for watching logfiles.

| on Sat, 12 Jan 2002 01:26:53PM +0100, marTin insinuated:
| > it's simply what mutt makes of a an empty file in your Maildir. it's
| > Jan 01 1970 by the way :)
| 
| right, that makes sense. 

If you use "h" on a message you can see all the headers.  For example
I have 
ignore *
unignore 
in my muttrc so that I only see interesting headers in the pager.  If
I want to see all of them I simply press "h" instead of enter.  Note,
though, that 'h' is like a toggle.  The first time you press it you'll
see the message with all the headers.  The next time just press enter
and you'll still see all the headers.  Then press 'h' again and you'll
see only the headers you usually see.

-D

-- 

Microsoft encrypts your Windows NT password when stored on a Windows CE
device. But if you look carefully at their 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.

http://www.cegadgets.com/artsusageP.htm



Re: locale error messages

2002-01-12 Thread Timeboy

On Saturday 12 Jan 2002 11:39 CET Timeboy wrote:
>  
>  On Saturday 12 Jan 2002 04:50 CET Titus Barik wrote:
>  
>  > After doing a recent dselect upgrade, I'm noticing the following when
>  > trying to view man pages:
>  > 
>  > [EMAIL PROTECTED]:~$ man ls
>  > (null): can't set the locale; make sure $LC_* and $LANG are correct
>  > Reformatting ls(1), please wait...
>  
>  This could be a bug. I have the same trouble since two days. Trying to
>  configure locales in /etc/locale.gen and /etc/environment had no
>  effect.

I made some experiments and i mean this is NOT a bug! You need to add
(for example)

LANG=en_us

in your /etc/environment. This should fix your trouble. The bug i saw
is in any gnome package and has nothing to do with locales.

Timo

--
Nothing is impossible!

You only need to know the way and price.

 :-)

END_OF_MAIL



Re: (OT-ish:) procmail eating messages -- why?

2002-01-12 Thread Nori Heikkinen
on Sat, 12 Jan 2002 04:20:22PM -0500, dman insinuated:
> tail -f 
> 
> It's really cool for watching logfiles.

thanks.

> If you use "h" on a message you can see all the headers.  

no, i meant they're *completely* headerless -- i don't usually have h
toggled, but hitting 'h' on these babies did absolutely no good.
completely, utterly headerless.



<[EMAIL PROTECTED]>--
-http://www.sccs.swarthmore.edu/~nori/jnl/daily.html



BTTV

2002-01-12 Thread Mike Atamas
I recently put in a Ati TV Wonder card. I installed the bttv module but
whenever I run xawtv it tells me i have a prehistoric driver and that I
need to get a new one. But I cant find the new one. How can I fix my
dilema?

Mike Atamas
[EMAIL PROTECTED]



Galeon

2002-01-12 Thread Michael Montz
I've been setting up plugins and helper apps for Galeon and am having a
problem with xmms. Clicking on a link results in opening a load file
window usually pointed to /tmp with some foo.m3u files listed rather
than parsing the mpegurl to xmms.  Clicking on one of them will start
the stream

Saw only one reference to this in a Google search that stated to run
galeon-config-tool --clean.  Tried it but no go.  It works fine using
Mozilla.

I'm running galeon 1.02, libranet 1.9.1 upgraded to woody, and Mozilla
Debian Package 2:0.9.7-3.


Anyone have any clues?  


-- 
Regards,
Michael
[EMAIL PROTECTED]



Re: Printing problems

2002-01-12 Thread Adam Majer
On Sat, Jan 12, 2002 at 07:35:56AM -0800, Jeff wrote:
> Adam Majer, 2002-Jan-12 02:46 -0600:

> > Try setup like that except you link to your printer.. Then try lpr with a 
> > PostScript
> > file. Or print map page for something, eg. file
> > 
> > man -t file | lpr
> > 
> 
> Thanks for the suggestion, it didn't work.  I'm still getting the
> unknown device: pc13 error.  I feel like I'm moving backwards on
> this!  
> 
> I put the symlink in /var/spool/lpd/lp as filter pointing to
> /etc/magicfilter/dj... and changed the lp line in your printcap
> to match up to my printer.  I tried your printcap as is first,
> then changed the lp line, but no luck.
> 
> man -t ... didn't work, it got
> 
> [212] $ man -t file
> /usr/bin/groff: can't find `DESC' file
> /usr/bin/groff:fatal error: invalid device `ps'
> man: command exited with status 768: /usr/bin/zsoelim
> /tmp/zman9jrbHR | /usr/bin/groff -mandoc
> 
> I'm sure that I'm doing something wrong, just don't know what.

apt-get install groff

Then you can format to ps...


But first try something like

echo "test" > /dev/dsp

Do you still get error with printing?
If yes, do you have printer compiled
in the kernel?

- Adam



Re: Strange Sound problem.....

2002-01-12 Thread Eric G . Miller
On Sat, 12 Jan 2002 17:22:14 +0100, Josef Oswald <[EMAIL PROTECTED]> wrote:

> 
> Hi:-)
> 
> this is the situation:
> 
> Soundblaster Live5.1 the driver is compiled into the Kernel, (version
> 2.5.0)
> 
> XMM and the gnome-Cd-player do work fine
> 
> yet some other program's don't
> 
> cat /usr/share/sounds/login.wav > /dev/audio only produces some
> strange noise other sound-program's don't work also 

Well, I believe that's correct behavior.  Try "play ".  I don't
think /dev/audio "understands" wav files directly.  

> Is there a package I need to install?

"sox" is good for playing many types of sound files at the console.
 
> ( this Linux-install) was once a Progeny clone upgraded to Gnu/linux
> 3.0
> 
> any pointers are appreciated :-) 

A common source of sound problems is having one of these sound daemons
lock up the sound device.  This will give the peculiar behavior where
some programs can play audio files, and others can't.  The first
succeed, because they play the files through the audio daemon, rather
than directly through the device.  

Esd has an option that can be specified to release the sound device(s)
after so many seconds (esd -as ). I imagine the KDE sound server
has a similar option...?

-- 
Eric G. Miller 



audio no longer produces sound

2002-01-12 Thread David Roundy
I made an unfortunate discovery today that audio no longer works on my
laptop (a Thinkpad X21, which is running testing).  I had it working a
month or two ago, but haven't used audio much since, so I don't know when
it stopped working.  In fact, I had it working both for recording and
playing sound.

I've been testing it using both `play test.au` and 
`cat test.au > /dev/audio`.  I also tried running timidity on a midi file,
as well as festival (which was how I found out I had this problem).

I checked that the devices exist, and I ran aumix to see that the sound
output is actually turned on.

The sound card is a CS4281, and support for it is compiled into my kernel.
Just in case, I tried rebooting with several older kernels, in case
something broke recently in the kernel.  

I am at the end of my rope here, and am very frustrated.  :( Any ideas as
to how I could go about trouble-shooting this would be greatly appreciated.
-- 
David Roundy
http://civet.berkeley.edu/droundy/



Re: Hardware Question

2002-01-12 Thread Timeboy

On Saturday 12 Jan 2002 19:52 CET Jeff Flowers wrote:

>  Does Debian support the SB512PCI? This is the same chipset
>  as the SBLive! cards, an EMU. If so, how do you do it.

This shold be supported. Is use the SBLive Player. To get sound
with this card i use the emu10k driver, available in kernelsource.
Also loadable as module i mean.

Timo

--
Nothing is impossible!

You only need to know the way and price.

 :-)

END_OF_MAIL



Strange Mail Error

2002-01-12 Thread Nick Furman
Hi all,

I'm having one customer complain about mail problems.  He uses
pine sometimes, and a mail client on another server (ATP Mail, it's a web
based mail program)

The error is this:

Jan 12 16:36:29 white popper[24578]: [EMAIL PROTECTED]: -ERR Unable
to process From lines (envelopes), change recognition modes.

Any ideas what that means or what i can do to fix it?

Please CC me on the reply.

Thanks!

Nick



Re: Printing problems

2002-01-12 Thread Adam Majer
On Sat, Jan 12, 2002 at 04:13:00PM +0200, Petrov M.I. wrote:
> Hi.
> I have problem with printing from RedHat to coputer with Debian (307-4).
> >From another computer (Debian ...) printing works good.
> >From computer with RedHat: 
> ~$ lpr printcap
> ~$ lpq
> Printer: [EMAIL PROTECTED] 'galprint' (dest [EMAIL PROTECTED])

Hmmm.. localhost? Doesn't seem to be right if you are printing to another
host

>  Queue: no printable jobs in queue
>  Server: no server active
>   ^   
>  Status: job 'cfA300localhost.localdomain' saved at 15:56:29.307
>  Rank   Owner/ID  Class Job Files Size
> Time
> done   root A   300 printcap   107
> 15:56:29
> Printer: [EMAIL PROTECTED] 'Printer1 auto'
>  Queue: no printable jobs in queue
>  Status: job 'cfA020ADDR307-4.mao.kiev.ua' saved at 16:02:41.222

See, here you have some sort of a domain not localhost.

> ~$
> When I am printig from this computer to other (no Debian) printing works!
> This is mystery!!!
> I am using LPRng on all computers.

Check if you have setup RedHat to address for Debian machine and that on Debian
you actually accept the address of RedHat machine for printing.

- Adam



Re: console troubles

2002-01-12 Thread Karsten M. Self
on Fri, Jan 11, 2002 at 03:07:33PM -, CraigT ([EMAIL PROTECTED]) wrote:
> i have had trouble with control chars for a whiles nowit seem i have no
> keymap loaded on this machine
> when i try to load a keymap i get
> using:
> loadkeys 
> stdout:
> Couldnt get a file descriptor referring to the console

What's output of:

$ tty

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


pgpSOVhqMy9E6.pgp
Description: PGP signature


Re: list all packages that are installed

2002-01-12 Thread Karsten M. Self
on Fri, Jan 11, 2002 at 07:58:47PM -0600, Ron Johnson ([EMAIL PROTECTED]) wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Friday 11 January 2002 05:58 pm, Stephen Rueger wrote:
> > On Fri, Jan 11, 2002 at 05:41:18PM -0600, Ron Johnson wrote:
> [snip]
> > > A problem with this is that even if COLUMNS is a huge value (from
> > > a very large xterm window, for example), 'dpkg -l > foo' will
> > > still create a 78 column output.
> >
> > 'COLUMNS=200 dpkg -l > foo'
> 
> radical.  thanks.
> 
> Doing that without a semicolon would *never* have occurred to me.

It's a shell trick.

You can set an environment variable for the _current process_ by
specifying it first on the command line.  I usually exploit it to get a
date/time for some other location, e.g.:

$ TZ=Australia/Sydney date
$ TZ=UK/London date

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


pgpcb2mo2iN0f.pgp
Description: PGP signature


Re: Menu editor in Debian's KDE?

2002-01-12 Thread Eric G . Miller
On Sat, 12 Jan 2002 11:40:43 -0600, Ron Johnson <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi,
> 
> As a Mandrake KDE user (Debian is my firewall), I really like the
> convenience of MenuDrake, the menu editor.  *Very* intuitive, easy,
> and solid.
> 
> Does Debian's KDE (I guess it's pretty much a stock KDE?) have
> such a menu editor?

I'm not aware of a GUI tool that works on Debian menus.  However, the
"spec" for them is very easy to write in any text editor.  Just plop
system-wide menu changes in /etc/menu, then [as root] run "update-menus".
You can make changes as a regular user as well, but then your personal
menu's won't catch the modifications of the system wide ones until
you run "update-menus".  The're docs on the menu system...


?package(local.staroffice):\
   needs="x11"\
   section="Apps/Local/StarOffice"\
   title="StarOffice 5.1"\
   command="/usr/local/Office51/bin/soffice"\
   icon="/usr/local/Office51/s_soffice.xpm"

?package(local.staroffice):\
   needs="x11"\
   section="Apps/Local/StarOffice"\
   title="Setup"\
   command="/usr/local/Office51/bin/setup"\
   icon="/usr/local/Office51/s_soffice.xpm"



Note: In the "package(...)", the "local.*" tell the menu system not
to verify that the package is installed (because it is locally installed
and not under Debian's package management system).  You can override
default menus that come with a package be putting a version in /etc/menu.
Debian's menu files live in /usr/lib/menu/, so there are lots of examples.

-- 
Eric G. Miller 



BTTV

2002-01-12 Thread Mike Atamas
I recently put in a Ati TV Wonder card. I installed the bttv module but
whenever I run xawtv it tells me i have a prehistoric driver and that I
need to get a new one. But I cant find the new one. How can I fix my
dilema?

Mike Atamas
[EMAIL PROTECTED]



Re: printer sharing problem

2002-01-12 Thread Adam Majer
Try adding a file:
/etc/hosts.lpd

and put one IP address per line in that file so you can access lp.

Hope this helps,
Adam


On Sun, Jan 13, 2002 at 03:14:47AM +1100, Davor Balder wrote:
> Greetings all, 
> What could be wrong? 
> 
> I have exhausted my resources... can anybody enlighten me on what I may have 
> overlooked?



Umax USB scanner?

2002-01-12 Thread Craig Dickson
SANE doesn't seem to have a suitable back-end for Umax USB scanners -- only
for SCSI and parallel-port units. Does anyone know of a way to get such a
scanner to work under Linux?

Thanks,

Craig


pgpV0FjFHaqRG.pgp
Description: PGP signature


  1   2   >