Re: networked multi-function colour laser printers SOLVED

2014-07-15 Thread Richard Lyons
Just a quick thank you to all who offered advice and help.  The errant
Samsung hardware has started working again, so my search for a
replacement is deferred -- at least for now.

In case it helps anybody else, the things that brought the machine back
to life were rebooting the printer, clearing the network settings to
factory default, reinstalling the Samsung driver (version 1-00-27.04) on
my desktop PC, rebooting the printer...  I might have thought it was the
network settings, but I happen to have printed them out both before and
after, and there is absolutely no difference.  Whatever, it is great
while it works.

richard


-- 
Richard Lyons


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140715164757.gr17...@co-ho.net



networked multi-function colour laser printers

2014-07-14 Thread Richard Lyons
Hi,

Perhaps someone here has already solved this:

I have wasted another 20 hours trying to get sane (or anything that
scans) to see a networked Samsung CLX-4195FN. And this is s journey I
have travelled before with a B+W Brother MFP which ran for a few years
under various flavours of Debian with the help of endless playing with
the drivers provided by Brother.  Samsung also provide drivers, and I
have had the machine operating under Arch and Debian Stable for some
months.  But I need to run sid to have later versions of other software,
hence my current predicament.  I need to replace the Samsung with
something that really will run under sid.  I am looking for a colour
laser MFC  (no need for fax).  It must be networked (ethernet is fine,
though wifi would be ok), and modestly priced -- small business model,
say in the £200-400 range.

I see that HP and OKI both claim to offer Linux drivers, for example.
The sane-project.org website never has the current models, however, so I
would like to hear any positive experience others have had before buying
another expensive failure.

TIA

richard


-- 
Richard Lyons


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140714131322.ge17...@co-ho.net



Re: networked multi-function colour laser printers

2014-07-14 Thread Richard Lyons
On Tue, Jul 15, 2014 at 01:18:43 +1200, Chris Bannister wrote:

 On Mon, Jul 14, 2014 at 02:13:22PM +0100, Richard Lyons wrote:
  I see that HP and OKI both claim to offer Linux drivers, for example.
  The sane-project.org website never has the current models, however, so I
  would like to hear any positive experience others have had before buying
  another expensive failure.
 
 Can't suggest any models, but make sure it works *before* you buy it!

The problem is how to be sure.  My experience shows things that seem to
work may in fact be flaky -- working only in a particular arrangement
and unable to be used if the OS is updated, or with drivers that are
never updated like my Brother, for example.

richard


-- 
Richard Lyons


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140714143211.gf17...@co-ho.net



Re: networked multi-function colour laser printers

2014-07-14 Thread Richard Lyons
On Mon, Jul 14, 2014 at 14:38:46 +0100, Brad Rogers wrote:

 On Mon, 14 Jul 2014 14:13:22 +0100
 Richard Lyons rich...@the-place.net wrote:
 
 Hello Richard,
 
 I see that HP and OKI both claim to offer Linux drivers, for example.
 
 With HP, by and large, you don't need to install their own drivers.
 Here, I install hplip and drivers (from the repos).

Yes, but in fact the printing side is usually manageable -- the main
problem being that CUPS mysteriously finds more and more copies of the
network printer, and it is difficult to know which one to choose when 
setting up a new printer.  The difficulty comes in persuading SANE to
even see the machine on the network.  Samsung have an excellent
universal installer -- but when it fails on some distros, you are
borked.
 
 
 I used to use a Business Inkjet 1200 without problems, and currently use
 an Officejet 6700 multifunction device (print/scan/fax).  Okay, so not a
 laser, but even so

It is beginning to sound as though HP is the only safe way to go. 

Thanks

richard

-- 
Richard Lyons


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140714145856.gg17...@co-ho.net



Re: networked multi-function colour laser printers

2014-07-14 Thread Richard Lyons
On Mon, Jul 14, 2014 at 10:45:57 -0400, Steve Litt wrote:

 
 If I'm reading your post correctly, you have no problem printing to
 this printer, only scanning. Perhaps you can do what I did...
 
 My Brother MFC8810DW multifunction is Linux compatable, and I even got
 the thing to scan from my computer a couple times. But it was so darn
 difficult I gave up and simply scanned to a thumb drive plugged into
 the printer's USB, and then sneakernetted the thumb to my computer.

I like that.  

 Yeah, it's a 1976 solution, 

Not quite -- those 8 floppies didn't fit in your pocket on the way.
This is advanced technology!

Thanks Steve.


-- 
Richard Lyons
07717 842296


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140714152029.gh17...@co-ho.net



Re: networked multi-function colour laser printers

2014-07-14 Thread Richard Lyons
On Mon, Jul 14, 2014 at 13:37:39 -0400, Doug wrote:

 
 On 07/14/2014 10:45 AM, Steve Litt wrote:
 I can't speak for Debian, but I am using an Epson WP-4530
 multifunction. I have never had to load a driver for it in
 PCLinuxOS-KDE or in Mint KDE, which uses Ubuntu software.

I am tempted by the Epson WorkForce range -- but past experience with
ink-jet printers makes me suspicious.  In periods of low use, don't the
nozzles clog?  They say the inks are water resistant, but dont sweaty or
moist hands smudge the print?  And most importantly, do the colours
survive a few months pinned on the wall, or does daylight bleach them?

If you have found they run under Mint, it is a good sign that they will
work under Debian.

richard

-- 
Richard Lyons


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140714190418.gk17...@co-ho.net



Re: [OT] How to compose email

2010-01-10 Thread Richard Lyons
On Mon, Jan 04, 2010 at 11:16:17AM -0600, John Hasler wrote:

 
 But html is the very antithesis of style and the epitome of excess
 verbiage.

No, .doc files are.

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Nvidia chipset problems on Presario

2009-10-03 Thread Richard Lyons
On Sun, Sep 13, 2009 at 02:01:25PM -0700, Paul Johnson wrote:

 On Thu, 2009-09-10 at 09:44 +0100, Richard Lyons wrote:
  I have an HP Compaq Presario CQ60 laptop.  Having no high-speed
  connection,
  I have installed Debian 5.0.2 from the dvd set.  This gives me kernel·
  2.6.26-2-686.  The Presario has an nvidia chipset (see output of lspci

[...]
Update: I took the laptop to London where I have broadband, downloaded the
nvidia drivers and things got better.  Since then I've upgraded to squeeze,
now with 2.6.30.  All's well (except for gnumeric -- but that is another
story, and very irritating as I cannot access any of my gnumeric files any
more).

 I'm really upset with the all around crap handling nvidia has given
 Linux in the last couple of years.  Sure, they were first out the door
 with some decent video drivers for Linux, but that was 10 years ago.
 Today, their drivers tend to be stale, poorly maintained, and buggy at
 best (hell, antialiasing doesn't even work right in their current
 drivers).

 If you want decent support, avoid nvidia.

Thanks for that advice, though as I usually buy whatever is available cheap,
I often don't have any choice.  It's a pity to see a firm that tried to
accept the presence of Linux letting things slip, though.

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Nvidia chipset problems on Presario

2009-09-10 Thread Richard Lyons
I have an HP Compaq Presario CQ60 laptop.  Having no high-speed connection,
I have installed Debian 5.0.2 from the dvd set.  This gives me kernel·
2.6.26-2-686.  The Presario has an nvidia chipset (see output of lspci
below).  The installer evidently fails to recognise this or doesn't have
the right drivers.  Console writes to screen in a manner reminiscent of an
old teletype terminal.  I installed the nvidia driver so that X now runs
acceptably fast and at the correct resolution (1366 x 768).  But the console
remains slow.  Also there is no sound.  Presumably both these are driver
issues.  For the sound, it seems clear the wrong modules are loaded, see
output of 'lsmod | grep snd' below.·

A further problem which may be connected is that the keyboard regularly
freezes.  This appears to happen always after the ppp connection (to a
mobile phone acting as a GPRS modem) has been dropped by the supplier, but
this may be a coincidence.  When it happens, it is impossible to give
keyboard input to any X-window, or to jump to a console.  It does not appear
to be a sleep issue, as it does not occur after closing the lid and
leaving the laptop overnight, for example.

How do I correct these, given that I cannot do a major upgrade as there is
only a slow internet connection here?

TIA

richard



$ lspci
00:00.0 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory
Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation Device 075e (rev a2)
00:01.1 SMBus: nVidia Corporation MCP78S [GeForce 8200] SMBus (rev a1)
00:01.3 Co-processor: nVidia Corporation MCP78S [GeForce 8200] Co-Processor
(rev a2)
00:01.4 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory
Controller (rev a1)
00:02.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB
1.1 Controller+ (rev a1)
00:02.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB
2.0 Controller+ (rev a1)
00:04.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB
1.1 Controller+ (rev a1)
00:04.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB
2.0 Controller+ (rev a1)
00:06.0 IDE interface: nVidia Corporation MCP78S [GeForce 8200] IDE (rev a1)
00:07.0 Audio device: nVidia Corporation Device 0774 (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev
a1)
00:09.0 IDE interface: nVidia Corporation Device 0ad0 (rev a2)
00:0a.0 Ethernet controller: nVidia Corporation MCP78S [GeForce 8200]
Ethernet (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express
Bridge (rev a1)
00:14.0 PCI bridge: nVidia Corporation Device 077a (rev a1)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h HyperTransport
Configuratio+n (rev 40)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h Miscellaneous
Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Link Control
02:00.0 VGA compatible controller: nVidia Corporation Device 0845 (rev a2)
07:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg
Wireless PCI E+xpress Adapter (rev 01)

$ lsmod | grep snd
snd_hda_intel 325688  0·
snd_pcm_oss32832  0·
snd_mixer_oss  12320  1 snd_pcm_oss
snd_pcm62596  2 snd_hda_intel,snd_pcm_oss
snd_seq_dummy   2660  0·
snd_seq_oss24992  0·
snd_seq_midi5728  0·
snd_rawmidi18528  1 snd_seq_midi
snd_seq_midi_event  6432  2 snd_seq_oss,snd_seq_midi
snd_seq41456  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_even+t
snd_timer  17800  2 snd_pcm,snd_seq
snd_seq_device  6380  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_s+eq
snd45604  9
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_+oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore   6368  1 snd
snd_page_alloc  7816  2 snd_hda_intel,snd_pcm


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Nvidia chipset problems on Presario

2009-09-10 Thread Richard Lyons
On Thu, Sep 10, 2009 at 11:31:40AM -0700, Kevin Ross wrote:

  From: Richard Lyons [mailto:rich...@the-place.net]
  Sent: Thursday, September 10, 2009 1:45 AM
  
  I have an HP Compaq Presario CQ60 laptop.  Having no high-speed
  connection,
  I have installed Debian 5.0.2 from the dvd set.  This gives me kernel·
  2.6.26-2-686.  The Presario has an nvidia chipset (see output of lspci
  below).  The installer evidently fails to recognise this or doesn't
[...]
  $ lspci
[...]
  00:07.0 Audio device: nVidia Corporation Device 0774 (rev a1)
[...]
  
  $ lsmod | grep snd
  snd_hda_intel 325688  0·
[...]
 snd_hda_intel is the correct audio driver.  I don't have the same laptop 
 as you, but I have a desktop motherboard with integrated GeForce 8200 
 graphics and HD Audio.  In my case, to get audio working properly, I had 
 to upgrade to the latest ALSA.  Try going to alsa-project.org and getting 
 the latest drivers.  You'll need to install the kernel headers to build
 the ALSA kernel modules.
[...]
Thanks Kevin.  I'll look at that.

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Restoring file permissions from package database?

2009-02-19 Thread Richard Lyons
On Wed, Feb 18, 2009 at 09:24:15AM -0500, Douglas A. Tutty wrote:

 On Wed, Feb 18, 2009 at 11:43:48AM +0100, Oliver Schneider wrote:
[...]
 However, its a lot of work to go
 through each package individually.
 
 I know, its a lot of work either way.

But you could write a bash script to do the actual comparing and chmod-ing
once you have either a list or a clean installed copy.  (back it up before
running the script for real of course).

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Debian GNU/Linux 5.0

2009-02-19 Thread Richard Lyons
On Thu, Feb 19, 2009 at 04:00:51PM +0500, Farid Ansari wrote:

 *Dear Sir's,
 I downloaded and installed the new Debian 5.0 Lenny and was very happy with
 the installer which is the best of all Linux installers.
 After installation I am not able to run the system.
 I come to the screen where it asks for the user and password, after these
 are entered i get the $ sign. When I type 'startx' it does not start the
 operating system.

Are you sure you installed X?  

Log in as root, and try 'aptitude install kde'
or 'aptitude install gnome' 
to get a working desktop environment installed -- they should bring X with
them.

If aptitude is not installed then either 'apt-get install aptitude' or use
apt-get in place of aptitude.

If they turn out to be already installed and still won't run, come back.

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: digital camera recomendations

2009-02-19 Thread Richard Lyons
On Thu, Feb 19, 2009 at 10:55:12AM -0500, Barclay, Daniel wrote:

 Mike McClain wrote:
 
  
  AA batteries are cheap, readily available and I can get NiCad and NiMH. 
  Custom rechargable battery packs are like printer ink cartridges.
 
 I wonder whether any camera use AAA batteries.  That would let the camera be
 smaller and you'd still be able to install non-rechargeable batteries in a
 crunch.

I used to think standard batteries were a better idea too, but they don't
perform anywhere near as well as the L-ion flat ones most cameras now use.
The rechargeeables, both NiCad and NiMH, are a good idea in principle, but
lose charge when not in use and become ineffective surprisingly quickly in
my experience.  

I was in Budapest last week with a friend who had to buy new AAs for his
camera.  An hour later they were flat, but my camera's L-ion battery lasted 
a full day.

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny upgrade Report

2009-02-17 Thread Richard Lyons
On Mon, Feb 16, 2009 at 04:15:15AM -0600, P. Lane wrote:
[...]
 Appaerently with exim4 you must accept the maintainers 
 new config file even if you don't want to. Otherwise it leaves the
 DEBCONFsomethingDEBCONF in the config which causes the error whitch cascades

I had the same problem a couple of weeks back with a routine upgrade of
lenny packages.  IIRC I simply deleted all the stanzas which included 
DEBCONFsomethingDEBCONF, as I couldn't see any other quick way out and the
mailserver was down.  It worked after that, but no doubt is missing things that
should be there.

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[OT] Linux on the London Tube?

2009-02-17 Thread Richard Lyons
I saw this ad on the tube recently, and was disappointed to find it wasn't
inviting people to migrate from the dark side

http://the-place.net/penguin/migrate.jpg

But maybe we should...

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [OT] Linux on the London Tube?

2009-02-17 Thread Richard Lyons
On Tue, Feb 17, 2009 at 07:34:54PM +, Sholem Aleichem wrote:

 On Tuesday 17 February 2009 7:31:57 pm Jamie White wrote:
  On Tue, Feb 17, 2009 at 7:26 PM, Paulo Brito
  paulorsbrito.lis...@gmail.comwrote:
 
   2009/2/17 Richard Lyons rich...@the-place.net
  
   I saw this ad on the tube recently, and was disappointed to find it
   wasn't inviting people to migrate from the dark side
  
   http://the-place.net/penguin/migrate.jpg
  
   But maybe we should...
  
   lol!! That's funny!
  
  If only it was a Linux ad!
 
 I liked that. Shame it wasn't for a GNU/Linux system. Not sure London 
 underground adverts would do much good though.
 
They advertize the dark side enough down there in the dark...
Isn't it time we showed the light?

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Printing a web page shrunk to a single page

2009-02-14 Thread Richard Lyons
On Thu, Feb 05, 2009 at 04:03:36AM +0200, Micha Feigin wrote:

 On Wed, 4 Feb 2009 21:47:05 +
 Nuno Magalhães nunomagalh...@eu.ipp.pt wrote:
 
   (I actually mostly want to export it to pdf so either option will work)
  So why don't you? Firefox enables you to print to file, choose pdf.
  I'm not sure if there's an option to flip the page to landscape, but
  maybe your prdf-viewer has it.
  
 
 My problem is not the pdf output but making it fit properly on the page
 

Micha,

Have you tried playing with -sPAPERSIZE=... parameters when using ps2pdf
There are several gs parameters that may help AFAIR.

I have had orientation problems in the past when trying to print landscape
from browser.  I found that some pdf readers do better than others when
there is a problem -- IIRC gv (my usual choice) gets them wrong, but either
evince or the adobe product is more often right.

richard

 
 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: altering iceweasel print settings

2009-02-06 Thread Richard Lyons
Replying to my own posting, in case it helps someone else...

On Wed, Feb 04, 2009 at 05:16:08PM +, Richard Lyons wrote:

 This seems quite out of control now.  I have a lenny box with iceweasel
 3.0.5 
 [Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.0.5) Gecko/2008122011
 Iceweasel/3.0.5 (Debian-3.0.5-1)]
 
 The page setup dialog has no margin settings, only the choice of printer,
 papersize and orientation.  Changing the papersize has no effect and it
 reverts every time to the non-standard american letter size.  I've tried
 with about:config which starts with a bizarre announcement about voiding
 warranty and then offers what looks like a solution, with several different
 margin settings.  With these, some change can be made -- I can get an A4
 page from easyjet to print on the preview on one page, for example.  However
 these also reset themselves as soon as you actually send anything to the
 printer.
 
 Is this a buggy release or just an antifeature?

