Re: removing wierd files

2004-10-20 Thread Matt Price
On Wed, Oct 20, 2004 at 06:32:45PM +0100, Ken Gilmour wrote:
 Ar Wed, 20 Oct 2004 12:51:32 -0400, scr?obh Matt Price:
 ?somehow I've gotten a bunch of strange files in my home directory:
 ?I've tried to remove them but bash doesn't seem to like commands of
 ?hte kind:
 
 ?rm \-*
 ?or
 ?rm '-0.pnf'
 
 ?is there a way to reference files whose names begin with -?
 
 ?thanks,
 
 ?matt
 
 What about 
 rm *0.png

tried that too:
$ rm *0.png
rm: invalid option -- 0
Try `rm --help' for more information.

somehow I need to escape the '-' but can't seem to manage it.
m

 
 

--
 .''`.   Matt Price 
: :'  :  Debian User
`. `'`hemi-geek
  `- 
-- 
don't use these addresses:  [EMAIL PROTECTED], [EMAIL PROTECTED]


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



Re: removing wierd files

2004-10-20 Thread Matt Price
CW Harris wrote:
On Wed, Oct 20, 2004 at 01:33:30PM -0400, Adam Garside wrote:
On Wed, Oct 20, 2004 at 12:51:32PM -0400, Matt Price wrote:
[Snip]
rm \-*
or
rm '-0.pnf'
is there a way to reference files whose names begin with -?  
try 'rm -- -0.pnf'

Or rm ./-0.pnf works too.

doh!  and it's even in the manual!
thank you for the info.  anyone know what the '--' option sigifies?  I 
notice it's not really documented in the man page.
m

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



procmail puzzle

2004-10-20 Thread Matt Price

I'm trying to filterm ail form the evolution lists into a
sep. mailbox, but for some reason it's not working.  I've looked over
the recipes I wrote  they seem exactly like the ones that DO work...
Can anyone tell me what's wrong with the following recipes:


# ximian...
* ^TO_evolution
$MAILDIR/.evolution/


# ximian...
* ^To: [EMAIL PROTECTED]
$MAILDIR/.evolution/

# ximian...
* ^To: [EMAIL PROTECTED]
$MAILDIR/.evolution/

# ximian...
* ^Subject: .*Evolution
$MAILDIR/.evolution/

The lists are, respectively,
(evolution|evolution-hackers)@lists.ximian.com (sometimes
(evolution|evolution-hackers)@ximian.com), and have the string
[(Evolution|Evolution-hackers)] in the subject heading.

thanks as always for the help!
m



--
 .''`.   Matt Price 
: :'  :  Debian User
`. `'`hemi-geek
  `- 
-- 
don't use these addresses:  [EMAIL PROTECTED], [EMAIL PROTECTED]


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



Re: procmail puzzle

2004-10-20 Thread Matt Price
David Clymer wrote:
On Wed, 2004-10-20 at 22:18, Matt Price wrote:
I'm trying to filterm ail form the evolution lists into a
sep. mailbox, but for some reason it's not working.  I've looked over
the recipes I wrote  they seem exactly like the ones that DO work...
Can anyone tell me what's wrong with the following recipes:
# ximian...
* ^TO_evolution
$MAILDIR/.evolution/
# ximian...
* ^To: [EMAIL PROTECTED]
$MAILDIR/.evolution/
# ximian...
* ^To: [EMAIL PROTECTED]
$MAILDIR/.evolution/
# ximian...
* ^Subject: .*Evolution
$MAILDIR/.evolution/
The lists are, respectively,
(evolution|evolution-hackers)@lists.ximian.com (sometimes
(evolution|evolution-hackers)@ximian.com), and have the string
[(Evolution|Evolution-hackers)] in the subject heading.

perhaps you need to add the customary :0 flags here line prior to each
rule:
:0 
# ximian...
* ^Subject: .*Evolution
$MAILDIR/.evolution/

like so.
god I'm such an idiot.  thanks everyone for the help! Obviously I'd be 
*toast* without this list...

matt

check out http://pm-doc.sourceforge.net/pm-tips.html. Its got lots of
goodies and tips regarding procmail.
-davidc


--
--
 .''`.   Matt Price
: :'  :  Debian User
`. `'`hemi-geek
  `-
--
don't use these addresses:  [EMAIL PROTECTED], [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



apache error on restart --gaah!

2004-10-20 Thread Matt Price
hey folks,  

well, after three months I rebooted my computer today -- that was
silly!  Now apache won't start.  I get this error:  

Starting web server: apachePHP Warning:  Unknown(): Unable to load
dynamic library '/usr/lib/php4/20020429/curl.so' -
/usr/lib/php4/20020429/curl.so: cannot open shared object file: No
such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/20020429/pgsql.so' - /usr/lib/php4/20020429/pgsql.so:
cannot open shared object file: No such file or directory in Unknown
on line 0

hmm.  I can't tell who's trying to load these files.  It looks like
php, but php and libapache-mod-php4 are both installed at the current
(unstable/ttesting) versions.  

can anyone help?

matt


--
 .''`.   Matt Price 
: :'  :  Debian User
`. `'`hemi-geek
  `- 
-- 
don't use these addresses:  [EMAIL PROTECTED], [EMAIL PROTECTED]


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



Re: apache error on restart --gaah!

2004-10-20 Thread Matt Price
Matt Price wrote:
hey folks,  

well, after three months I rebooted my computer today -- that was
silly!  Now apache won't start.  I get this error:  

Starting web server: apachePHP Warning:  Unknown(): Unable to load
dynamic library '/usr/lib/php4/20020429/curl.so' -
/usr/lib/php4/20020429/curl.so: cannot open shared object file: No
such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/20020429/pgsql.so' - /usr/lib/php4/20020429/pgsql.so:
cannot open shared object file: No such file or directory in Unknown
on line 0
fixed the problem with
apt-get reinstall libapache-mod-php4 php
problem was presumably with php, not with apache per se. but mod-php4 
was trying to load php  couldn't -- at least, that's what I suppose.

matt
--
--
 .''`.   Matt Price
: :'  :  Debian User
`. `'`hemi-geek
  `-
--
don't use these addresses:  [EMAIL PROTECTED], [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



ssh tput error 'tput: No value for $TERM and no -T specified'

2004-10-15 Thread Matt Price
hi folks,  

I've been having this wierd error message when I ssh into my server: 
'tput: No value for $TERM and no -T specified'
it's repeated about 20 times when I ssh in with a command, e.g.

ssh server cat .bashrc
or
rsync server:/home/matt /home/matt

the error doesn't show up when I just ssh in to a login shell, e.g.:
ssh anarres

I've checked and $TERM is in fact set to 'xterm' on the client
temrinal before I execute the ocmmand, and in remote sessions started
with ssh.  So I don't understand why I get the error.  I've googled
around and not found much on this issue -- anzone have any ideas?

thanks,

Matt
--
 .''`.   Matt Price 
: :'  :  Debian User
`. `'`hemi-geek
  `- 
-- 
don't use these addresses:  [EMAIL PROTECTED], [EMAIL PROTECTED]


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



web-based calendaring that syncs w/ evo?

2004-10-07 Thread Matt Price
hi folks,

I'm looking for a way to publish an iCal calendar to the web in a
format that can be read by anyone (so, plain html).  even better would
be if anyone could add events to it (wiki-style), and I could then
sync the calendar somehow in evolution or mozilla-calendar or
something.  

The plan is to have a list of events that students might bei nterested
in, but to only have to enter the data once, rather than twice (once
in my calendar, once on the web).  There seem to be a lot of
calendaring programs out there but I haven't yet found one that
matches these criteria...

Anyone out there have suggestion?

Thanks,




--
 .''`.   Matt Price 
: :'  :  Debian User
`. `'`hemi-geek
  `- 
-- 
don't use these addresses:  [EMAIL PROTECTED], [EMAIL PROTECTED]


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



set default paper size in firefox?

2004-10-05 Thread Matt Price
Hi,

the default paper size seems to be set to A4 in my version of
firefox (0.9.3).  Anyone know how to change that setting?  I often
forget to reset the print option and end up with slightly-wrong page
lengths...  

I have tried messing with prefs.js but haven'th ad any luck.  
e.g. I have this in my prefs.js, which I wouldh ave thought would
work:  

user_pref(print.printer_PostScript/default.print_command, lpr -o number-up=1 
${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}); 
user_pref(print.printer_PostScript/default.print_edge_bottom, 4); 
user_pref(print.printer_PostScript/default.print_edge_left, 4); 
user_pref(print.printer_PostScript/default.print_edge_right, 4); 
user_pref(print.printer_PostScript/default.print_edge_top, 4); 
user_pref(print.printer_PostScript/default.print_in_color, false); 
user_pref(print.printer_PostScript/default.print_paper_height,  10.98); 
user_pref(print.printer_PostScript/default.print_paper_name, Letter); 
user_pref(print.printer_PostScript/default.print_paper_size_type, 1); 
user_pref(print.printer_PostScript/default.print_paper_size_unit, 0); 
user_pref(print.printer_PostScript/default.print_paper_width,   8.46); 
user_pref(print.printer_gimp@:64.print_command, lpr 
${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}); 
user_pref(print.printer_gimp@:64.print_edge_bottom, 4); 
user_pref(print.printer_gimp@:64.print_edge_left, 4); 
user_pref(print.printer_gimp@:64.print_edge_right, 4); 
user_pref(print.printer_gimp@:64.print_edge_top, 4); 
user_pref(print.printer_gimp@:64.print_in_color, true); 
user_pref(print.printer_gimp@:64.print_paper_height, 279.00); 
user_pref(print.printer_gimp@:64.print_paper_name, na-letter); 
user_pref(print.printer_gimp@:64.print_paper_size_type, 1); 
user_pref(print.printer_gimp@:64.print_paper_size_unit, 1); 
user_pref(print.printer_gimp@:64.print_paper_width, 215.00); 


anyway, appreciate the help.
m


--
 .''`.   Matt Price 
: :'  :  Debian User
`. `'`hemi-geek
  `- 
-- 
don't use these addresses:  [EMAIL PROTECTED], [EMAIL PROTECTED]


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



Re: set default paper size in firefox?

2004-10-05 Thread Matt Price
Martin Dickopp wrote:
Matt Price [EMAIL PROTECTED] writes:

the default paper size seems to be set to A4 in my version of
firefox (0.9.3).  Anyone know how to change that setting?  I often
forget to reset the print option and end up with slightly-wrong page
lengths...  

I have tried messing with prefs.js but haven'th ad any luck.  

In might depend on which printing method you use (postscript or xprint).
I use postscript printing, and for me, the following line in user.js
(or prefs.js or the about:config page...) works:
user_pref(print.postscript.paper_size, A4);
hmm... so this had already been set to Letter -- I tried na-letter 
as well and neither seems to have any effect.  I don't know whether I 
use xprint or postscript -- I don't remember messing with the print 
system, so I expect firefox goes through CUPS to getthe printer names. 
Is this the default behaviour?  Any other suggestions on where to set 
this value:
thx,
matt


(Of course, this sets the paper size *to* A4, so you should replace A4
with whatever paper size you want to use.)
Martin


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



making tk and wx(python) prettier

2004-10-04 Thread Matt Price
Hi folks,

I think I'm like most people in that, when I run straight x programs
(for me this includds xpdf, acroread, and little scripts I've written
or downloaded using Tk or wxPython) the output is aesthetically
pretty unpleasing.  THis doesn't really bother me, but I noticed when
downoading one wxPython utility that the screenshots from MacOSX were
gorgeous, while the program, when it ran on my Xfce4 desktop, was
actually pretty hard to read on the screen.  So I wondered whether I
can set default display fonts and other settings to improve the look
of these programs.  Anyone know whether I'm asking the impossible?

thanks,

Matt

--
 .''`.   Matt Price 
: :'  :  Debian User
`. `'`hemi-geek
  `- 
-- 
don't use these addresses:  [EMAIL PROTECTED], [EMAIL PROTECTED]


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



Re: test if x server is running on a given display

2004-09-21 Thread Matt Price

thanks dave, that's very cool.  now... I don't program in c.  would it 
be easy to modify this program in two ways:
1) pass the display number as a parameter
2) print or return a specific error message if the connection is not 
accepted?
-- NEW VERSION --
#include X11/Xlib.h
int main(argc, argv) int argc; char **argv; {
 exit(XOpenDisplay(NULL) ? 0 : 1);
}
-- END --
$ gcc -o xprobe xprobe.c -L/usr/X11R6/lib -lX11
Now:
xprobe from an xterm:   Connects to the xterm's server
xprobe from .xinitrc:   Connects to new server
xprobe from a VT:   Fails
DISPLAY=display xprobe  Connects to display 'display'
As for an error message, here's what I'd do:
xprobe || echo Foo! server not responding? 2
wicked cool!  thanks
matt
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: test if x server is running on a given display

2004-09-17 Thread Matt Price
Dave Howorth wrote:
know whether there's a way to contact the server directly to see 
whether it's
REALLY running

The simplest way to me is to write an X client program that just makes a 
connection, then disconnects. Something like this in fact:

#include X11/Xlib.h
#define DISPLAY :0.0
int main(argc, argv) int argc; char **argv; {
 exit(XOpenDisplay(DISPLAY) ? 0 : -1);
}
Then cc -L/usr/X11R6/lib -lX11 xtest.c
Cheers, Dave

thanks dave, that's very cool.  now... I don't program in c.  would it 
be easy to modify this program in two ways:
1) pass the display number as a parameter
2) print or return a specific error message if the connection is not 
accepted?

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



Re: test if x server is running on a given display

2004-09-16 Thread Matt Price
Matt Price matt.price at utoronto.ca writes:

thanks to stefan for that answer! works great.  though for fun, I'd still ike to
know whether there's a way to contact the server directly to see whether it's
REALLY running

matt



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



openoffice sound plugin

2004-09-14 Thread Matt Price
hi folks,

anyone know where I can set the sound plugin for openoffice?  I tried
adding an mp3 file to an impress presentation, and OOo hangs while
trying to load mozplugger to play it.  I can't find a setting anywhere
that would let me tweak this -- butm aybe I'm missing it in my panic.


Anyway, thanks...

matt

--
 .''`.   Matt Price 
: :'  :  Debian User
`. `'`hemi-geek
  `- 
-- 


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



test if x server is running on a given display

2004-09-10 Thread Matt Price
hi folks,

I need to be able to test whether an x server is running on a given
display on localhost, for a script I'm writing (it's a python script
automating openoffice, but I could launch it from a bash wrapper no
problem). I don't know how to do that -- any hints?  

thanks much,

matt

--
 .''`.   Matt Price 
: :'  :  Debian User
`. `'`hemi-geek
  `- 
-- 


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



xserver future?

2004-05-31 Thread Matt Price
Hi folks,

after not noticing for months, I've finally beocme aware of the major
behind-the-scenes feuding btwn xfree86  x.org.  From browsing the
debian-x lists, I see that xfree86 will likely no longer be supported
by debian after the current release.  

this led me to two questions:

1) is this going to affect debian users much?  That is, will we be
able to effortlessly upgrade to x.org packages in the future and
simply leave xfree86 behind?  Or will this become rather more
complicated?

2) Does this stimulate any interest in or increase the possibility of
acceptance of the various successor projects to x -- like Y windows,
and I think I've seen others elsewhere (fresco?) which aim to redesign
the desktop from the gorund up?  

This isn't a troll, but I am interested in these questions in party
because I plan to be teaching a bunch of kids to run linux in the
winter, and I'm just wondering whether the x framework as we currently
know it will still be around.

later,

matt

--
 .''`.   Matt Price 
