CD-ROM: inappropriate ioctl

2020-01-18 Thread jeremy bentham
Using the eject command I get the following message:

  eject: unable to eject, last error: Inappropriate ioctl for device

This is new:  I used the drive to install the OS (jessie? Debian 9, anyway)
and I've actually--not too recently--listened to a CD on it.

Feeding The Duck the message didn't help; nor did deleting the
device file and running mknod.

The command sees the drive (it's not the quietest thing in the
world, and I can hear it clunking in the case).  It just doesn't
open the tray.

-- 
 Dave Williamsd...@eskimo.com



CD-ROM: inappropriate ioctl, addendum

2020-01-18 Thread jeremy bentham
The drive also does not respond to the physical control on the
case.

-- 
 Dave Williamsd...@eskimo.com



Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents

2016-11-06 Thread jeremy bentham
On Sat, Nov 05, 2016 at 03:01:14PM -0700, Dan Hitt wrote:
> Does anybody know of a piece of software that you can give an URL to,
> and it will then fetch the url and email the contents to you?
> 
> This could be a stand-alone app on the desktop, or a plug-in to a
> browser, or a web site, or some combo.  (I guess it could be a
> pipeline of curl and some mail program, but i'm afraid i'd just get
> piles of incomprehensible text.)
> 
> I would plan on sending the mail to my gmail account (for searching
> and archival purposes).
> 
> TIA for any clues.
> 
> dan

I use lynx for this; it's not completely automagic, you have to
configure it a little.  And it has the drawback that it doesn't
do javascript.

In my case that doesn't matter, but you probably have different
needs.

-- 
 Dave Williamsd...@eskimo.com



Re: Vim help, tags, sudo

2016-10-24 Thread jeremy bentham
On Mon, Oct 24, 2016 at 05:24:34PM -, Frank Miles wrote:
> On Mon, 24 Oct 2016 18:30:02 +0200, jeremy bentham wrote:
> 
> > This could be a vim question, but since sudo's involved I'll
> > start here.
> > 
> > I am thrashing about, trying to get wheezy going on a new machine
> > (well, new to me.  I think the huckster term-of-art is
> > "pre-owned":  I had the pleasure of wiping dollarbill inc's crap
> > off it).
> > 
> > Anyway, I got vim installed, opened it up and wanted to look at
> > the docs for something.
> > 
> > :h 
> > 
> > resulted in, "E433:  no tags file"
> > 
> > I've been using vim for a long time, upgrading as time went
> > along, and I'd never thought about the mechanics of help.  So I
> > had to go looking.
> > 
> > Ctags wasn't installed, so I got that and ran it on the vim doc
> > directory.  It didn't make a tags file, but something that looks
> > like a config file for who-knows-what.
> > 
> > So I looked at another machine, decided that the doc directories
> > were sufficiently similar (vim 7.1 versus 7.3) and copied the
> > tags file over.  Kludgy, I know, and generally a Bad Idea (tm).
> > But I figured any damage would be limited to something already
> > broken
> > 
> > It looks like a permissions problem, but I can't see any
> > difference in that area between the machines.  (Admittedly, I'm
> > comparing Lenny to Wheezy, but it this instance should that make
> > any difference?)
> > 
> > Now I have help with "sudo vi", but not as a normal user.
> > 
> > I'm enquiring here because I'm wondering, is this symptomatic of
> > some other problem that's going to leap on me from a Very High
> > Place?
> > 
> > Ok, I want my vim docs too! I think vim would sing, if you found
> > the right configuration, and I keep learning stuff, control-]'ing
> > about the help files.  Having to keep a root session around and
> > switching to it just wouldn't be the same.  And I wouldn't know
> > why it's not working the way it's supposed to.
> 
> Which version of vim did you install?  It wasn't the "tiny" version,
> right?  Did you install vim-docs?  (not sure if that's necessary)

Actually, yeah, vim-tiny and vim-runtime, which latter, according to
apt(titude) should give me the docs.  And now that I look, I also
have vim and vim-common.

And, looking at the lenny machine, it has the same thing.  So I
don't think that's the problem.

-- 
 Dave Williams d...@eskimo.com



Vim help, tags, sudo

2016-10-24 Thread jeremy bentham
This could be a vim question, but since sudo's involved I'll
start here.

I am thrashing about, trying to get wheezy going on a new machine
(well, new to me.  I think the huckster term-of-art is
"pre-owned":  I had the pleasure of wiping dollarbill inc's crap
off it).

Anyway, I got vim installed, opened it up and wanted to look at
the docs for something.

:h 

resulted in, "E433:  no tags file"

I've been using vim for a long time, upgrading as time went
along, and I'd never thought about the mechanics of help.  So I
had to go looking.

Ctags wasn't installed, so I got that and ran it on the vim doc
directory.  It didn't make a tags file, but something that looks
like a config file for who-knows-what.

So I looked at another machine, decided that the doc directories
were sufficiently similar (vim 7.1 versus 7.3) and copied the
tags file over.  Kludgy, I know, and generally a Bad Idea (tm).
But I figured any damage would be limited to something already
broken

It looks like a permissions problem, but I can't see any
difference in that area between the machines.  (Admittedly, I'm
comparing Lenny to Wheezy, but it this instance should that make
any difference?)

Now I have help with "sudo vi", but not as a normal user.

I'm enquiring here because I'm wondering, is this symptomatic of
some other problem that's going to leap on me from a Very High
Place?

Ok, I want my vim docs too! I think vim would sing, if you found
the right configuration, and I keep learning stuff, control-]'ing
about the help files.  Having to keep a root session around and
switching to it just wouldn't be the same.  And I wouldn't know
why it's not working the way it's supposed to.