It is a serious bug.  It takes a lot of persistence to get two consecutive
pages to print with margins that do not split  onto two pages a layout 
intended to be on one page.  I don't know if this will survive restarting
firefox, but I succeeded with the following:

 - In page settings | click on papersize to get a menu with 'manage
   personalised paper size' and select this.  
 - Create a new papersize called 'real A4' and set all margins to zero.

 - Open about:config, accepting a warning about voiding warranty (!)

 - Alter _all_ of the following settings.  If you don't do all, then they
   reset themselves when printing a page and have to be redone for the next
   page.  It may be that some of these can be omitted, there were too many
   to permutate completely, but I spent 3 hours trying before succeeding.
   There are several sets of settings for bottom, right , left, and top -
   where I set these the same I list them below with a wildcard (*) to save
   time:

 print.postscript.paper_size  real A4
 print.print_edge_*   0
 print.print_extra_margin 0
 print.print_footer_*
 print.print_header_*
 print.print_unwritable_margin_bottom -1
 print.print_unwritable_margin_left   -1
 print.print_unwritable_margin_right  -1
 print.print_unwritable_margin_top-2
 print.printer_print_to_file.print_footer*
 print.printer_print_to_file.print_header*
 print.printer_print_to_file.print_margin_bottom  0.1
 print.printer_print_to_file.print_margin_right   0.1
 print.printer_print_to_file.print_margin_left0.5
 print.printer_print_to_file.print_margin_top 0.1
 print.printer_print_to_file.print_paper_name real A4
 print.printer_print_to_file.print_unwriteable_margin_*   0
 print.printer_hplj5.print_edge_* 0
 print.printer_hplj5.print_footer_*
 print.printer_hplj5.print_header_*
 print.printer_hplj5.print_unwritable_margin_bottom   -1
 print.printer_hplj5.print_unwritable_margin_left -1
 print.printer_hplj5.print_unwritable_margin_right-1
 print.printer_hplj5.print_unwritable_margin_top  -2
 print.printer_hplj5.print_margin_bottom   0.1
 print.printer_hplj5.print_margin_right0.1
 print.printer_hplj5.print_margin_left 0.5
 print.printer_hplj5.print_margin_top  0.1
 print.printer_hplj5.print_paper_name  real A4
 print.printer_hplj5.print_unwriteable_margin_*0
  
Obviously, the printername will vary depending on what is set up on a
particular system.

I have now tested closing Firefox and restarting it.  The settings appear to
remain, so I may be able to print my boarding cards the next time I travel
too!  (But why should it be so very difficult?)

HTH somebody

richard





 
 richard
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



gimp tools frozen

2009-02-04 Thread Richard Lyons
This is odd.  Just moved to a new (er) box.  Newly installed testing system.
Gimp2 is almost unusable as the tools (pen, airbrish, whatever) don't work.
It seems to think the cursor is stuck at 0,0.  Yet the mouse (usb) works
fine for everything else.

Another thing:  I cannot get the mouse srollwheel to activate zoom in and zoom
out.  I set it up in input devices, but nothing happens.  scrollwheel zoom
works in qcad, so it's not a hardware issue.

Anyone recognise this?  I'm baffled.

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



altering iceweasel print settings

2009-02-04 Thread Richard Lyons
This seems quite out of control now.  I have a lenny box with iceweasel
3.0.5 
[Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.0.5) Gecko/2008122011
Iceweasel/3.0.5 (Debian-3.0.5-1)]

The page setup dialog has no margin settings, only the choice of printer,
papersize and orientation.  Changing the papersize has no effect and it
reverts every time to the non-standard american letter size.  I've tried
with about:config which starts with a bizarre announcement about voiding
warranty and then offers what looks like a solution, with several different
margin settings.  With these, some change can be made -- I can get an A4
page from easyjet to print on the preview on one page, for example.  However
these also reset themselves as soon as you actually send anything to the
printer.

Is this a buggy release or just an antifeature?

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: gimp tools frozen

2009-02-04 Thread Richard Lyons
On Wed, Feb 04, 2009 at 05:51:27PM +0100, Thierry Chatelet wrote:

 On Wednesday 04 February 2009 17:22:19 Richard Lyons wrote:
  This is odd.  Just moved to a new (er) box.  Newly installed testing
  system. Gimp2 is almost unusable as the tools (pen, airbrish, whatever)
  don't work. It seems to think the cursor is stuck at 0,0.  Yet the mouse
  (usb) works fine for everything else.
 
  Another thing:  I cannot get the mouse srollwheel to activate zoom in and
  zoom out.  I set it up in input devices, but nothing happens.  scrollwheel
  zoom works in qcad, so it's not a hardware issue.
 
  Anyone recognise this?  I'm baffled.
 
  richard
 
 Mine is working perfectly. Version 2.4.7
 No idea why ours is'nt.

Mine is 2.4.7 too.  How bizarre.  I shall have to go back to the old box if
I cannot find a solution to this.

richard


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



iceweasel and libflashplayer

2008-04-19 Thread Richard Lyons
On an etch box, I recently hit a website that insisted I should upgrade
to flashplayer 9.  No sweat, I did.  Now I notice BBC and other sites
keep telling me I need to upgrade flashplayer.  about:plugins says I
have flashplayer 7 and flashplayer 9.  In that order.  I suppose this to
be the problem, though I know no way to remove flashplayer 7 from
firefox, sorry, iceweasel.  locate shows only one libflashplayer.so on
my system, that in /usr/lib/iceweasel/plugins/ (I am ignoring the copy
in my download directory, which must be irrelevant).  I have grepped
around in iceweasel trying to find a config file with the defunct
pointer to no avail.  

Any ideas?

TIA

richard


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



Re: iceweasel and libflashplayer

2008-04-19 Thread Richard Lyons
On Sat, 19 Apr 2008 07:04:33 -0400, Paul Cartwright wrote:

 On Sat, Apr 19, 2008 at 11:12:33AM +0200, Richard Lyons wrote:

  On an etch box, I recently hit a website that insisted I should upgrade
  to flashplayer 9.  No sweat, I did.  Now I notice BBC and other sites
  keep telling me I need to upgrade flashplayer.  about:plugins says I
  have flashplayer 7 and flashplayer 9.  In that order.  I suppose this to
  be the problem, though I know no way to remove flashplayer 7 from
  firefox, sorry, iceweasel.  locate shows only one libflashplayer.so on
  my system, that in /usr/lib/iceweasel/plugins/ (I am ignoring the copy
  in my download directory, which must be irrelevant).  I have grepped
  around in iceweasel trying to find a config file with the defunct
  pointer to no avail.  

 fire up iseweasel and in the URL field type:
 about:config

 then in the filter type flashplayer..

How strange.  It shows nothing at all.

Should it show the flashplayer installed (by the Adobe install script)?
Why does about:plugins show it, and why does it show the previous
version too?  It looks as though there are search functions to find the
installed plugins:  how does the list of installed plugins get
generated?  Why do these big applications hide so much of their working?

richard


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



Re: iceweasel and libflashplayer

2008-04-19 Thread Richard Lyons
On Sat, Apr 19, 2008 at 01:26:09PM +0100, Brad Rogers wrote:

 On Sat, 19 Apr 2008 11:12:33 +0200
 Richard Lyons [EMAIL PROTECTED] wrote:
 
 
  about:plugins says I have flashplayer 7 and flashplayer 9.  In that
 
 It should also give a path to whichever library/other software is being
 called.  Check about:plugins again and hopefully you'll be able to
 track the v7 stuff down, and eliminate it.

That was what I hoped, but this is all it gives:


Shockwave Flash

Nome file: libflashplayer.so
Shockwave Flash 7.0 r25

Tipo MIME Descrizione Estensione  Attivo
application/x-shockwave-flash Shockwave Flash swf Sì
application/futuresplash  FutureSplash Player spl Sì

Shockwave Flash

Nome file: libflashplayer.so
Shockwave Flash 9.0 r115

Tipo MIME Descrizione  Estensione Attivo
application/x-shockwave-flash Shockwave Flash  swfSì
application/futuresplash  FutureSplash Player  splSì


richard



Re: iceweasel and libflashplayer

2008-04-19 Thread Richard Lyons
On Sat, Apr 19, 2008 at 03:37:06PM +0200, Nigel Henry wrote:

 On Saturday 19 April 2008 13:42, Richard Lyons wrote:
  On Sat, Apr 19, 2008 at 01:26:09PM +0100, Brad Rogers wrote:
   On Sat, 19 Apr 2008 11:12:33 +0200
  
   Richard Lyons [EMAIL PROTECTED] wrote:
about:plugins says I have flashplayer 7 and flashplayer 9.  In that
[...]
 
 Hi Richard. Type about:config, then scroll down to the line:
 plugin_expose_full_path
 
 Double click on it, and it will switch from false to true. Now type 
 about:plugins again, and you will see the full paths displayed.

Wow.  I had no idea about:config was a _tool_!

That solved it.

Thanks, Nigel.

richard


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



Re: iceweasel and libflashplayer