: :'  :  Debian User
`. `'`demi-geek
  `- 
-- 


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



Re: bookmarks.html

2004-05-26 Thread Matt Price
On Wed, May 26, 2004 at 02:37:15AM +0200, Benedict Verheyen wrote:
 
 Antonio Rodriguez wrote:
  On Wed, May 26, 2004 at 01:19:34AM +0200, Benedict Verheyen wrote:
  Emma Jane Hogbin wrote:
  That's one of the reasons i never save my bookmarks in a browser.
  I have made php script that manages a few files that act as a db
  with my links divided in pages, topics and so on.
  It's also easy to transport bookmarks since i only have to copy
  the small script  the text files containing the actual links, pages
  and categories.
  I then set my browser home page to the generated output index.html
  file and i have all my links at my disposale.
 
  Regards,
  Benedict
 
 
  Benedict, would you post your script for the benefit of the community?
 
 Yep,
 
 remember that it's not great code :)
 I'm toying with the idea of changing it to python. It's a simple program
 to start learning it. I went through the tutorial a while back and I
 definitely
 want to try it on a real proggie.
 You can download it here:
  http://www.benedictverheyen.be
 
 I also use divs and no tables for the layout.
 Anyway, if people find it interesting and do any changes to it that can
 benefit other people, send the changes over and i'll add the new package
 to the site.
 Or if people change it to python for instance, i could put that code up
 too.
 
 Regards,
 Benedict

for firefox, folks might want to try using the bookmark synchroniser
extension (check the extensions page, avilable vrom the firefox home
page).  I like it a lot -- igves methe same bookmarks at
home/work/wherever.  You need an ftp location, though.  

m

 
 
 
 
 


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



strange du behaviour

2004-05-26 Thread Matt Price
hi folks,

trying to pare down the system on my poor overburdened laptop, and
using du to help me diagnose.  I had some source files in /root which
I have since deleted, but I am getting this strange behaviour.  

so from /root I try:  

hplaptop:~# du -sh ./
1020K   .

but check this out:  

[EMAIL PROTECTED]517/home/matt]$ du -sh /*
4.0K/anarreshome
2.6M/bin
9.0M/boot
4.0K/cdrom
100K/dev
16M /etc
4.0K/floppy
430M/home
4.0K/initrd
28M /lib
4.0K/local
208K/lost+found
16K /mnt
4.0K/opt
du: `/proc': No such file or directory
98M /root
3.0M/sbin
168K/tmp
1.4G/usr
136M/var
0   /vmlinuz
0   /vmlinuz.old

I don't udnerstand why the second command gives a size of 98M for the
directory /root.  Is this a sign that something's wrong which I should
try to fix?  

Maybe I should say that my hard drive was WAY too full for a while --
I booted up this morning, noticed it was at 99% (!) and have now
pared it down -- but maybe there was some trouble due to the earlier
crowding?  

anyway, thanks as always,

matt


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



presenter view in OOo Impress

2004-05-21 Thread Matt Price
Hey folks,

was justreading this article inthe New York Times about the new
version of MS Office for Mac:  

http://www.nytimes.com/2004/05/20/technology/circuits/20stat.html

In it, the author discusses a new presenter tools view in MS office,
which lets you see extra information on your laptop screen that isn't
passed on to the projector (this is for powerpoint, obviously).

This is something I would LOVE to emulate in openoffice impress
presentation software on debian.  I wonder whether it might be
possible to do something tricky with X that makes this possible --
like, say, run one X session on the projector, a different one on the
laptop lcd, and then remotely access the projector screen from within
the laptop x session?  Does this sound plausible

I'd love to hear opinions.  

thx,

matt


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



from header class btwn mutt and mailman?

2004-05-21 Thread matt . price
hey folks,

I've just realized that mutt has been sending out messages using a
private address (matt - at - derailleur - org) instead of the 'form'
header set in  my .muttrc:

set from = [EMAIL PROTECTED] 

I tried 