-- 
 Dave Williams|  "Awk!" he sed, bashfully.  "Do I _have_ to
 d...@eskimo.com   |  learn perl?"



Re: lynx - not all sites readable

2016-09-15 Thread jeremy bentham
On Wed, Sep 14, 2016 at 10:18:59PM +0200, Hans wrote:
> Hi list,
> 
> can someone explain, why lynx sometimes forbid websites or supresses websites?
> 
> I needed a driver from Nvidia. As I had no X available, I tried download 
> using 
> lynx. 

Many sites block lynx, because it can be used as a crawler.
Sometimes it helps to obscure the user-agent:  I stick hyphens in
in the word "lynx" there and it helps.  Not really lying...just
not telling the truth {-; .

-- 
 Dave Williams d...@eskimo.com



Re: bash, dash and sh

2015-04-23 Thread jeremy bentham
On Wed, Apr 22, 2015 at 11:43:17PM -0600, Glenn English wrote:
> 
> On Apr 22, 2015, at 9:22 PM, Bob Proulx  wrote:
> 
> > jeremy bentham wrote:
> >> I am finally abandonning my fifteen-year-old computer and Lenny
> >> for a six (?) year old used Gateway 2802 (as a Bad Consumer
> >> (tm) I never buy anything new if I can avoid it) and, right now,
> >> it has a start at Wheezy on it.

> As a consumer running an elderly server with Lenny on it, I too
> congratulate you -- Wheezy is more fun than Lenny. They fixed a
> lot of stuff that gave me trouble with Lenny.

> >> I have a bunch of scripts 
> >> 
> >> (ls -1 ~/bin | wc
> >>   138   139   1302)
> >> 
> >> with the first line #!/bin/sh that use bashisms, and the above
> >> would be a lot easier than editing each one (of course, maybe
> >> just editing each one would be easier than doing this ;-) ).

> May I suggest just changing the pointer from Dash back to Bash.
> You sound like somebody that stays with a release for a while,
> and this is would be a lot less work than editing all those
> scripts. 

I probably wasn't clear enough in my Real Question, which is,
will doing this--what I really want--Seriously Break Something? 
Lots of stuff uses "/bin/sh".

> Or maybe editing the top line of them from #!/bin/sh to
> #!/bin/bash, for the time being. 

And this was what I was trying to avoid, while possibly learning
something without having to type "man dash".  Terminal Laziness
(again, (TM)).

I'll use this reply to say, thanks for the suggestions--
especially that sed command line.  I know about sed, of course,
but I use it so seldom that I basically have to relearn it every
time I need it.

> -- 
> Glenn English

-- 
 Dave WilliamsWhen the professional politicians decide to
 d...@eskimo.com   solve a problem, the best we can hope for is 
  that they won't make it worse.