2008-04-19 Thread Richard Lyons
On Sat, Apr 19, 2008 at 02:33:22PM +0100, Brad Rogers wrote:

 On Sat, 19 Apr 2008 13:42:31 +0200
 Richard Lyons [EMAIL PROTECTED] wrote:
 
 Hello Richard,
 
  That was what I hoped, but this is all it gives:
 
 Not very helpful, that.   :-(
 
 Files in /usr/lib/iceweasel/plugins are usually links
 to /usr/lib/mozilla/plugins, anyway.
 
 Also, locate won't always find files if not recorded in its database.
 Mind you, that shouldn't be the case here.

Hmmm...

# updatedb
# locate flashplayer.so
/home/richard/.mozilla/plugins/libflashplayer.so
...

So the database was out of date.  Odd that.  I was sure there was a cron
job updating it daily.

Thanks Brad.

richard


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



listening to BBC

2008-04-19 Thread Richard Lyons
I suppose the BBC has changed its codec or something.  I used to be able
to play Listen Again programmes on the BBC site with their BBC Radio
Player, which opened in a separate Firefox/Iceweasel window.  Now it
just complains about a missing codec called, oddly, cook.  Is
there a debian package for this?  Or if not is there some other way to
hear the BBC in debian?

TIA 

richard


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



Re: creating a ProDOS boot diskette

2008-04-17 Thread Richard Lyons
On Thu, Apr 17, 2008 at 01:04:14AM -0400, Hal Vaughan wrote:
[...]
 Hal
 (Who still misses his Apple //e with a *fully socketed* motherboard, a 
 whopping 5 MB hard drive and who actually enjoyed programming in 6502 
 Assembler!)

ooh, you're making me misty-eyed.  That 6502 Assembler _was_ fun.  And
the excitement when the upgrade card to 64MB arrived...  

richard


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



Re: creating a ProDOS boot diskette

2008-04-17 Thread Richard Lyons
On Thu, Apr 17, 2008 at 07:54:19AM +0200, Richard Lyons wrote:

 On Thu, Apr 17, 2008 at 01:04:14AM -0400, Hal Vaughan wrote:
 [...]
  Hal
  (Who still misses his Apple //e with a *fully socketed* motherboard, a 
  whopping 5 MB hard drive and who actually enjoyed programming in 6502 
  Assembler!)
 
 ooh, you're making me misty-eyed.  That 6502 Assembler _was_ fun.  And
 the excitement when the upgrade card to 64MB arrived...  

Oops, I mean KB of course.

richard


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



Re: [OT] Naming Schemes

2008-03-06 Thread Richard Lyons
On Wed, Mar 05, 2008 at 09:13:10PM -0600, Ron Johnson wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 03/05/08 20:29, Andrew Sackville-West wrote:
  On Wed, Mar 05, 2008 at 04:24:28PM -0600, Ron Johnson wrote:
 [snip]
  Disgusting Scots food.
 
  $ uname -n
  haggis

Love it!  And I'm definitely not scottish
 
  
  my 7 year old named the G3 iMac reborn into a sid machine: Crusher
  
  I just don't understand 7 year old girls, and it doesn't get any
  better as they grow up, but kudos to her for a great name...
 
 As is That Which Makes Big Cars Into Small Piles?  Or Wil Weaton's
 alter ego?

Not a Trekkie I see...

-- 
richard


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



Re: [OT] Naming Schemes (was: Laptop with Linux preinstalled)

2008-03-05 Thread Richard Lyons
On Wed, Mar 05, 2008 at 02:09:34PM +1100, Rich Healey wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Owen Townend wrote:
Staying off-topic :)
Naming schemes wise - Good idea with the bond girls.
My VM names are all coffee related:  arabica dusting froth platter mocha
[...] 
A customer site I visited had their servers named after greek gods, and
[...]
It's always amusing walking into a new site and discovering their naming
[...]
   I've been through a few naming schemes, greek gods is good, but common
 (i used to be a network analyst, if i had a dollar for each zeus i've
 seen)
 
 I like bond girls, some cool names out there (though i was just
 discussing with a mate that many are not really usable, however funny,
 this new box will be public routable, i don't think pussy.psychotik.info

Miaow, why not?

But a name can be a snare and a delusion:  we had another
quasi-classical name, atticus, so called because it was located in the
attic.  Then we moved house and it was relocated under the stairs...
And I had my office in the potting-shed for a time, so my very
odd-looking skeletal tower box, with bits bolted on in all directions,
was named potty.  But it soon moved indoors and got a new case so that
name was out of date too.  And how much refitting is needed to justify a
rename?  new processer, new case, new motherboard, new hard drives, but
all at different times, so at which point should it be renamed?

richard


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



Re: Idea of a Debian Mascot [Was: FW: Bits from the DPL: FTP assistants, marketing team, init scripts, elections]

2008-03-03 Thread Richard Lyons
On Sun, Mar 02, 2008 at 08:44:14PM +1300, Chris Bannister wrote:

[...]
 
 http://fixxxer.cc/images/mascot/calimero.jpg
 http://fixxxer.cc/images/mascot/little_pinguin.jpg

Excellent for breaking into the primary school market!

richard


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



texlive and includegraphics{}

2008-03-03 Thread Richard Lyons
I've just found texlive on a new etch install cannot find graphics called
with includegraphics{}.  These are files that ran with Latex, and have 
'\usepackage{graphicx}'.  The only error message is 
dvips: Could not find figure file /home/richard/foo/bar.eps; continuing
The graphics files are still there and permissions are ok.

Is this a problem with the debian package, or an inherent characteristic
of tex-live.  I.e. do I have to revert to latex or look for some
additional package? 

TIA

richard


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



Re: texlive and includegraphics{}

2008-03-03 Thread Richard Lyons
On Mon, Mar 03, 2008 at 06:02:01PM +0530, Kushal Kumaran wrote:

 On Mon, Mar 3, 2008 at 4:51 PM, Richard Lyons [EMAIL PROTECTED] wrote:
  I've just found texlive on a new etch install cannot find graphics called
   with includegraphics{}.  These are files that ran with Latex, and have
   '\usepackage{graphicx}'.  The only error message is
   dvips: Could not find figure file /home/richard/foo/bar.eps; continuing
   The graphics files are still there and permissions are ok.
 
   Is this a problem with the debian package, or an inherent characteristic
   of tex-live.  I.e. do I have to revert to latex or look for some
   additional package?
 
 
 Are you using latex? or pdflatex?  pdflatex will not use EPS files.
 Please show us the complete error message you are getting, including
 the command you used to invoke it.
 
 You can also try reproducing the problem with an absolutely minimal
 .tex file, perhaps with nothing else but the \includegraphics in it.
 
 PS: I assume you mean reverting to 'tetex' when you write reverting to 
 'latex'.

Well, yes, perhaps that is the old latex package in Debian.  These templates
have worked for years with no problem.  It is only now with a fresh
install (but retaining my old /home partition) that they suddenly fail.

I am not sure all the following detail helps much, but here it comes:

The commands to process the file are given from a script and are
essentially

latex template
dvips template

It is actually in a perl script and says

system (latex $outfile  dvips $outf  ps2pdf $outf.ps $path$bod.pdf);

The section of the template which triggers it is  line 25 of this
letterheading:

\documentclass[english,a4paper]{letter}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=144pt,bmargin=72pt,lmargin=96pt,rmargin=60pt}
\usepackage{array}
\usepackage{graphicx}

\makeatletter

\usepackage{babel}
\makeatother

\pagestyle{empty}
\begin{document}
\vspace*{-120pt}
%% letterhead with se1 logo 5
\begin{tabular}{b{135pt} b{43pt}{\raggedright}b{80pt} b{130pt}}
%\begin{tabular}{b{140pt}|{\raggedright}b{130pt}|b{180pt}}
\parbox[b]{134pt}{\begin{flushleft}

\textsf{Richard Lyons}
\end{flushleft}}
\parbox[b]{43pt}
{\includegraphics{/home/richard/0/ico/14p5b-25mm}}

\parbox[b]{80pt}{\textsf{Coign House, }\\
\textsf{14 London Road}\\
\textsf{Southwark}\\
\textsf{London}\\
\textsf{SE1 - 6JZ}}
\parbox[b]{130pt}{\textsf{\emph{email:}} [EMAIL PROTECTED] }\\
\textsf{\emph{telephone:}} \textsf{(020)79.28.65.01}\\
\textsf{\emph{facsimile:}} \textsf{(08707)62.68.14}}\\
\end{tabular}
...

It looks as though latex completes normally with

Output written on marcello08c03-print.dvi (1 page, 1484 bytes).

And the error message is as I reported while dvips is running:

dvips: Could not find figure file /home/richard/0/ico/14p5b-25mm.eps; 
continuing

The resulting ps file is perfect but lacking the images.

The file is readable:

$ ls -l /home/richard/0/ico/14p5b-25mm.eps
-rw-r--r-- 1 richard richard 137562 2006-10-05 11:37 
/home/richard/0/ico/14p5b-25mm.eps

And the eps extension has been correctly assumed so I suppose it is
still the default as it was with latex.

richard


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



Re: texlive and includegraphics{}

2008-03-03 Thread Richard Lyons
On Mon, Mar 03, 2008 at 10:52:17PM +1100, Charlie wrote:

 On Mon, 3 Mar 2008, Richard Lyons shared this with us all:
 --} I've just found texlive on a new etch install cannot find graphics
  called --} with includegraphics{}.  These are files that ran with Latex,
  and have --} '\usepackage{graphicx}'.  The only error message is
 --} dvips: Could not find figure file /home/richard/foo/bar.eps; continuing
 --} The graphics files are still there and permissions are ok.
 --}
 --} Is this a problem with the debian package, or an inherent characteristic
 --} of tex-live.  I.e. do I have to revert to latex or look for some
 --} additional package?
 --}
 --} TIA
 --}
 --} richard
 
 I find using the full path to a .jpg or .gif file works well, .eps files have 
 always been a bit of a problem. But I use/d LyX in testing and etch.

I do give the full path.  It is an eps because that has always been the
default expected by latex (though you do have to omit the extension in
the command, so \includegraphics{/path/to/that} includes /path/to/that.eps), 
and I have never before had any problem with this or other eps
inclusions.

richard


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



Re: texlive and includegraphics{}

2008-03-03 Thread Richard Lyons
On Mon, Mar 03, 2008 at 05:08:35PM -0500, H.S. wrote:

 Richard Lyons wrote:
 I've just found texlive on a new etch install cannot find graphics called
 with includegraphics{}.  These are files that ran with Latex, and have 
 '\usepackage{graphicx}'.  The only error message is 
 dvips: Could not find figure file /home/richard/foo/bar.eps; continuing
 The graphics files are still there and permissions are ok.
 
 Is this a problem with the debian package, or an inherent characteristic
 of tex-live.  I.e. do I have to revert to latex or look for some
 additional package? 
 
 TIA
 
 richard
 
 
 
 This might not solve your problem, but I experience a similarly weird 
 problem a while ago on Debian Testing. It turned out the default output 
 of the latex command had changed (to something other than dvi perhaps?). 
 Anyhow, I cannot remember the details but I do remember that the 
 situation didn't make sense at the time -- something same as yours. I 
 modified the source tex file a bit (it was related to output format, PDF 
 vs dvi) and then it worked.
 
 How about you give a minimal example that shows the problem and I can 
 try it out for your on my machine.

Thanks, that would be useful.

richard


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



Re: SOLVED: texlive and includegraphics{}

2008-03-03 Thread Richard Lyons
On Mon, Mar 03, 2008 at 06:18:03PM -0300, Marcelo Chiapparini wrote:

 Hi,
 
 On Mon, 2008-03-03 at 12:21 +0100, Richard Lyons wrote:
  I've just found texlive on a new etch install cannot find graphics called
  with includegraphics{}.  These are files that ran with Latex, and have 
  '\usepackage{graphicx}'.  The only error message is 
  dvips: Could not find figure file /home/richard/foo/bar.eps; continuing
  The graphics files are still there and permissions are ok.
  
  Is this a problem with the debian package, or an inherent characteristic
  of tex-live.  I.e. do I have to revert to latex or look for some
  additional package? 
  
  TIA
  
  richard
  
 
 I have exactly the same problem with dvips. Even giving the whole path for an 
 eps file. 
 But because what I need is a pdf output of the latex file, I use dvipdfm (not 
 dvipdf, 
 which uses dvips). No problem with it. 

Ok, thanks, that solved it.  

So it is actually a bug in dvips.

-- 
richard


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



Re: Idea of a Debian Mascot [Was: FW: Bits from the DPL: FTP assistants, marketing team, init scripts, elections]

2008-02-28 Thread Richard Lyons
On Wed, Feb 27, 2008 at 10:14:15PM -0600, cothrige wrote:

 Andrew Sackville-West [EMAIL PROTECTED] writes:
 
  I have to say, there is nothing friendly about that damn gnu. And that
  statement is in no way a reflection on my views of GNU or it's
  projects. Just that if we're gonna have a mascot, I lean more towards
  the penguin/snarky-devil side of the debate than the smelly ruminant
  side. 
 
 I think most open source software tends to look like something from a
 group of high school kids, and one of the reasons is the whole mascot
 idea.  That daemon in the tennis shoes, the puffer fish, Tux and that

Hear hear!  Not so much high school as infantile.  Most of us grew out
of soft toys by the age of 8.  If linux weren't so damned brilliant, I
would shun it merely for the retarded graphics.

That said, I suppose a more corporate penguin could be designed...  As
to the ugly Debian swirl, well I've become used to it, but I do not see
what it is supposed to represent.  

Part of our problem is that OS is owned by a community of hackers,
whereas the big firms of proprietary software can employ graphic
designers and PR people to create the slick packaging necessary to sell
their crap.

On the other hand, I have to say that I am also disenchanted with the
continual revamping of corporate identities, often throwing away
well-known and easily identified logos and house styles for blander more
modern replacements.  So I would like to see the Debian swirl
transmogrified into a style that looks professional and reliable rather
than necessarily throwing it out.  With my designer cap on, I would
also admit the possibility that the baby-toy penguin, which has become
so intimately associated with Linux, might also be recycled into an
acceptable logo.  Knopper to some extent has succeeded in doing this in
the graphics for the Knoppix distros, with the cunning combination of
tech drawing and cuddly plump proportions.  I say 'to some extent'
because, in fact, cuddly is not what is needed on the office desk
(during work hours at least).  We really should be seeking a more
reliable, sturdy, businesslike image, though preferably without becoming
boring and indistinguishable from the corporate world.

richard


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



Re: curious entries in apache2 log

2008-02-28 Thread Richard Lyons
On Wed, Feb 27, 2008 at 09:43:45PM -0800, Jeff D wrote:

 Vikki Roemer wrote:
 On Wed, Feb 27, 2008 at 5:20 PM, Richard Lyons [EMAIL PROTECTED] 
 wrote:
 Can anyone enlighten me what is going on here?
 
  ::1 - - [27/Feb/2008:14:05:21 +] GET / 400 1063 - -
  ::1 - - [27/Feb/2008:14:05:25 +] GET / 400 1063 - -
  ::1 - - [27/Feb/2008:14:06:02 +] GET / 400 1063 - -
 
  I see blocks of these in the apache2 access.log.
 
 IIRC, it's either a worm/virus or something else automated.  I used to
 see them all the time when I had my server.
 
 
 These are probably just apache keeping track of itself.  Nothing really 
 to worry about.