grep -ir derailleur /etc/*

ad the only relevant entry I could find was:

mailman/mm_cfg.py:DEFAULT_EMAIL_HOST = 'www.derailleur.org'

so my question:  can mailman override mutt's 'from' header somehow?
It seems bizarre and unlikely.  But there's nothing at all in my
.muttrc containing the string derailleur -- so I don't see how mutt
would even encounter that address!

Anyway, I find it puzzling.  

thx,

matt


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



Re: presenter view in OOo Impress

2004-05-21 Thread Matt Price
On Fri, May 21, 2004 at 10:30:12AM -0500, Kent West wrote:
 Matt Price wrote:
 
 In it, the author discusses a new presenter tools view in MS office,
 which lets you see extra information on your laptop screen that isn't
 passed on to the projector (this is for powerpoint, obviously).
 
 This is something I would LOVE to emulate in openoffice impress
 presentation software on debian.  I wonder whether it might be
 possible to do something tricky with X that makes this possible --
 like, say, run one X session on the projector, a different one on the
 laptop lcd, and then remotely access the projector screen from within
 the laptop x session?  Does this sound plausible
 
 I'd love to hear opinions.  
 
 Sounds like it should work.
 
 Another idea might be to configure your laptop to use the projector as a 
 second head, and configure X as a dual-head setup. Then you only have 
 one X session, but you can move the Impress window to the second head 
 (projector). Of course that means you'll have to watch the projection 
 screen to follow along with your own presentation, so your method is 
 probably better.

so, question:  Is it actually possible to run a different X session on
the projector?  On reflection, it seems impossible, since the
projector gets its signal from the laptop video out; if it's
configured as a dual-head setup, I getthe problem you described;
otherwise, the projector is a simple mirror of what happens on the lcd
screen.  Or do the vast complexities of x hide possibilities I haven't
dreamed of (well, I know they do, but possibilities that would HELP me
here...)?

thx as always,
m


 
 /Kent
 
 


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



Re: presenter view in OOo Impress

2004-05-21 Thread Matt Price
On Fri, May 21, 2004 at 11:55:17PM -0400, Mark Roach wrote:
 On Fri, 2004-05-21 at 16:43 -0500, Kent West wrote:
 
  Matt Price wrote:
  
  On Fri, May 21, 2004 at 10:30:12AM -0500, Kent West wrote:
 
  Matt Price wrote:
 
  Another idea might be to configure your laptop to use the projector as a 
  second head, and configure X as a dual-head setup.
  
  
  
  so, question:  Is it actually possible to run a different X session on
  the projector?
  
  
  Having never had a laptop I could experiment much with, I don't know. I 
  came across something last week that led me to believe that a laptop 
  essentially has a second video card which it uses for the external 
  monitor, but I briefly experimented with an older laptop that led me to 
  believe that was not the case at least with this laptop.
 
 Most newer laptops which use ATI radeon or nvidia chipsets have this
 dual head capability. 
 
 X does not currently seem flexible enough to switch between single head
 and dual head on the fly though, so you either have to have dual head
 running all the time, or restart X with a different XF86Config file when
 you want to do this nifty sort of thing.
 
 If someone came up with a way to make the second head map directly to a
 virtual desktop, that would be massively sweet...

yeah, this is what I want.  how would one start?  Where's brandon when
we need him???

m

 
 -Mark
 
 


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



mailman postmaster (exim?) message...

2004-05-19 Thread Matt Price
hey folks,

ever since I installed mailman and got lists running, I've been
getting error messages from the postmaster on my local machine:

From: Mail Delivery System [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Message frozen
Date: Wed, 19 May 2004 08:00:06 -0400

Message 1BQPjy-0002km-00 has been frozen.
The sender is [EMAIL PROTECTED].

The following address(es) have yet to be delivered:
  [EMAIL PROTECTED]: remote host address is the local host

---
I assume this is exim sending these messages, but I don't quite
understand what the problem is (why is it a problem for the remote
host address to be the local host?).  I have the following line (among a
number of others mailman told me to insert) in /etc/aliases:

mailman-owner:|/var/lib/mailman/mail/mailman owner mailman

does this look wrong somehow?  Is there somewhere else I should be
looking?

thx as always for your help.
m


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



apt-file usage

2004-05-12 Thread Matt Price
Hi,

I'm trying to understand how to use apt-file.  I've just installed it
on unstable (2.0.3-6) and am using what I believe is the default
/etc/apt/apt-file.conf (follows below).

when I try:

apt-file list mozilla-firefox
or
apt-file search firefox

I get nothing.  Am I doing something wrong?  Or is the config perhaps
not set up right?

I ifnd the man page soemwhat telegraphic, so perhaps I'm missing
something!  

thanks,
matt

# Apt-file configuration file

# Substitutions are made as follow:
#   host = remote hostname
#   port = port
#   uri = complete URI from sources.list
#   path = path from /
#   dist = the distrib name
#   comp = the component name
#   cache = path to the cache dir
#   dest = the destination file name
#   cdrom = cdrom mount point

# Where are located Packages (relative to comp directory)
destination = host_path_dists_dist_Contents-arch.gz

# Fetch methods
http = wget -N -P cache -O cache/dest 
uri/dists/dist/Contents-arch.gz || rm -f cache/dest;
ftp = wget -N -P cache -O cache/dest uri/dists/dist/Contents-arch.gz 
|| rm -f cache/dest
ssh = scp -l user -P port|22 host:/path/dists/dist/Contents-arch.gz 
cache/dest
rsh = rcp -l user host:/path/dists/dist/Contents-arch.gz cache/dest
file = cp /path/dists/dist/Contents-arch.gz cache/dest
copy = cp /path/dists/dist/Contents-arch.gz cache/dest
cdrom = echo Put CDROM labeled path in the cdrom device  /dev/stderr ; read ; 
mount cdrom; cp cdrom/dists/dist/Contents-arch.gz cache/dest; umount 
cdrom

---


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



Re: apt-file usage

2004-05-12 Thread Matt Price
On Wed, May 12, 2004 at 09:55:38AM -0700, Carlos Hanson wrote:
 Did you do an update first?
 
   # apt-file update
err no.  sorry for bothering the list.  thanks for the tip!

m


 
 
 On Wed, 12 May 2004 12:25:58 -0400
 Matt Price [EMAIL PROTECTED] wrote:
 
  Hi,
  
  I'm trying to understand how to use apt-file.  I've just installed it
  on unstable (2.0.3-6) and am using what I believe is the default
  /etc/apt/apt-file.conf (follows below).
  
  when I try:
  
  apt-file list mozilla-firefox
  or
  apt-file search firefox
  
  I get nothing.  Am I doing something wrong?  Or is the config perhaps
  not set up right?
  
  I ifnd the man page soemwhat telegraphic, so perhaps I'm missing
  something!  
  
  thanks,
  matt
  
 


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



Re: mozilla-firefox extensions

2004-05-11 Thread Matt Price
On Fri, May 07, 2004 at 11:17:31AM +0800, Alexander Nordström wrote:
 On Friday, 7 May 2004 03:16, Matt Price wrote:
 
  anyonee lse having trouble installing extensions with mozilla-firefox
  0.8-8 on Sid?  I keep trying to install mozex and it doesn't seem to
  actually install.  I have two other extensions working (Bookmarks
  Synchronizer and Session Saver) but they also seemed to install rather
  reluctantly (lots of extra x has been installed popup windows).
  Does this behaviour sound familiar to anyone?
 
 Yes. Probably mostly a case of mispackaged extensions assuming everyone uses 
 operating systems where everyone is root by tradition. Incidentally, the 
 extensions install fine if you are root (which lets all users use the 
 extensions). It's a known issue with Mozilla, but not all extension 
 developers seem to be aware. Where I have been affected, I have contacted the 
 extension developers to let them know of the issue, and some have at least 
 added instructions on what modifications you need to make. Just be aware of 
 the following issues:
 
 a) Some extensions packaged on Windows require the permissions of the 
 installed files to be fixed, or Firefox will not work at all when those 
 permissions are installed.
 
 b) apt-get upgrading Firefox will botch root-installed extensions. See 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=206097 for details.
 
thanks for the tip.  However, I don't think this is the problem in my
case -- I've tried it with several different extensions that have
installed fine with earlier versions of firebird, and in each case
I've had the same problem.  I've also chown'd and chmod'd all the
files in /usr/lib/mozilla-firefox and /var/lib/mozilla-firefox so that
my user has write access to them -- again, no luck.  Now firefox
crashes whenever I  try to install an extension -- and as far as I can
tell, does so without giving any messages or anything.  anyone know if
firefox has a log anywhere?  I myself cant find it...  

anyway, thx,
matt


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



Re: edit pdf's

2004-05-11 Thread Matt Price
On Tue, May 11, 2004 at 11:30:11AM -0400, Ralph Katz wrote:

thanks for the flues folks.  pdftohtml -- which I confess I *did*
already know about, sorry, should havesaid so -- won't work so well
for me, i odn't think;  these are scanned-in texts from the jstor
journal collection, and it's important I keep the pages in order...  

as ,er, someone mentioned earlier (don't have the thread in front of
me at the moment), a complex process involving gimp and pdftops seems
to be the best bet, but it's insanely labour-intensive for long
documents, so I may forego the whole project.  thx all though.  

m


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



edit pdf's

2004-05-10 Thread Matt Price
hey folks,

I have a bunch of pdf's I'd like to print out, scanned from
small-paged books.  I'd like to print them out two-to-a-page, but
they've been saved with lots of blank space around the text; so when I
just try

lpr -o number-up=2

I get very  very tiny type.  I'd like to somehow strip the blank space
away from the original files... but I have no idea whether it's
posswible to do that in, say, a text editor, by editing some of the
readable text.  Anyone have any other idea how it might be done?  Is
there a program lurking out there that might work (apt-cache didn't
seem to find anything).  

thanks much,
m


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



Re: 'no screens found' -- how why?

2004-04-22 Thread Matt Price
On Wed, Apr 21, 2004 at 01:24:41PM -0400, Matt Price wrote:
 [sorry Ian, couldn't seem to write back to you directly, and anyway
 seemed relevant to the whole list]
 
 On Wed, Apr 21, 2004 at 06:07:27PM +0100, Ian wrote:
  On Wed, 21 Apr 2004, Matt Price wrote:
  
   (II) Unloading /usr/X11R6/lib/modules/linux/libfbdevhw.a
   (II) UnloadModule: vgahw
   (II) Unloading /usr/X11R6/lib/modules/libvgahw.a
   (II) UnloadModule: r128
   (II) Unloading /usr/X11R6/lib/modules/drivers/r128_drv.o
   (EE) Screen(s) found, but none have a usable configuration.
   
   Fatal server error:
   no screens found
  
  Have you moved your system over to udev. When I did this, I found that I 
  had to add new udev rules to create the relevant nodes for my nvidia card
  
 hey, this might be the problem -- I did apt-get udev at some point in
 the evening last night!  (though haven't fiddled with it yet).  Do you
 happen to have the relevant rules handy -- I haven't looked into udev
 yet, really, so I could use a guide.
 
 Isn't udev supposed to be for hotplug stuff?  Why does it apply to PCI
 cards?

for the record, uninstalling udev returned my system to usability.  I
don't have  prssing need for it right now so 'm putting that task off
for now!

thx,
matt


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



Re: serious apt error after aptitude catastrophe

2004-04-22 Thread Matt Price
On Thu, Apr 22, 2004 at 12:03:40AM -0700, Paul Johnson wrote:
 Matt Price [EMAIL PROTECTED] writes:
 
  tried switching to aptitude and, while I was't looking, aptitude
  started to uninstall a whole slew of fundamental packages from my
  computer!
 
 You did that.  Aptitude warned you about this after the first time you
 hit g.  You told aptitude that it's idea of whats going to happen is
 correct and it g to go ahead anyway.  In the future, pay attention to
 what your computer is telling you.  8:o)

fair enough, I'll stop blaming aptitude... but I don't REMEMBER seeing
the long list of red-coded packages aptitude must have presented me
with...  oh well.

 
  /var/cache/apt/archives/libc6_2.3.2.ds1-11_powerpc.deb (--unpack):
   trying to overwrite `/etc/default/devpts', which is also in package
  initscripts
  Errors were encountered while processing:
   /var/cache/apt/archives/libc6_2.3.2.ds1-11_powerpc.deb
 
 dpkg -i --force-overwrite /var/cache/apt/archives/libc6_2.3.2.ds1-11_powerpc.deb
 
thank you.  should have looked harder in man (tho with the pagers
missing it waas a bit tricky to consult...  ). thanks to you and
dircha both.
m




 



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



Re: unlock a locked up tty session

2004-04-22 Thread Matt Price
On Thu, Apr 22, 2004 at 04:15:11PM -0500, Michael Martinell wrote:
 This has happened several times recently.  I have changed from one tty
 session to another, come back to the first, and the session is locked up.
 If I was in an application, it just sits there, if I was at the command
 line, I cannot type.  I can change back to other tty sessions and continue
 to do work.  I generally keep this up until I am down to my last session,
 then reboot, which clear up the problem, for awhile.
 
 I have 2 questions:
 
 1. How do I log off of the locked-up session without restarting?
 2. Where would I look to see what is causing the problem to begin with?

I have no idea about 2, but you aren't by chance typing Control-s, are
you?  That locks the screen; typing Control-q frees it back up again.
(sorry if you know this already...)
m


 
 


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



'no screens found' -- how why?

2004-04-21 Thread Matt Price
Hi everyone,

I've posted this on debian-powerpc but am feeling desperate --
apologies for the cross-post.  I've just had something rather strange
happen -- after functioning perfectly well on several bootups,
suddenly 2.6.5 kernels are unable to run X.  I don't believe I did
*anything* to the X settings, and X still runs fine under 2.4.25.  A
quick look at the XFree86 logs indicates the problem is with the
framebuffer support.  Attempts to set 'UseFBDev' to 'false' in
XF86Config-4 result in complete failure in both kernels (R128(0):
Cannot read V_BIOS (5)).  

This is wierd! X ran just fine under these same 2.6.5 kernels several
times -- I'd say over 10 times, as I was testing a bunch of new
kernels; it only suddenly stopped working last night.  Why would it
work for a while and then suddenly not work?  

This is all on a blue and white Apple Powermac g3 with the stock
ATIRage128 card that came with it.

I'm bummed since I noticed several marked improvements under 2.6, e.g.
much better support for my Palm, and the sudden disappaerance of a serious
printing problem that's been bugging me for 2 years.  So if anyone can
help me I'd be MUCH obliged.


Here is part of the XFree86 log, followed by parts of my XF86Config-4
file  parts of the kernel config:


XFree86 Version 4.2.1.1 (Debian 4.2.1-10 20030820055107
[EMAIL PROTECTED]) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.19-powerpc ppc [ELF] 


(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
[this warning shows up under 2.4.25 also, so I assume it's not
relevant to my problem]
...

[just about everything gets loaded now]

...
[now things start to go wrong]

(II) Setting vga for screen 0.
(II) Loading sub module vgahw
(II) LoadModule: vgahw
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor=The XFree86 Project
compiled for 4.2.1.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) R128(0): PCI bus 0 card 16 func 0
(**) R128(0): Depth 16, (--) framebuffer bpp 16
(II) R128(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
(==) R128(0): Default visual is TrueColor
(**) R128(0): Option UseFBDev true
(==) R128(0): RGB weight 565
(II) R128(0): Using 6 bits per RGB (8 bit DAC)
(**) R128(0): Using framebuffer device
(II) Loading sub module fbdevhw
(II) LoadModule: fbdevhw
(II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a
(II) Module fbdevhw: vendor=The XFree86 Project
compiled for 4.2.1.1, module version = 0.0.2
ABI class: XFree86 Video Driver, version 0.5
(EE) Unable to find a valid framebuffer device
(II) UnloadModule: ati
(II) UnloadModule: fbdevhw
(II) Unloading /usr/X11R6/lib/modules/linux/libfbdevhw.a
(II) UnloadModule: vgahw
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(II) UnloadModule: r128
(II) Unloading /usr/X11R6/lib/modules/drivers/r128_drv.o
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

note the second to last error -- unable to find a valid framebuffer
device.  But why?

now here's some of XF86Config-4:
Section Device
Identifier  ATI Rage something
Driver  ati
BusID   PCI:0:16:0
   Option  UseFBDev  true
EndSection

.
Section Screen
Identifier  Default Screen
Device  ATI Rage something
Monitor ADI Micro Scan
DefaultDepth16
SubSection Display
Depth   1
Modes   1280x1024 1152x864 1024x768
800x600 640x480
EndSubSection
[several more Display subsections follow]

EndSection


---

And from the kernel config file:

# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_OF is not set
# CONFIG_FB_CONTROL is not set
# CONFIG_FB_PLATINUM is not set
# CONFIG_FB_VALKYRIE is not set
# CONFIG_FB_CT65550 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_S3TRIO is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
CONFIG_FB_RADEON=y
CONFIG_FB_RADEON_I2C=y
# CONFIG_FB_RADEON_DEBUG is not set
CONFIG_FB_ATY128=y
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
CONFIG_FB_3DFX=y
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
# CONFIG_FONTS is not 

Re: 'no screens found' -- how why?

2004-04-21 Thread Matt Price
[sorry Ian, couldn't seem to write back to you directly, and anyway
seemed relevant to the whole list]

On Wed, Apr 21, 2004 at 06:07:27PM +0100, Ian wrote:
 On Wed, 21 Apr 2004, Matt Price wrote:
 
  (II) Unloading /usr/X11R6/lib/modules/linux/libfbdevhw.a
  (II) UnloadModule: vgahw
  (II) Unloading /usr/X11R6/lib/modules/libvgahw.a
  (II) UnloadModule: r128
  (II) Unloading /usr/X11R6/lib/modules/drivers/r128_drv.o
  (EE) Screen(s) found, but none have a usable configuration.
  
  Fatal server error:
  no screens found
 
 Have you moved your system over to udev. When I did this, I found that I 
 had to add new udev rules to create the relevant nodes for my nvidia card
 
hey, this might be the problem -- I did apt-get udev at some point in
the evening last night!  (though haven't fiddled with it yet).  Do you
happen to have the relevant rules handy -- I haven't looked into udev
yet, really, so I could use a guide.

Isn't udev supposed to be for hotplug stuff?  Why does it apply to PCI
cards?

anyway, thanks for the tip,
matt


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



Re: 'no screens found' -- how why?

2004-04-21 Thread Matt Price
On Wed, Apr 21, 2004 at 01:35:17PM -0300, Leandro Guimaraens Faria Corsetti Dutra 
wrote:
 Em Wed, 21 Apr 2004 11:10:34 -0400, Matt Price escreveu:
 
  I've posted this on debian-powerpc but am feeling desperate -- apologies
  for the cross-post.  I've just had something rather strange happen --
  after functioning perfectly well on several bootups, suddenly 2.6.5
  kernels are unable to run X.  I don't believe I did *anything* to the X
  settings, and X still runs fine under 2.4.25.  A quick look at the XFree86
  logs indicates the problem is with the framebuffer support.  Attempts to
  set 'UseFBDev' to 'false' in XF86Config-4 result in complete failure in
  both kernels (R128(0): Cannot read V_BIOS (5)).
 
   Had something similar in 2.6.4, but I don't ever edit
 XF86Config directly, telling dpkg-reconfigure xserver-xfree86 not to
 use the framebuffer did the trick.
 
 
I think (though I may be wrong) that there wouldn't be much differnece
if I used dpkg-reconfigure (last time I tried, it wouldn't write back
to XFConfig-4 because the file had been edited by hand, so I may not
even be able to use that option anymore!).  May I ask whether you use
similar hardware?  I think that it's hard to go without the fb when
using powerpc hardware.  My experience suggests I need the fb to use
my video card at all.

m


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



aptitude display question

2004-04-21 Thread Matt Price
Hey folks, 

wading through the aptiude configuration options rightn ow...  is
there a way to group all the broken packages together somewhere in a
special view?  It would be ocnvenient sometimes.

On a more general note, does anyone have a really excellent
configuration for aptitude they'd like to share?  It seems about as
configurable as mutt -which is to say, rather extraordinarily.  
m


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



Re: aptitude display question

2004-04-21 Thread Matt Price
forgot to add my other question -- is there a way to change the
percentage of the screen devoted to each part of the display (e.g.,
reduce the size of the package dexcription, which is rarely full, and
give more space to list packages?)

thx,
m


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



serious apt error after aptitude catastrophe

2004-04-21 Thread Matt Price
hello,

tried switching to aptitude and, while I was't looking, aptitude
started to uninstall a whole slew of fundamental packages from my
computer!  now I have to reinstall them, but the Sid glibc backage
seems to have aserious conflict with sysinit: 

--
Note, selecting libc6 instead of glibc-2.3.2.ds1-11
Suggested packages:
  glibc-doc
1 packages upgraded, 0 newly installed, 0 to remove and 753 not
upgraded.
2 packages not fully installed or removed.
Need to get 0B/4211kB of archives.
After unpacking 20.5kB of additional disk space will be used.
(Reading database ... 136582 files and directories currently
installed.)
Preparing to replace libc6 2.3.2.ds1-10 (using
.../libc6_2.3.2.ds1-11_powerpc.deb) ...
Unpacking replacement libc6 ...
dpkg: error processing
/var/cache/apt/archives/libc6_2.3.2.ds1-11_powerpc.deb (--unpack):
 trying to overwrite `/etc/default/devpts', which is also in package
initscripts
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.2.ds1-11_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
---
Is there a trick for getting around a fundamental conflict like this
one?  My system is pretty well disabled at the moment (e.g., I'm
missing less and can't install it!any clues?
m


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



Re: serious apt error after aptitude catastrophe

2004-04-21 Thread Matt Price
gaah, forgot to add:  downgrading libc6 leads to terrible
system-breaking conflicts. 

m

On Thu, Apr 22, 2004 at 12:07:44AM -0400, Matt Price wrote:
 hello,
 
 tried switching to aptitude and, while I was't looking, aptitude
 started to uninstall a whole slew of fundamental packages from my
 computer!  now I have to reinstall them, but the Sid glibc backage
 seems to have aserious conflict with sysinit: 
 
 Note, selecting libc6 instead of glibc-2.3.2.ds1-11
 Suggested packages:
   glibc-doc
 1 packages upgraded, 0 newly installed, 0 to remove and 753 not
 upgraded.
 2 packages not fully installed or removed.
 Need to get 0B/4211kB of archives.
 After unpacking 20.5kB of additional disk space will be used.
 (Reading database ... 136582 files and directories currently
 installed.)
 Preparing to replace libc6 2.3.2.ds1-10 (using
 ../libc6_2.3.2.ds1-11_powerpc.deb) ...
 Unpacking replacement libc6 ...
 dpkg: error processing
 /var/cache/apt/archives/libc6_2.3.2.ds1-11_powerpc.deb (--unpack):
  trying to overwrite `/etc/default/devpts', which is also in package
 initscripts
 Errors were encountered while processing:
  /var/cache/apt/archives/libc6_2.3.2.ds1-11_powerpc.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 Is there a trick for getting around a fundamental conflict like this
 one?  My system is pretty well disabled at the moment (e.g., I'm
 missing less and can't install it!any clues?
 m
 
 


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



Re: print kernel tree from make xconfig?

2004-04-17 Thread Matt Price
On Sat, Apr 17, 2004 at 06:13:56PM +0100, stephen parkinson wrote:
 Matt Price wrote:
 
 anyone know whetheri t's possible to print out the lovely display of
 the kernel module tree from make xconfig?  I would like to have an
 annotated copy (what modules are required on which machines for what
 purposes, etc...).  
 
 If there's another similar pretty picture somewhere that is of course
 just as good...
 m

 do a screen grab out of gimp maybe ?

unfortunately one screen length won't do it.

I can improvise, but I'd love to have the whole tree printed outi n
front of me sometimes...

m

 
 stephen
 


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



naming usb devices?

2004-04-16 Thread Matt Price
hey folks,

feel like I saw this somewhere a while ago, but a quick search didn't
turn up what I wanted.  Is there a way to assign a permanent name to a
usb device like a pen drive,' so that (say) if I plug in two different
pen drives at the same time, each one gets assigned to an appropriate
name, say /mnt/schoolfiles/ and /mnt/fun/? This would be
convenient (tho not essential) for me.
m


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



Re: naming usb devices?

2004-04-16 Thread Matt Price
thanks colin, that seems to be it!  will play with it a bit.

thanks for the quick reply.
m

On Sat, Apr 17, 2004 at 02:30:56AM +0100, Colin Watson wrote:
 On Fri, Apr 16, 2004 at 09:24:06PM -0400, Matt Price wrote:
  feel like I saw this somewhere a while ago, but a quick search didn't
  turn up what I wanted.  Is there a way to assign a permanent name to a
  usb device like a pen drive,' so that (say) if I plug in two different
  pen drives at the same time, each one gets assigned to an appropriate
  name, say /mnt/schoolfiles/ and /mnt/fun/? This would be
  convenient (tho not essential) for me.
 
 Sounds like you want the LABEL= or UUID= syntax in /etc/fstab. See
 fstab(5) for details.
 


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



print kernel tree from make xconfig?

2004-04-16 Thread Matt Price

anyone know whetheri t's possible to print out the lovely display of
the kernel module tree from make xconfig?  I would like to have an
annotated copy (what modules are required on which machines for what
purposes, etc...).  

If there's another similar pretty picture somewhere that is of course
just as good...
m


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



Re: where does mailman get the host machine name?

2004-03-30 Thread Matt Price
On Mon, Mar 29, 2004 at 04:01:16PM -0800, Bill Moseley wrote:
 On Mon, Mar 29, 2004 at 05:13:19PM -0500, Matt Price wrote:
  hi,
  
  my ocmputer has a couple of domain names attached to it, of which the
  first and most awkward was awarded by the admin people at my
  workplace.  Mailman., which I've just installed, works fine, but seems
  to think my ocmputer should be called by this name, i.e.,
  pc09.hist.utoronto.ca.  
  
  I would like mailman to tell people the address is something easier to
  remember (in this case, lists.derailleur.org).  I cna change the list
  host name for individual lists through the web interface, but I would
  like to have this set properly for all lists.   How do I do
  this?  ANyone know?  
 
 In my notes I have DEFAULT_HOST_NAME modified in
 /etc/mailmain/mm_cfg.py.  Might look there.
 
thank you, that works!
m


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



new name issue

2004-03-30 Thread Matt Price
I've encountered another difficulty with Mailman.  Using the web
interface to add new lists (at
http://any-valid-host-name-for-my-computer/cgi-bin/mailman/create) I
am unable to actually generate the new list.  I get the following
error at the top of the page generated by Mailman: 

Error: Unknown virtual host: any-valid-host-name-for-my-computer 

This is wierd since I've been able to add lists from the command line
without any difficulty.  Anyone seen this before?

Thanks,
matt


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



where does mailman get the host machine name?

2004-03-29 Thread Matt Price
hi,

my ocmputer has a couple of domain names attached to it, of which the
first and most awkward was awarded by the admin people at my
workplace.  Mailman., which I've just installed, works fine, but seems
to think my ocmputer should be called by this name, i.e.,
pc09.hist.utoronto.ca.  

I would like mailman to tell people the address is something easier to
remember (in this case, lists.derailleur.org).  I cna change the list
host name for individual lists through the web interface, but I would
like to have this set properly for all lists.   How do I do
this?  ANyone know?  

htanks as always,
m


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



Re: [OT]Europe Supports Antitrust Ruling Against Microsoft

2004-03-16 Thread Matt Price
OK, can we please take this off of debian-user now?  Egregiously
offtipic.
m

On Tue, Mar 16, 2004 at 05:43:35AM -0800, Number Six wrote:
 On Tue, Mar 16, 2004 at 10:35:11AM -0300, Christoph Simon wrote:
  You are kidding, right? You can't be that ignorant. Bombing Dresden
  and Nuking Japan didn't change anything. Sure, a decade for a
 
 Beevor, Antony
 The Fall of Berlin 1945
 
 It is fascinating to read about the Volkstuurm.  13-year old boys being 
 given Panzerfausts on bicycles.
 
 Optimists learned English; pessimists learned Russian.
 
 Listen, I still get pissed about the Civil War.  It sucks to lose.
 
 But I have to eat shit sometimes and say my guys couldn't hack it.
 
 I want another shot too, lots of times.
 
 But I have to eat shit and say, no, this side one, and I have to act 
 like this now.
 
 


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



Re: Really, I still don't have sound

2004-03-16 Thread Matt Price
On Tue, Mar 16, 2004 at 11:01:43AM +0100, Andreas Janssen wrote:
 Hello
 
 Mark Healey ([EMAIL PROTECTED]) wrote:
 
  I still haven't managed to get sound up and running.  It looks like
  everybody is stumped but I'm resubmitting the problem and including
  all that I gathered in the last attempt to get it working.
  
  I installed woody stable kernel 2.4.18-bf2.4
  
  When I boot knoppix it uses via82cxxx_audio and works.  I have that
  module installed so I added the line to my via82cxxx_audio to my
  /etc/modules.
 
 Maybe the kernel is too old and doesn't support your card properly. Try
 to upgrade to a newer one, e.g. 2.4.25. You can get precompiled
 packages from http://www.backports.org. Install the proper package
 and configure your bootloader to use the initrd.

the alsa modules for via82xx changed sometime around 0.9.1, I think.
You most likely need to upgrade to the newest alsa-source using the
various alsa packages, and roll the new kernel modules according to
the instructions in /usr/share/doc/alsa-source.  It's slightly
intimidating but pretty easy if you follow the instructions.  

matt




 
  Please leave this.  It is a filter term.
  ferulebezel
 
 best regards
 Andreas Janssen
 


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



Re: debian jr.

2004-03-03 Thread Matt Price
Anyone know wht's hapening with debian jr?  Seems there hasn't been
much news from that project in the last year or so...
m

On Tue, Mar 02, 2004 at 06:47:01PM -0800, Roger Chrisman wrote:
 Elvis Presley wrote:
  where can i download debian jr.
 
 Elvis, I would reply something about 'debian jr.' being a set of children's 
 packages that you can select in 'tasksel', but my ISP doesn't like me sending 
 email to the cemetary. Sorry . . . .
 
 The other side.
 
 


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



[solved!] Sandisk Cruzer USB flash drive -- gaah!

2004-03-02 Thread Matt Price
On Mon, Mar 01, 2004 at 11:47:58AM -0500, Matt Price wrote:
 Hey everyone,
 
 I seem to havel ost my trusty old usb flash drive, so I shelled out
 $70 for a new one -- and carelessly bought a Sandisk Cruzer 256meg
 model.  Gaah!  I can't get it to work!!  
 

solved the probleem -- the device was defective!  returned it, bought
a new one, eveyrone's happy now.  no problems.

hopefully the next person withthis problem ill find this post via
google... 
m


 with the old drive, I simply plugged the thing in, usb-storage took
 over and the drive was assigned /dev/sda(something or other).  
 
 Now, dmesg gnerates this when the drive plugs in: 
 
 hub.c: new USB device 00:11.2-1.2, assigned address 19
 usb-uhci.c: interrupt, status 2, frame# 1292
 usb.c: USB device not accepting new address=19 (error=-110)
 hub.c: new USB device 00:11.2-1.2, assigned address 20
 usb.c: USB device not accepting new address=20 (error=-110)
 [EMAIL PROTECTED]503/home/matt]$ 
 
 note that this is the output for a single plug-in event -- that is,
 the kernel tries to talk to it twice before giving up.  
 
 On the web I see postings indicating that people have gotten it
 working.  But I can't do it!  any suggestions?  
 
 btw, I'm running sid on an Athlon CPU with a self-rolled, make-kpkg
 2.4.23 kernel; I think all the relevant modules are up and running,
 see the output of lsmod (attached below).
 
 I'm kinda desperate for help, and pretty well need this to work in the
 next couple of days -- so any assistance is desperately appreciated!
 thanks,
 
 matt
 
 


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



which process is accessing my hard drive?

2004-03-01 Thread Matt Price

Hey folks,

I'm trying to set my (aging) laptop up for maximum power
efficiency.  using hdparm, I set the spindown time very short, I don't
use x, and I've gone so far as to shutdown things like cron and atd.
Pretty much the only thing I have running is emacs (see the output of
ps, attached).  But somehow the hard drive keeps spinning back up
spontaneously.  Who's accessing my hard drive??  I don't have the
slightest idea how to find out, or (even better) figure out how to
stop it from happening.  

Can anyone help me with this?

thx,
matt
USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND
root 1  0.0  0.4  1484  444 ?S01:27   0:03 init
root 2  0.0  0.0 00 ?SW   01:27   0:02 [keventd]
root 3  0.0  0.0 00 ?SWN  01:27   0:00 [ksoftirqd_CPU0]
root 4  0.0  0.0 00 ?SW   01:27   0:01 [kswapd]
root 5  0.0  0.0 00 ?SW   01:27   0:00 [bdflush]
root 6  0.0  0.0 00 ?TW   01:27   0:00 [kupdated]
root 7  0.0  0.0 00 ?SW   01:27   0:01 [khubd]
daemon 165  0.0  0.3  1600  304 ?S01:27   0:00 /sbin/portmap
root   254  0.0  0.6  2184  580 ?S01:27   0:00 /sbin/syslogd
root   257  0.0  0.5  2200  492 ?S01:27   0:00 /sbin/klogd
root   270  0.0  0.0 00 ?SW   01:27   0:00 [kapmd]
root   272  0.0  0.5  1484  540 ?S01:27   0:04 /usr/sbin/apmd -P 
/etc/apm/apmd_proxy --proxy-timeout 30
root   297  0.0  0.4  2164  452 ?S01:27   0:00 /usr/sbin/inetd
root   335  0.0  0.5  1500  556 ?S01:27   0:00 /sbin/cardmgr -C 
config-2.4
root   362  0.0  0.5  3040  544 ?S01:28   0:00 /usr/sbin/sshd
root   374  0.0  0.7  4268  732 ?S01:28   0:00 /usr/bin/X11/xfs -daemon
root   438  0.0  0.6    572 ?S01:28   0:00 /usr/X11R6/bin/Xprt -ac 
-pn -nolisten tcp -audit 4 -fp 
/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/TrueType,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/misc
 :64
root   450  0.0  0.5  2304  532 ?S01:28   0:00 /sbin/rpc.statd
root   454  0.0  0.5  1528  528 ?S01:28   0:00 /usr/sbin/noflushd -n 5 
/dev/hda
matt   469  0.0  1.5  3436 1440 tty1 S01:28   0:02 -bash
root   470  0.0  1.4  3424 1404 tty2 S01:28   0:01 -bash
root   472  0.0  0.4  1480  404 tty4 S01:28   0:00 /sbin/getty 38400 tty4
root   473  0.0  0.4  1480  404 tty5 S01:28   0:00 /sbin/getty 38400 tty5
root   474  0.0  0.4  1480  404 tty6 S01:28   0:00 /sbin/getty 38400 tty6
matt  5749  0.0  1.9  3444 1788 tty3 S03:29   0:00 -bash
matt  6161  0.2  7.1 10784 6768 tty1 T04:09   1:04 emacs Strassbourg.ll
matt  7322  0.0  0.8  2848  824 tty1 R11:31   0:00 ps aux


Sandisk Cruzer USB flash drive -- gaah!

2004-03-01 Thread Matt Price
Hey everyone,

I seem to havel ost my trusty old usb flash drive, so I shelled out
$70 for a new one -- and carelessly bought a Sandisk Cruzer 256meg
model.  Gaah!  I can't get it to work!!  

with the old drive, I simply plugged the thing in, usb-storage took
over and the drive was assigned /dev/sda(something or other).  

Now, dmesg gnerates this when the drive plugs in: 

hub.c: new USB device 00:11.2-1.2, assigned address 19
usb-uhci.c: interrupt, status 2, frame# 1292
usb.c: USB device not accepting new address=19 (error=-110)
hub.c: new USB device 00:11.2-1.2, assigned address 20
usb.c: USB device not accepting new address=20 (error=-110)
[EMAIL PROTECTED]503/home/matt]$ 

note that this is the output for a single plug-in event -- that is,
the kernel tries to talk to it twice before giving up.  

On the web I see postings indicating that people have gotten it
working.  But I can't do it!  any suggestions?  

btw, I'm running sid on an Athlon CPU with a self-rolled, make-kpkg
2.4.23 kernel; I think all the relevant modules are up and running,
see the output of lsmod (attached below).

I'm kinda desperate for help, and pretty well need this to work in the
next couple of days -- so any assistance is desperately appreciated!
thanks,

matt


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



Re: Sandisk Cruzer USB flash drive -- gaah!

2004-03-01 Thread Matt Price
On Mon, Mar 01, 2004 at 08:18:47AM -0900, Greg Madden wrote:
 Hash: SHA1
 
 On Monday 01 March 2004 07:47 am, Matt Price wrote:
  Hey everyone,
 
  I seem to havel ost my trusty old usb flash drive, so I shelled out
  $70 for a new one -- and carelessly bought a Sandisk Cruzer 256meg
  model.  Gaah!  I can't get it to work!!
 
  with the old drive, I simply plugged the thing in, usb-storage took
  over and the drive was assigned /dev/sda(something or other).
 
  Now, dmesg gnerates this when the drive plugs in:
 
  hub.c: new USB device 00:11.2-1.2, assigned address 19
  usb-uhci.c: interrupt, status 2, frame# 1292
  usb.c: USB device not accepting new address=19 (error=-110)
  hub.c: new USB device 00:11.2-1.2, assigned address 20
  usb.c: USB device not accepting new address=20 (error=-110)
  [EMAIL PROTECTED]503/home/matt]$
 
  note that this is the output for a single plug-in event -- that is,
  the kernel tries to talk to it twice before giving up.
 
  On the web I see postings indicating that people have gotten it
  working.  But I can't do it!  any suggestions?
 
  btw, I'm running sid on an Athlon CPU with a self-rolled, make-kpkg
  2.4.23 kernel; I think all the relevant modules are up and running,
  see the output of lsmod (attached below).
 
  I'm kinda desperate for help, and pretty well need this to work in
  the next couple of days -- so any assistance is desperately
  appreciated! thanks,
 
  matt
 
 I have to actually use the mount command on mine, its a mini-cruzer. 
 'mount -t vfat /dev/sda1 /mnt/mount point'. You need Fat  vfat file 
 system support. This is on my laptop, no other scsi devices, so if you 
 use it on a scsi box the disk ID may be different.

I think all of this is taken care of already in my kernel -- the
problem is that the drive isn't assigned to /dev/sd* -- it doesn't
even get recognized.  I think the thing is supposed to light up when
it comes on -- but it just flashes for a second and then turns off.
blah!  damned windows-centric crap... 

m


 
 - -- 
 Greg Madden
 Debian GNU/Linux
 Version: GnuPG v1.2.4 (GNU/Linux)
 
 iD8DBQFAQ3B3k7rtxKWZzGsRAqgbAJ9BIRjXGS7OV5TvXH+80jh9+02NnACfYLLj
 t2NGG0B1QCBWnFlfyLD/f70=
 =VQjz
 
 


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



Re: Sandisk Cruzer USB flash drive -- gaah!

2004-03-01 Thread Matt Price
On Mon, Mar 01, 2004 at 12:21:47PM -0500, Joey Hess wrote:
 Matt Price wrote:
  hub.c: new USB device 00:11.2-1.2, assigned address 19
  usb-uhci.c: interrupt, status 2, frame# 1292
  usb.c: USB device not accepting new address=19 (error=-110)
  hub.c: new USB device 00:11.2-1.2, assigned address 20
  usb.c: USB device not accepting new address=20 (error=-110)
 
 I've seen this a few times with my lexar jumpdrive, and just doing an
 /etc/init.d/hotplug restart fixed it.
 

thanks for the idea, but no luck here.  I continue to get the same 
error I had before...  Hotplug also gives the following output:  

/home/matt]$ sudo /etc/init.d/hotplug restart
Restarting hotplug subsystem:Stopping hotplug subsystem: input pci
usb.
Starting hotplug subsystem: input** can't synthesize input events -
/proc/bus/input/devices missing
 pci** can't synthesize pci hotplug events
 usb.

I htink this is harmless, though.

anyway, thx, matt



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



scrollkeeper dpkg error

2004-02-26 Thread Matt Price
hey folks,

having touble setting ups scrollkeeper on my system.  Keep getting the
following error:  

Setting up scrollkeeper (0.3.14-5) ...
update-xmlcatalog: error: entry already exists
dpkg: error processing scrollkeeper (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pybliographer:
 pybliographer depends on scrollkeeper (= 0.3.14-5); however:
  Package scrollkeeper is not configured yet.

Looks to me like scrollkeeper doesn't like to see that an old version
of itself has already been installed.  
Is this something I can fix manually?  Should I file a bug report?

m


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



Re: alt-right-click in xterm

2004-02-10 Thread Matt Price
On Mon, Feb 09, 2004 at 02:38:43PM -0800, Marc Wilson wrote:
 On Mon, Feb 09, 2004 at 05:18:20PM -0500, Matt Price wrote:
 
 description of various window manager behaviors deleted
 
  I liket he second style better, as it gives me more flexibility.  
  Anyone know what option controls this behaviour?  
 
 Sure.  The window manager that's being used on the one, versus the window
 manager that's being used on the other.  Which is the first using, and
 which is the second using?
 
both are using xfce 4.0.0.final-1...
I suspect there's a config variable osmewhere that I'm missing...
matt


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



alt-right-click in xterm

2004-02-09 Thread Matt Price
hey folks,

On one computer running debian-unstable right-alt-click in xterm gives
e a bracketed arrow pointint down and to the right.  WHen I move the
mouse, the size of the window changes in the direciton the mouse
moves...  

On another system, also running debian-unstable, the same action gives
me slightly different behaviours depending on wherei n the xtemr
window the mouse focus happens to be; so if I'm in the bottom half of
the window, the arrow pointsi n one direction; if I'm in the top half,
it points in another.  

I liket he second style better, as it gives me more flexibility.  

Anyone know what option controls this behaviour?  

thanks,

matt


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



folder modification times

2004-02-04 Thread Matt Price
To: mutt users list [EMAIL PROTECTED]
Cc: 
Bcc: 
Subject: folder modification times not updated?
Reply-To: 

Hi everyone,

I've noticed recently that some of my Maildir folders
don't have the right date attached to them. So for instance, one
folder has recently been updated, but ls thinks it hasn't been
modified since dec. 29:
[EMAIL PROTECTED]501/home/matt]$ ls -ld Maildir/.moin
drwx--5 matt matt 4.0K 2003-12-29 16:16 Maildir/.moin/

On theo ther hand, Maildir itself knows it's been updated recently:
[EMAIL PROTECTED]502/home/matt]$ ls -ld Maildir/ 
drwx--  125 matt matt 4.0K 2004-02-04 20:30 Maildir//

What I'd like to know is, why would the modification date be changed
in one case and not the other?  And what can I do to fix this?  

Thanks as always,
matt


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



Re: 256-color xterm

2004-01-30 Thread Matt Price
On Fri, Jan 30, 2004 at 12:10:41PM -, Thomas Dickey wrote:
 Matt Price [EMAIL PROTECTED] wrote:
  On Fri, Jan 30, 2004 at 01:02:07AM -, Thomas Dickey wrote:
  Matt Price [EMAIL PROTECTED] wrote:
   On Wed, Jan 28, 2004 at 10:55:51PM -, Thomas Dickey wrote:
   
   The XFree86 xterm supports ANSI color and VT220 emulation
   There's an faq at
   http://invisible-island.net/xterm/xterm.faq.html
   ftp://invisible-island.net/xterm/
   
  
Not exactly (I don't make any of those packages, but frequently compile
  xterm on systems where they're installed).  Looking at the stuff I've
  installed, it appears that xlibs-dev and libxaw6-dev is what you need to
  be able to do this.  So making a package shouldn't require anything more
  (except of course the package-building-packages) than what I need to 
  compile xterm.  After all, they're not incorporated into xterm's package.
 
 
  ok, I went ahead and compiled/installed a 256-color xterm.  I was
  hoping that the extra colors would magically appear for me in xemacs,
  but emacs still thinks I have only 16 colors.  Also I tried running some of
 
 That could be a termcap issue - emacs has to see the xterm-256color entry.
 But I don't use emacs, and only know secondhand about the script it uses
 for setting this up.
 
  the tests in vttests (um, I get the impression from the net that you
  wrote these, Thomas!) but the oly one that seemed to generate more
 
 most of them - not the 256colors.pl (though I've made changes to it).
 
  than 16 colors was dynamic.sh.  256colors.pl, for instance, only shows
  the ANSI colors, not the 16x16 box or the grayscale ramp its supposed
  to.  Do I have to set some other variables somewhere (e.g., in
  .Xdefaults) to make sure xtemr understnads 256-colors?
 
 No - the main thing here is whether your X server has enough colors available.
 The 8-bit displays don't.  I've tested this mostly with 16-bit displays.
 xterm has defaults for the color resources (compiled in), so that's normally
 not a problem.  Otherwise, when color is enabled there's no additional
 resources controlling whether the 256-colors are available.
 

-- so I'm a bit confused.  Does this mean I should check in my
XF86config-4 (or someplace similar) to see if my display is 8 or 16
bit?  Or is something else meant by #display' in this context?  I
don#t know how to find that kind of information out (I should say,
though, that my monitor is a fairly modern color moniitor which has
'millions of colors' when I attach it to my mac...

thanks,
matt


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



Re: 256-color xterm

2004-01-30 Thread Matt Price
On Fri, Jan 30, 2004 at 12:10:41PM -, Thomas Dickey wrote:
 Matt Price [EMAIL PROTECTED] wrote:
 
  ok, I went ahead and compiled/installed a 256-color xterm.  I was
  hoping that the extra colors would magically appear for me in xemacs,
  but emacs still thinks I have only 16 colors.  Also I tried running some of
 
 That could be a termcap issue - emacs has to see the xterm-256color entry.
 But I don't use emacs, and only know secondhand about the script it uses
 for setting this up.
 
  the tests in vttests (um, I get the impression from the net that you
  wrote these, Thomas!) but the oly one that seemed to generate more
 
 most of them - not the 256colors.pl (though I've made changes to it).
 
  than 16 colors was dynamic.sh.  256colors.pl, for instance, only shows
  the ANSI colors, not the 16x16 box or the grayscale ramp its supposed
  to.  Do I have to set some other variables somewhere (e.g., in
  .Xdefaults) to make sure xtemr understnads 256-colors?
 
 No - the main thing here is whether your X server has enough colors available.
 The 8-bit displays don't.  I've tested this mostly with 16-bit displays.
 xterm has defaults for the color resources (compiled in), so that's normally
 not a problem.  Otherwise, when color is enabled there's no additional
 resources controlling whether the 256-colors are available.
 

sorry for coming back so quick, I found some info on the net and
just restarted X with 
startx -- :1 -bpp 16

which I understand ought to give me a 16-bit display; but still no
luck with the color cube.  

sigh.  
best,
matt


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



Re: 256-color xterm

2004-01-30 Thread Matt Price
On Fri, Jan 30, 2004 at 11:55:36PM -, Thomas Dickey wrote:
 Matt Price [EMAIL PROTECTED] wrote:
  No - the main thing here is whether your X server has enough colors available.
  The 8-bit displays don't.  I've tested this mostly with 16-bit displays.
  xterm has defaults for the color resources (compiled in), so that's normally
  not a problem.  Otherwise, when color is enabled there's no additional
  resources controlling whether the 256-colors are available.
  
 
  sorry for coming back so quick, I found some info on the net and
  just restarted X with 
  startx -- :1 -bpp 16
 
 That looks right (for some reason I've forgotten, on one of my older boxes I
 decided to not edit the XF86Config-4 file - probably to see what the automatic
 configuration  updates would do).
 
 But perhaps your XFree86 config-file doesn't have a display defined for that
 value.  Mine's a bit hacked up (adapted settings from other systems my machine
 boots on since the automatic configuration didn't work well).
 

well, I'm at a bit of a loss -- I just went through dpkg-reconfigure
xserver-xfree86 and checked to make sure that 'depth' sections going
all the way p to 24 were written into XFConfig86-4 -- no luck!  and I
definitely do have 256 colors enabled on mmy xterm...  gaah!

anyway, not that important, I cna live with 16 colors!  Thanks for
your help,

matt


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



Re: 256-color xterm

2004-01-29 Thread Matt Price
On Wed, Jan 28, 2004 at 10:55:51PM -, Thomas Dickey wrote:
 Matt Price [EMAIL PROTECTED] wrote:
  can anyone tell me how to build  an xterm with 256 colors using the
  debian source package?  I'd just like a bit more flexibility -- and
  I'd like to have the off-the-shelf values for emacs highlighting work
  when I'm in a terminal.  
 
 The simplest way is to use the configure script which is part of the
 sources (see the INSTALL file for a summary of options).
 
 The XFree86 xterm supports ANSI color and VT220 emulation
 There's an faq at
   http://invisible-island.net/xterm/xterm.faq.html
   ftp://invisible-island.net/xterm/
 

thanks for this...  I'm a bit confuseed about the deb-src package for
xterm.  As you probably know, apt-get source xterm downloads files
named xfree86-4.2.1*.  The implication is that one needs to build the
whole of xfree86 in order to make a debian package; and following the
instructions from the debian reference manual, namely:  

dpkg-buildpackage -rfakeroot -us -uc

from within the directory
xfree86-4.2.1 

results in an attempt to build xfree86 (which fails, I suppose
because not all the sources are really present).  

I am, however, able to use the configure script in the
/xfree86-4.2.1/upstream/archives/xc/programs/xterm 
directory to turn on the --enable-256-colors switch.  

sooo... should I now just make, make install a custom xterm -- or is
there in fact a way to make a .deb of xterm without building the whole
xfree86 suite?  

Since I rely heavily on jdpkg/apt form anagingm y system, I'd really
rather build a .deb than just install porgrams willy-nilly.

Thanks,

matt


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



Source Package for xterm?

2004-01-29 Thread Matt Price
On Fri, Jan 30, 2004 at 01:02:07AM -, Thomas Dickey wrote:
 Matt Price [EMAIL PROTECTED] wrote:
  On Wed, Jan 28, 2004 at 10:55:51PM -, Thomas Dickey wrote:
  Matt Price [EMAIL PROTECTED] wrote:
   can anyone tell me how to build  an xterm with 256 colors using the
   debian source package?  I'd just like a bit more flexibility -- and
   I'd like to have the off-the-shelf values for emacs highlighting work
   when I'm in a terminal.  
  
  The simplest way is to use the configure script which is part of the
  sources (see the INSTALL file for a summary of options).
  
  The XFree86 xterm supports ANSI color and VT220 emulation
  There's an faq at
 http://invisible-island.net/xterm/xterm.faq.html
 ftp://invisible-island.net/xterm/
  
 
  thanks for this...  I'm a bit confuseed about the deb-src package for
  xterm.  As you probably know, apt-get source xterm downloads files
  named xfree86-4.2.1*.  The implication is that one needs to build the
  whole of xfree86 in order to make a debian package; and following the
  instructions from the debian reference manual, namely:  
 
 Not exactly (I don't make any of those packages, but frequently compile
 xterm on systems where they're installed).  Looking at the stuff I've
 installed, it appears that xlibs-dev and libxaw6-dev is what you need to
 be able to do this.  So making a package shouldn't require anything more
 (except of course the package-building-packages) than what I need to 
 compile xterm.  After all, they're not incorporated into xterm's package.

so, here's my confusion:  the files downloaded by apt-get source xterm
are:  
xfree86_4.2.1-15.dsc
xfree86_4.2.1-15.diff.gz  
xfree86_4.2.1.orig.tar.gz
when everything's untarred, I end up with a huge source tree for
xfree86, which in fact will not compile on my machine as it currently
is set up.  So it seems like I can't use the Debian Way.  But surely
this should be possible for something as fundamental as xterm, right?

I suppose I could just 'make install' but I am hesitant to do so.  

anywya, if anyone has successfully made xterm deb's Iäd love to hear
about it.

matt

 
  sooo... should I now just make, make install a custom xterm -- or is
  there in fact a way to make a .deb of xterm without building the whole
  xfree86 suite?  
 
 It depends on whether you want to learn how to make packages (or just
 get xterm built).
 


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



Re: 256-color xterm

2004-01-29 Thread Matt Price
On Fri, Jan 30, 2004 at 01:02:07AM -, Thomas Dickey wrote:
 Matt Price [EMAIL PROTECTED] wrote:
  On Wed, Jan 28, 2004 at 10:55:51PM -, Thomas Dickey wrote:
  
  The XFree86 xterm supports ANSI color and VT220 emulation
  There's an faq at
 http://invisible-island.net/xterm/xterm.faq.html
 ftp://invisible-island.net/xterm/
  
 
  Not exactly (I don't make any of those packages, but frequently compile
 xterm on systems where they're installed).  Looking at the stuff I've
 installed, it appears that xlibs-dev and libxaw6-dev is what you need to
 be able to do this.  So making a package shouldn't require anything more
 (except of course the package-building-packages) than what I need to 
 compile xterm.  After all, they're not incorporated into xterm's package.


ok, I went ahead and compiled/installed a 256-color xterm.  I was
hoping that the extra colors would magically appear for me in xemacs,
but emacs still thinks I have only 16 colors.  Also I tried running some of
the tests in vttests (um, I get the impression from the net that you
wrote these, Thomas!) but the oly one that seemed to generate more
than 16 colors was dynamic.sh.  256colors.pl, for instance, only shows
the ANSI colors, not the 16x16 box or the grayscale ramp its supposed
to.  Do I have to set some other variables somewhere (e.g., in
.Xdefaults) to make sure xtemr understnads 256-colors?

whew.  thanks for your help!
matt


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



Re: 256-color xterm

2004-01-29 Thread Matt Price
On Fri, Jan 30, 2004 at 02:20:57AM +, Colin Watson wrote:
 On Thu, Jan 29, 2004 at 12:11:11PM -0500, Matt Price wrote:
  thanks for this...  I'm a bit confuseed about the deb-src package for
  xterm.  As you probably know, apt-get source xterm downloads files
  named xfree86-4.2.1*.  The implication is that one needs to build the
  whole of xfree86 in order to make a debian package; and following the
  instructions from the debian reference manual, namely:  
  
  dpkg-buildpackage -rfakeroot -us -uc
  
  from within the directory
  xfree86-4.2.1 
  
  results in an attempt to build xfree86 (which fails, I suppose
  because not all the sources are really present).  
 
 Have you installed all its build-dependencies, listed in the .dsc file
 (or 'apt-get build-dep xfree86')?
 

err...  no.  I did, however, apt-get build-dep xterm, and I really
only want to build xterm.  Do I have to build all of xfree86??  I
really don't want to do that, since I love my xfree86 setup as it is,
and I live in mortal fear of screwing it up.  

m


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



256-color xterm

2004-01-28 Thread Matt Price
can anyone tell me how to build  an xterm with 256 colors using the
debian source package?  I'd just like a bit more flexibility -- and
I'd like to have the off-the-shelf values for emacs highlighting work
when I'm in a terminal.  

Thanks,

matt


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



Re: mozilla-firebird passwords

2004-01-28 Thread Matt Price
On Wed, Jan 28, 2004 at 12:30:31PM -0500, David P James wrote:
 On January 27, 2004 07:13, Matt Price wrote:
 If I understand you correctly, pressing View Passwords does absolutely 
 nothing at all? The password manager in Firebird was changed in the 0.7 
 release which might be the source of the problem. The new password 
 manager (Satchel) is supposed to be backwards-compatible with the old 
 files, but it might not be in all cases. Creating a new profile will 
 tell you if the issue is one of an old profile or a different problem 
 altogether. These kind of things happen with software in a state of 
 flux...

yes, I do think these password files are from pre-0.7; aybethis is the
issue
 
 At any rate, a pre-0.7 password file is the same (essentially) as a 
 Mozilla Navigator password file, so theoretically it ought to be 
 possible to copy it over to a mozilla profile and clean it up there.

 
sounds great -- but what's the name of the password file?  is it
cert8.db?   I don't see an obvious 'psswords' file.  



thanks!

matt

 I think I also remember seeing a post in the mozillazine forums from 
 someone who had managed to migrate a password file.


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



mozilla-firebird passwords

2004-01-27 Thread Matt Price
Hey there,

after a recent upgrade I can't view the paasswords stored by
mozilla-firebird.  In the options menu under privacy, I still see a
button marked 'view paswords' but clickingo n the button has no
effect.  I'd like to clean up my password files, so it's irritating
thatthis doesn't work...  Anyone know if there's another way to view
pasword info, of where I should check to see if there's e.g. some kidn
of permissions problem with the password file?  

Matt


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



using regex substitution on BASH variables

2004-01-26 Thread Matt Price
On Mon, Jan 26, 2004 at 01:05:08PM +0100, Philipp Weis wrote:
 On 26 Jan 2004, Matt Price [EMAIL PROTECTED] wrote:
  So I asusme the script is running, but it's not receiving the data it
  needs, or at least not understanding it.  
  
 
 Procmail sends the message via STDIN, so you would have to read it from
 there. As you have to read the message more than once for the different
 formail calls, it would probably be best to save the message in a
 temporary file and read it from there afterwards. So put a 
 
   msg=`tempfile`; cat  $msg
 
 on top of your script and replace all $@'s with $msg. Don't forget to
 delete $msg when your done.
 

Thanks for this, that fixed the initial probem.  
A follow up:  I'd like to strip the '@' sign from user addresses as a
minimal precaution against spam-oriented webcrawlers.  so I have a
variable 
FROM=`formail -x From: $msg`

which has the value:

echo $FROM
Matt Price [EMAIL PROTECTED]

Now, if this information were stored in a file, it would be simple to
manipulate with regex's:

sed 's/@/ -at- /' addressfile

But I don't see an obvious way to get sed or awwk to take variable values
as input.  I can do the following:

FROM=`formail -xFrom:  $msg` ; 
echo $FROM  tempfrom 
FROM=$(sed 's/@/ -at- /' tempfrom) 

but this strikes me as awkward.  Is there a better way?  

thx,
matt


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



Re: using regex substitution on BASH variables

2004-01-26 Thread Matt Price
On Mon, Jan 26, 2004 at 03:54:52PM -0500, David Z Maze wrote:
 Matt Price [EMAIL PROTECTED] writes:
 
  Now, if this information were stored in a file, it would be simple to
  manipulate with regex's:
 
  sed 's/@/ -at- /' addressfile
 
  But I don't see an obvious way to get sed or awwk to take variable values
  as input.  I can do the following:
 
  FROM=`formail -xFrom:  $msg` ; 
  echo $FROM  tempfrom 
  FROM=$(sed 's/@/ -at- /' tempfrom) 
 
  but this strikes me as awkward.  Is there a better way?  
 
 You can use sed and friends in a shell pipe.  So a typical invocation
 would look something like
 
 FROM=`formail -xFrom:  $msg | sed -e' s/@/ -at- /g'`
 
 (Run formail, taking its input from the file named in $msg; then send
 its output through sed, and take the result of that and assign it to
 $FROM.)

wow, that's great, thdanks!

matt

 


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



promail and address lists

2004-01-26 Thread Matt Price
Thanks to help, I now have my bash script (for copying mail to a web
page) working.  Ideally I would do something slightly more complex:
copy mails to a web page, then forward those same mails on to a list
of addresses.  So my originjal procmail recipe was:  

:0: 
*  ? $FORMAIL -xFrom: -xSender: -xReply-To: -xReturn-Path: |
grep -isF -f /home/movies/friends_and_family.txt
| /usr/local/scripts/moviepage


I thought to replace it with this:  

SENDON=`cat /home/movies/friends_and_family.txt`
:0: 
*  ? $FORMAIL -xFrom: -xSender: -xReply-To: -xReturn-Path: |
grep -isF -f /home/movies/friends_and_family.txt

{
 :0 c
 ! $SENDON

 :0
 | /usr/local/scripts/moviepage
}

but this does not work.  
/home/movies/friends_and_family.txt is a list of addressses like this:

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

etc.  I think I need to have one address per line, in order to make
the grep command in the second line of the filter work.  

Anyway, obviously I am either doing a bad job of setting the variable
SENDON, or SENDON is in a format that procmail or exim will not
accept.  Any ideas on how this should really be done?

Thanks once again...

matt


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



OT: procmail recipe/bash scripting issue

2004-01-25 Thread Matt Price
hey everyone,

trying to get procmail to pipe messages to a script I wrote that
processes mail to a web page.  Here's the recipe: 
---
:0:  
*  ? $FORMAIL -x From: | grep -isF -f /home/movies/friends_and_family.txt 
| /usr/local/scripts/moviepage 
 -
If I run the script from the command line iwth a message as input
file, I get this:

$ moviepage movietest/cur/1075094038.31194_26.anarres\:2\,S 

h2 Millenium Actress/h2
h3/h3
p
Brilliant piece of Japanese animation, highly recommended to all.
Very interesting use of comic-book tropes to do stuff that would be
very hard to do with live action.  And none of the stupid bloodgore
that characterizes most anime.  /p

however, when I use the procmail recipe, I get this (same message): 
h2/h2
h3/h3
p/p


So I asusme the script is running, but it's not receiving the data it
needs, or at least not understanding it.  

Here's the script, which as ou see is very primitive:  
--
 cat /usr/local/scripts/moviepage 
#!/bin/bash

TITLE=`formail -xSubject:  $@` ;
HEADER=h2$TITLE/h2;
FROM=`formail -xFrom:  $@` ;
BYLINE=h3$FROM/h3;
BODY=`formail -I   $@`;
TEXT=p$BODY/p;
echo $HEADER  /www/derailleur.org/movies.html;
echo $BYLINE  /www/derailleur.org/movies.html;
echo $TEXT  /www/derailleur.org/movies.html;
---

s... am I using the $@ wrong somehow?  should I substitute
somethng else?  

Thanks for your help!

matt


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



diagnosing system crash (hardware failure?)

2004-01-16 Thread Matt Price
Hi everyone,

my work machine has been crashing spontaneously: X freezes, sshd goes
down, and I can't use the keyboard.  This only happens
when Im in the office, so I think it likely has something to do with
my physical presence...  

In particular, we have a USB-kvm switch that I use to switch between
the workstation and a webstation.  I use it rarely, except when
something seems to be wrong with my desktop...  which has been
happening a lot lately...  

Anyway, I can't figure out the significance of the pre-crash system
messages.  Here's a representtive sample:

Jan 16 17:08:01 pc09 postgres[1590]: [8] LOG:  database system is
ready 
Jan 16 17:08:03 pc09 xfs: CONFIG: extra value for parameter
cache-balance  
Jan 16 17:08:04 pc09 xfs: ignoring font path element
/usr/lib/X11/fonts/cyrillic/ (unreadable)  
Jan 16 17:08:04 pc09 xfs: ignoring font path element
/usr/lib/X11/fonts/CID (unreadable)  
Jan 16 17:08:13 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8310 PROTO=2  
Jan 16 17:08:20 pc09 kernel: 0: nvidia: loading NVIDIA Linux x86
nvidia.o Kernel Module  1.0-4496  Wed Jul 16 19:03:09 PDT 2003 
Jan 16 17:10:18 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8319 PROTO=2  
Jan 16 17:12:23 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8329 PROTO=2  
Jan 16 17:14:28 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8337 PROTO=2  
Jan 16 17:16:33 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8348 PROTO=2  
Jan 16 17:18:38 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8373 PROTO=2  
Jan 16 17:20:43 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8381 PROTO=2  
Jan 16 17:27:40 pc09 syslogd 1.4.1#13: restart. 
Jan 16 17:27:40 pc09 kernel: klogd 1.4.1#13, log

...

and another:

Jan 16 17:28:20 pc09 usb.agent[1832]: kernel driver usbkbd already
loaded 
Jan 16 17:28:20 pc09 usb.agent[1832]: kernel driver hid already loaded

Jan 16 17:28:20 pc09 usb.agent[1832]: kernel driver usbmouse already
loaded 
Jan 16 17:28:20 pc09 usb.agent[1832]: kernel driver keybdev already
loaded 
Jan 16 17:28:20 pc09 usb.agent[1832]: kernel driver mousedev already
loaded 
Jan 16 17:28:20 pc09 usb.agent[1834]: kernel driver usbkbd already
loaded 
Jan 16 17:28:20 pc09 usb.agent[1834]: kernel driver hid already loaded

Jan 16 17:28:20 pc09 usb.agent[1834]: kernel driver usbmouse already
loaded 
Jan 16 17:28:20 pc09 usb.agent[1834]: kernel driver keybdev already
loaded 
Jan 16 17:28:20 pc09 usb.agent[1834]: kernel driver mousedev already
loaded 
Jan 16 17:29:02 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8475 PROTO=2  
Jan 16 17:31:07 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8497 PROTO=2  
Jan 16 17:33:12 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8515 PROTO=2  
Jan 16 17:35:17 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8530 PROTO=2  
Jan 16 16:37:38 pc09 kernel: IN=eth0 OUT=
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3
DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=8553 PROTO=2  
Jan 16 17:45:03 pc09 syslogd 1.4.1#13: restart. 

Now I don't really know what this stuff is telling me, but they don't
look so bad.  So I'm wondering whether the error, whatever it is,
isn't being recorded.
 
Are there general guidelines as  to where to go next with this kind of
problem?  It's fairly annoying...

thanks,
matt


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



enscript margins

2004-01-14 Thread Matt Price
hey folks,

just recently discovered enscript, which I'm loving as a
pretty-printing tool (though if folks have suggestions for other
tools, I'm happy to hear them).  

One little error that puzzles me -- enscript seems to think my 8.5x11
(US Letter) pages are longer than they really are.  When formatting
text it prints just past the bottom edge of the page.  I'm able to
correct this with the --margins= switch, but I wonder if this points
to some strange lack of communication bettween enscript and CUPS or
something.  

Any idea how to fix t his, or where the problem might lie?

matt


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



setting print command in xemacs

2004-01-14 Thread Matt Price
Hi everyone,

using the xemacs print command, my fext files end up starting exactly
at the edge of the page and being difficult to readj.  I'm trying to
figure out a wayto get xemacs to use enxcript or some other formatting
tool to do the actual printing -- but it's not obvious how to go about
doing that.  Any emacs curus out there know how to lend me a hand?

Thanks,
matt


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



Re: charter font in debian's openoffice.org1.1

2004-01-13 Thread Matt Price
On Wed, Dec 31, 2003 at 03:00:53PM -0500, Wayne Topa wrote:
 Matt Price([EMAIL PROTECTED]) is reported to have said:
  
  Hi,
  
  recentfly upgraded to OOo1.1 using the relativley new sid 
  debs.  New version is lovely -- well-done! -- but I've lost some fonts
  and don't understand how to get them back.  The README.Debian states
  the following: 
  
  Missing fonts on upgrade to 1.1.0
  As part of the integration of Ximian's work, openoffice now uses
  fontconfig to
  determine the installed fonts on your system.  Fonts that were
  installed using
  the 'spadmin' tool in a non-standard directory are no longer
  supported.  You
  should move those fonts to a directory that fontconfig knows about,
  such as
  ~/.fonts or /usr/share/fonts.   The same applies if you made use of
  special
  paths with SAL_FONTPATH_PRIVATE.
  
  
  ok...  but where do I find the fonts that spadmin installed?  the main
  one I'm worried about is charter, which I use 'cause it's pretty,
  fairly straightforward, and has a useful italics mode (thhe bittstream
  vera serif, which is the default, doesn't).  The only filles named
  charter i cna find are in 
  /usr/share/texmf/fonts/afm/bitstrea/charter
  
 I just updated a few days ago.  Locate finds the openoffice fonts
 here:  /usr/lib/openoffice/share/psprint/fontmetric
 That dir is dated 12/29, when I updated but the file
 /usr/lib/openoffice/share/psprint/pspfontcache
 is dated 12/31, when I first got a chance to do some work with the
 editor. I didn't run spadmin so OO must have gone out and updated the
 fonts.  You might also checl /etc/openoffice/psprint.conf.

hey wayne, I know you wrote this a while ago, but did you notice if
you have the charter fonts in that directory?  If so, do you think you
could just send them over to me?  then I could try and put them in my
.fonts directory and see if they show up.  I have a
/usr/lib/openoffice/share/psprrint/etc directory, but charter isn't
listed there.   I really would rather have the font back if I can
possibly figure out howto get it!

matt


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



nvidia-kernel-common/source + kernel 2.6 configuration question

2004-01-09 Thread Matt Price
hi folks,

after trouble with nvidia and my old kernel I am hoping to update to
2.6.0, but am a bit stuck.  when I installed one ofthe nvidia packages
-- I think nvidia-kernel-common -- I was asked a debconf qusiton about
installing the 2.4 or the 2.6 version of the package; I chose 2.4 (the
actual question was something more specific which I can't remember).
Now I'm hoping to upgrade to 2.6, but can't figure out how to get the
debconf question pack.  I've tried dpkg-reconfigure -plow
nvidia-kernel-surce and nvidia-kernel-common, but neither one gives me
any questions.

any suggestions?

matt


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



dpkg-divert error

2004-01-09 Thread Matt Price
On Fri, Jan 09, 2004 at 02:14:12AM -0500, Matt Price wrote:
 after trouble with nvidia and my old kernel I am hoping to update to
 2.6.0, but am a bit stuck.  when I installed one ofthe nvidia packages
 installing the 2.4 or the 2.6 version of the package; I chose 2.4 (the
 actual question was something more specific which I can't remember).
 Now I'm hoping to upgrade to 2.6, but can't figure out how to get the
 debconf question pack.  I've tried dpkg-reconfigure -plow
 nvidia-kernel-surce and nvidia-kernel-common, but neither one gives me
 any questions.

the debcof question was in nvidia-glx -- so, solved the initial
problem.  but now this: nvidia-glx won't install.  i initially made my
/usr partition too small, so I moved  /usr/share to a separate
partition.  now I get this error:

Preparing to replace nvidia-glx 1.0.4496-2.1 (using 
.../nvidia-glx_1.0.4496-10_i386.deb) ...
dpkg-divert: rename: rename `/usr/share/nvidia-glx/diversions/libGL.so.1' to 
`/usr/lib/libGL.so.1': Invalid cross-device link
dpkg: error processing /var/cache/apt/archives/nvidia-glx_1.0.4496-10_i386.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 2

 anything I caan do to overcome this issue, short of reorganizing partitions?

matt


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



set up simple mailing list?

2004-01-08 Thread Matt Price
hey there,

I'd like to set up  simple mail account on my box to act as a mailing
list for one ofm y classes.  So if someone writes to
[EMAIL PROTECTED],
the mail is automatically frwared to a bunch of people.  

This should be simple, right?  I tried writing an od-fashioned
.forward with a bunch of mail addresses in it:

[EMAIL PROTECTED]
[EMAIL PROTECTED]

but the mail doesn't seem to land anywhere.  Is there a relatively
simple way to do this?  I believe I'm using exim, though I haven't
really messe with the mail delivery system for a year.  

Well, I should say that I receive most of my mail via getmail and that
it gets filtered through procmail.  I thought that at one time I had
to write a .forward file |/usr/bin/promcail but I find that my main
account doesn't HAVE a .forward.  

huh.  

seems odd.  

if nayone can help, I'll send alongwhatever I need to.

matt


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



urgent nvidia problem

2004-01-07 Thread Matt Price
hey folks,

came into work today and the computer was crashed dead; don't
know what the problem was (I'll attach the last few lines of
/var/log/messages from yesterday; they don't tell me much, though).  

Rebooted and x wouldn't start because of a problem with nvidiactl (I
have to use the nonfree drivers to make X work at all...).  

I've tried variouS things -- modprobe nvidia, insmod NVdriver,
changing to an oder kernel, none of it matters.

Gdm gives slightly different errors from those recorded in
XFree86.log.  Here's the last bit of gdm's log: 

Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
NV: could not open control device /dev/nvidiactl (No such device)
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
--
  Here's an edited version of the XFree86 log.  I've cut out most of
  the informational stuff and also a large number of repeats of:

Not loading .note.GNU-stack

which is new -- that is, doesn't appear in pre-crash logs.  


---
 snip
Not loading .note.GNU-stack
Not loading .note.GNU-stack
(II) Module pcidata: vendor=The XFree86 Project
compiled for 4.2.1.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
--snip

(--) PCI:*(1:0:0) NVidia GeForce4 MX 440 rev 163, Mem @ 0xe400/24, 0xd000/27, 
0xd800/19
snip

(II) LoadModule: GLcore
(WW) Warning, couldn't open module GLcore
(II) UnloadModule: GLcore
(EE) Failed to load module GLcore (module does not exist, 0)
(II) LoadModule: bitmap
(II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Loading font Bitmap
(II) LoadModule: dbe
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
---snip
Not loading .note.GNU-stack
(II) Module dri: vendor=The XFree86 Project
compiled for 4.2.1.1, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module drm
(II) LoadModule: drm
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
---snip
Not loading .note.GNU-stack
Skipping /usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o:  No symbols found
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
(II) Module vgahw: vendor=The XFree86 Project
compiled for 4.2.1.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xD000
(--) NVIDIA(0): MMIO registers at 0xE400
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: nvidia
(II) UnloadModule: vgahw
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file /var/log/XFree86.0.log.
Please report problems to [EMAIL PROTECTED]

-

if anyone can help.  I really need it! thanks,
matt


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



crash messages

2004-01-07 Thread Matt Price
hi everyone,

failed to attach this part of my /var/log/messages, as promised.  So
I'll just insert it in this message.  I assume the eth-00 messages are
harmless?  In which case all I can see are messages of this kind:

Jan  6 17:12:34 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272

any hintas?
PRE-CRASH MESSAGES:
-
Jan  6 17:00:03 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43835 PROTO=2 
Jan  6 17:02:08 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43844 PROTO=2 
Jan  6 17:02:42 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272
Jan  6 17:03:23 pc09 last message repeated 2 times
Jan  6 17:04:00 pc09 last message repeated 13 times
Jan  6 17:04:13 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43853 PROTO=2 
Jan  6 17:06:18 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43872 PROTO=2 
Jan  6 17:08:23 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43885 PROTO=2 
Jan  6 17:08:32 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272
Jan  6 17:08:35 pc09 last message repeated 5 times
Jan  6 17:10:28 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43894 PROTO=2 
Jan  6 17:10:50 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272
Jan  6 17:10:50 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272
Jan  6 17:12:31 pc09 last message repeated 25 times
Jan  6 17:12:33 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43903 PROTO=2 
Jan  6 17:12:34 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272
Jan  6 17:12:35 pc09 last message repeated 2 times
Jan  6 17:12:57 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 273
Jan  6 17:12:57 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 273
Jan  6 17:12:58 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272
Jan  6 17:13:31 pc09 last message repeated 9 times
Jan  6 17:14:29 pc09 last message repeated 16 times
Jan  6 17:14:38 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43919 PROTO=2 
Jan  6 17:14:39 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272
Jan  6 17:15:26 pc09 last message repeated 8 times
Jan  6 17:16:32 pc09 last message repeated 4 times
Jan  6 17:16:32 pc09 last message repeated 3 times
Jan  6 17:16:43 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43936 PROTO=2 
Jan  6 17:17:04 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272
Jan  6 17:17:29 pc09 last message repeated 11 times
Jan  6 17:18:47 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43948 PROTO=2 
Jan  6 17:20:52 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43958 PROTO=2 
Jan  6 17:21:21 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272
Jan  6 17:21:22 pc09 kernel: keyboard.c: can't emulate rawmode for keycode 272
Jan  6 17:22:57 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43968 PROTO=2 
Jan  6 17:25:02 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=43981 PROTO=2 
Jan  6 17:27:07 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=44001 PROTO=2 
Jan  6 17:29:12 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=44011 PROTO=2 
Jan  6 17:31:17 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=44019 PROTO=2 
Jan  6 17:33:22 pc09 kernel: IN=eth0 OUT= 
MAC=01:00:5e:00:00:01:00:50:99:bf:df:18:08:00 SRC=128.100.34.3 DST=224.0.0.1 LEN=28 
TOS=0x00 PREC=0x00 TTL=1 ID=44028 PROTO=2 


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



killthread script

2004-01-07 Thread Matt Price
On Wed, Jan 07, 2004 at 02:49:18AM -0600, Jesse Meyer wrote:
 On Wed, 07 Jan 2004, Justin Ellison wrote:
 
  I'm a linux user of 3 years who manages 10-15 RedHat servers at work,
  and I've run Gentoo on my laptop since 1.2.
 
  The mailing list is great, but the noise floor is too much for me.  
 
 First of all, a good email client, aliases, and a killthread script is
 your friend.  Impliment one using your email-client-of-choice and your
 scripting-language-of-choice.  Procmail + Mutt + common shell tools can
 do it.  debian-user is a flood of information.

I have pretty good spamfilters up now, but I still find there's a bit
too much info for me.  How does one implement a killthread script?
any pointers? 

matt


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



Re: urgent nvidia problem

2004-01-07 Thread Matt Price
On Wed, Jan 07, 2004 at 09:15:01AM -0700, Jamin W. Collins wrote:
 On Wed, Jan 07, 2004 at 11:44:18AM -0500, Matt Price wrote:
  
  Rebooted and x wouldn't start because of a problem with nvidiactl (I
  have to use the nonfree drivers to make X work at all...).  
  
  I've tried variouS things -- modprobe nvidia, insmod NVdriver,
  changing to an oder kernel, none of it matters.
  
  (==) NVIDIA(0): RGB weight 888
  (==) NVIDIA(0): Default visual is TrueColor
  (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
  (--) NVIDIA(0): Linear framebuffer at 0xD000
  (--) NVIDIA(0): MMIO registers at 0xE400
  (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
 
 Is the nvidia module loaded (should see it in the output of lsmod).
 Are you using the NVidia installation routines or the Debian binary and
 wrapper packages?  If using the Debian packages, what are the versions
 of your nvidia-glx, nvidia-kernel-common, and nvidia-kernel packages
 (for the nvidia-kernel package the actual name should be something like
 nvidia-kernel-$kernelversion where $kernelversion is the output of
 uname -r).

so, no, nvidia is not loaded.  I tried modprobe nvidia, and got:
modprobe: can't locate module nvidia

I'm using the debian nvidia packages, which I compiled myself to fit
a self-rolled kernel.  
nvidia-glx is 1.0.3123-4,
nvidia-kernel-long-kernel-name is 1.0.3123-3 (odd that the package
version is different)

I guess these are somewhat old.  
I just dpkg -i --reinstall 'ed them without a hitch, but nonetheless
nvidia.o does not appear in
/lib/modules/kernel-version/kernel/drivers/video.  Should it?  This
is all very strange since nvidia worked fine until yesterday
afternoon...

matt


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



Re: urgent nvidia problem

2004-01-07 Thread Matt Price
On Wed, Jan 07, 2004 at 11:46:49AM -0700, Jamin W. Collins wrote:
 On Wed, Jan 07, 2004 at 12:42:06PM -0500, Matt Price wrote:
  
  so, no, nvidia is not loaded.  I tried modprobe nvidia, and got:
  modprobe: can't locate module nvidia
  
  I'm using the debian nvidia packages, which I compiled myself to fit
  a self-rolled kernel.  
  nvidia-glx is 1.0.3123-4,
  nvidia-kernel-long-kernel-name is 1.0.3123-3 (odd that the package
  version is different)
  
  I guess these are somewhat old.  
 
 Yea, current version in Debian is 1.0.4496 the procedure for compiling
 them has changed a bit, the nvidia-glx package no longer needs to be
 compiled and there is an nvidia-kernel-common package.  You might try
 upgrading to the newer version.

err.. this may be slightly ocmplicated as I think I recently
accidentally deleted the source directory for this kernel version.
(might be the time to upgrade to 2.6!)
 
  I just dpkg -i --reinstall 'ed them without a hitch, but nonetheless
  nvidia.o does not appear in
  /lib/modules/kernel-version/kernel/drivers/video.  Should it?  
 
 Yes.  To find out where it's putting the nvidia.o file try a dpkg -L
 of the nvidia-kernel package name.  It should list the entire contents
 of the package including the path to the nvidia.o or in that older
 version it might have a different module name (seem to recall the name
 did change).
 

dpkg -L doesn't list nvidia.o.  Instead it has the following lines:
/lib
/lib/modules
/lib/modules/2.4.18-586-demudi
/lib/modules/2.4.18-586-demudi/kernel
/lib/modules/2.4.18-586-demudi/kernel/drivers
/lib/modules/2.4.18-586-demudi/kernel/drivers/video
/lib/modules/2.4.18-586-demudi/kernel/drivers/video/NVdriver

I tried modprobe NVdriver, and the driver loads, but X still fails
with the error: 

NV: Could Not Get Card Argument (Invalid Argument)

I wonder whether the problem lies BEHIND the NVIDIA driver somehow --
somehow I imagine that X should still work under other kernels if the
problem were specific to the module -- and I've tried loading other
(previously funcitonal) kernels, with no success.  

I supposei t's possible there was a spontaneous hardware problem as
well -any idea how I could diagnose that?

matt


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



Re: changing interface font size in openoffice

2004-01-07 Thread Matt Price
see the README file in /usr/share/do/openoffice.  but short and easy
answer:

tools -options - view - scale -- set it to somewhere between 110 and
135% and you should get what you're looging for.  

matt

On Wed, Jan 07, 2004 at 08:28:45PM +0200, Micha Feigin wrote:
 Is it possible to change the interface font size with open office?
 Its way to small for me to read.
 
 Thanx
 
 


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



Re: killthread script

2004-01-07 Thread Matt Price
On Wed, Jan 07, 2004 at 02:03:04PM -0700, s. keeling wrote:
 Incoming from Matt Price:
  On Wed, Jan 07, 2004 at 02:49:18AM -0600, Jesse Meyer wrote:
   
   First of all, a good email client, aliases, and a killthread script is
  
  I have pretty good spamfilters up now, but I still find there's a bit
  too much info for me.  How does one implement a killthread script?
 
 In mutt, type ?  That shows ^D is mapped to delete thread (at least
 here it is).
 
 
ahh... I sort of thought that what was meant by killthread was a way
to pre-emptively kill messages from a particular thread before they
appear (ideally), this would either be done after procmail delivers
the mail, or through some kind of dynamic addition to .procmailrc).  

Deleting threads is a good start, but with some of the super-active
threads on this list or (say) [EMAIL PROTECTED], deleting a thread
just lets it show up again later on.

does anyone have some kind of script they've developed for htis
purpose?

m


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



Re: Evolution and Firebird

2004-01-05 Thread Matt Price
On Mon, Jan 05, 2004 at 01:16:08PM -0500, Rohit Kumar Mehta wrote:
 Josh Robinson wrote:
 
 Hi all,
 
 i'm not sure if this is the best place to ask about such things, but
 could anyone tell me, or direct me to a place where i can find out
 
 - how to tell firebird to use evolution to handle mailto: links

you need the mozex extension -- mozex.mozdev.org has it and is
well-documented.  

matt


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



OT: bash scripting question -- passing values to ls

2004-01-04 Thread Matt Price
hey folks,

here's something that ocmes up a lot for me:  

I use locate to find a bunch of files:

% locate charter | grep -i font
/usr/share/texmf/fonts/afm/bitstrea/charter
/usr/share/texmf/fonts/tfm/bitstrea/charter
/usr/share/texmf/fonts/type1/bitstrea/charter
/usr/share/texmf/fonts/vf/bitstrea/charter

then I want to ls -l each of these files...

so I have to do it by hand at the moment.  But shouldn't I be able to
automate it with somthing like:

ls  locate charter | grep -i font 
?
nothing I try works -- but I can't believe  it's impossible!  any
hints?

thx,
matt


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



Re: OT: passing values to ls -- more questions!

2004-01-04 Thread Matt Price
On Sun, Jan 04, 2004 at 07:46:28AM -0500, Paul Morgan wrote:
 ls -ld $(locate charter | grep -i font)

this is great, thanks!  I do like this syntax a bit better, I think.  

While we're on the subject of ls, here's another problem...  

I often want to find out which version of a program I'm using, e.g.,

which xemacs

which returns

/usr/bin/xemacs

of course, ls -l reveals:  

lrwxrwxrwx1 root root   23 2003-09-06 02:18
/usr/bin/xemacs - /etc/alternatives/xemacs

I can collapse these  two steps now with: 

[EMAIL PROTECTED]:~$ ll $(which emacs)

... but is there a way to trace the whole chain of symbolic links all the way
to 
-rwxr-xr-x1 root root  4254776 2002-04-09 18:46
/usr/bin/xemacs-21.4.6-gnome-nomule

following the links manually takes about 5 steps!  Is there a command
that will trace links recursively until it ends up at a real file?
I've tried various switches on ls (ls -H, ls -L) but they don't seem
to do what I want them to...

anyway, thanks a bunch!
matt


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



Re: OT: passing values to ls -- more questions!

2004-01-04 Thread Matt Price
On Sun, Jan 04, 2004 at 04:56:18PM +, Colin Watson wrote:
 On Sun, Jan 04, 2004 at 11:41:48AM -0500, Matt Price wrote:
  I can collapse these  two steps now with: 
  
  [EMAIL PROTECTED]:~$ ll $(which emacs)
  
  ... but is there a way to trace the whole chain of symbolic links all the way
  to 
  -rwxr-xr-x1 root root  4254776 2002-04-09 18:46
  /usr/bin/xemacs-21.4.6-gnome-nomule
  
  following the links manually takes about 5 steps!  Is there a command
  that will trace links recursively until it ends up at a real file?
 
   readlink -f
 
wicked, thanks! 
matt


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



OpenOffice crashes! was: charter font in debian's openoffice.org1.1

2004-01-02 Thread Matt Price
On Wed, Dec 31, 2003 at 03:00:53PM -0500, Wayne Topa wrote:
 Matt Price([EMAIL PROTECTED]) is reported to have said:
  
  Hi,
  
  ok...  but where do I find the fonts that spadmin installed?  the main
  one I'm worried about is charter, which I use 'cause it's pretty,
  fairly straightforward, and has a useful italics mode (thhe bittstream
  vera serif, which is the default, doesn't).  The only filles named
  charter i cna find are in 
  /usr/share/texmf/fonts/afm/bitstrea/charter
  
 I just updated a few days ago.  Locate finds the openoffice fonts
 here:  /usr/lib/openoffice/share/psprint/fontmetric
 That dir is dated 12/29, when I updated but the file
 /usr/lib/openoffice/share/psprint/pspfontcache
 is dated 12/31, when I first got a chance to do some work with the
 editor. I didn't run spadmin so OO must have gone out and updated the
 fonts.  You might also checl /etc/openoffice/psprint.conf.
 
  how do I move them to .fonts, as the readme suggests, or fix the
  probem otherwise?  
 
 Got me (?).  I haven't lost any fonts but I have been running the
 unstable version for months. 

thx for the help... unfortunately my amateurish attempts to fix the
problem have led to a fatal problem, and now I can no longer start the
defaulty OOo installation anymore.  I copied some font files from
/usr/share/texmf/ to /usr/share/fonts, then deleted them, not
realizing that OOo was still starting up; and now OO crashes on
opening after stalling for some time with the status bar at about
50%.  

strace gives the following output pre-crash:

a bunch of sequences like this, which I assume aer non-pathological
attempts to read fonts:

open(/usr/share/fonts/truetype/fantasy/cartoon/charo___.ttf,
O_RDONLY) = 12
fstat64(12, {st_mode=S_IFREG|0644, st_size=51840, ...}) = 0
old_mmap(NULL, 51840, PROT_READ, MAP_SHARED, 12, 0) = 0x416d7000
close(12)   = 0

open(/usr/share/fonts/truetype/fantasy/cartoon/cosmdd__.ttf, O_RDONLY) = 12
fstat64(12, {st_mode=S_IFREG|0644, st_size=22004, ...}) = 0
old_mmap(NULL, 22004, PROT_READ, MAP_SHARED, 12, 0) = 0x40473000
close(12)   = 0
munmap(0x40473000, 22004)   = 0
open(/usr/share/fonts/truetype/fantasy/cartoon/flintstone.ttf, O_RDONLY) = 12
fstat64(12, {st_mode=S_IFREG|0644, st_size=17696, ...}) = 0
old_mmap(NULL, 17696, PROT_READ, MAP_SHARED, 12, 0) = 0x40473000
close(12)   = 0
---

then this:

--- SIGSEGV (Segmentation fault) @ 0 (0) ---
gettimeofday({1073065904, 276624}, NULL) = 0
getpid()= 420
open(/tmp/crxmlF2Uo4i, O_RDWR|O_CREAT|O_EXCL, 0600) = 12
gettimeofday({1073065904, 295864}, NULL) = 0
getpid()= 420
open(/tmp/crstkHZBRgF, O_RDWR|O_CREAT|O_EXCL, 0600) = 13
fcntl64(12, F_GETFL)= 0x2 (flags O_RDWR)
fstat64(12, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x4002c000
_llseek(12, 0, [0], SEEK_CUR)   = 0
fcntl64(13, F_GETFL)= 0x2 (flags O_RDWR)
fstat64(13, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40478000
_llseek(13, 0, [0], SEEK_CUR)   = 0
write(12, errormail:Stack type=\Linux\\n..., 4096) = 4096
write(13, 0x4138b77d: /usr/lib/openoffice/..., 3159) = 3159
close(13)   = 0
munmap(0x40478000, 4096)= 0
write(12, am/\/\nerrormail:StackInfo pos=..., 885) = 885
close(12)   = 0
munmap(0x4002c000, 4096)= 0
rt_sigaction(SIGINT, {SIG_IGN}, {0x40130770, ~[KILL STOP], SA_RESTORER|SA_RESTART, 
0x4027b498}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {0x40130770, ~[KILL STOP], SA_RESTORER|SA_RESTART, 
0x4027b498}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], ~[KILL STOP], 8) = 0
fork()  = 533
waitpid(533, 

then the crashreport kicks in, after which there's a bunch of other
stuff.  

does this look at all intelligible to anyone?  i'm afraid I don't know
how to read output from strace...

thanks for your help!!

matt

ps -- other versionso f OOo -- in particular a build of 680 which I
got direct from the website -- still run fine.  I assume something is
screwed up with the debian installation, but I apt-get remove --purged
the ooo files and I still have the same problem.  

thanks much,

matt


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



charter font in debian's openoffice.org1.1

2003-12-31 Thread Matt Price

Hi,

recentfly upgraded to OOo1.1 using the relativley new sid 
debs.  New version is lovely -- well-done! -- but I've lost some fonts
and don't understand how to get them back.  The README.Debian states
the following: 

Missing fonts on upgrade to 1.1.0
-
As part of the integration of Ximian's work, openoffice now uses
fontconfig to
determine the installed fonts on your system.  Fonts that were
installed using
the 'spadmin' tool in a non-standard directory are no longer
supported.  You
should move those fonts to a directory that fontconfig knows about,
such as
~/.fonts or /usr/share/fonts.   The same applies if you made use of
special
paths with SAL_FONTPATH_PRIVATE.


ok...  but where do I find the fonts that spadmin installed?  the main
one I'm worried about is charter, which I use 'cause it's pretty,
fairly straightforward, and has a useful italics mode (thhe bittstream
vera serif, which is the default, doesn't).  The only filles named
charter i cna find are in 
/usr/share/texmf/fonts/afm/bitstrea/charter

how do I move them to .fonts, as the readme suggests, or fix the
probem otherwise?  

thanks,

matt


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



Re: nvidia-kernel 2.6.0

2003-12-29 Thread Matt Price
On Mon, Dec 22, 2003 at 03:38:19PM -0500, Jerome R. Acks wrote:
 On Fri, Dec 19, 2003 at 07:44:49PM -0500, Matt Price wrote:
  Hey Folks,
  
  now that there are patches for the nvidia non-free drivers
  (http://home.comcast.net/~andrex/nvidia-2.6-Debian/)
 
 I used this method, but had to 
 export KERNDIR=/usr/src/linux-2.6.0 to successfully compile the nvidia kernel.

thatw orked, trhanks.  

 
 By the way, after installing 2.6.0 kernel and nvidia-kernel and
 rebooting, I found that loading the nvidia kernel resulted in thousands
 of messages in /var/log/kern.log and /var/log/messages such as:


did you ever figure this out?  

thx for the solution,,

matt


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



Re: apple MSWord files

2003-12-22 Thread Matt Price
On Sat, Dec 20, 2003 at 08:39:17AM -0500, Dan Griswold wrote:
 Matt Price [EMAIL PROTECTED] writes:
 
  A student has sent me a paper as an email attachment.  It's an
  MSWord document -- which should be fine, since OOo and AbiWord and
  KWord all open MS docs -- but it comes from a Mac, I'm assuming a
  pre-osX mac.  Mutt tells me it's of type: application/x-macbinary
  anyway, I can open the file in OpenOffice, but it's a total mess --
  control characters everywhere, illegible garbage top and bottom, no
  footnotes.
 
  Is there, then, a general strategy for dealing with these icky MacOS
  files?
 
 I've had this problem, too. I decided that the Linux-based converters
 had not been programmed to handle these early Mac formats. My only
 solution was to have someone save the file either in a current MSWord
 format or in something open or quasi-open, such as HTML or RTF.
 
 Dan
 
... I think I'm gonna go with this strategy myself...

matt


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



make-kpkg modules_iimage error

2003-12-22 Thread Matt Price
I'm having a problem (described in the original post, but I'll repeat
it below) compiling the nvidia modules for kernel 2.6.0 using
make-kpkg.  I'm beginning to think the problem lies  with make-kpkg.
so here we go:

-running sid on an amd athlon with a self-rolled 2.4.21 kernel.   
-official source code downloaded and untarred in /usr/src/linux-2.6.0
-a couple of patches  things from
(http://home.comcast.net/~andrex/nvidia-2.6-Debian/) downloaded and
installed.  

Then I run: make-kpkg clean  make-kpkg --append-to-version=-nondebian1 kernel-image 
(as usual)

No show-stopping errors there.  
Follwed by:
make-kpkg --append-to-version=-nondebian1 modules-image
or
IGNORE_CC_MISMATCH=1 make-kpkg --append-to-version=-nondebian1 modules-image

which gives the following response:
  
 You appear to be compiling the NVIDIA kernel module with   
 a compiler different from the one that was used to compile 
 the running kernel. We are going to use the compiler that  
 were used to build the kernel with the specified headers.  
 (if specified in KSRC/include/linux/compile.h)
 Using compiler gcc 
 touch /usr/src/modules/nvidia-kernel/nv/gcc-check
 IGNORE_CC_MISMATCH=1 CC=gcc /usr/bin/make -C
 /usr/src/modules/nvidia-kernel/nv
 SYSINCLUDE=/usr/src/linux-2.6.0/include module
 cat: /lib/modules/2.4.18-586-demudi/build/Makefile: No such file or
 directory
 cat: /lib/modules/2.4.18-586-demudi/build/Makefile: No such file or
 directory
 cat: /lib/modules/2.4.18-586-demudi/build/Makefile: No such file or
 directory
 make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
 make: *** /lib/modules/2.4.18-586-demudi/build: No such file or
 directory.  Stop.
 make: Entering an unknown directorymake: Leaving an unknown
 directorynvidia.ko failed to build!
 make[2]: *** [module] Error 1
 make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
 make[1]: *** [build-stamp] Error 2
 make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
 Module /usr/src/modules/nvidia-kernel failed.

Two wierd things here:  

-first, make-kpkg doesn't seem to understand that I've set
IGNORE_CCMISMATCH myself.  Am I not passing the variable along
properly?  
-second, why does make-kpkg want to access module files from the
running kernel?  THis does not, for instance, happen when I try the
non-debian method for compiling these sources mentioned in 
http://www.minion.de/nvidia.html
(but since I don't understand how the prcess outlined there works, I'd
rather stick to the tried-and-true debian way. 

can anyone shed light on why make-kpkg does this?

thanks,
matt


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



Re: apple MSWord files

2003-12-22 Thread Matt Price
On Mon, Dec 22, 2003 at 09:18:12AM -0800, Vineet Kumar wrote:
 * Dan Griswold ([EMAIL PROTECTED]) [031220 06:55]:
  Matt Price [EMAIL PROTECTED] writes:
  
   A student has sent me a paper as an email attachment.  It's an
   MSWord document -- which should be fine, since OOo and AbiWord and
   KWord all open MS docs -- but it comes from a Mac, I'm assuming a
   pre-osX mac.  Mutt tells me it's of type: application/x-macbinary
   anyway, I can open the file in OpenOffice, but it's a total mess --
   control characters everywhere, illegible garbage top and bottom, no
   footnotes.
  
   Is there, then, a general strategy for dealing with these icky MacOS
   files?
  
  I've had this problem, too. I decided that the Linux-based converters
  had not been programmed to handle these early Mac formats. My only
  solution was to have someone save the file either in a current MSWord
  format or in something open or quasi-open, such as HTML or RTF.
 
 Of course, if you're in a position to do so (accepting applicants'
 resumes, students' papers, etc.) flat-out refusal of all non-free file
 formats is a good way to go.  Many times, unfortunately, we find
 ourselves not in this position, but one in which non-free de-facto
 'standards' must be accepted.  IMO, closed data file formats are the
 worst threat to free computing today.  It's the case in which not only
 are users restricted in the usual ways of non-free software (not being
 able to perform security audits / bug fixes on their important
 applications' source), but indeed their own data are kept locked away
 from them in little black boxes.  This is an effect which must be
 countered at every turn.

with you there!
matt

 
 good times,
 Vineet



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



diagnosing firewire hard drive problems

2003-12-21 Thread Matt Price
hey folks,

I have an external firewire hard drive mounted via the scsi/firewire
system -- I store my mp3's there mainly.  

my 3-year-old turned off the drive unit's power switch one day when I
wasn't paying attention (hopefully learned a parenting lesson
there!).  Now the drive is still detected by rescan-scsci-bus.sh, and
the relevant partition will mount, but any operation I try gives the
following error:

   
[18:36:[EMAIL PROTECTED]:~$ mount /mnt/firewire2
[18:36:[EMAIL PROTECTED]:~$ ls /mnt/firewire2
ls: reading directory /mnt/firewire2: Input/output error

so my question:  how do I start figuring out what's wrong?  I'd rather
not have to delete the whole iflesystem...  

any suggestions?  
thx,

matt


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



Re: diagnosing firewire hard drive problems

2003-12-21 Thread Matt Price
On Sun, Dec 21, 2003 at 06:09:20PM -0600, Alex Malinovich wrote:
 On Sun, 2003-12-21 at 17:39, Matt Price wrote:
  hey folks,
  
  I have an external firewire hard drive mounted via the scsi/firewire
  system -- I store my mp3's there mainly.  
  
  my 3-year-old turned off the drive unit's power switch one day when I
  wasn't paying attention (hopefully learned a parenting lesson
  there!).  Now the drive is still detected by rescan-scsci-bus.sh, and
  the relevant partition will mount, but any operation I try gives the
  following error:
  
 
  [18:36:[EMAIL PROTECTED]:~$ mount /mnt/firewire2
  [18:36:[EMAIL PROTECTED]:~$ ls /mnt/firewire2
  ls: reading directory /mnt/firewire2: Input/output error
  
  so my question:  how do I start figuring out what's wrong?  I'd rather
  not have to delete the whole iflesystem...  
  
  any suggestions?  
  thx,
  
  matt
 
 Well, for starters you can look at dmesg output when you first plug in
 the drive. Make sure that it's still being detected ok and that the
 connection is established properly. (if you see a logged in message
 you should be good.)
 
 Assuming that it was just a filesystem problem and not any sort of
 hardware problem, and assuming that all of your firewire stuff works ok,
 the first thing to do is make sure that sbp2 is creating the SCSI device
 properly and then to check the partition table on the HD. First do a
 'cat /proc/scsi/scsi' and make sure that it's showing up in there. If it
 is, do a 'fdisk -l /dev/sda' (assuming that it's at sda of course) and
 make sure the partition table is intact. If all of this comes up ok then
 you're in pretty good shape.
 
 Now just do a quick fsck on the drive and you're done. In case you're
 not sure how, just do 'fsck.your filesystem type /dev/sda'. So if
 you're using a reiserfs partition, it would be fsck.reiserfs. For ext3
 it's fsck.ext3 and so on.
 
 Hope that helps. :)
 

hey, thanks, that does help.  Had, er, forgotten to mention that this
is an hfsplus partition (running on a neworld mac).  ran hpfsck and it
tells me the disk is fine (no errors); but I still get input/output
errors when mounting.  So still don't know whatthe problem is -- but
I'm gonna move the discussion over to debian-powerpc, now
thattTT've,er, acually read the listing in my /etc/fstab and
realized the problem pertains to a hfsplus partiton!  

thanks,

matt


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



nvidia-kernel 2.6.0

2003-12-19 Thread Matt Price
Hey Folks,

now that there are patches for the nvidia non-free drivers
(http://home.comcast.net/~andrex/nvidia-2.6-Debian/) I'm trying to
upgrade to 2.6.0 on my workstation.  The instructions at the above
link are quite clear and helpful, but  I'm having trouble compiling
the NVIDIA drivers nonetheless. I've apt-getted all the necessary
nvidia-related packages, applied the patches as instructed, and run 

make-kpkg clean  make-kpkg --append-to-version=-nondebian1 kernel-image 

without any evident problems (there are some minor error messages, and
I think there may be some problems with the kernel; until I get the
nvidia drivers to compile, I don't want to try it out, as X won't work
without them).

Anyway, then I run:
make-kpkg --append-to-version=-nondebian1 modules-image

and get the following response:
   
You appear to be compiling the NVIDIA kernel module with   
a compiler different from the one that was used to compile 
the running kernel. We are going to use the compiler that  
were used to build the kernel with the specified headers.  
(if specified in KSRC/include/linux/compile.h)
Using compiler gcc 
touch /usr/src/modules/nvidia-kernel/nv/gcc-check
IGNORE_CC_MISMATCH=1 CC=gcc /usr/bin/make -C
/usr/src/modules/nvidia-kernel/nv
SYSINCLUDE=/usr/src/linux-2.6.0/include module
cat: /lib/modules/2.4.18-586-demudi/build/Makefile: No such file or
directory
cat: /lib/modules/2.4.18-586-demudi/build/Makefile: No such file or
directory
cat: /lib/modules/2.4.18-586-demudi/build/Makefile: No such file or
directory
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
make: *** /lib/modules/2.4.18-586-demudi/build: No such file or
directory.  Stop.
make: Entering an unknown directorymake: Leaving an unknown
directorynvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
Module /usr/src/modules/nvidia-kernel failed.

2.4.18-586-demudi is my currently-running kernel.  For some reason the
nvidia sources want to access something from the running kernel!  
anyone know how to make them NOT do that?  

Anyway, thanks much for your help.  

best,

matt


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



apple MSWord files

2003-12-19 Thread Matt Price
A student has sent me  a paper as an email attachment.  It's an MSWord
document -- which should be fine, since OOo and AbiWord and KWord all
open MS docs -- but it comes from a Mac, I'm assuming a pre-osX mac.
Mutt tells me it's of type: 
application/x-macbinary
anyway, I can open the file in OpenOffice, but it's a total mess --
control characters everywhere, illegible garbage top and bottom, no
footnotes.  In fact, it reminds me of the days (pre-enlightenment)
when I used to have trouble moving files between my aged mac and
work's evil Windoze machines.  

sooo... I assume the problem is related to endian-issues, or
non-standard ascii coding, or something; but also that the problem
should be solvable.  Is there, then, a general strategy for dealing
with these icky MacOS files?  

Help appreciated!  Thanks,

Matt


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



<    1   2   3   4   5   >