-- 
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/20150424003105.GV14392@benny



bash, dash and sh

2015-04-22 Thread jeremy bentham
I am finally abandonning my fifteen-year-old computer and Lenny
for a six (?) year old used Gateway 2802 (as a Bad Consumer
(tm) I never buy anything new if I can avoid it) and, right now,
it has a start at Wheezy on it.

I happened to read on another list, and then verified for myself,
that /bin/sh is now a link to dash, instead of bash.

If I

cd /bin
sudo rm sh; ln -s bash sh

will I break a bunch of stuff?

I have a bunch of scripts 

(ls -1 ~/bin | wc
   138   139   1302)

with the first line #!/bin/sh that use bashisms, and the above
would be a lot easier than editing each one (of course, maybe
just editing each one would be easier than doing this ;-) ).

--
Dave WilliamsIn order to save you from the terrorists, we
d...@eskimo.com   need to find out about your sex life.  And we've
 got the technology to do it!


-- 
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/20150423030228.GS14392@benny



[SOLVED, but...] mounting a Nikon camera

2014-08-03 Thread jeremy bentham
Thanks for the replies.

I can now peruse my photos with digikam, but I am not sure what
it cost me; I suspect I'll find out when next I reboot.

Installing digikam resulted, apparently, in pulling in half of
kde--cruft to me--*and* a new initrd!

I think I've had it with apt; dpkg from now on, regardless of the
hours it costs me ;-]

Lisi, why is it cowardly to mount the SD card by itself? I would
certainly have done that, but I don't have the hardware; maybe
I'm about to discover I should have acquired it.

-- 
 Dave WilliamsTo protect you from the terrorists, we need details about
 d...@eskimo.com   your sex life, and we have the technology to get them.


-- 
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/20140803191804.GT11848@benny



mounting a Nikon camera

2014-07-26 Thread jeremy bentham
>From time to time threads appear here describing troubles mounting
digital cameras.  I never paid much attention to them, because I didn't
have a digital camera and had no intention of acquiring one.

Time makes liars of us all, I guess.  I now have a Nikon L30, and I
can't get my Lenny machine (yeah, yeah, I know) to mount it.

I also have an ancient McApple, and all I have to to do there is connect
the camera, and iPhotos opens and gives me access to the SD card.

The machine sees the camera:  in /dev, the following appears when I
connect it (at 2014-07-26 20:16):

crw-rw-rw- 1 root root  5,   2 2014-07-26 20:16 ptmx
drwxr-xr-x 2 root root2880 2014-07-26 20:16 char
crw-rw 1 root root252,  12 2014-07-26 20:16 usbdev3.66_ep00
crw-rw 1 root root252,  11 2014-07-26 20:16 usbdev3.66_ep82
crw-rw 1 root root252,   9 2014-07-26 20:16 usbdev3.66_ep01
crw-rw 1 root root252,  10 2014-07-26 20:16 usbdev3.66_ep81

Note, no new block device.

And in /proc/bus/usb, a stanza in devices:

T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 66 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04b0 ProdID=0357 Rev= 1.00
S:  Manufacturer=NIKON
S:  Product=NIKON DSC COOLPIX L30-PTP
S:  SerialNumber=30067027
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=4096ms

Does that "Driver=(none)" mean I'm hosed?

So, the computer knows the camera is connected.  It just won't let me
*do* anything with it.

Whaddo I do?

--
 Dave Williams "Awk!" he sed, bashfully.  "Do I *have* to learn
 d...@eskimo.comPerl?"


-- 
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/20140727040156.GP11848@benny



Why sarge? (was:) sarge, aptitude, archives

2008-11-19 Thread jeremy bentham
On Nov 19 s. keeling wrote:

> jeremy bentham <[EMAIL PROTECTED]>:

> >  Please, no {advice, orders} to upgrade to etch.  Consider this a
> >  question about aptitude/sources.list/archives.

That does look kind of trollish.  Sorry.  Post in haste, repent
at leisure.

> Fine.  Why would you expect Sarge to work anymore?  Just curious.

Laziness.  Fear.

I have _never_ done an "upgrade" that didn't break something,
and after lurking here for a while I suspect that udev and
x.org would have me thrashing about for several days.