Oh good.  That is what I like to hear.

richard


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



Re: Software for collecting email addresses

2008-02-28 Thread Richard Lyons
On Wed, Feb 27, 2008 at 01:53:40PM +0100, Michelle Konzack wrote:

 Hi Richard,
 
 Am 2008-02-26 19:26:36, schrieb Richard Lyons:
  Oh Michelle, it's _you_ that sends me all those Dear {EMAIL}, Try
  {PRODUCT} today FREE!!!... emails.  And I thought it was spammers who
  were too dim to operate the mailmerge correctly.
 
 Do you have tried it out?

Sorry, Michelle, just my silly sense of humour.  I am in no doubt of the 
ease with which they do it (I get enough of their garbage).  But it
always amuses me when the spams arrive with the placeholders intact and
no readable message at all.  A pity some spammers are less dim...

Nice day to you too -- tomorrow I suppose by now.

richard


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



curious entries in apache2 log

2008-02-27 Thread Richard Lyons
Can anyone enlighten me what is going on here?

::1 - - [27/Feb/2008:14:05:21 +] GET / 400 1063 - -
::1 - - [27/Feb/2008:14:05:25 +] GET / 400 1063 - -
::1 - - [27/Feb/2008:14:06:02 +] GET / 400 1063 - -

I see blocks of these in the apache2 access.log.

-- 
richard


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



Re: [OT] Goodbye Debian

2008-02-26 Thread Richard Lyons
On Tue, Feb 26, 2008 at 03:54:06PM +0200, Dotan Cohen wrote:

[...]
 
 My attitude has gotten my university and my local green club to send
 documents in PDF instead of Word, and I write to sites that do not
 display properly in Firefox. I write to software houses (Adobe)
 requesting they port to Linux, and I write to hardware vendors (ATI)
 demanding Linux support. Every week. Am I making a difference? Maybe.
 If one out of one hundred OOo || Firefox || Linux users would stand up
 and let themselves be known, we'd be in a much better position. I'm
 setting an example.

Well done that man!  !ןתוד,דובכה לכ  I wish I were as dedicated (I do
occasionally write, too).

-- 
richard



Re: GRUB 2 error

2008-02-26 Thread Richard Lyons
On Tue, Feb 26, 2008 at 12:44:29PM +, Tony van der Hoff wrote:

[...]
 Movib=g further off-topic, I've never understood why people use GRUB. LILO
 seems so much lighter weight to achieve the same effect. 
 
 Can anybody enlighten me?

I keep asking myself the same question.  I suppose the possibility to
edit the parameters when boot fails is useful -- though yesterday was
the first occasion it really saved me any time and I've had grub on
several boxes for  a while now.

-- 
richard


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



Re: diff files matching a pattern

2008-02-26 Thread Richard Lyons
On Tue, Feb 26, 2008 at 10:50:57AM -0500, Kamaraju S Kusumanchi wrote:

 Raj Kiran Grandhi wrote:
 
  The pattern should be in quotes, so that the shell does not expand it
  and it gets passed to your script.
  
  So it should be
  $patlist file*
  
 
 Damn the shell! Did not even think about this. Thanks Rajki.

You should have read _my_ solution on sunday.  There was a note about 
this in the comments at the top.  /smug

good luck 

richard


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



Re: diff files matching a pattern

2008-02-26 Thread Richard Lyons
On Tue, Feb 26, 2008 at 01:12:09PM -0500, Kamaraju S Kusumanchi wrote:

 Richard Lyons wrote:
 
  Damn the shell! Did not even think about this. Thanks Rajki.
  
  You should have read _my_ solution on sunday.  There was a note about
  this in the comments at the top.  /smug
  
 
 You are right, I should've. Thanks for the script, Richard. I basically
 looked at Raj Kiran's script, then I saw the usage of ## operator. I

Yes, they are useful those ## and %% operators.  My trouble is I can
never remember which is which, so always have to man bash, /##,...

Hope you get it sorted.

-- 
richard


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



Re: Software for collecting email addresses

2008-02-26 Thread Richard Lyons
On Sat, Feb 23, 2008 at 12:44:21PM +0100, Michelle Konzack wrote:

 Am 2008-02-20 23:49:15, schrieb Depo Catcher:
  
 Along this lines, does anyone know of a program that can quickly send
 out mass emails to a bunch of different addresses?
 
 8--
 (cat ${FILE_WITH_EMAILS}) |
 while read EMAIL
 do
   ssmtp -t EOF
 To: ${EMAIL}
 From: Depo Catcher
 Subject: You are spamed by me
 Date: $(date --rfc-822)
 
 This is spam and if you...
 EOF
 done
 8--
 

Oh Michelle, it's _you_ that sends me all those Dear {EMAIL}, Try
{PRODUCT} today FREE!!!... emails.  And I thought it was spammers who
were too dim to operate the mailmerge correctly.

Nice day to you too,

richard


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



Re: mkinitrd and glibc version problem in etch

2008-02-25 Thread Richard Lyons
On Mon, Feb 25, 2008 at 10:13:48AM -0500, Douglas A. Tutty wrote:

 On Sun, Feb 24, 2008 at 10:14:54PM +, Richard Lyons wrote:
[..]
  
  As I said, I am at home with fdisk and parted.  And can boot from
  knoppix and copy a whole partition off when I need to, whereas knoppix
  doesn't seem to know about the lvm partitions.  Probably my lack of
  knowledge, though: I am sure knoppix can mount the LVM in capable hands.
  I expect I am just showing my age.
 
 I've never bothered to figure out how to get a LiveCD to mount my LVM
 (some of which is sitting on top of raid1).  The way it works is that
 the kernel should boot.  If it doesn't, there's the installer CD in
 rescue mode.
 
 Some filesystem types allow shrinking, others don't.  If you need to
 shrink one and the filesystem doesn't allow it, you have to create a new
 LV, put a new filesystem on it, move the data, and remove the old LV.
 
 The best HOWTO is the LVM howto in the doc-linux package (from
 tldp.org).  The trick is to be aware of the layers and to resize things
 at the right layer.  Yes the concept is complicated, but the actual
 useage is rather magical.
 
 Whatever floats your boat.

It really does seem that I shall have to find time to get round LVM some
day.  Thanks for your input, Doug.

-- 
richard


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



mail headers with exim4 using ISP smarthost

2008-02-25 Thread Richard Lyons
I am slightly puzzled by the following headers in mail I send out from
this home network on DSL via the ISP's smtp server.  I think this is
something my exim4 is writing, and it looks odd (though it does no
obvious harm).  The box has hostname scatola and the domain name is
co-ho.net, which is resolved by zoneedit.  But in place of the domain
name, it says 'config' -- see below.  What do I have misconfigured in
the wild and wonderful maze that is /etc/exim4?


Received: from scatola.config (78-86-168-228.zone2.bethere.co.uk 
[78.86.168.228])
^^
by smtp1.betherenow.co.uk (Postfix) with ESMTP id BB38DD00C8
for debian-user@lists.debian.org; Mon, 25 Feb 2008 18:31:24 + 
 (GMT)
Received: from richard by scatola.config with local (Exim 4.63)
   ^^
(envelope-from [EMAIL PROTECTED])
id 1JTi6q-0005uo-2o
for debian-user@lists.debian.org; Mon, 25 Feb 2008 18:31:28 +

TIA,

richard


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



Re: SOLVED - mail headers with exim4 using ISP smarthost

2008-02-25 Thread Richard Lyons
Oops. Sorry for the noise.


On Mon, Feb 25, 2008 at 06:47:58PM +, Richard Lyons wrote:

 I am slightly puzzled by the following headers in mail I send out 
[...]
 co-ho.net, which is resolved by zoneedit.  But in place of the domain
 name, it says 'config' -- see below.  What do I have misconfigured in
 the wild and wonderful maze that is /etc/exim4?
 
 
 Received: from scatola.config (78-86-168-228.zone2.bethere.co.uk 
 [78.86.168.228])
 ^^
 by smtp1.betherenow.co.uk (Postfix) with ESMTP id BB38DD00C8
 for debian-user@lists.debian.org; Mon, 25 Feb 2008 18:31:24 + 
  (GMT)
 Received: from richard by scatola.config with local (Exim 4.63)
^^
 (envelope-from [EMAIL PROTECTED])
 id 1JTi6q-0005uo-2o
 for debian-user@lists.debian.org; Mon, 25 Feb 2008 18:31:28 +
 
It was in resolv.conf: 'search config'

I suppose it is the infuriating ADSL modem/router supplied by 'bethere',
as the ISP is absurdly named.  It probably causes the rewriting of
resolv.conf as part of the dhcp transaction.  And it is quite horribly
unconfigurable.  ADSL2 is definitely faster than the old ADSL, but I
wish we had the netgear modem/router back...


-- 
richard


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



Re: DSL in Linux - direct setup?

2008-02-24 Thread Richard Lyons
On Sat, Feb 23, 2008 at 11:38:25PM -0500, Zach wrote:

 I have the DSL modem, plugged the ethernet cable between ETHERNET port
 on modem and my NIC, I attached the phone line into the DSL port on
 the modem but I still don't see any network connection. My ISP said
 they use PPPoE but they never told me a username or password. Assuming
[...]

Nowadays, some ISPs use a system that does not require a logon name and
password.  Simply plugging in the modem (via the microfilter) gives it a
connection.  It is pppoe but you don't need to manage it at all.  The
modem/router acts as dhcp server on the inside ethernet.  You just need
dhclient set up.  Once that connects, use ifconfig for some info.  There
is usually a web interface to control the modem/router.  Generally it is
visible by pointing your browser at 192.168.0.1 or 192.168.1.254 or
similar.  Probably, it will have a factory preset administrator name
and password, which you will need to get from the ISP, or the info they
sent on paper or cd.  When you have them, you need to change them,
obviously (they are likely to be something dumb like admin/admin).

The modem/router frequently has a pretty reasonable firewall built-in.
You should be able to configure the firewall, see stats about the
connection (including the external static IP), see the users connected,
and more (they frequently come with wi-fi, and the settings for that
will also be accessible).  The interface is usually an irritatingly
dumbed-down set of pages accessed in an inscrutable menu hierarchy, with
the important bits almost impossible to find -- but they are there
somewhere.

So:  set up dhclient and get the admin logon and password from the ISP
and you should be away...

HTH

richard

PS -- sorry about the delay, but the list seems to be blocking my mail 
so I had to resend port forwarded through another server. Likewise, 
apologies if this is duplicated.


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



mkinitrd and glibc version problem in etch

2008-02-24 Thread Richard Lyons
Hi all.

Silly situation:  I have been wanting to release my etch install from
the LVM so as to be able to adjust the partitioning.  The arrangement
was:
/dev/mapper/Debian-root on / type ext3 (rw,errors=remount-ro)
/dev/hda1 on /boot type ext3 (rw)
/dev/mapper/Debian-home on /home type ext3 (rw)
/dev/mapper/Debian-tmp on /tmp type ext3 (rw)
/dev/hdb2 on /usr type ext3 (rw)
/dev/mapper/Debian-var on /var type ext3 (rw)
/dev/hdb2 on /usr type ext3 (rw)

/usr used also to be in the LVM, but I ran out of space so I simply
copied to hdb (which is 80GB, against 20GB of hda).
Obviously /home and /tmp present no problems - I can simply copy them
wherever I want and remount.

I decided to copy the root partition and var to two new partitons on
hdb, then mount the new root to /mnt/hdb13 (or whatever) and mount all
the other filesystems into that, mount -o bind /dev /mnt/hdb13, and
mount -t proc none /mnt/hdb13 so as to be able to chroot there and make
a new initrd.  But this gave me
 # mkinitramfs -o boot/initrd.img-2.6.18-5-686r -r /dev/hdb13 2.6.18-5-686
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)
 locale: Cannot set LC_ALL to default locale: No such file or directory
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)

Problem 1: How do I solve that?

Problem 2: I had the bright idea to install another kernel while in the
chroot, and let the install make its own initrd.  I saw in aptitude that
linux-image-2.6.18-6-686 was available (the current kernel was
2.6.18-5-686). But this also failed to install, so I tried to remove it
prior to finding the relevant glibc.  The removal failed too:
 /usr/bin/perl: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not
 found (required by /usr/bin/perl)
 Selecting previously deselected package linux-image-2.6.18-6-686.
 (Reading database ...
 dpkg: serious warning: files list file for package
 `linux-image-2.6.18-6-686' missing, assuming package has no files
 currently installed.
 183622 files and directories currently installed.)
 Preparing to replace linux-image-2.6.18-6-686 2.6.18.dfsg.1-18etch1
 (using .../linux-image-2.6.18-6-686_2.6.18.dfsg.1-18etch1_i386.deb) ...
 /usr/bin/perl: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not
 found (required by /usr/bin/perl)
 dpkg: error processing
 /var/cache/apt/archives/linux-image-2.6.18-6-686_2.6.18.dfsg.1-18etch1_i386.deb
 (--unpack):
  subprocess pre-installation script returned error exit status 1
  /usr/bin/perl: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not
  found (required by /usr/bin/perl).

...and now aptitude and apt are blocked from any further action.

I cannot see anything glibc-ish 2.3.6 in the package list.  Obviously,
I am doing something daft, but what? (other than having tried to fix
something that wasn't broke).

--
richard

PS apologies if this gets duplicated, but the list is apparently blocking 
my mail so I had to resend port-forwarded to another server.


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



Re: Cannot remove thttpd

2008-02-24 Thread Richard Lyons
On Sun, Feb 24, 2008 at 05:56:57PM +0100, Peter Robinson wrote:

 Florian Kulzer wrote:
 On Sun, Feb 24, 2008 at 11:13:23 +0100, Peter Robinson wrote:
 [...]
 ··
 Thanks, that solved the problem with thttpd...but now I get the··
 following error message from aptitude:
 
 Using mkinitramfs-kpkg to build the ramdisk.
 
 [...]
 ··
 Running postinst hook script update-grub.
 User postinst hook script [update-grub] failed to execute: No such file·
 or directory
 dpkg: error processing linux-image-2.6.24-1-686 (--configure):
 subprocess post-installation script returned error exit status 255
 dpkg: dependency problems prevent configuration of linux-image-2.6-686:
 linux-image-2.6-686 depends on linux-image-2.6.24-1-686; however:
  Package linux-image-2.6.24-1-686 is not configured yet.
 dpkg: error processing linux-image-2.6-686 (--configure):
 dependency problems - leaving unconfigured
 Errors were encountered while processing:
 linux-image-2.6.24-1-686
 linux-image-2.6-686
 
 Take a look at /etc/kernel-img.conf and make sure that the postinst_hook
 and the postrm_hook give the full path to the update-grub script, i.e.
 these two lines should look like this:
 
 postinst_hook = /usr/sbin/update-grub
 postrm_hook   = /usr/sbin/update-grub
 
 Also try to run update-grub as root; are there any error messages?
 
 ··
 Thanks, for some reason grub was not installed according to aptitude
 (although I had been nooting without problems). I installed the grub
 package and seemed to solve the problem.

That is interesting.  I skimmed the early parts of this thread, so I
don't know the context, but I recently had a similar disappearance of
grub.  I upgraded an etch laptop from 2.6.17 to 2.6.18 and it
mysteriously purged grub, removing the /boot/grub directory entirely.
This was left unresolved after a discussion (2.6.18 problems with
grub and ACPI) on debian-laptop.

I wonder if there is a connection...

--

richard

PS apologies if duplicated 


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



Re: mkinitrd and glibc version problem in etch

2008-02-24 Thread Richard Lyons
On Sun, Feb 24, 2008 at 12:22:59PM -0500, Douglas A. Tutty wrote:

 On Sun, Feb 24, 2008 at 12:16:34PM +, Richard Lyons wrote:
  Silly situation:  I have been wanting to release my etch install from
  the LVM so as to be able to adjust the partitioning.  The arrangement
[...]

  Problem 1: How do I solve that?

 I don't know as you can.  When things are on an LV, the initrd is made
 to work with this.  When things are on normal partitons, the initrd is
 made to work with that.  The fix involves remaking the initrd but I have
 never done that.

That is exactly where I was, like a chroot install or a gentoo
install...

  Problem 2: I had the bright idea to install another kernel while in the
  chroot, and let the install make its own initrd.  I saw in aptitude that

 whilst you were in the midst of problem number 1?

Well, exactly because of it.  Usually a new kernel install makes a new
initrd, so I assumed it would bring enough tools to do so.

[...]
  I am doing something daft, but what? (other than having tried to fix
  something that wasn't broke).

 Yes.  I don't see why, if you're already on LVM and you need more space,
 you didn't just add the extra partition as a PV and add that to the VG

It looked very complicated and came with all sorts of warnings.  With
conventional partitions, I know where I am.  fdisk and parted are my
(old) friends.
[...]

 Is this a straight Etch (nothing else)?  If so, why would your perl need
 a non-existant libc6.

It was installed before etch became stable, and perhaps not quite up to
date.  It seems this must be the source of the problem.  Though nothing
else ever complained. And even sound worked -- which it doesn't under sid,
which I did just try out on another partition.  I always used to run
sid, years ago, but now looks like a tricky moment to go there -- quite
a few important (to me) things are broken.  It's okay if you are running
sid in a workable state, you can just wait your moment to update stuff,
but when you are going to jump in you are committed to a snapshot (or a
lot of work).

 I hope you kept backups and if not, make a full set before you do
 anything else.  That is, copy /home and /etc plus anything in
 /usr/local, /var, /var/local, or /opt that you would want.  This sounds
 like its spirilling towards a reinstall.  Sure it may be recoverable by
 extraordinary measures, but a reinstall may be faster.

Yes, I think you are right.  yesterday I was in denial, but I'm getting
used to the idea.  I'd better erase the LVM and repartition hda, then
install etch cleanly and swap back in my /home, /usr/local, most of the
rest of /usr, /var/www, ... and then copy selected bits of /etc too.
It is not so much a question of backups, as most of the variable user
data is already on separate partitions.  A pity.  It was running sweetly
enough before.

Thanks, Doug

--
richard

PS Apologies if duplicated.


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



Re: diff files matching a pattern

2008-02-24 Thread Richard Lyons
On Sun, Feb 24, 2008 at 02:21:56PM -0500, Kamaraju S Kusumanchi wrote:

 Let's say I have two directories dir1, dir2 each with 1000 files.
 Of these 1000 files in each directory, there are 50 files named file1.txt,
 file2.txt ... file50.txt. The rest of the files do not follow any pattern
 and are very large in size.
 
 Now is there any way to compare
 
 dir1/file1.txt and dir2/file1.txt
 dir1/file2.txt and dir2/file2.txt
 
 dir1/file50.txt and dir2/file50.txt

Something like:

#!/bin/bash
myday=`date +%y%m%d`
outfile=diff-check-$myday
for f in `ls $1` ; do
  if [ -f $2/$f ] ; then
echo file $f  $outfile
echo   $outfile
diff $1/$f $2/$f  $outfile
echo   $outfile
  fi
done

(untested) but it ought to do it.  Well, it's a starting point. Save it as
~/bin/diff-check where ~/bin is on your path, and chmod u+x.  Call it like this
'diff-check dir1 dir2' and its results will be in the directory from which you
called it.  

HTH


-- 

richard



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



Re: mkinitrd and glibc version problem in etch

2008-02-24 Thread Richard Lyons
On Sun, Feb 24, 2008 at 04:25:02PM -0500, Douglas A. Tutty wrote:

 
 What warnings did you get about LVM?  It is rather nice to be able to
 resize partitions, but also migrate partitions of of failing drives.  On
 all my old boxes (that are still new enough to run Debian), drive
 failures start with wierd error messages.  Using LVM, I can migrate the
 data onto more reliable drives, then stress-test the failing ones to
 either get them working or just ditch them.

Yes it all sounds idyllic, which is why I allowed the installer to do
its default thing and install lvm and choose its own partitioning -- I
assumed it was simple to resize and extend later.  Then when I came to
read the man pages and google for advice on the rather inscrutable
commands to re-allocate the space between the partitions, there seemed
to be warnings of terrible possible data losses.  I am sorry, but I
don't remember the details.  I asked on this list and got little solace,
tried to shrink one partition in order to expand another, and found that
it was impossible, and gave up rather feebly.  Something like that,
anyway.  

As I said, I am at home with fdisk and parted.  And can boot from
knoppix and copy a whole partition off when I need to, whereas knoppix
doesn't seem to know about the lvm partitions.  Probably my lack of
knowledge, though: I am sure knoppix can mount the LVM in capable hands.
I expect I am just showing my age.

-- 
richard


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



Re: diff files matching a pattern

2008-02-24 Thread Richard Lyons
On Sun, Feb 24, 2008 at 03:12:34PM -0500, Kamaraju S Kusumanchi wrote:

 Tzafrir Cohen wrote:
  
  LC_ALL=C diff -r dir1 dir2 | grep -v ^Only
  
  The size really doesn't matter for those extra large files.
  
 
 This works only if the extra 950 files are in just one directory. If the
 extra files are there in both the directories, then it does not make sense
 to compare all the 1000 files since I am interested only in the diff of 50
 files.

I hadn't realized the other files were also repeated in both
directories.  I also had a couple of typos/bugs in the script I
suggested earlier.  This allows you to filter on a pattern with
wildcards, and seems superficially to work:
--
#!/bin/bash
# usage: diff-check dir1 dir2 pattern
# pattern must be in double quotes to avoid shell expasion
myday=`date +%y%m%d-%H:%M`
outfile=diff-check-$myday
for f in `ls $1/$3` ; do
  fname=${f##*/}
  if [ -f $2/$fname ] ; then
echo checking file $fname
echo $fname in $1, $2  $outfile
echo   $outfile
diff $1/$fname $2/$fname  $outfile
echo   $outfile
nr=$((co ++))
  fi
done
echo $co files compared.
---

Adjust to taste

HTH

-- 
richard


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



Re: switching to DHCP in a clean manner ...

2008-02-24 Thread Richard Lyons
On Sun, Feb 24, 2008 at 10:04:38PM +, Glenn Becker wrote:

 
 Hi all -
 
 I just moved from the NY metro area to the Boston metro area, and in the 
 process changed ISPs. My service is now significantly faster and cheaper, 
 but my account now assigns IPs dynamically -- previously, I'd had a static 
 IP.
 
 I have the /option/ with the new provider to get a static IP but I decided 
 to try the DHCP thing since the static is an extra charge ... all I have 
 done is add the line exec dhclient to /etc/rc.local. Now, this _works_, 
 but I don't know that it is the best solution and I suspect I may have 
 config files in there with the old IP/gate/and so forth numbers in them. 
 It has been so long since I set that networking up that I've kind of 
 forgotten the Best Way to Do It ... and the best way to clean it up and 
 switch over to something else.
 
 Can someone point me toward a good doc to read on this, or let me know if 
 I am going about this in an absurdly inelegant way. Like I say, it works 
 but I don't know that it is as good as it could be.

My quick anxiety-reliever in these situations is always grep.
Something like grep -rn 12.34.56.789 /etc/* 
using your old IP will find orphaned mentions.  

Someone wiser will give you a real answer...

-- 
richard


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



Re: [OT] Goodbye Debian

2008-02-24 Thread Richard Lyons
On Sun, Feb 24, 2008 at 10:52:00PM +0100, Dan H. wrote:

 Well, I guess the subject caught your attention after all.
 
 Of course I'm not saying goodbye to Debian, at least not voluntarily and
 certainly not at home. But I just changed jobs, and so moved from a self-
 administered Debian box to a locked-up, preinstalled all-M$ Dell thing.
 M$ Office, M$IE, Lotus Notes 6 (soon to be migrated to Outlook Express).
 
 I've never really used Windows before and thought of it as just another
 system -- I like Debian, you like Windows, no sweat.
 
 Boy, what a piece of crap. It boggles the mind. This is how the world's
 office workers get their work done? Or do they?
 
 I managed to install Opera in a directory owned by myself, but whenever I
 try to open any page it keeps asking me for usernames and passwords,
 which IE somehow seems to inherently know about. That thing doesn't even
 have tabs or a decent bookmark handler. That's the #1 browser in the
 world! WTF? Am I missing something here?
 
 OK, this rant really doesn't belong in this group, but I need some
 sympathy right now.

Understood.  That is how I feel every time I have to use my wife's
university-supplied laptop.  Or try to help her untangle some horrors
from m$word.

with much sympathy,

-- 
richard


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



Re: How to unmute the sound?

2008-02-17 Thread Richard Lyons
 Richard Lyons [EMAIL PROTECTED] wrote:
 
  
  FWIW, I have the same problem on an Acer Aspire 1640Z.  Onboard sound
  card is in my case listed as
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High
  Definition Audio Controller (rev 04)
  but the rest seems identical.  It plays normally with 'doze, so not a
  hardware issue.
  
  Someone on debian-laptop suggested getting a usb soundcard and
  sidestepping the problem (blacklisting the normal soundcard modules).
  Seems an untidy solution, but may be the only one...
  
 
 Do you get sound output if you plug in speakers or headphones into the
 headphone jack?  I had a problem with my Dell Vostro 1400, where the
 laptop's internal speakers didn't output sound, but the headphone jack
 worked fine.  Supplying the model=5stack option to the snd-hda-intel
 module fixed the problem for me.  There could be something similar for
 your particular model...

I have just tried with the speakers from my mp3 player.  Nothing :-(

How do you supply options to modules?  I could try it anyway.

-- 
richard


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



Re: How to unmute the sound?

2008-02-17 Thread Richard Lyons
On Sun, Feb 17, 2008 at 11:49:37AM +0200, Andrei Popescu wrote:

 On Sat, Feb 16, 2008 at 11:44:36PM +0100, Richard Lyons wrote:
  
  FWIW, I have the same problem on an Acer Aspire 1640Z.  Onboard sound
  card is in my case listed as
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition
Audio Controller (rev 04)
  but the rest seems identical.  It plays normally with 'doze, so not a
  hardware issue.
 
 I don't have the same card, but I have to *mute* the Headphone Jack 
 Sense in order to get sound.

I don't see any Headphone Jack·Sense anywhere in alsamixer.  I have
heard of this issue before, but this set of modules doesn't seem to
give that option.  The modules I have loded are:

snd_hda_intel  17140  5 
snd_hda_codec 126496  1 snd_hda_intel
snd_pcm_oss35968  0 
snd_mixer_oss  15872  1 snd_pcm_oss
snd_pcm74532  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer  20836  2 snd_pcm
snd48100  14
snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore   9216  1 snd
snd_page_alloc  9512  2 snd_hda_intel,snd_pcm

-- 
richard


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



Re: How to unmute the sound?

2008-02-17 Thread Richard Lyons
On Sun, Feb 17, 2008 at 06:11:52PM +0530, Kushal Kumaran wrote:

 On Sun, 17 Feb 2008 12:39:12 +0100
 Richard Lyons [EMAIL PROTECTED] wrote:
[...]
 
  How do you supply options to modules?  I could try it anyway.
  
 
 You add them to your modprobe command line, like so:
 modprobe snd-hda-intel model=5stack
 
 There is a list of supported models in
 Documentation/sound/alsa/ALSA-Configuration.txt in the linux source
 distribution.  I found an online copy at
 http://www.mjmwired.net/kernel/Documentation/sound/alsa/ALSA-Configuration.txt

Ok.  My model number is not listed, but the only likely ones listed are
model=acer and model=acer-laptop.  I assume I need to restart alsa after
each experimental modprobe.  Or do I have to remove the existing module
first, or what?

 If you can get it working with one of these options, you can set up
 the defaults options in one of the files in /etc/modprobe.d/
 (alsa-base, I think, but I'm not sure).

Looks as though alsa-base expects an environment variable $CMDLINE_OPTS
to be set first.  I wonder how to get that to happen...

-- 
richard


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



Re: How to unmute the sound?

2008-02-17 Thread Richard Lyons
On Sun, Feb 17, 2008 at 04:25:50PM +0100, Richard Lyons wrote:

 On Sun, Feb 17, 2008 at 06:11:52PM +0530, Kushal Kumaran wrote:
 
  On Sun, 17 Feb 2008 12:39:12 +0100
  Richard Lyons [EMAIL PROTECTED] wrote:
 [...]
  
   How do you supply options to modules?  I could try it anyway.
   
  
  You add them to your modprobe command line, like so:
  modprobe snd-hda-intel model=5stack
  
  There is a list of supported models in
  Documentation/sound/alsa/ALSA-Configuration.txt in the linux source
  distribution.  I found an online copy at
  http://www.mjmwired.net/kernel/Documentation/sound/alsa/ALSA-Configuration.txt
 
 Ok.  My model number is not listed, but the only likely ones listed are
 model=acer and model=acer-laptop.  I assume I need to restart alsa after
 each experimental modprobe.  Or do I have to remove the existing module
 first, or what?

Answering myself:  What I've tried is 'modprobe -r snd-hda-intel' followed
by 'modprobe snd-hda-intel model=acer'. And the same for the other one,
(which is acer-aspire not acer-laptop BTW).  In each case unmuted
'Front' and put volumes up etc in alsamixer.  But Amarok plays cds as
silently as ever, with or without the headphones.  So that doesn't solve
it.

-- 
richard


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



Re: How to unmute the sound?

2008-02-17 Thread Richard Lyons
On Sun, Feb 17, 2008 at 09:33:14PM +0530, Kushal Kumaran wrote:

 On Sun, 17 Feb 2008 16:25:50 +0100
 Richard Lyons [EMAIL PROTECTED] wrote:
 
  On Sun, Feb 17, 2008 at 06:11:52PM +0530, Kushal Kumaran wrote:
  
   On Sun, 17 Feb 2008 12:39:12 +0100
   Richard Lyons [EMAIL PROTECTED] wrote:
  [...]
   
How do you supply options to modules?  I could try it anyway.

   
   You add them to your modprobe command line, like so:
   modprobe snd-hda-intel model=5stack
   
   There is a list of supported models in
   Documentation/sound/alsa/ALSA-Configuration.txt in the linux source
   distribution.  I found an online copy at
   http://www.mjmwired.net/kernel/Documentation/sound/alsa/ALSA-Configuration.txt
  
  Ok.  My model number is not listed, but the only likely ones listed
  are model=acer and model=acer-laptop.  I assume I need to restart
  alsa after each experimental modprobe.  Or do I have to remove the
  existing module first, or what?
  
 
 You'll have to remove the module first, using modprobe -r.  Then reload
 the module with modprobe snd-hda-intel model=your choice of model

Oh thanks Kushal.  I'd worked that out in the mean time, and tried what
looked most likely.  Only then did I discover in dmesg this:
hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
So now I know the model name and can see the known options from the URL
you gave me.  The obvious one there was 
3stack-dig  3-jack with SPDIF I/O
simply on the basis that I have three jacks on the front of the laptop.
I have no idea what SPDIF I/O is, but I tried it anyway, and alsamixer
then failed to load, saying:
alsamixer: function snd_mixer_load failed: Invalid argument
So that was a no.  I suppose I can try all the alternatives, I guess it
an't do any harm.  There are only 9 more listed, though most sound
wrong.

-- 
richard


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



Re: How to unmute the sound?

2008-02-16 Thread Richard Lyons
On Fri, Feb 15, 2008 at 08:56:01AM +0100, Michelle Konzack wrote:

 Am 2008-02-13 10:05:43, schrieb Michael Yang:
  Yes. I tried to recompile because of missing sound suddenly for unknown
  reason.
  
  When I was recompiling the alsa-driver, it told me that the sound is unmated
  by default. After finished installing the driver again (without checking if
  sound is muted or unmated), when using alsactl store, it returns that no
  sound card found. But the sound card is indeed there by lspci.
  
  In alsamixer, there's no MM for each volume bars. I have tried to ajust
  and switch mute mode, it works pretty well. But no sound output. I don't
  know why!
 
 I have an nNidia Sound in a Laptop (Acer Aspire 7720) and have exactly
 the same problem with the exception, that I have ONLY a Master and
 Balance and not more.  The Maser is unmuted but no sound, while cdcd
 is playing fine the CD inserted...

FWIW, I have the same problem on an Acer Aspire 1640Z.  Onboard sound
card is in my case listed as
  Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition
  Audio Controller (rev 04)
but the rest seems identical.  It plays normally with 'doze, so not a
hardware issue.

Someone on debian-laptop suggested getting a usb soundcard and
sidestepping the problem (blacklisting the normal soundcard modules).
Seems an untidy solution, but may be the only one...

-- 
richard


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



Re: sound not working

2008-02-16 Thread Richard Lyons
On Sun, Feb 17, 2008 at 02:14:41AM +0900, Tomoki Taniguchi wrote:

 I need help getting my sound card working on my laptop.
 the sound card was working under windows prior to installing etch,
 so i know the hardware works.
 
 aplay -l gives me
  List of PLAYBACK Hardware Devices 
 card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel
 82801DB-ICH4]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
 card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH -
 IEC958 [Intel 82801DB-ICH4 - IEC958]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem
 [Intel 82801DB-ICH4 Modem - Modem]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 so it seems the sound card is recognized.
 
 i've checked alsamixer to make sure all the settings are unmuted.
 
 but i still get no sound when i play an mp3 or a video file.
 
 is there anything else i can try?

I don't want to be negative, but I have been trying for a year to solve
the same problem on an Intel 82801 chipset -- in mine it is ICH6 series.
So far nobody has been able to help, except suggesting using an external
usb soundcard...

I hope someone can find a better solution.

-- 
richard


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



Re: [OT] LaTeX

2007-11-28 Thread Richard Lyons
On Sun, Nov 25, 2007 at 11:12:38AM -0500, Michael Pobega wrote:

 Hello DU
 
 I'd like to begin writing my coursework for college in LaTeX, but I've
 no clue where to start. I began by installing the vim-latexsuite
 package, but that didn't seem to really work too well (The help pages
 are both missing), and I have no clue where to start to learn LaTeX.
 
 Any point in the right direction would really help!
 
 Also, for the Debian related question; What package would people out
 there recommend for compiling and viewing LaTeX?

I found Texmaker a wonderful tool when I first started on latex. In fact
I still use texmaker when I am feeling lazy.  (And/or Kile, almost
identical, but uses some KDE stuff and so loads more slowly first time).
The Latex guide in the help menu is a great beginner's resource and the
easy tools for most common latex markup are a quick way to get familiar
with the structure of Latex.  You can also compile and view either dvi
ps of pdf from inside the editor.  Vim Latexsuite does these things too,
but you need some vim skills to enjoy it.

-- 
richard


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



Re: Jerky Mouse

2007-11-28 Thread Richard Lyons
On Wed, Nov 28, 2007 at 10:08:41PM +0100, Axel Schlicht wrote:

 Hi
 
 I installed the latest incarnation of Debian i386 (4.01R1) and X runs OK 
 (with no manual fiddling - first time ever, whow). But one problem remains:
 My mouse (or rather mice, for I tried several), connected to a PS2 port 
 run smoothly under Win2K and Knoppix 4 and 5. Unfortunately, they don't 
 do so under Debian. Instead of gliding continuously over the screen they 
 rather jump. So everything requiring a mouse, e.g., web browsing, 
 drawing (tgif, xfig etc.) is almost impossible.

Have you installed gpm?  Which might be part of the answer...

-- 
richard


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



Re: reverting to 'standard' etch installation

2007-11-02 Thread Richard Lyons
On Fri, Nov 02, 2007 at 06:02:44AM +0200, Andrei Popescu wrote:

 On Wed, Oct 31, 2007 at 10:11:00AM -0400, Douglas A. Tutty wrote:
  
  5.  
  Now, anything else in the list are packages from stable that got
  upgraded to unstable as part of installing gnomad2 (things that
  gnomad2 required at a higher version than things in stable).
  One at a time, find the same package name in the regular section
  and see what depends on it and see if you have anything.  Then,
  mark for removal the package in obsolete, mark the stable
  package for install and mark it for automatic.
 
 You could also press Enter to open the package description. At the 
 bottom you can see all available versions. If all you have in 

Or 'v' gives you the versions without the description (in case you don't
know).  'q' takes you back where you were in either case.

-- 
richard


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



Re: Tool to configure sound

2007-11-01 Thread Richard Lyons
On Thu, Nov 01, 2007 at 12:51:51PM +0100, Florian Kulzer wrote:
[...]
 
 I am just following Documentation/sound/alsa/ALSA-Configuration.txt.
 The Documentation directory is part of the kernel source; you can
 also get it separately by installing the linux-doc-... package for your
 version of the kernel. 
 
 One source of problems with ALSA is that each driver (snd_hda_intel in
 your case) has to support different codec chips (here: ALC883) and that
 each codec chip can come in a number of different configurations
 (models). The ALSA developers are in an arms race with the laptop
 manufacturers, trying to make sure that the driver recognizes the codec
 chip model correctly for the ever-increasing number of laptop models. In
 your case no specific codec chip model was declared when the module was
 loaded, so the default configuration was chosen. This could mean that
 there might be an additional volume control for your chip which is
 currently inaccessible to you.
 
 You can try different codec chip models (e.g. 3stack) by running:
 
 modprobe -r snd_hda_intel
 modprobe snd_hda_intel model=3stack

I tried that arbitrarily, but it didn't happen to be the one.  I shall
have to read the documentation to see what other options there are.
 
 There might be a model which makes sound work right away, or which at
 least gives you an additional control which you can unmute and turn up.
 Maybe one of the other workarounds discussed in ALSA-Configuration.txt
 will get you going. If you find module parameters that work then you can
 append them to the hda-intel options line in /etc/modprobe.d/sound.
 
 Other things to consider are:
 
 - The problem might go away automatically if you upgrade to a newer
   version of ALSA and/or the kernel. (I don't recall if you mentioned
   which branch of Debian you are currently using.)i

Yes, I did upgrade to the latest in etch (which I am running currently)
hoping for such a miracle.  Maybe I should consider going back to sid,
which I ran for a long time previously.  I had the impression three
months or so ago that that was a bad moment to get into sid, so I am
still here in etch.
 
 - Maybe you can avoid the trial-and-error if you find someone who
   figured it out already for your laptop model. (TuxMobil, etc.)

I'll go there when I have a moment

 - The ALSA mailing list is the last resort if all else fails.

Florian, thanks for all these good suggestions, and for pointing me to
the correct source for information.  I hadn't planned on becoming an
expert in alsa, but a suppose a little more knowledge will do no harm,
and might make my computer speak...

-- 
richard


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



Re: Tool to configure sound

2007-11-01 Thread Richard Lyons
On Thu, Nov 01, 2007 at 08:28:08AM -0700, Andrew Sackville-West wrote:

 
 I'm not sure if its been mentioned in this thread yet or not, but at
 least some (well, okay, one -- mine!) distinguishes between onboard
 sound and an external amplifier. My rig has two jacks on the front,
 one for headphones and one for external amplifier. For some reason the
 default configuration is to have the external amp *on*. This mutes the
 rest of the sound (even if the channels don't show as muted in
 alsamixer. 

That could be the case, I suppose.  I have three jack sockets,
headphones, mike, and one of thse symbols that might be almost anything

((o)  --a bit like that but with a horizontal line going through the
 'o' and the right hand backet.

 In the event you have this sort of configuration, unless you get an
 external amplifier control in alsamixer, then you've not got the right
 configuration and won't get sound. It took me a while to figure that
 out... mute the external amp, and the rest of sound magically works.
 
 Florian's idea of moving up to a backported kernel is a good one, IMO.

Hes, I am sure that is a good idea.  Sadly I fear it will hae to wait
for a few days as I am rushed with things that matter more.

Thanks to both of you.  I guess I shall start a new thread if the saga
continues when I get back to it (or maybe there will only need to be a
single SOLVED posting crosses fingers)

-- 

richard


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



Re: Tool to configure sound

2007-11-01 Thread Richard Lyons
On Thu, Nov 01, 2007 at 08:18:35PM +0100, Nigel Henry wrote:

 
 I think I'd also consider upgrading the alsa driver. I've been on the 
 alsa-user list for ages, and most recently on the alsa-devel list. the alsa 
 folks are working hard on resolving problems, particularly with hda intel, 
 and patches are constantly being applied to the nightly builds of the alsa 
 driver, which is available from.
 ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/
 
 The now current 1.0.15 alsa driver is available from.
 http://alsa-project.org
 
 Richard is using Debian Etch, and on my Etch using the 2.6.18-5-686 kernel, 
 the alsa driver version is showing as 1.0.12rc1 (Thu Jun 22 13:55:50 2006 
 UTC). This works fine for my audigy2 soundblaster (emu10k1), but for your 
 laptop Richard, if it's the latest, and greatest, you may just have to go 
 with upgrading the alsa driver.

Well, latest and greatest it isn't.  I bought it because it was cheap in
a clearance sale and had 'doze on it, which I needed for 5 minutes to set up 
a GPRS modem. (Actually, it turned out I didn't need it after all...).
By my standards, it is recent (my next most modern is the IBM 600E) 

Anyway, suggestion noted: I'll start with the kernel and move on to the
alsa driver if necessary.

Thanx,

-- 
richard


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



Re: [OT] Scripting question: the length limit of a list?

2007-11-01 Thread Richard Lyons
On Thu, Nov 01, 2007 at 01:49:03PM -0700, Mike Bird wrote:

 On Thursday 01 November 2007 13:07, Wei Chen wrote:
  I would like to write a bash script like the following one:
 
  for i in `some program that outputs a word list`
  do
echo $i
  done
 
  where the word list can be very very long. I wonder what is the upper bound
  limit of the length of word lists in for loop of a bash script, or
  does it only
  depend on the hardware (say, RAM)? Thank you in advance.
 
 Assuming that the words are output one per line, something
 like the following can handle lists of any size:
 
 some program | while read i; do echo $i; done

A wild thought, but if you want to count the words in the output can you
not pipe it to wc?  I haven't tried, this is just a thought...

-- 
richard


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



getting back a deleted thread

2007-11-01 Thread Richard Lyons
Err...
Embarrassed question.  Suppose you are reading du with mutt.  You clear
away all the stuff you don't want to follow with a series of ^d and 
then $... and then you realize you accidentally deleted a thread of
infinite wisdom you were going to save and have engraved in gold.  Is
there any way to get it back?  Other than googling for it piecemeal.

-- 
richard


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



Re: Tool to configure sound

2007-10-31 Thread Richard Lyons
On Wed, Oct 31, 2007 at 02:10:24PM +0800, swhe wrote:

 
   can u get the sound when u use a headphone?
  
 
  No, that seems silent too.
 
 what's the result of  cat   /proc/asound/cards 

 0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0xd000c000 irq 177

and, as I haven't given it before in this thread
$ lspci | grep udio
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) High Definition Audio Controller (rev 04)

-- 
richard


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



Re: Tool to configure sound

2007-10-31 Thread Richard Lyons
On Wed, Oct 31, 2007 at 10:59:14AM +0100, Florian Kulzer wrote:

 
 I don't see anything obvious, but the names and the functions of the
 ALSA controls are always a bit counterintuitive to me. (Also, for added
 fun, they are different for every card.)

In this case there are not too many of them, only 'PCM', 'Front',
'Line', 'Mic', 'IEC958', 'Capture', 'Capture', 'Input So', 'Input So.'

 You could keep speaker-test running in one terminal while using
 alsamixer in another terminal to play with the controls until you hear
 sound. 

That was fun.  I think I tried every permutation.  PCM has only volume;
Front, Line, and Mic have volume and mute; IEC958 has only mute; the two
Captures have volume and space toggles a display of
LR
CAPTUR
beneath, whatever that may mean (stereo on and off?); the two Input So.
have only the option to be Line or Mic.

Anyway, it remains steadfastly silent in every conceivable state while
speaker-test continues to say 
Time per period = 2,986811
 0 - Front Left
and so on.

It is not hardware, I have booted Doze a couple of times, and that gives
nasty little jingles.

Never mind -- I'll buy a phonograph, a soft cloth and scour the
second-hand markets for vinyl...

Thanks anyway.

-- 
richard


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



Re: Apt-Get or Aptitude

2007-10-31 Thread Richard Lyons
On Tue, Oct 30, 2007 at 09:31:12PM -0700, Daniel Burrows wrote:

 On Wed, Oct 31, 2007 at 12:53:46AM +0100, Richard Lyons [EMAIL PROTECTED] 
 was heard to say:
[...]
  reverse direction in mid-search in aptitude.  I often race past a
  relevant match by being too quick on the n.  If only b for back or
  p for previous or N or whatever switched the direction without
  having to reenter the search using \ or page up enough times to probably
  pass whatever it was you didn't quite see...
 
 changeset:   604:42378273c12b
 user:Daniel Burrows [EMAIL PROTECTED]
 date:Sat Mar 10 16:46:30 2007 +
 summary: [aptitude @ Add a keyboard command bound to 'N' that repeats the 
 last search in the opposite direction (Closes: #414020, #397880)]

Great!  I look forward to that hitting etch.

-- 
richard


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



Re: Charging iPod / Listening to music

2007-10-31 Thread Richard Lyons
On Wed, Oct 31, 2007 at 08:41:38AM -0400, Douglas A. Tutty wrote:

 On Tue, Oct 30, 2007 at 06:14:49PM -0600, Nate Duehr wrote:
  On Oct 30, 2007, at 4:01 PM, Mathieu Malaterre wrote:
  
   It works, I can listen to music again, but even if the cable is
  pluged it does not seems to be charging...
  
  That makes sense.  USB devices have to request how much power-draw  
  they want to pull from the host.  If you kill the stuff that talks  
  to USB devices, they can't request power.
 
 Then how does my USB light get power; surely it doesn't request enough
 power to run an LED?  I can also charge my Palm with the computer off;
 there's nothing running to receive any request.

Oh, that is interesting.  Only yesterday I noticed that (at least on
this laptop) the usb is dead when the computer is off.  Plugging in the
mp3 player, for example, (or mobile phone charger) has no effect, even
if the power lead to the portable is connected.  Only when I start the
computer up does the usb go live.  I wonder if this is simply the normal
arrangement for laptops?

-- 
richard


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



Re: Tool to configure sound

2007-10-31 Thread Richard Lyons
On Wed, Oct 31, 2007 at 06:38:02PM +0100, Florian Kulzer wrote:

 On Wed, Oct 31, 2007 at 11:48:16 +0100, Richard Lyons wrote:
[...]
 OK, so the hardware works.
  
  Never mind -- I'll buy a phonograph, a soft cloth and scour the
  second-hand markets for vinyl...
 
 To keep yourself entertained until you get the phonograph, you could
 post the output of these commands:
 

$ cat /proc/asound/card0/codec* | head
Codec: Realtek ALC883
Address: 0
Vendor Id: 0x10ec0883
Subsystem Id: 0x1025160d
Revision Id: 0x12
Default PCM: rates 0x560, bits 0x0e, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  PCM: rates 0x560, bits 0x0e, types 0x1

$ grep '.*' /sys/module/snd_hda_intel/parameters/*
/sys/module/snd_hda_intel/parameters/enable:N
/sys/module/snd_hda_intel/parameters/id:NULL
/sys/module/snd_hda_intel/parameters/index:0
/sys/module/snd_hda_intel/parameters/model:NULL
/sys/module/snd_hda_intel/parameters/position_fix:0
/sys/module/snd_hda_intel/parameters/probe_mask:-1
/sys/module/snd_hda_intel/parameters/single_cmd:N

Maybe I'm dim or maybe it is just late, but I can't even guess what all
that says.  I'm impressed you even knew to suggest those.  Do they help?

-- 
richard


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



Re: Tool to configure sound

2007-10-30 Thread Richard Lyons
On Sun, Oct 28, 2007 at 10:55:02PM +0100, Bruno Costacurta wrote:
[...]
 I followed instructions at the here previous indicated URL and run 'alsaconf' 
 which indeed completed and corrected the configuration of my sound 
 card.  
 Now everything is fine. All tests are OK.

Lucky man!  I wish it would work for my Acer laptop!  Still, I suppose
after all these years I should know better than to expect sound on a
laptop. I see I have 3 modules loaded that you don't have, maybe it's
something to do with them.

snd_hda_intel  17140  0 
snd_hda_codec 126496  1 snd_hda_intel
snd_pcm_oss35968  0 
snd_mixer_oss  15872  1 snd_pcm_oss
snd_pcm74532  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer  20836  1 snd_pcm
snd48100  6
snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore   9216  1 snd
snd_page_alloc  9512  2 snd_hda_intel,snd_pcm

Still, it's all way over my head...

:-(

richard


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



Re: Tool to configure sound

2007-10-30 Thread Richard Lyons
On Wed, Oct 31, 2007 at 07:52:59AM +1100, Charlie wrote:

 On Wed, 31 Oct 2007, Richard Lyons shared this with us all:
[...]
 --} Lucky man!  I wish it would work for my Acer laptop!  Still, I suppose
 --} after all these years I should know better than to expect sound on a
 --} laptop. I see I have 3 modules loaded that you don't have, maybe it's
 --} something to do with them.
 --}
 --} snd_hda_intel  17140  0
 --} snd_hda_codec 126496  1 snd_hda_intel
 --} snd_pcm_oss35968  0
 --} snd_mixer_oss  15872  1 snd_pcm_oss
 --} snd_pcm74532  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
 --} snd_timer  20836  1 snd_pcm
 --} snd48100  6
 --} snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
 --} soundcore   9216  1 snd
 --} snd_page_alloc  9512  2 snd_hda_intel,snd_pcm
 --}
 --} Still, it's all way over my head...
 
 I have two Acer laptops and both have sound configured and working using 
 alsaconf, have you tried it?

A hundred times.  It says ALSA is ready to use, and wishes me a lot of
fun.   As long as it's happy...  
In fact the link given earlier in the thread to
http://newbiedoc.berlios.de/wiki/Sound_in_Debian_GNU/Linux
says:
Alsaconf is so buggy that it is best not to use it at the moment
(according to [bug no 432678]).

You now have to use udevtrigger instead of alsaconf.

But that did nothing useful either as far as I could tell.

Mine is an Acer Aspire 1640Z, FWIW.

-- 
richard


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



Re: When I try to save html pages, nothing happens

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 02:02:42PM -0700, tom arnall wrote:

[...]
 
 when you say 'the rest of /var should be owned by root as well,' do you mean 
 everything under /var, not just the immediate subdirectories?

Depending on what your webserver is serving, at least some tranches of
/var/www may need to be owned by www-data (or whatever the webserver is
running as).

-- 
richard


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



Re: Tool to configure sound

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 10:13:30PM +0100, Florian Kulzer wrote:

 On Tue, Oct 30, 2007 at 22:00:43 +0100, Richard Lyons wrote:
[...]
  
  Mine is an Acer Aspire 1640Z, FWIW.
 
 What happens if you run speaker-test, do you get an error message or
 is it just not producing any sound?

It says this sort of thing:

speaker-test 1.0.13

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
Time per period = 2,657907
 0 - Front Left
Time per period = 2,986793
 0 - Front Left
Time per period = 2,986802
 0 - Front Left
Time per period = 2,986797
 0 - Front Left
...

until I ctl-c out of it.  But silently.

That doesn't look to me like errors.

-- 
richard


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



Re: Charging iPod / Listening to music

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 11:01:53PM +0100, Mathieu Malaterre wrote:

   When I plug my iPod using the USB cable I get the 'Do not
 disconnect' screen on the ipod. It's great because I can see the ipod
 is charging. But to listen to music I do not understand what I need to
 do. I tried:
 
  $ eject /dev/sda
 - return an error

I had terrible problems with the ipod nano too.  IIRC, I eventually got
it to work with gtkpod, which was able to eject the pod so that is
allowed me to unplug it.  It was my first adventure with an mp3
player, so I may just have been being stupid.  Anyway my son borrowed it
and never gave it back, so I was free to buy a Samsung YP-K3 instead.
After a rather hairy experience upgrading the firmaware to the Taiwan
version, it is far easier, reads ogg or mp3 files, can be managed via
konqueror, mc or simply cli!  But listening to the pod while it is
attached?  I had the impression that was impossible with either machine.

Not that that helps -- I suppose you were not thinking of lending the
ipod permanently as a solution...

-- 
richard


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



Re: Tool to configure sound

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 11:32:18PM +0100, Florian Kulzer wrote:

[...]
 
 That is indeed the normal output, so speaker-test seems to think
 everything is OK. What do you get from running amixer?

Florian, hello.  How nice to have your help once again.

Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 230 [90%]
  Front Right: Playback 230 [90%]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 24 [77%] [on]
  Front Right: Playback 24 [77%] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 19 [61%] [on]
  Front Right: Playback 19 [61%] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 4 [13%] [off]
  Front Right: Playback 4 [13%] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [off]
  Front Right: Capture 0 [0%] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: enum
  Items: 'Mic' 'Line'
  Item0: 'Mic'

I assume this is listing the results of my last wild click-on-
anything-to-see-if-it-helps session with alsamixergui.

Needless to say, nothing did help.  Perhaps the sound is just muted 
because Debian doesn't know about the blue function key things on 
the laptop.  I have tried pressing the speaker-related ones, but also 
to no avail.  Debian doesn't know about the screen brightness keys 
either -- gives 2 error messages for every keypress -- but they still
work on the brightness.

-- 
richard


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



Re: Apt-Get or Aptitude

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 05:22:16PM -0600, Nate Duehr wrote:

[...]
 aptitude is by far one of the best package management tools out  
 there.  Newbies and folks really stuck in the graphic-oriented/desktop  
 user world may like synaptic better, but for just getting things done  
 -- aptitude wins hands down, almost all the time.

I do agree!  Just occasionally, I fire up synaptic to browse a category,
say stuff to do with sound, or mail for example.  It is slightly easier
in synaptic to browse than it is in aptitude.  And I wish you could
reverse direction in mid-search in aptitude.  I often race past a
relevant match by being too quick on the n.  If only b for back or
p for previous or N or whatever switched the direction without
having to reenter the search using \ or page up enough times to probably
pass whatever it was you didn't quite see...

Anyway, niggles apart, aptitude rules OK.

-- 
richard


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



Re: Charging iPod / Listening to music

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 07:43:08PM -0400, steve wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Richard Lyons wrote:
  On Tue, Oct 30, 2007 at 11:01:53PM +0100, Mathieu Malaterre wrote:
  
When I plug my iPod using the USB cable I get the 'Do not
  disconnect' screen on the ipod. It's great because I can see the ipod
  is charging. But to listen to music I do not understand what I need to
  do. I tried:
 
 its not possible to listen and charge an ipod on any platform with the
 ipod firmware.  I went through this many years ago. Maybe look at
 rockbox?

In fact, this may be another advantage of the samsung.  You cannot
listen via the headphones when the USB is connected, but since you have
complete access to the filesystem while it is charging, I assume you
could listen via the computer.  If I get sound working on the laptop, I
test this.

-- 
richard


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



Re: Tool to configure sound

2007-10-30 Thread Richard Lyons
On Wed, Oct 31, 2007 at 09:13:55AM +0800, swhe wrote:

 On 10/31/07, Richard Lyons [EMAIL PROTECTED] wrote:
  On Tue, Oct 30, 2007 at 11:32:18PM +0100, Florian Kulzer wrote:
 
  [...]
  
   That is indeed the normal output, so speaker-test seems to think
   everything is OK. What do you get from running amixer?
[...]
  Needless to say, nothing did help.  Perhaps the sound is just muted
  because Debian doesn't know about the blue function key things on
  the laptop.  I have tried pressing the speaker-related ones, but also
  to no avail.  Debian doesn't know about the screen brightness keys
  either -- gives 2 error messages for every keypress -- but they still
  work on the brightness.

 can u get the sound when u use a headphone?
 

No, that seems silent too.

--
richard


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



Re: [solved] Re: ps2pdf resizes page size to wrong format

2007-10-27 Thread Richard Lyons
On Thu, Oct 25, 2007 at 09:56:13AM +0200, Johannes Wiedersich wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Kevin Mark wrote:
  I'd try to investigate every file in /etc that deals with pdf or ps or
  the reverse depends of ps2pdf. Maybe there is some value that is
  different. Also are the reverse depends the same versions?
 
 Thanks!
 
 It turned out to be /etc/papersize
 
 /===
 mybox:/etc# cat /etc/papersize
 a4
 \===
 
 did it.

I'm not sure where I saw it documented years ago, but ps2pdf does obey
gs commands, so 'ps2pdf -sPAPERSIZE=a4 myfile.ps' (output filename is
optional and defaults to myfile.pdf) will also work, and is occasionally
useful when you want to use papapersize other than the system default.

HTH

-- 
richard


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



Re: digital album making choices and photo management

2007-10-16 Thread Richard Lyons
On Fri, Oct 12, 2007 at 01:29:11PM -0400, H.S. wrote:

 
 Hello,
 
 Could some users share their photo management experiences in Debian
 here? I have this little project at hand. The objective is to make a
 digital album of family pictures to be given to family members on a CD.
 
 I am thinking on the lines that the CD should have self contained
 digital album. The photos should be accessible directly and easily as
 well as through some sort of cross platform photo browser run directly
 from the CD. 

If you just want the photoalbum (not music and other bells and whistles),
I think qdig should do it for you.  It is a gallery in one file, written
in php, so ought to be cross-platform.  It can be configured to work on
a hierarchy of directories in various ways and the 'look' is also
configurable.  You could then just access the top level directory, in
which the script sits, via a web-browser on any computer with a webserver.

There is no Debian package AFAIK but it is easily available as a
tarball.

HTH

-- 
richard


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



Re: Tool for document management

2007-10-11 Thread Richard Lyons
On Thu, Sep 27, 2007 at 01:31:57AM -0500, Manoj Srivastava wrote:

 On Wed, 26 Sep 2007 21:31:32 -0400, Douglas A Tutty
 [EMAIL PROTECTED] said:  
 
  Here's my personal letter template.  I copy it to the correct file
  name, edit it, then latex it.  The letter text itself is just plain
  text.
 
 
  \documentclass[letterpaper,12pt]{article}
  %preamble here
  \begin{document}
  % no page number on this first page
  \thispagestyle{empty} \begin{flushleft} Douglas A. Tutty\\ xxx
  x, RR. x\\ xx, ON xxx xxx\\ Ph: (xxx) xxx--\\ Email:
  [EMAIL PROTECTED] \end{flushleft}
 
  \noindent \today
 
  \bigskip
[...]
 
 --8---cut hereletter_template-8---
 
 \documentclass[12pt]{letter}
 \usepackage[dvips]{graphicx}
 \usepackage{times}
 \pagestyle{empty}
 \usepackage[margin=1in, head=0.25in, headsep=0.25in, nofoot]{geometry}
 \setlength{\topmargin}{0pt}
 \setlength{\oddsidemargin}{0pt}
 \setlength{\headheight}{0pt}
 \setlength{\headsep}{0pt}
 \setlength{\footskip}{5pt}
 \setlength{\textheight}{9.0in}
 \setlength{\textwidth}{6.5in}
 
 \address{Manoj Srivastava\\
 229 Brandon Lane\\
 Woodbury, TN 37190}
[...]

Thanks, guys.  I have been doing the same sort of thing -- in more
complex templates -- for some years.  I've always felt it was a bit
clumsy to finish up with all these files cluttering up my nice clean
directories.  So now you have spurred me into writing a script to take
a given letter -- just the bit from the address to the end of the
content -- and add the template letterhead, the date, and the closing,
put the heading in bold, then latex, dvips, save a tagline on the
original body file to say which template was used, what date, and what
style of closing, clean up the intermediate files and make tea.

Well, I nearly did it too, but I couldn't persuade bash to stop
stripping out backslashes, so I've started again in perl. Nearly there
now.  So thanks for the stimulation.  I've been putting this off for
years.  Now I'll be able to write letters mostly in plain text. :-)

But it doesn't yet make tea...
-- 
richard


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



Re: good tool to recover scratched CD's/DVD's?

2007-10-11 Thread Richard Lyons
On Wed, Oct 03, 2007 at 02:34:25PM -0500, Russell L. Harris wrote:

 There is a mechanical device which is able to restore a scratched CD
 by polishing it with a mild abrasive.  

Perhaps surprisingly, I have often done this by hand.  Choose a very
fine grit -- the best in the UK is Brasso, intended for polishing
brass, as you might guess. Use a soft clean cloth.  You can get quite
serious scratches out by multiple applications and polishes.  The
surface acquires a slight wave where you work on it most, but they
seem to be readable usually.

There's nothing like the old ways...

-- 
richard


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



Re: texmaker bug?

2007-10-11 Thread Richard Lyons
On Wed, Oct 10, 2007 at 04:48:57PM -0500, Mumia W.. wrote:

[...]
 
 I didn't even know what texmaker was until today.

It's surprisingly unknown: people are always complaining about learning
latex, but with texmaker you hardly need to.  Kile is the same thing
(originally built on it, I believe) but with a load of kde stuff running 
so texmaker starts in a fraction of the time.

Recommended. Particularly for those who don't want to learn vim-latexsuite.

-- 
richard


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



Re: mail messages with only html

2007-09-15 Thread Richard Lyons
On Fri, Sep 14, 2007 at 10:42:00PM -0500, Jude DaShiell wrote:

 If there's another plumbing facility like lynx that can move parts into 
 message bodies that could be attached to the lynx pipe so the message 
 first goes through the part shifter and then goes through lynx.

Jude thanks for your various useful comments.  I do not have procmail
running at the moment, so this will have to wait till I have time to
check I don't break something, but I have saved your code snippet etc.

-- 
richard


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



Re: mail messages with only html

2007-09-15 Thread Richard Lyons
On Fri, Sep 14, 2007 at 02:18:08PM -0700, John L Fjellstad wrote:

 Richard Lyons [EMAIL PROTECTED] writes:
 
  I fail to see why you couldn't write a filter (using maildrop or
  procmail) to pipe the message through w3m -dump (or links -dump) before
  storing the message.
 
  Thanks John.  That seems to be the definitively best way to go.  I just
  have to work out how to reliably identify or flag the offending messages for
  treatment.
 
 All html mail should have content type set to text/html
 
  Also, IMAP won't care if you change the message. You just upload the
  message as a new message. I do it all the time with I add labels etc.
 
  It will be better if I leave the headers alone, so that threading
  doesn't get broken.
 
 Well, I was talking about created a brand new message.  When I add
 labels etc, I add header lines, but the message itself is like the
 original.  But as far as IMAP is concerned, I deleted the old message
 and uploaded a new message.  As long the In-Reply-To header is still
 there, the threading shouldn't be broken

Ok, I suppose that is obvious, but I have never tinkered with mail
before.  Thanks for the help.

-- 
richard


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



Re: html email

2007-09-15 Thread Richard Lyons
On Sat, Sep 15, 2007 at 12:01:21AM -0500, Jude DaShiell wrote:

 Nobody quote me on this, but I think I found the tool to strip out mime 
 attachments and decode them.  If I'm right, piping messages through 
 uudeview -f -c before piping them through lynx using that procmail stuff 
 may solve this problem. I'll know by tomorrow since I have a few lists 
 that send stuff this way.

Just downloaded uudeview to read the man page.  -f and -c both sound
like like risky options...

Awaiting your results with bated breath...

-- 
richard


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



Re: another script query (perl?) -- OT

2007-09-15 Thread Richard Lyons
On Sat, Sep 15, 2007 at 09:22:45PM +1200, Chris Bannister wrote:

 On Fri, Sep 07, 2007 at 03:04:50PM +0100, Richard Lyons wrote:
  Hi, all you script wizards.
  
  I thought this would be easy, but I haven't found anything to crib
  from...
  
  I need a script to read a text file (actually tex) and parse lines of a
  table that may or may not span newline characters in the file.
  Basically, there are lines of the form
  
 {some text}  {some more text}  {text c}  {text d} \\
 
 
 Wrong list, for this sort of question. This list is _supposed_ to be for
 Debian specific usage questions.

Yes, but these guys are _good_.  Problem was solved about a week back
thanks to them.  Have a nice day!

-- 
richard


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



Re: mail messages with only html

2007-09-15 Thread Richard Lyons
On Sat, Sep 15, 2007 at 07:59:13PM +0200, s. keeling wrote:

 Ron Johnson [EMAIL PROTECTED]:
  
   On 09/13/07 17:36, Richard Lyons wrote:
   This is becoming more of a problem.  There is a growing number of firms
   that are incapable of sending out normal emails.  They insist on sending
   blank messages with an html attachment only.  Of course this is usually
  
   Not a direct answer to your question, but if you are using mutt
   under X, then there are html viewers that can hook into mutt.
 
 Not just X.  w3m works just fine with mutt.
 
 (0) heretic /home/keeling_ grep w3m mutt/mailcap
 multipart/alternative ;  /usr/bin/w3m -dump %s; copiousoutput; 
 nametemplate=%s.html
 multipart/related ;  /usr/bin/w3m -dump %s; copiousoutput; 
 nametemplate=%s.html
 text/html ;  /usr/bin/w3m -T text/html -dump %s ; copiousoutput
 

Thanks.  I have now set up mutt and mailcap as you and Benjamin suggest
and the whole issue is greatly eased.  The reply function also now picks
up the w3m output as someone else indicated so it is pretty convenient.
I probably shall one day set up the filter to scrap the html part
completely and save only the email version (by which I mean plain text),
but it is no longer urgent.

Another example of my having given up without learning enoough first :-(

But thanks to everybody for the support.

-- 
richard


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



Re: mail messages with only html

2007-09-14 Thread Richard Lyons
On Fri, Sep 14, 2007 at 12:24:03AM +0100, Benjamin A'Lee wrote:

 On Thu, Sep 13, 2007 at 05:46:21PM -0500, Ron Johnson wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  On 09/13/07 17:36, Richard Lyons wrote:
[...]
   could I in principle write a script to take such void plus html
   messages, strip the tags (replacing URLs when the href text
   doesn't have it) and write the bare text back into the source
   email 
[...]
 
 There are viewers that can hook into Mutt even if you don't run it under
 X. 
 
 In .muttrc:
 auto_view text/html
 
 In .mailcap:
 text/html; w3m -dump -T text/html '%s'; copiousoutput
 
 Or:
 text/html; lynx -dump '%s'; copiousoutput # or something like that.
 
 Or use the pipe function to feed it into one of those viewers, for an
 interactive session.

Obviously a better method, yes.  But when I reply, I will not get the
received text quoted ready for editing if the email is void.  The best
approach might be to take the output of w3m (or links2, elinks, or lynx)
and write that back instead of the original attachment.  Then the
archive copy will be neat and parsimonious, and any reply will have
text to edit.  I wonder how to find $myMessageId to do that.  Could even
automate it so that it happens for every void email with an html
attachment before I even open it...

-- 
richard


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



Re: mail messages with only html

2007-09-14 Thread Richard Lyons
On Fri, Sep 14, 2007 at 09:33:37AM -0700, Andrew Sackville-West wrote:

 On Fri, Sep 14, 2007 at 09:10:44AM +0100, Richard Lyons wrote:
  On Fri, Sep 14, 2007 at 12:24:03AM +0100, Benjamin A'Lee wrote:
  
   On Thu, Sep 13, 2007 at 05:46:21PM -0500, Ron Johnson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/13/07 17:36, Richard Lyons wrote:
  [...]
 could I in principle write a script to take such void plus html
 messages, strip the tags (replacing URLs when the href text
 doesn't have it) and write the bare text back into the source
 email 
  [...]
   
   There are viewers that can hook into Mutt even if you don't run it under
   X. 
   
   In .muttrc:
   auto_view text/html
   
   In .mailcap:
   text/html; w3m -dump -T text/html '%s'; copiousoutput
   
   Or:
   text/html; lynx -dump '%s'; copiousoutput # or something like that.
   
   Or use the pipe function to feed it into one of those viewers, for an
   interactive session.
  
  Obviously a better method, yes.  But when I reply, I will not get the
  received text quoted ready for editing if the email is void.  The best
  approach might be to take the output of w3m (or links2, elinks, or lynx)
  and write that back instead of the original attachment. 
 
 that's what others were saying about using procmail (or some other
 MDA) to pipe the message through a console based html reader and
 dumping the output back into the message body.

Sounds a good idea.  I'll have to wait till I'm feeling strong before
starting on that though.  Procmail scares me.

-- 
richard


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



Re: mail messages with only html

2007-09-14 Thread Richard Lyons
On Fri, Sep 14, 2007 at 09:02:56AM -0700, John L Fjellstad wrote:

 Richard Lyons [EMAIL PROTECTED] writes:
 
  Obviously a better method, yes.  But when I reply, I will not get the
  received text quoted ready for editing if the email is void. 
 
 If you click on v, and select the text/html version of the message and
 click on r, mutt will quote the text/html version of message, and not
 the plain text.  

My mutt doesn't do that.  Just gives me a blank page (i.e. the contents
of the empty email without the html attachment).  Anyway I want to have
the html stripped of tags to reply to.

-- 
richard


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



  1   2   3   4   5   6   7   8   >