If it ain't broke, don't fix it:  sarge works for my simple
needs, and I'll probably stick with it until "progress" breaks
something _I_ use.

Or until my hardware fails and I have to go with a new
install anyway.  Given the age of my stuff, that's the most
likely scenario.

If the gift CDs I used to install Debian had been buzz, I'd probably
be sticking with _that_.

--
 Dave Williams
 [EMAIL PROTECTED]



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



Re: sarge, aptitude, archives

2008-11-19 Thread jeremy bentham
On Nov 19 you wrote:

> On Mon,17.Nov.08, 19:32:42, jeremy bentham wrote:

> > > > My sources.list

> > > > deb http://archive.debian.org/debian-archive/ sarge main contrib 
> > > > non-free

> > > > per the README at the archive site.

> > > That README is wrong, since there is no debian-archive directory on
> > > archive.debian.org, only a debian directory.  This has already been
> > > reported: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505754.

> > > So you just need to s/debian-archive/debian/ in your sources.list.

> > Alas, that was the first thing I tried--well,
> > s/archive.debian.org/http.us.deb.org/.

> > Suppose I should have put that in my first post [-; .

> I think you misunderstood, the correct line would be

> deb http://archive.debian.org/debian/ sarge main contrib non-free

I see I didn't put that very well; no matter.  I got the line
right.  My problem was simply not understanding aptitude.

After getting those error messages I merely needed to press
"return", then "u", select "become root", type root's password
and watch the progress bar

I can only plead that as a recent emigre from slackware land, I
became dazzled by Debian's slick package-management system and
began to expect it to read my mind.

;-}

> Regards,
> Andrei
> --
> If you can't explain it simply, you don't understand it well enough.
> (Albert Einstein)


--
 Dave Williams
 [EMAIL PROTECTED]




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



Re: sarge, aptitude, archives

2008-11-17 Thread jeremy bentham
On Nov 18 you wrote:

> On 2008-11-17 23:44 +0100, jeremy bentham wrote:

> > I can't use aptitude anymore.

> > It was working, pre-sarge-archive.

> > Typing aptitude on the command line gives me this:

> > W: Couldn't stat source package list http://archive.debian.org sarge/main
> > Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_sarge_
> > main_binary-i386_Packages) - stat (2 No such file or directory)
> > W: Couldn't stat source package list http://archive.debian.org sarge/contrib
> > Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_sarge
> > _contrib_binary-i386_Packages) - stat (2 No such file or directory)
> > W: Couldn't stat source package list http://archive.debian.org 
> > sarge/non-free
> > Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_sarge
> > _non-free_binary-i386_Packages) - stat (2 No such file or directory)

> > (That's 3 _long_ lines; I broke them up for e-mail convenience.)

> > My sources.list

> > deb http://archive.debian.org/debian-archive/ sarge main contrib non-free

> > per the README at the archive site.

> That README is wrong, since there is no debian-archive directory on
> archive.debian.org, only a debian directory.  This has already been
> reported: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505754.

> So you just need to s/debian-archive/debian/ in your sources.list.

Alas, that was the first thing I tried--well,
s/archive.debian.org/http.us.deb.org/.

Suppose I should have put that in my first post [-; .

--
 Dave Williams
 [EMAIL PROTECTED]




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



sarge, aptitude, archives

2008-11-17 Thread jeremy bentham
I can't use aptitude anymore.

It was working, pre-sarge-archive.

Typing aptitude on the command line gives me this:

W: Couldn't stat source package list http://archive.debian.org sarge/main
Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_sarge_
main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org sarge/contrib
Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_sarge
_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org sarge/non-free
Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_sarge
_non-free_binary-i386_Packages) - stat (2 No such file or directory)

(That's 3 _long_ lines; I broke them up for e-mail convenience.)

My sources.list

deb http://archive.debian.org/debian-archive/ sarge main contrib non-free

per the README at the archive site.

My /var/lib/apt/lists contains line referring to http.us.debian.org
[...]; I tried moving the directory out of the way (renaming it) but
no joy.

Please, no {advice, orders} to upgrade to etch.  Consider this a
question about aptitude/sources.list/archives.

--
 Dave Williams
 [EMAIL PROTECTED]


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