Re: Odd Backspace behavior in vim

2008-10-06 Thread Dan H.
On Sun, Oct 05, 2008 at 01:48:04PM -0500, Ron Johnson wrote:
> 
> What version of vim are you using?
> 
> Which terminal window are you using (xterm, rxvt, gnome-terminal, 
> etc), and what version?
> 
> What version of X are you using?
> 
> Maybe a customized ~/.Xresources or /etc/X11/Xresources?

None of the above. But I've solved my problem by dumping xterm and using
urxvt instead.

Thanks anyway,
--Daniel


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



Odd Backspace behavior in vim

2008-10-05 Thread Dan H.
Hello people,

yes, I've done my Google homework. Yes, everybody seems to solve this
problem using "set backspace=eol,start,indent" and "set fixdel".
However, it doesn't work in xterms on this machine: Whenever I hit
backspace, the character to the right of the current cursor position
gets deleted. 

Of course this is something one could get used to, but I'm using vim not
only in xterms but also in the text console and in cygwin on another
machine, and in all of these, backspace deletes to the left. Needless to
say that it works fine in all other apps as well, and, most puzzling,
even in vim's very own command-line editor. Just not in the text window.

I don't get it. I really don't.

BTW, it also worked fine before I stopped using "screen". I stopped
using screen because I didn't really feel I needed it, and because the
Xterm mouse support in vim, which I like, wasn't supported.

Any tips?

--Daniel


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



Re: German characters in English locale

2008-03-11 Thread Dan H.
On Sun, Mar 09, 2008 at 07:09:19PM +0100, Peter Robinson wrote:
> I like to have my environment in English but need to write German texts 
> using latex.

Same here.

> The typical
> 
> \usepackage[ngerman]{babel} % deutsche Sprachunterst�tzung
> \usepackage[ansinew]{inputenc} % Zeichencodierung Windows
> \usepackage[T1]{fontenc}
> 
> 
> does not work.

Are you sure your input encoding is indeed "ansinew"? I'd bet it's
UTF-8. Last time I checked TeX didn't support UTF-8 so I'm still using
latin1 for TeX.

--D.



signature.asc
Description: Digital signature


Re: [OT] Goodbye Debian

2008-02-27 Thread Dan H.
On Tue, Feb 26, 2008 at 07:18:38AM -0600, Nate Bargmann wrote:
> Coporate IT is driven by sweetheart deals from suppliers to IT
> management.  It is full of fiefdoms and "not invented here" syndromes. 
> It is a meca to the power hungry and the control freaks.  It has little
> to do with helping the workers use the best tool for the job.  If that
> happens, it's often the result of an accident or an oversight and will
> soon be corrected.
 

The IT people here are really helpful. I get them on the line, and they
actually call back fifteen minutes after they said they would. I'm sure
I could convince them that I needed some software, but OO (for instance)
ain't THAT much better than M$ Office that I would want to bother them. 

--D.



signature.asc
Description: Digital signature


Re: [OT] Goodbye Debian

2008-02-27 Thread Dan H.
On Tue, Feb 26, 2008 at 02:57:30AM +0200, Dotan Cohen wrote:
 Actually, if he's got his own machine, then he can install the
> portableapps applications locally, without a flash drive. It's much
> faster that way, in fact, at the university I copy portable firefox to
> the machine I'm sitting at and then erase it when I leave. I recommend
> portable Open Office and mplayer as well.

I am on "my own" machine and I am able to write to local drives. I've
successfully installed Opera, but I can't install Openoffice (because
that requires root -- oops, "administrator" privileges) nor cygqin
(because its can't go through a firewall that requires authentication).

Mplayer I don't need.

--D.


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



Re: [OT] Goodbye Debian

2008-02-25 Thread Dan H.
On Sun, Feb 24, 2008 at 09:15:47PM -0600, Nate Bargmann wrote:
 
> Remember everything you've noted when the Microsofties remind you that
> Linux "is not ready for the desktop".

I must admit though that I was pretty annoyed when my wife wanted to use
sound on our home Debian box and it took me quite a bit of wading
through the system to realize that I had to manually add her to the
"audio" group. That's not desktop fitness, either. In Windows you at
least know the sound works until you manage to find the "no Sound"
scheme.

> P.S. Sounds like you went to work for the company I work for, except
> we're moving from Notes 5.something to 7.0 and it's a disaster.  Let's
> not even mention the train wreck (I work for a railroad) that IE 7.0
> has been.

This is a major semiconductor manufacturer that's doing excellent
business. I hope the OE migration won't hurt too much ;-)
 
--D.



signature.asc
Description: Digital signature


Re: [OT] Goodbye Debian

2008-02-25 Thread Dan H.
On Mon, Feb 25, 2008 at 07:15:27AM +0530, Raj Kiran Grandhi wrote:
> Well, you have just begun. Wait till you experience the real horrors of 
> windows, aka viruses, spyware, adware, etc, though with your unix like 
> browsing habits, you may be less prone to be fooled by malware sites.

Yeah, there's no problem. Also I've deactivated all of IE's plugins
(except pdf).

> You might want to install cygwin, it gives you a unix-like environment 
> within windows. It was a life-saver during my brief corporate 
> employment. See http://www.cygwin.com
 
I know cygwin, and it is on my to-be-installed list. I can't live
without find and grep and xargs and... well, a lot of good grep will
do me in a world full of Word documents.. ;-)

--D.


signature.asc
Description: Digital signature


Re: [OT] Goodbye Debian

2008-02-25 Thread Dan H.
On Sun, Feb 24, 2008 at 04:18:03PM -0600, Elf & Dmitryi wrote:
> Here's a couple things...
> 
> http://mcnlive.org/ - MCN Live, a live CD that can also be installed on
> a flash drive. There's Knoppix, too. http://www.knopper.de
> 
> http://www.sysresccd.org/ - another live CD that can edit Windows NT
> passwords.
> 
> http://portableapps.com/ has a collection of Firefox, Filezilla, GIMP
> etc., all portable and launchable from a flash drive.
> 
> And, well, the author's own Windows demoronising/essential tools
> package (it will write to Windows directory, so for most of the
> installed items it'll require an admin account, but Sysresc CD might
> help with that). This also flips around three hundred registry settings
> to somewhat more humane, making Windows a tad faster and more bearable.

That sounds good, but I'm not going to mess with the system. I must
admit that it works OK; the Lotus Email and calendar things and Excel
cover 90% of my work, IE 9% more and the rest I can do without. And
office work is only 30% of what I do. I can and will live with it but
fun it ain't. Awww- if using the computer were too much fun I'd be
spending too much time in the office and not in production.

Thanks for the hints though. Saved for future reference.

--D.

 


signature.asc
Description: Digital signature


[OT] Goodbye Debian

2008-02-24 Thread Dan H.
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.

Thanks for listening,
--D.



signature.asc
Description: Digital signature


Re: OMG! Think I did something stupid with dmcrypt

2008-02-16 Thread Dan H.
On Fri, Feb 15, 2008 at 10:42:26AM -0800, Andrew Sackville-West wrote:
 
> I'm confused. Can you not just enter the passphrase for the encrypted
> volume and unlock it? Or is there something I'm missing here that
> likely applies to my own encrypted system...
> 

I don't know about LUKS, but cryptmount (which I use) first
autogenerates the key, encrypts it with your passphrase and stores the
result under /etc/cryptmount.

So to mount an encrypted drive, the key in /etc/cryptmount is decrypted
with your passphrase and then used to decrypt the actual data on the
partition. So, yes, if you hose the keys in /etc/cryptmount there's no
way to get back at your data. Which means you must backup those keys.

But like I said, LUKS may work differently.

--D.




signature.asc
Description: Digital signature


Re: this list is on google groups

2008-02-08 Thread Dan H.
On Thu, Feb 07, 2008 at 09:55:07PM -0600, John Hasler wrote:
 
> This is a mailing list?  Is it publically archived somewhere or mirrored as
> a newsgroup? 

Yes, it is. Read-only IIRC.

--D.



signature.asc
Description: Digital signature


Re: What am I missing without mutt?

2008-02-06 Thread Dan H.
On Wed, Feb 06, 2008 at 06:37:27AM -0800, BartlebyScrivener wrote:
> In .muttrc:
> 
> set editor="gvim -f"

That would be without the "g", right?

BTW, what's wrong with my setup? When I type :help, I get 

E433: No tags file
E149: Sorry, no help for help.txt

But:

$ locate help.txt | grep vim
/usr/share/vim/doc/help.txt

Should the file help.txt be someplace else?

Thanks for the tutorial link, I'll give it a  try.

--D.


signature.asc
Description: Digital signature


Re: How to set up a WLAN?

2008-02-06 Thread Dan H.
On Tue, Feb 05, 2008 at 03:57:45PM +0100, Hakon Alstadheim wrote:

> Check out module-assistant for automatically building extra modules for
> your kernel.

That's what I did. The module loads fine. Dmesg output is:

usbcore: registered new driver rt2500usb

If I do "ifconfig wlan1 up", the "Link" light comes on on the USB stick.

> A standard command to check for available networks is "iwlist scan". Run
> as root.

# iwlist scan

wlan1 No scan results

# iwlist freq

wlan1 0 channels
  Current Frequency=3D2.412 GHz

0 channels? I don't get it. Shouldn't I see at least the channels this thing
/could/ do, even if I sat in an EMI-proof building?

> Try building with module assistant. It will help you prepare your system
> for building. run dmesg after loading the module to see any
> error-messages and other info. It should report your card detected. Post
> here if there are messages you don't understand. Never used the usb
> variety, might need something extra loaded for that to work.

The "vanilla" rt2500 driver (available from another package) doesn't do
anything at all.

The rt2570 driver will at lest show up in dmesg, like the rt2500usb, and the
interface shows up as "eth3", not "wlan1", but apart from that it behaves
just like the other one. And not even the "Link" light comes on.

> Once you have the module loaded and running ok, check out the config
> file /etc/network/interfaces (which has a manual page). Together with
> the results from iwlist, you will have the info you need to make "ifup
> ra0" or "ifup wlan0" work.

I guess messing with /etc/interfaces won't help if even the low-level stuff
ain't working.

> For gui use, both kde and gnome have offerings, once you have the needed
> modules loaded.

I'd rather keep this a non-X box.

Thanks,
--D.


signature.asc
Description: Digital signature


Re: What am I missing without mutt?

2008-02-06 Thread Dan H.
On Wed, Feb 06, 2008 at 05:27:50AM +0100, s. keeling wrote:

Although I'm a recent convert to mutt, let me blow the horn for Claws (aka
sylpheed-claws-gtk2 on sarge).

> Mutt handles any standard form of mail box format,

Claws is only good with MH folders and IMAP, but it can import mbox.
Supposedly it can do Maildir with a plugin, but I installed the plugin and
didn't see any difference.

Claws doesn't do HTML, period (which may be part of the reason for its
snappiness, because i doesn't have to load a bloated HTML rendering engine).

> The guis, in my experience, save in their own format (If you let them?
> Configurable?),

I'm not aware of any GUI MUAs that save in a non-standard format, except of
course meta-information. Not that I'm aware of too many.

> My text (English) is ASCII.

Mine (usually) is UTF-8, and that's it.

> For me, it's:
> 
>  ISP --> fetchmail --> {exim,procmail+bogofilter} --> mutt --> exim --> ISP

Exactly the same here. It's funny--before I came to mutt I let Claws handle
the MTA parts of that chain, and I always hated half the app freezing up
during mail fetching and sending (to be fair, Claws does a pretty good job
of backgrounding some of those tasks). But for the rare occasions when I
still use Claws now I've gotten rid of all that and only let Claws access my
Mail tree and the local SMTP server, and by golly, it is FAST.

> Mutt does its job well.  It does expect you to pet it regularly in the
> beginning, and from time to time from there on.  It's aptly named.

Using mutt is a hobby unto itself. But a satisfying one. My next hobby is
going to be vim, although I'm quite fond of joe.

--D.


signature.asc
Description: Digital signature


Re: vim + LaTeX (Was: What am I missing without mutt?)

2008-02-06 Thread Dan H.
On Tue, Feb 05, 2008 at 11:29:40AM -0800, Steve Lamb wrote:
> Ron Johnson wrote:
> > Just out of curiosity: why OOo instead of AbiWord?
> 
> After you suggested using AbiWord I gave it a whirl.  At first glance it
> seemed to work nicely but after 2-3 times I noticed that it was really
> chugging on dealing with my document which was a mere 25 pages of prose
> so far.

Yeah, same here. It's probably been 2 years that I tried AbiWord, but my
main impression was just "sluggish". Very unresponsive. Although, in
principle, nobody can type or read as fast as the most lardy app can swallow
or choke up text, the "feel" just isn't right.

OOo is bog-slow when starting up (and it does nameserver lookups, WTF for? I
noticed recentyl when my NS was down), but after that it gets tolerable.

Still a snail when compared to M$ Office on the same machine.

--D.


signature.asc
Description: Digital signature


Re: GTK+ E-mail App on par with Mutt?

2008-02-04 Thread Dan H.
On Mon, Feb 04, 2008 at 03:42:48AM -0600, Ron Johnson wrote:

> Move all your email into an IMAP store.  Then you can use whatever
> MUA you want, whenever you want, and not have to worry about MUA
> storage incompatibility.

You mean, locally?

--D.


signature.asc
Description: Digital signature


Re: What am I missing without mutt?

2008-02-04 Thread Dan H.
On Sun, Feb 03, 2008 at 07:09:42PM +0200, Dotan Cohen wrote:
> As a thunderbird user, what am I missing by not using mutt? 

As a recent convert, I can say: nothing. Although I'm coming from Clwas,
which, as far as X apps go, is a lot more mutty than TB.


--D.


signature.asc
Description: Digital signature


Re: GTK+ E-mail App on par with Mutt?

2008-02-04 Thread Dan H.
On Sun, Feb 03, 2008 at 10:05:43AM -0500, Michael Pobega wrote:

> I'm finally taking the plunge from full CLI to using an X server, and in
> place of Mutt I've been using Evolution; But Evolution is nowhere near
> as good as Mutt, with threading/speed/customizability (And to boot I
> can't even use GViM as my editor!).
> 
> Can anyone suggest a good GTK+ e-mail reader/writer? I have cron getting
> my e-mail so the client doesn't even need to have POP/IMAP.

I like Claws (called "sylpheed-claws" in Debian). Not to be confused with
the more basic and less GTKish "sylpheed". Of the X MUAs I've tried (Opera,
Thunderbird, Evolution) I like it by far the best. It also is by far the
fastest. GPG support isn't as smooth as in TB which provied an entire GUI
wrapper around GPG but it works fine.

That said, I switched from Claws to mutt a couple weeks ago and I'm loving
it. Well, I guess it's always fun to start something new.

Unfortunately mutt and Claws don't co-operate too well on one and the same
MH folder tree and, despite the availability of a plug-in called
"sylpheed-claws-gtk2-maildir-plugin", Claws doesn't deal with Maildir-style
folders. Specifically, if you want to use Claws and mutt concurrently, make
sure that folders don't contain both messages and subfolders (which Claws
permits but mutt doesnt). Also Claws unneccesarily puts a .mh-sequence tag
in folders that only contain subfolders which causes mutt not to show the
subfolders. These issues are (apparently) caused by mutt's incomplete MH
spec support.

Get Claws. It's fun and fast. As a mutt user you'll appreciate the latter.
And you're right about not using the built-in MTA functionality (as I've
discovered only after moving all that to fetchmail/procmail/exim). When you
first start Claws, it'll want you to set up a mail account with server and
all. Just asdf through that. When Claws is up and running, set up a new
account with Server "None (SMTP only)" and delete the dummy account you
created in the first set up. Y voilá.

Good luck,
--D.


signature.asc
Description: Digital signature


[SOLVED]Setting up Debian on a mobile disk

2008-02-02 Thread Dan H.
Purrs like a kitten now. But I did have to start from scratch using a
netinstall CD.

Thanks everybody!


signature.asc
Description: Digital signature


Re: Setting up Debian on a mobile disk

2008-02-01 Thread Dan H.
On Thu, Jan 31, 2008 at 05:23:26PM +, Tzafrir Cohen wrote:

> What is the output of 'mount'?
> 
> Maybe you have the option 'user' set for that filesystem in fstab. This
> also implies 'noexec' (as well as 'nodev' and 'nosuid').

Yes, that was it. I once had the disk manually mounted, the other time it
had been automounted as 'noexec'.

Thanks,
--D.


signature.asc
Description: Digital signature


Re: Setting up Debian on a mobile disk

2008-02-01 Thread Dan H.
On Thu, Jan 31, 2008 at 08:59:36AM -0800, Andrew Sackville-West wrote:
> yes, that's normal (at least in my experience, it's been a while since
> I used it). There are no locales set up on the new system yet...

Yes, it went away after dpkg-reconfigure locales.

> > to upgrade many packages -- I mean, all packages had come fresh off the same
> > server minutes ago.
> 
> That's interesting. What target did you install? you can specify what
> version to install. Perhaps you installed an older version than what
> was subsequently specified in sources.list?

Not sure how so. On the "master" PC (sarge) I had just done an
update-upgrade, then debootstrapped sarge onto the USB disk, then chrooted.

Puzzling, but doesn't really matter.

> yeah. debootstrap is architecture independent, so you have to install
> a kernel and bootloader.

Yes, I figured that. But it ain't easy. There's simply no way I can think of
to make grub install itself on that disk. I have no idea which (hdx,y) to
use. /dev/sda is flatly refused as it is not a "BIOS" disk. Why can't grub
simply install itself on /dev/sda if I tell it to? Can't grub list all disk
partitions in its funny notation so that I can see which one to use? All the
time of course I'm in imminent danger of hosing the bootloader on my
built-in disk.

Anyway, I'm really stumped on the bootloader issue now. Do I have to go back
to LILO? Don't really want to because all those bootloading issues seem
extremely fishy to me (because I don't understand them), and I don't want to
have to mess with different bootloaders.

I couldn't find anything in the grub docs that explains how to properly
specify a target device. The blind guessing approach I've used so far has
usually resulted in a working grub on a built-in IDE disk after two or three
attempts.

--D.




signature.asc
Description: Digital signature


Re: Setting up Debian on a mobile disk

2008-01-31 Thread Dan H.
On Thu, Jan 31, 2008 at 03:56:10PM +0100, Dan H. wrote:

> like the subject says, I want to set up a Debian system on a bootable
> external USB hard disk

Followup: I've discovered debootstrap and have used it to set up a system on
that mobile disk. I chrooted to that disk (using the procedure from the
debootstrap manpage) and installed a few additional packages with aptitude.
That sort of worked (there were gazillions of error messages about Perl
falling back to the C locale or some such stuff -- don't know if that
matters). Also what puzzled me was that the chroot system immediately wanted
to upgrade many packages -- I mean, all packages had come fresh off the same
server minutes ago.

Anyway, I then rebooted the PC and tried to boot from the USB disk but that
didn't work.

Then, back in my normal system, I mounted the USB disk and discovered that
it had neither a kernel nor a bootloader installed (that ain't much of the 

So to fix that I wanted to chroot into my mounted USB disk again but was
rebuffed:

chroot: cannot run command `/bin/bash': Permission denied

WTF? There were no changes to that disk since chroot worked just before the
reboot. I also did the "mount proc" spiel, whatever that's for.

Thanks,
--D.
 



signature.asc
Description: Digital signature


Setting up Debian on a mobile disk

2008-01-31 Thread Dan H.
Hello,
like the subject says, I want to set up a Debian system on a bootable
external USB hard disk to use with a (normally) Windows laptop. Of course I
could just pop in a netinstall CD on the target computer and do the normal 
installation
process. However, I have a couple of full-featured Debian PCs and wondered
if I couldn't somehow use them (and their up-to-date package cache) to
accomplish this much quicker. Mind you, I don't need or want a clone of an
existing system; essentially I just want to circumvent the clumsy boot-CD
process and the slow package download.

I can hook up the laptop to a local network with a Debian box. Is it
possible to set up that box as a package repository?

Thanks,
--D.


signature.asc
Description: Digital signature


Re: Using aliases or functions in bash script

2008-01-30 Thread Dan H.
On Tue, Jan 29, 2008 at 05:48:00PM +0100, Александър Л. Димитров wrote:

> to be able to handle your daily work quicker. Aliases shouldn't be used in
> shellscripts because:
> 
> a) it makes them more difficult to understand (aliases often have very
> unintuitive names) for other people

Well, that's no argument against aliases. You can give functions cryptic
names as well.

> b) it makes the whole script unportable (someone else won't have the same
> aliases in place)

The same goes for functions if they are defined outseide the script.

If whatever you're trying to automate doesn't require any handling of
arguments (other than tacking them onto the end of whatever), aliases are
just as good as functions. I prefer functions in general, but I'm a
programmer.

--D.


signature.asc
Description: Digital signature


System bogged down by email trouble?

2008-01-30 Thread Dan H.
Hello,

today when I started work I opened the Openoffice spreadsheet I had been
working on yesterday. It took about 15 seconds to open. No CPU activity.
Puzzling.

The only other thing different from yesterday is that the company's mail server
seems to be down. Could that have to do with OOs sluggishness? How so?

Which brings me to another point: I've set up my system so that exim locally
accepts SMTP connections and relays mail through the company server (the
firewall doesn't allow SMTP directly to the outside). OK that server is
down at the moment, no big deal, but what puzzles me is that exim itself
takes forever to locally accept mail. Same thing when I do a "mailq" (where
of course I still see all my outgoing mails from this morning).

How is that? Shouldn't exim just accept mail, stuff it in the queue and then
worry about what to do with it?

Thanks,
--D.


signature.asc
Description: Digital signature


Re: How to send mails with attachments for each file in a directory ?

2008-01-30 Thread Dan H.
On Tue, Jan 29, 2008 at 03:48:27PM -0900, Ken Irving wrote:

> I find find very useful, and find's -exec command as well, but someone
> always chimes in with how it's "wrong" to use it since it causes find to
> create umpteen shell processes, one for each hit, and you really should be
> piping find into xargs.

My favorite way is to use find's -printf directive to construct the complete
commands and pipe the result to a shell. Has the advantage that you first
hack away at your complete find commend and give it a dry run, and if you're
happy with what it spits out you just tack the "| sh" bit to the end.

--D.


signature.asc
Description: Digital signature


Re: Where to put a custom system cleanup script?

2008-01-28 Thread Dan H.
On Mon, Jan 28, 2008 at 03:22:41PM +0100, Dan H. wrote:
> for a home computer that gets shutdown daily, I'd like to implement a
> function which:
> 
> 1. makes sure that all pending outgoing mails are sent off. 

Here's what I've come up with. Anything not to like?

#!/bin/sh

# install with this as root:
# # update-rc.d flushmail defaults 21 19
# assuming that exim has sequence number 20 on startup and shutdown.


### BEGIN INIT INFO
# Provides:  flushmail
# Required-Start:
# Required-Stop: exim4 mail-transport-agent
# Should-Start:
# Default-Start:
# Default-Stop:  0 1 6
# Short-Description: Flush mail queue
### END INIT INFO

set -e

QUEUERUNNER="/usr/sbin/runq"

if [ ! -x $QUEUERUNNER ] ; then exit 1 ; fi

case "$1" in
  start)
  echo "Not flushing on startup"
  ;;
  
  restart|stop)
  echo -n "Flushing mail queue..."
  $QUEUERUNNER
  echo "done."
  ;;
esac

exit 0


signature.asc
Description: Digital signature


Where to put a custom system cleanup script?

2008-01-28 Thread Dan H.
Hello,

for a home computer that gets shutdown daily, I'd like to implement a
function which:

1. makes sure that all pending outgoing mails are sent off. The system uses
   its local exim to send mail over the (slow) net, and I don't want to pull
   the plug on longish emails that are being sent. Essentially the shutdown
   process should stop and proceed only after exim is finished with its
   business. Is running "exim -q" enough for that?

2. makes backups of all user home directories. For this I'd prefer the
   system to be in single-user mode so that no files can change dureing
   backup (in reality this is not so important because nobody does anything
   on this machine after X has shut down.

While I know how to properly write an init script (I'm going to rely on the
Debian policy for this) I'm unsure as to the runlevel these actions should
be taken. The exim thing of course must happen before the network shuts down
and the backup should be the last thing before the disks are unmounted.

Suggestions, anyone?

--D.


signature.asc
Description: Digital signature


Re: A GPG question

2008-01-28 Thread Dan H.
On Mon, Jan 28, 2008 at 03:54:42AM -0600, Ron Johnson wrote:
> > You can revoke identities from your key.  'gpg --edit ' and
> > then use 'revuid'.  Don't forget to save and upload to a keyserver your
> > modified key afterwards.
> 
> But will you lose access to any data that you have encrypted under
> the old key?

No, I think the key itself stays valid. It's just the UID.

--D.


signature.asc
Description: Digital signature


A GPG question

2008-01-28 Thread Dan H.
Hello folks, 

this is not s strict Debian question but it is so small and easy that it's
not worth subscribung to a GPG list for.

Q: How can I remove an email address from my GPG key? I'm changing jobs, so
one of my three addresses won't be valid any more. Do I have to make a new
key pair from scratch? If so, how can my "web of trust" (I don't have one so
this is rather theoretical) be transferred from the old to the new key?

Thanks,
--D.


signature.asc
Description: Digital signature


Re: Exim question

2008-01-28 Thread Dan H.
On Sat, Jan 26, 2008 at 02:58:11PM -0500, Gregory Seidman wrote:

> Actually, you want to throttle fetchmail. In your fetchmailrc, for each
> poll line add batchlimit 10 in the options. I experienced the same problem
> and that fix has solved it and has been working for years now.

Yup, works. It's the first thing I tried because it was the first reply I
got, but reading the other posts convinced me that it is also the
technically best solution.

--D.


signature.asc
Description: Digital signature


Exim question

2008-01-26 Thread Dan H.
Hello,

When the fetchmail demon starts running, it often gets large amounts of mail
in one bunch an tries to shove it into exim for local delivery. However,
exim doesn't like that and logs:

2008-01-25 19:30:43 1JITK7-ps-J9 no immediate delivery: more than 10
messages received in one connection

I then can kick loose the mail flood using exim -q as root. But how can I
convince exim to automatically do the delivery? 

Thanks,
--D.






















signature.asc
Description: Digital signature


Re: How to do SMTP AUTH with exim?

2008-01-23 Thread Dan H
On Wed, 23 Jan 2008 10:34:47 +0100
Daniel Haude <[EMAIL PROTECTED]> wrote:

> I'm trying to send out email using exim.

Got it. Piece of cake. Just had to find the place in the /etc/exim
dir and let Debian do its thing.

--D.


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



Re: How to use Mutt?

2008-01-22 Thread Dan H
On Wed, 23 Jan 2008 13:33:57 +1300
Chris Bannister <[EMAIL PROTECTED]> wrote:

> Can you tell it to use any editor, say vim, or does it still use
> pico?

Any editor.
--D.


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



Re: How to use Mutt?

2008-01-22 Thread Dan H
On Tue, 22 Jan 2008 18:24:54 +
Tzafrir Cohen <[EMAIL PROTECTED]> wrote:

> Put there password="yeah_like_i_am_gonna_tell_you" and later replace
> that in the generated file.
> 
> Anyway, who needs passwords?

Yeah, that's what I'd have done, but still I don't know where to enter
my IMAP server.

In general I'm a big fan of programs that can only configured through
read-only dotfiles but I think mutt is clearly over my head here. As
much as I'd prefer a console email client (but I didn't like pine
much).

--D.


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



Re: How to use Mutt?

2008-01-22 Thread Dan H
On Tue, 22 Jan 2008 14:41:21 +
Patter <[EMAIL PROTECTED]> wrote:

> Oh mutt's good, you can just configure it to do everything under
> the sun so a muttrc builder such as http://www.muttrcbuilder.org/
> can put a lot of good setting in to start from.

Hmmm... I tried that, hoping that this would get me nearer the
infamous mutt. Hey, great, there's even an IMAP section! You can put
in everything... username, password, authentication methods...
except an IMAP server. I mean, c'mon.

OK I'm sure this can be resolved by some heavy RTFM, but still...

--D.


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



Re: wodim does not write DVD

2008-01-22 Thread Dan H
On Tue, 22 Jan 2008 10:40:19 +0100
[EMAIL PROTECTED] (Joerg Schilling) wrote:

> This is a result from incorrect device handling by wodim.
> As you see, wodim does not support to write DVDs, conclusion:
> Just don't use unsupported software like wodim.

Although what you say is factually correct I'm surprised that the
author of CD and DVD recording software can sound so much like a
broken vinyl record.

If the inclusion of cdrecord into GPL-strict Linux distros were
important to you (I'm assuming it ain't, why should it) you could
just GPL it and take the wind out of the stupid Debian maintainers'
sails. After all it's you who insists that the CDDL and the GPL are
compatible.

Personally I don't have much of an opinion, and I couldn't tell the
CDDL from the GPL anyway. What I do think is that this issue doesn't
deserve the ferocity with which you defend your position, whichever
that may be, and that this fruitless discussion has taken on a life
of its own.

If it were true that the "wodim" maintainers are after hurting you and
cdrecord, and that they created some license strawman to support their
position it'd be interesting to see what would happen if cdrecord
were GPL'ed.

Again, I don't care much either way. I'm just puzzled by the
amount of time and energy you are willing to waste on this (IMO)
non-issue.

--D.


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



Re: which to use: ext3, JFS, XFS, ReiserFS? [Was: new user question: debian on a Thinkpad T61]

2008-01-19 Thread Dan H
On Sat, 19 Jan 2008 06:47:29 +0900
David <[EMAIL PROTECTED]> wrote:

> Ext3 is best if you are dealing with a mixture of both and has the
> added security factor of defaulting to Ext2 if it fails. Although I
> have never had reason to find out.

I'm in the habit of using buggy and crash-prone hardware D.on't know
why; I guess I just don't like buying new hardware, am too lazy to
haul faulty stuff back to the store, and don't mind the occasional
cold reboot.

Anyway, while I often had minor and rather harmless corruption on ext2
systems from these shutdowns, I've never had any issues after
switching to ext3. "Recovering journal..." and that's it. Same
for USB (and encrypted) disks that I often forget to properly
unmount. Don't know anything about other systems, but also see no
reason to try them out.

--D.


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



Re: [OT] top posting

2008-01-16 Thread Dan H
On Wed, 16 Jan 2008 02:02:07 +0100 (CET)
"s. keeling" <[EMAIL PROTECTED]> wrote:

> So, why don't your lines wrap at ca. 80 chars?  Missed that lesson?

Huh? I set Claws to wrap at 70. I thought it would do that
automatically before sending the message...

Fixed.

--D.


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



Re: [OT] top posting

2008-01-15 Thread Dan H
On Mon, 14 Jan 2008 15:49:52 -0900
Ken Irving <[EMAIL PROTECTED]> wrote:

> In fact, it's a social convention, a matter of etiquette.  The
> practice varies, and some lists work the other way, but on this and
> many lists the convention is to top post

Huh? I don't think so, but even if what you say is true, why do you bottom-post?

> trim heartily, try to get
> the attributions right(1), and have a good day!
> (1) the attribution from the OP is missing in this message, I think.

That's correct.

--D.


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



Re: [OT] top posting

2008-01-15 Thread Dan H
On Tue, 15 Jan 2008 11:58:46 +1100
Alex Samad <[EMAIL PROTECTED]> wrote:

> On Mon, Jan 14, 2008 at 03:25:14PM -0800, Raquel wrote:
> > Then the people posting are not trimming their posts as they
> > should.
> or taken to the extreme, why not remove all the original post!

No, it's best to always trim the original to the extent that it still contains 
the relevant context for your reply. Half a dozen lines is usually enough.

Of course I've got about 15 years of Usenet experience under my belt. That 
teaches discipline!

--D.


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



Re: [OT] top posting

2008-01-15 Thread Dan H
On Tue, 15 Jan 2008 11:58:06 +1100
Alex Samad <[EMAIL PROTECTED]> wrote:

> All I am trying to point out is for a normal user ( ie somebody who
> is subscribed to the list), when a thread starts, you read them in
> date/time order as them come in, why seems illogical to have to
> scroll through stuff that you have just read.

Again: There is NO NEED to "scroll" through redundant stuff! You need to EDIT 
the irrelevant stuff away! What's so hard to understand about this?

Do you notice that this posting, although it is deep in an ongoing thread, 
covers barely half a screen page, yet it comes right to the point and contains 
enough quoted context so that anybody jumping onto the thread at this point 
sees what it's all about, while someone who has followed the thread from the 
beginning doesn't fall asleep scrolling through pages of ground that's been 
covered many times over?

--D.


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



Re: [OT] top posting

2008-01-15 Thread Dan H
On Tue, 15 Jan 2008 09:52:04 +1100
Alex Samad <[EMAIL PROTECTED]> wrote:

> my mail reader sort my mail in date order and links together all
> the threaded emails.  I read them in date/time  order, if I follow
> a thread from begging to end, then all i should have to do is read
> the top posts, but if they bottom posted, then as the thread grows
> I find I have to scroll further down, re reading the same
> information I have read in the previous email.

That's because you, and ather people, exhibit extremely poor editing 
discipline. There is no need to quote the entire message you're replying to. 
Just keep the relevant parts to which you're responding, and discard the rest.

--D.


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



Re: [OT] top posting

2008-01-15 Thread Dan H
On Tue, 15 Jan 2008 08:57:04 +1100
Alex Samad <[EMAIL PROTECTED]> wrote:

> [flame on]
> but we do read chronologically (in date order) and I for one hate
> having to go 3 pages down to read the answer to the previous email
> (in a threaded news reader!).

That's why you properly clip the message you're responding to into the relevant 
parts, and then you reply separately to those points.

> Although I do admit that if you start in the last email of a thread
> it easier to read top to bottom 

The idea is that every posting, even though it is far into some thread, is to a 
certain extent self-contained.

> [flame off]

No reason to flame anybody.

...and down here followed lots of irrelevant, older stuff, all of which I've 
clipped.

--D.


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



Re: bash scripts and files

2008-01-09 Thread Dan H
On Wed, 09 Jan 2008 12:03:07 +
michael <[EMAIL PROTECTED]> wrote:

> > .bashrc and .bash_profile are different. They are only reasonably
> > invoked by a bash shell, so it is safe to assume they are written
> > using bash syntax. They are, after all, configuration files for
> > bash, so what other language would they be written in?
> 
> "reasonably"?!
> and where is it stated they are different?
> surely they should have the !# at the start too
> it's this implicitness that upsets me!

They aren't even executable, so why should they have hash-bang?

--D.


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



Re: What is going on in debian-user?

2008-01-09 Thread Dan H
On Wed, 9 Jan 2008 04:35:42 +0100 (CET)
"s. keeling" <[EMAIL PROTECTED]> wrote:

> Jochen Schulz <[EMAIL PROTECTED]>:

> It amazes me that they refuse to accept the obvious.
> Linux/Debian/Gnu provides all the solutions they need, yet they
> continue to rely on Lookout! and Gmail, instead of slapping in
> procmail/mailfilter and bogofilter/SA.  Huh.  I've no sympathy,
> sorry.  I'm not seeing a crap flood from where I'm sitting.

Spam filtering ain't so easy. OK, I have shell access to the UNIX server from 
which I get my email via IMAP, so I'm filtering server-side using procmail and 
ifile. Every now and then I feed in "ham" and "spam" mailboxes by hand via the 
shell.

But I'll change my job in a few weeks and won't be on that server any more, so 
I installed the bogofilter plugin for Claws-Mail to try some client-side 
filtering.

Well, it doesn't filter worth shit. I keep marking stuff as "spam" and "ham", 
but the filter does plain nothing. 

Side note: I just can't get my head around GUI stuff, and my wife is 
increasingly annoyed by the GNOME desktop I installed for her and wants to go 
back to Windows. After more than a decade of working on well-honed (for my 
needs) Linux systems my attempts to install and configure GUI desktops and 
applications have shown me how far Linux is removed from everyday desktop 
useability.

What I want to say is: I have a great MUA and a highly praised SPAM filter, but 
if I have to cruise mailing lists for weeks to figure out how to get it to 
work, "slapping in" is not the proper term to describe the installation process.

--D.


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



Autostart programs: How to remove them?

2008-01-07 Thread Dan H
Hello,

it's still me and my GNOME desktop. One thing that irritates me: I once 
installed a Google desktop indexing tool, which now starts up every time I 
start GNOME. I tried to disable it, but it doesn't work. When I go to 
Desktop->Preferences->Sessions and then delete it from the list of "Startup 
Programs" (where it is the only entry), it always re-appears there. How can I 
disable it for good? Where does GNOME store its information about programs to 
launch at startup?

--D.


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



Still GNOME trouble

2008-01-07 Thread Dan H
Hello folks,

I still can't resolve the following promlems I'm having with GNOME:

1. gdm doesn't honor non-English language settings although
   the locales exist and are offered in gdm's language
   menu

2. The splash screen persists for about a minute after logging in, with
   the word "nautilus" at the bottom

3. Logouts at first don't work at all and then, after a minute or so,
   you're kicked out of the desktop without warning.

Maybe this is done deliberately to make GNOME feel more like Windows, but I 
resent it. Are these known issues, or should I file bugs?

I'm running identical distros at home and at wordk (sarge), but these problems 
only appear at work.

Thanks,
--D.


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



Re: GNOME desktop troubles

2008-01-03 Thread Dan H
> 2. For some reason, Gnome doesn't let me log out any more. And the
> startup window of the Gnome desktop just stays there, with
> "Nautilus" at the bottom. Starting applications etc. works. This
> may have started with my recent language experiments.

UPDATE: Gnome /does/ log me out about a minute after I clicked on the "Log out" 
button without a warning. I have no idea what it does in the meantime. "top" 
doesn't show any busy processes.

Very puzzling.

--D.


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



GNOME desktop troubles

2008-01-03 Thread Dan H
Hello,

being a purely shell and fvwm user myself I'm really out of my depth trying to 
get those new-fangled clickable desktop thingies to work right. But I'm trying 
to do it for others (who are permanently threatening me to want a M$-based 
computer).

1. I can't get the desktop environment to use any other language than
English. I installed the es_ES.UTF-8 locale and selected it in the
gdm languages menu, but upon starting gdm tells me that the language
"doesn't exist" and falls back to English. But when I do "export
LANG=es_ES.UTF-8" in a shell, all Gnome apps started from that shell are in 
Spanish, as intended. BTW, does that mean that each and every Gnome program 
carries all of its own translations around with it?

2. For some reason, Gnome doesn't let me log out any more. And the startup 
window of the Gnome desktop just stays there, with "Nautilus" at the bottom. 
Starting applications etc. works. This may have started with my recent language 
experiments.

3. Out of curiosity: Which program starts the Gnome desktop? I get my good ole 
fvwm by just putting "fvwm" in my ~/.xsession, but what do I have to put there 
to get Gnome?

--D.


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



GNOME desktop internationalization?

2008-01-03 Thread Dan H
Hello,

for KDE there are tons of "kde-i18n-xx" language packages. Is there anything 
similar for the GNOME desktop? Or is it all built in and I just have to 
generate the appropriate locale... let's see...

--D.


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



Re: [OT] RIP Netscape

2007-12-31 Thread Dan H
On Sat, 29 Dec 2007 16:52:54 -0600
Ron Johnson <[EMAIL PROTECTED]> wrote:

> "Man is the best computer we can put aboard a spacecraft ... and
> the only one that can be mass produced with unskilled labor."
> Wernher von Braun

That quote is just sick. Remember who W.v.B. was, and his attitude towards mass 
production and labor. I'd advise against superficially witty quotes from mass 
murderers.

--D.


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



Inconsistent screen resolutions depending on how X was started

2007-12-28 Thread Dan H
Hello,

having managed to start X from the console (see other thread), I noticed 
different font sizes on applications. I traced this down to different screen 
resolution settings depending on how X was started:

After startx from console:
$ xdpyinfo | egrep '(dimension|resolution)'
  dimensions:1280x1024 pixels (325x260 millimeters)
  resolution:100x100 dots per inch

After logging in through kdm:
$ xdpyinfo | egrep '(dimension|resolution)'
  dimensions:1280x1024 pixels (382x302 millimeters)
  resolution:85x86 dots per inch

The latter numbers (85x86dpi) are correct, the former are not.

How can this be fixed?

Thanks,
--D.


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



[Solved] How to start X as a user?

2007-12-28 Thread Dan H
Ha,

it's because I tried to start X from within a screen session (which I start by 
default on any shell). After exiting screen, it worked.

Thanks,
--D.


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



Re: How to start X as a user?

2007-12-28 Thread Dan H
On Fri, 28 Dec 2007 15:05:46 +0100
Rico Secada <[EMAIL PROTECTED]> wrote:

> You are authorized to use startx as a user. 
> 
> My guess is, that you didn't actually shut down X before you tried
> that, but just extended X into the background. 

No, I changed into a text console and did /etc/init.d/kdm stop.
ps ax | grep X didn't turn up anything.
When I then try to start X as a normal user, this is what I get:

$ startx
xauth:  creating new authority file /home/dh/.serverauth.10626
X: user not authorized to run the X server, aborting.
xinit:  Server error.
Couldnt get a file descriptor referring to the console
$

It's all Greek to me, frankly.

--D.


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



How to start X as a user?

2007-12-28 Thread Dan H
Hello,

back in the olden days I used to be able to log in on a text console and then 
use "startx" to start an X session. I just tried that (without X running of 
course) but was rebuffed with the message that I wasn't authorized to start X.

How does this work (on etch)?

Thanks,
--D.


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



Re: Cannot install skype

2007-12-14 Thread Dan H
On Fri, 14 Dec 2007 16:47:39 +0200
"Dotan Cohen" <[EMAIL PROTECTED]> wrote:

> I cannot install skype:


> dpkg: error processing skype_1.4.0.118-1_i386.deb (--install):
>  package control info rmdir of `usr' didn't say not a dir:
> Directory not empty Errors were encountered while processing:
>  skype_1.4.0.118-1_i386.deb
> 
> Do I need to remove a directory? Which one? Thanks in advance.

This is what I think happened: During uninstalling a package, dpkg first 
removes all files that belong to that package and then all package-related 
directories. If one of those dirs isn't empty now, it means that since the 
original install some files have been added to one of the directories. Dpkg 
assumes that you had some good reasons to put those files there and therefore 
doesn't want to silently purge them with the directory.

Anyway, it's no big deal. Use "locate skype" to find all Skype-related dirs 
(assuming they all have "skype" in their name) and rm -r them by hand. Then try 
installing the new package.

Maybe there's some advanced, brute-force and possibly dangerous option to dpkg 
that forces an install. Just wait a bit for more suggestions on this list.

--D.


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



Re: Math Programme.

2007-12-11 Thread Dan H
On Mon, 10 Dec 2007 22:17:43 +0100
Nyizsnyik Ferenc <[EMAIL PROTECTED]> wrote:

> On Mon, 10 Dec 2007 08:31:47 +0100
> Jonathan Kaye <[EMAIL PROTECTED]> wrote:

> > You can find Debian binaries on the site now (seems to be for
> > sarge) here: http://sage.apcocoa.org/SAGEbin/linux/32bit/ (or
> > 64bit) Beware though 275MB!
> 
> Yes, I've read it too, and I understand that it could be much less
> if it didn't include Python and other stuff that are already
> installed on my system. That's what dependencies are for!

Actually, that's what packaging is for. Sorting out these dependencies would be 
the first job of a Debian package maintainer, if one came around some day.

--D.


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



Re: SUDO

2007-12-03 Thread Dan H
On Mon, 03 Dec 2007 15:47:09 +0100
Jostein Elvaker Haande <[EMAIL PROTECTED]> wrote:

> erik  ALL=(ALL) ALL

I've always heard people discouraging root logins or "su" and using sudo 
instead. I know how sudo works and how to fine-tune system access with it, but 
is the above suggestion in any way different or safer than a root login?

--D.


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



Re: GIMP and printing

2007-12-03 Thread Dan H
On Mon, 3 Dec 2007 14:03:19 +0100
Dan H <[EMAIL PROTECTED]> wrote:

> That strikes me as very odd, especially since the next best printer
> is a "Color" model as well. Should I file a bug, or did I do
> something stupid?

I just found that among the millions of printers supported by the "gutenprint" 
package, a handful of "HP Color Laserjet" models are "black-and-white only". 
Ho-hum. Anyway, the Generic Postschript driver works just as well.
--D.


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



GIMP and printing

2007-12-03 Thread Dan H
Hello,

I'm trying to print a color image on a "HP Color Deskjet 4650". This printer 
even is (almost) there in Gimp's printer selecting menu (actually what Gimp has 
is a "HP Color Deskjet 4600", close enough I guess), but when I choose that I 
don't have the option of printing in color.

That strikes me as very odd, especially since the next best printer is a 
"Color" model as well. Should I file a bug, or did I do something stupid?

BTW, I downloaded the appropriate PPD file and put it into 
/usr/share/ppd/1-local-admin/, but Gimp doesn't seem to be paying attention to 
that. 

Thanks,
--D.


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



Re: Gnome desktop and digital camera: How?

2007-12-01 Thread Dan H
On Sat, 01 Dec 2007 07:27:40 -0300
Gabriel Parrondo <[EMAIL PROTECTED]> wrote:

> On the other hand, the program executed by gnome-volume-manager is
> gnome-volume-manager-gthumb which in fact asks for a destination
> for the pictures (in lenny).

In etch it doesn't. It just goes away after a while but thankfully doesn't 
delete stuff from the camera.

--D.


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



Gnome desktop and digital camera: How?

2007-12-01 Thread Dan H
Hello,

whenever I plug in my digital camera (Canon S50), a window pops up on the Gnome 
desktop asking me if I wanted to download the photos to my personal album. Once 
I clicked "yes", something seemed to happen, but I've got no idea what or where 
my "personal album" might be (a "find" on JPG images in my $HOME dir didn't 
turn up anything).

I also couldn't access the camera via gtkam; I got the message that the device 
was "in use", presumably by the saving-into-nirvana feature of the "personal 
album" thingy.

So the next time (after rebooting, even) I clicked "Ignore" on the album-saving 
window, but gtkam still claims that it can't get hold of the camera (although 
the camera is correctly identified).

I can't get my head around all this graphical desktop stuff. I'm actually 
trying to fix this for my wife. Myself I just yank the photos off the camera 
with a command-line utility as root.

Hints, anyone?

--D.


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



Re: printing a scanned document

2007-11-16 Thread Dan H
On Thu, 15 Nov 2007 21:57:58 -0800
Andrew Sackville-West <[EMAIL PROTECTED]> wrote:

> imagemagick is one of those secret programs that people outside (and
> many inside) the linux world just don't know about, yet its so
> powerful, easy to use (scriptable!!) that I don't know how people
> can live without it.

I can live without it, but only because I use netpbm. I like the modular 
approach better than the monolithic imagemagick stuff, but that's just a matter 
of taste. I guess in functionality there isn't much difference.

As far as printing a single document in a proper size is concerned I'd do it 
with the Gimp.

--D.


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



Network configuration

2007-11-09 Thread Dan H
Hello folks,

I'm trying to control an external instrument via Ethernet. I've installed an 
additional networking card in my Debian box and connected the thing via a 
crossover cable.

NOTE: I've booted Windows on the same machine and was able to talk to the 
instrument using a supplied demo program (LabView). So, physically the 
connection is correct, but when I try tp PING the instrument from within Linux, 
I get no reply.

I don't really know where to start all this, so I'd like to know if at least my 
network settings are correct. I've set the address of the secondary interface 
to 192.168.0.1, the instrument has 192.168.0.2. Does my box automatically know 
to use the other card when I try to connect to an 192.168 address?

Thanks,
--D.

Here's the output of ifconfig. What does "Link encap:UNSPEC" mean? Is that a 
problem?

eth0  Link encap:UNSPEC  HWaddr 
00-00-10-DC-00-38-3E-C6-00-00-00-00-00-00-00-00  
  inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth1  Link encap:Ethernet  HWaddr 00:0C:76:54:FE:B1  
 .
 (my "outside" network connection)
 .

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:4 errors:0 dropped:0 overruns:0 frame:0
  TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:280 (280.0 b)  TX bytes:280 (280.0 b)


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



Re: DST: Same procedure as every half-year?

2007-11-01 Thread Dan H
On Thu, 01 Nov 2007 11:46:06 +0100
Jonathan Kaye <[EMAIL PROTECTED]> wrote:

> I'm running Lenny in CET and the change to GMT+1 (from +2) work
> perfectly. I didn't do anything special. The time was correct when
> I checked on Sunday morning.

I'm running Etch, and the problem somehow went away when I started the machine 
a second time. I'm not aware of having done anything special, except running 
"tzconfig" without making any changes.

I guess this is a hard-to-chase bug (if it's a bug indeed) because in 
conjunction with ntp it can only be reproduced twice a year ;-)

--D.


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



Re: DST: Same procedure as every half-year?

2007-10-31 Thread Dan H
On Wed, 31 Oct 2007 10:57:13 +0100
Thierry Chatelet <[EMAIL PROTECTED]> wrote:

> Then I run tzconfig (which told me Europe and Paris, do you
> change it?) and re-enter the time zone, and every thing was OK, and
> all of the box adjusted the time automaticly for winter time.

Yeah, same here I now noticed. Just running tzconfig without making any changes 
seems to have done it. --D.


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



DST: Same procedure as every half-year?

2007-10-31 Thread Dan H
Hello list,

it happened again (in Germany, anyway). As of Sunday, we're back on winter time 
(CET). Except my computer ain't. And every half-year I forget just what I did 
to set the clock right. I've got the timezone set right (Europe/Berlin CET) but 
the clock lags. Is there some accepted standard and automatic way of honoring 
DST? Even Windows gets this right. I'm using ntpd to sync my clock. Ntp itself 
works right -- every now and then I have to erase my buggy BIOS settings, which 
resets the hardware clock to the Nineties, but when Linux comes up the clock is 
always correct (except that little DST issue of course). 

Thanks,
--D.


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



udev and automounting

2007-09-27 Thread Dan H
Hello,

I'm really having trouble getting my head around udev and udev rules for 
removeable USB devices. When I plug in my USB stick, it automounts under 
/media/sda1. What I don't like is that I have to "su" to write to the stick and 
to unmount it again, so this automounting is pretty useless. I've tried to 
decipher the files under /etc/udev to find the rule that actually mounts stuff, 
but grepping for "mount" just shows me some unmounting detail in a file called 
"hal.rules".

What I'd like is:

1. Automounting USB mass storage devices under some unique name determined
   by the label of the partition

2. Write access and unmounting by normal user.

I've seen this work transparently under Gnome and KDE, but I use fvwm or no X 
at all so that's no option for me.

Thanks
--D.


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



Re: Tool for document management

2007-09-26 Thread Dan H
On Sun, 23 Sep 2007 09:45:11 -0700
Steve Lamb <[EMAIL PROTECTED]> wrote:

> I know what you meant.  But you are flatly ignoring my
> requirement for syncing.  I make an edit on Machine A and
> toss-a-tarball onto whatever machine(s) I decide.  Then I make an
> edit on Machine B and do the same.  Then I remembered I had edits
> from machine A, pull them down and, whoops, overwritten.
> Toss-a-tarball works fine if you're working on a single machine and
> want to just do a simplistic backup.  It falls apart when you add
> more machines, maybe people, into the mix.  That's why version
> controls showed up in the first place.

The idea is good, but vcs (I'm only familiar with svn) won't work with binary 
files IF several people on several machines might edit one and the same file. 
Keeping everything in sync across several collaborators who might touch the 
same files relies heavily on diff/patch mechanisms that only work with text 
files.

Doesn't Oo have some built-in versioning or collaboration system? Something a 
bit more sophisticated than the "Record Changes" feature?

--D.


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



Re: why sarge is so noisy

2007-09-07 Thread Dan H
On Thu, 6 Sep 2007 23:45:05 -0700 (PDT)
Serena Cantor <[EMAIL PROTECTED]> wrote:

> I have sarge, I use it all the time (it's server)
> The machine is my bedroom and scsi disk make noise from time to
> time (it's read/writing)
> 
> which script cause reading/writing? Let's assume it's default
> installation. I don't start any program myself.  

Could be anything. There's a dozen processes runing on that machine at any 
given time, and any of them may access some files anytime. smbd for instance 
checks its configuration file every minute or so, and there may be other 
services that do likewise.

BTW, if this machine is a server, wouldn't you expect it to do some work every 
now and then? Or if you didn't, why do you keep it on all the time? I can't get 
my head around people who insist on leaving unused machines powered 24/7.

--D.


signature.asc
Description: PGP signature


Re: Shut down or leave on?

2007-08-29 Thread Dan H
On Tue, 28 Aug 2007 15:18:54 -0400
"Mike" <[EMAIL PROTECTED]> wrote:

> The amount
> electricity usage from present day devices is minimal 

I know your sentence continues along a different line, but let me just 
interject here that computers have never consumed as much energy as they do 
today. True, energy consumption per CPU instruction has gone down dramatically, 
but that is far outcompensated by the increase in total computing power.

> I say, leave it on.

Turn it off. It won't do harm.

--D.


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



Re: Shut down or leave on?

2007-08-29 Thread Dan H
On Tue, 28 Aug 2007 09:45:51 -0700
Jeff <[EMAIL PROTECTED]> wrote:

> Specifically, as I understand it, thermal shock to minuscule
> electronic components during power-on.


There is no thermal shock on power-on. What is most likely to fail is the PSU 
(happened to me once).

--D.


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



Re: Shut down or leave on?

2007-08-29 Thread Dan H
On Tue, 28 Aug 2007 19:01:01 +0300
Atis <[EMAIL PROTECTED]> wrote:

> A long time ago i measured that my PC is using 0.4A on normal
> operation and 0.6A while CD-ROM spinning (on 220V AC). So, this
> means
> - 0.4*220 = 88 Watts. This is approximately like regular light bulb
> (not very economic).
> I usually leave my PC on in winters because of some long-lasting
> downloads, or music playing, or i simply don't want to close all the
> open programs (not all of them saves state). However in summers it
> makes my room quite hot, so i prefer to turn PC off.

88 watts it used to be. A modern desktop PC will consume several hundred watts 
of power, which is as much as it takes to make a room "quite hot" -- do you 
think you could get your room hot by leaving the lights on?

It might be worthwile to measure power consumption again, with modern equipment 
-- you'll bes surprised.

--D.


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



Re: SATA vs PATA

2007-08-28 Thread Dan H
On Tue, 28 Aug 2007 01:41:38 +
"Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:

[...]

> In any event, if you're choosing between PATA and SATA, go with SATA

[...]

Thanks everybody. This is an easy decicion, seeing that opinions don't vary at 
all. One more question though: This mobo has 2 free SATA connections. If I get 
2 identical disks, could I set them up as striped RAID without a dedicated 
controller, and could I expect a performance boost with a pretty low-end 
motherboard (I think it's a 2800MHz Sempron)?

Thanks,
--D.


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



SATA vs PATA

2007-08-27 Thread Dan H
Hello,

now I have this camcorder and want to dump/edit some family videos on it, and 
before I know it my 160GB harddisk is full. So I need some extra GB.

Should I go Serial-ATA or good ol' Parallel-ATA? How do the two compare in 
terms of data throughput and Linux kernel support?

Just went and checked my local dealer online -- PATA seems to be as good as 
gone. Haven't bought any computer stuff lately. So it's probably gonna be SATA 
anyway, but maybe someone has some experience to share. Kernel is some current 
Debian 2.6.-k7 flavour.

Thanks,
--D.


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



Re: USB question

2007-08-24 Thread Dan H
OK, I see you guys are taking nothing for granted ;-)

Yes, the scanner is turned on; when I plug it in the light comes on and the 
carriage moves briefly back and forth to find the starting position. So the 
CPU/firmware seems to work as well.

> At the risk of stating the obvious, have you tried with a different
> USB cable?

Not yet, but the cable in question works fine with a different device.

I have quite a bit of experience with electronic devices and their failure 
modes; a working PSU and CPU but a shot interface I haven't encountered yet. 
That's what puzzles me.

--D.


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



USB question

2007-08-24 Thread Dan H
Hello,

one quick question: Does each and every USB device that gets plugged into the 
computer generate a console message?

Background: I'm trying to get an HP scanner (6200C) to work, but the sane tools 
won't recognize it. And when I look at the root console when I connect the USB 
cable, I see no message. In contrast, when I plug in my memory stick, my 
portable disk or my camera, the kernel always spits out some message.

This looks as if the scanner (or at least the USB interface) is shot, 
hardware-wise. Valid conclusion?

Thans,
--D.


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



Re: bash vs. python scripts - which one is better?

2007-08-15 Thread Dan H
On Sat, 11 Aug 2007 00:52:18 -
BartlebyScrivener <[EMAIL PROTECTED]> wrote:

> from http://docs.python.org/tut/node3.html
>
> If you're a professional software developer, you may have to work
> with several C/C++/Java libraries but find the usual
> write/compile/test/re- compile cycle is too slow.

This I don't understand. My cycle goes like this: Muck around in source code, 
flick to xterm, press   and see the result. The  of course just 
invokes the last command which is always either "./script" or "make && 
./program". For not-too-big C programs (say, a couple k lines) the make step 
doesn't take up appreciable time, so the write/test cycle is pretty much 
equally fast for script and C programs (C++ is a lot slower because the system 
includes are huge, and maybe the compiling process itself is more complex.)

So, no, for small to medium programs the development cycle of a compiled 
language (at least of C) isn't necessarily slower than that of a scripted 
(interpreted) language.

--D.


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



Passwordless X login

2007-08-09 Thread Dan H
Hello,

I'd like to be able to login with just a mouseclick like possible in Windows. 
My wife and I are sharing a computer at home, and it's kind of silly to always 
have to type in a password (which is the same for both of us anyway). Is this 
possible with kdm, or do I have to switch window managers?

Thanks,
--D.
 


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



Re: archive corrupted !

2007-06-29 Thread Dan H
On Thu, 28 Jun 2007 18:50:38 +0200
Till Wimmer <[EMAIL PROTECTED]> wrote:

> Ah ok, i think this is a misunderstanding...
> 
> The your archive file home-20-06-2007-05-55.tar.gz  is corrupt, not
> a single file in it.
> "unexpected end of file" means that gzip cannot handle the zip file
> correctly, not a file in it called "file". Gzip is a stream
> compression, it doesn't know anything about the format of the file
> it (de)compresses. Maybe you can extract parts of your file using
> gzip -d -c  | tar  x. 

Or maybe it is indeed a tar file but compressed with some other program (or not 
at all) and you're being misled by the .gz extension. Has happened to me, too.

Use

$ file home-20-06-2007-05-55.tar.gz

to see what really is in this file, then proceed accordingly.

--D.


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



Re: have to learn python

2007-06-29 Thread Dan H
On Thu, 28 Jun 2007 18:19:05 +0200
Joe Hart <[EMAIL PROTECTED]> wrote:

> If you already are familiar with the above listed languages, then
> learning python should be no problem

or: not necessary

> at all.

--D.


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



Re: cups-pdf

2007-06-26 Thread Dan H
On Thu, 21 Jun 2007 23:17:29 +0200
"Mirco Piccin" <[EMAIL PROTECTED]> wrote:

> if [ `echo $2 | grep -ce "\.[Pp][Dd][Ff]"` -le 0 ]
>   then
> echo `date` " - ERR: This scripts accepts only PDF format as
> input file!!! ($2)" >> $LOGFILE 2>&1
> exit 1
> fi

This is IMO too Windows-like -- just relying on a filename to guess content. 
I'd do it like this:

if [ "$(file -bi $2)" = "application/pdf" ] ...

--D.


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



Re: screenshot

2007-06-26 Thread Dan H
On Thu, 21 Jun 2007 11:53:51 +0100
Jose Rodriguez <[EMAIL PROTECTED]> wrote:

> I quickly tried scrot and, out of its man page, I'm not sure which
> formats does it support, can anybody give me a hint?

It seems to only do PNG. Doesn't matter; just pipe it through some netpbm tools 
(which I prefer) or imagemagick.

--D.


pgp90I2bDyve4.pgp
Description: PGP signature


Re: Which hardware for saving backups?

2007-06-13 Thread Dan H
On Tue, 12 Jun 2007 11:26:52 -0400
Scott Gifford <[EMAIL PROTECTED]> wrote:

> I've got two servers and a machine at home I've tried
> backing up to a USB drive, and in each case after a few
> weeks/months I start getting hardware errors from the USB drive,
> and the files I backed up aren't accessible.

The only problem I'm having with USB drives is that frequently-used plug 
connections go bad after a while. Meaning that in the middle of a session you 
lose the drive as if you had pulled the plug and have to re-mount it. This is 
annoying, but I've never lost data that way (with ext3 journaling fs).

--D.


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



Re: Query on adding a USB hdd

2007-05-24 Thread Dan H
On Thu, 24 May 2007 02:48:35 -0500
Ron Johnson <[EMAIL PROTECTED]> wrote:

> On 05/24/07 02:30, Dan H wrote:
> > In fact, to those that really want to get at the data, a properly
> > encrypted (as in: unguessable passphrase, long enough key) laptop
> > will make any other approach than directly attacking the laptop more
> > feasible.
>
> Maybe it's just too late and I'm too tired, but I don't understand
> what you mean.

Physically breaking into the building of whoever is being spied on for
written notes or printouts. Getting a mole into the target organization.
Analyzing EM emissions from target. Intercepting IP traffic. Obtaining
passwords from target by bribe, extortion or torture. Any of those
promise more (and faster) success than attacking a well-encrypted disk,
and all of them are employed by truly interested parties.

--D.


pgpoxRl6d4Vv6.pgp
Description: PGP signature


Re: why linux?

2007-05-24 Thread Dan H
On Wed, 23 May 2007 14:10:02 -0400 (EDT)
S C <[EMAIL PROTECTED]> wrote:

> Thanks for responding.  Responses (rationalizations?) are in relevant
> sections of your text.

Please learn how to quote properly (like I did above), or get a mail
reader that does it automatically (which one doesn't, anyway?). Your
posts are hard to follow otherwise.

--D.


pgp7TaKmPAr47.pgp
Description: PGP signature


Re: why linux?

2007-05-24 Thread Dan H
On Wed, 23 May 2007 13:45:32 -0400 (EDT)
S C <[EMAIL PROTECTED]> wrote:

> But, and this you could
> not possibly know, irreplaceable pictures digital pictures are on the
> hard drive and I will not jeopardize their existence for any reason.
> That means no installing anything new, at leat until I know a lot
> more about what I am doing.

That is stupid in itself. If you don't keep (multiple) backups of
"irreplaceable" data you might as well delete the data right now. I
mean the hard disk might crash on you tomorrow and then what?

Independently of the question whether you want to muck around with your
system at all, do make backups.

--D.


pgpgTqvgVk42I.pgp
Description: PGP signature


Re: Query on adding a USB hdd

2007-05-24 Thread Dan H
On Wed, 23 May 2007 21:17:50 -0400
Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:

> If I gpg a tarball today with whatever algorithm is current, in 10
> years that algorithm may be long cracked.  Will the gpg authors keep
> support for it?  Perhaps.

Just yesterday I had a similar problem which pretty much combined all
the troubles mentioned in this thread. It turnmed out I got lucky seven
times in a row. Here goes the story:

I tried to fire up my ancient parallel-port Iomega ZIP drive to rescue
some data from old disks. I was happy to discover that I had been
far-sighted enough to store the drive together with the disks in a
plastic bag (1). Luckily, the current 2.6. kernels still have the ppa
driver (2), and luckily modern desktop PCs still have parallel printer
ports (3).

The first problem was to get a reliable electrical connection through
the dust-ridden ancient connectors. After unplugging and re-plugging
the cable several times I got it to work (4).

The next problem was to make the ZIP recognize the disks. I remember
from back when I used it regularly the drive had started to play funny
and make a lot of clicking noises, probably due to dirty heads.
Obviously this hadn't gotten better during the past five years. It took
me several minutes of kicking the drive and loading and unloading kernel
drivers to get each disk to mount (5).

Having finally mounted the disks, I discovered that they contained
PGP-encrypted tarballs. When I tried to decrypt them, GPG told me that
they were encrypted using IDEA which wasn't supported any more due to
patent issues. Fortunately I was able to download an IDEA module from a
Danish server that ran fine with GPG (6).

One more problem I would have had is that I might have forgotten my old
passphrase. Fortunately I've been using one and the same passphrase for
over 10 years now, which in itself isn't so good, so I could
finally decrypt all my data, re-encrypt it with GPG and commit it to my
current backup scheme (7).

--D.


pgpJ72i24YVv4.pgp
Description: PGP signature


Re: Query on adding a USB hdd

2007-05-24 Thread Dan H
On Wed, 23 May 2007 18:12:36 -0400
Greg Folkert <[EMAIL PROTECTED]> wrote:

> On Wed, 2007-05-23 at 17:01 -0500, Ron Johnson wrote:
> > After all the stories about laptops full of sensitive data being
> > stolen, and tapes full of sensitive data being lost, you still have
> > to ask why someone wants to encrypt private data?
>
> It comes to mind; why all this data is on a "portable device" in the
> first place?

That's like asking, why lock your apartment in the first place if all
the lock does is merely slow down the burglar?

We're not talking about well-equipped secret services or dedicated
hackers cracking encrypted portable disks. We're talking about stopping
nosy thieves or finders of lost stuff from poking their nose in
private email or photos. A properly encrypted disk is a guarantee
that such data will remain private in the vast majority of cases.

In fact, to those that really want to get at the data, a properly
encrypted (as in: unguessable passphrase, long enough key) laptop will
make any other approach than directly attacking the laptop more
feasible.

--D.


pgpCcAxYNCJzK.pgp
Description: PGP signature


Re: Resurrecting ancient IOMEGA ZIP drive

2007-05-23 Thread Dan H
> for one last time I wanted to set in motion my old, parallel-port
> IOMEGA Zip Drive to back up my stack of disks before I retire (read:
> dump in the trash) the whole shebang for good.

Already solved -- I just had to kick the thing and the connectors a bit.

Thanks to those thad would have helped me but don't nned to any more ;-)

--D.


pgpoTegcoQsIp.pgp
Description: PGP signature


Re: I don't understand the new aptitude

2007-05-22 Thread Dan H
On Tue, 22 May 2007 15:16:44 +0200
Jochen Schulz <[EMAIL PROTECTED]> wrote:

> :) This isn't sadism, it's a feature of your terminal and aptitude.
> You probably can use the mouse to open menus etc, just like in a
> regular GUI application. Vim and mc can behave that way, too, and
> there are probably some people who like that behaviour. The way to
> switch it off probably depends on your terminal.

Why anybody who likes point-and-click would use an xterm in the first
place is beyond me. I'll have to find the place to turn it off.

--D.


pgp5bfB95CYsn.pgp
Description: PGP signature


I don't understand the new aptitude

2007-05-22 Thread Dan H
Hello,

I can't get my head around the (as of etch) newfangled aptitude
dependency handling procedure. As an example, I'm trying to install
texlive. As soon as I hit '+', I see this cryptic message in the bottom
line:

[1(1)/...] Suggest 2 installs, 4 keeps
w: examine !: apply ...

(...and I just noticed I had to copy that by hand because aptitude
--and only aptitude!-- seems to disallow copying text from the xterm
it's running in! What kind of sadism is that?)

Anyway, when I type '!', thinking that aptitude will now do what it
suggests, namely install stuff, all the to-be-installed things are
deselected and nothing happens.

So maybe 'e'xamining things will tell me stuff. When I do that, I see
lists of packages that could be "kept" at their current versions (which
doesn't make sense because they are flagged "UNINST". I also see
lists of packages to be installed. Anyway, as soon as I hit '!'
everything goes away again. I also can scroll through many alternatives
using '.' and ',' but I don't really understand what this is all about.

The sarge aptitude used to be less unwieldy.

So how does this work?

--D.


pgpUzabHbSxTc.pgp
Description: PGP signature


Re: [OT] Re: rampant offtopic and offensive posts to debian-user

2007-05-22 Thread Dan H
On Tue, 22 May 2007 01:33:53 -0400
Roberto C. Sánchez <[EMAIL PROTECTED]> wrote:

> What I fail to understand is what difference does it make if text is
> above or below a sig delimiter?

It doesn't.

> Either it is offensive or it is not.

What is offensive or isn't is entirely up to the reader.

> What is the requirement?  It can be offensive if the text is a
> properly formatted sig?  It can be offensive if there is at least an
> equal amount of on-topic non-offensive text?  Seriously.  What is the
> policy?

The policy is that if you feel offended by someone's opinion, you
either try to resolve the matter with that person (and not necessarily
on this list), or you ignore that person's opinion. If the offending
opinions are regularly found in signatures, just turn them off in your
mail reader.

> Yeah, because just griping about what is going on is so much better
> asking questions that try to get to a clearer understanding of what is
> "acceptable" list conduct.  Right?

In general offending people is more acceptable if the offending
opinions are within the scope of the mailing list's topic.

--D.


pgpufbmysUWYS.pgp
Description: PGP signature


Re: have 'liberated' your fonts yet?

2007-05-21 Thread Dan H
Jonathan Kaye <[EMAIL PROTECTED]> wrote:

> I did that and showed them to my girlfriend who's the expert on fonts
> and she wasn't impressed.

In what way was she not impressed? If she wasn't impressed the same way
she probably isn't impressed with Times or Arial, then that's fine. If
she wasn't impressed the way designers would like to be impressed if
you showed them some brand-spanking-new fancy font, then that's fine,
too because the liberation fonts are intended to be "workhorses" for
normal documents.

Or does she think the fonts are technically flawed? That's a different
matter. Font design is, IMO, a terribly difficult art.

--D.


pgpeqPAhmwmdw.pgp
Description: PGP signature


Re: Advise on backing up files in Etch.

2007-05-14 Thread Dan H
On Sun, 13 May 2007 20:56:21 -0400
Roberto C. Sánchez <[EMAIL PROTECTED]> wrote:

> Good point.  What I like about the rsync snapshots is that I can
> "browse" back in time.  In my case, I always have hourly snapshots
> going back four hours, daily snapshots going back four days and weekly
> snapshots going back four weeks.  That works out rather nicely in that
> it is trivial for me to compare files across snapshots.

That sounds nice but how does it work? I only use rsync to keep exact
mirrors of directory trees in sync, but have never heard about the
history thingy.

--D.


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



Re: Business card iso

2007-05-14 Thread Dan H
On Thu, 10 May 2007 13:18:20 +0200
Joe Hart <[EMAIL PROTECTED]> wrote:

> I downloaded the business card .iso for i386 from
> 
> http://www.debian.org/devel/debian-installer/
> 
> and the 31MB file downloads fine, however, when I try to open the file
> with k3b to burn it to a CD (because this machine won't boot off of
> USB) k3b says it is unable to open the file.

Are you trying to "open" it using the file dialog? That won't work
because this is an ISO, not a k3b project file. You need to go though
k3b's Tools > Burn CD image dialog.

Just a shot in the dark...

--D.


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



Library without -dev package?

2007-04-27 Thread Dan H.
Hello folks,

I'm trying to build a big piece of software from source, for which I of
course need the development versions (header files) of all used libraries.
So far I've thought that the Debian distro included the headers of all its
libraries, but today I found an exception: libuuid1. There is no
libuuid1-dev. Is this a bug, or is there a reason for this?

Thanks,
--D.




signature.asc
Description: OpenPGP digital signature


Re: Further problems with OOo

2007-04-16 Thread Dan H.
Greg Folkert wrote:

> Remember, Debian supports your version currently installed. If you go
> outside Debian and something goes wrong... Debian and its community will
> likely point and laugh, that is if you dare ask... 

No they won't. They just won't be of much help because the user (and
troubleshooter) base for an out-of-Debian version will be small on a Debian
list. Just as, in my experience, the OO mailing lists are worthless when
you're reporting trouble with the "old" version in Debian.

A statically-linked version is unlikely to give any trouble since it won't
depend on anything on your installation, but indeed it will be a resource
hog. Just give it a spin. But then I don't know of any features that I need
and that 1.2 didn't have.

--D.



signature.asc
Description: OpenPGP digital signature


Re: How to use dead keys

2007-04-13 Thread Dan H.
Florian Kulzer wrote:

> Try
> 
> setxkbmap -option compose:rwin 

Cool! But it doesn't seem to work on a German keyboard with accents that
are only accessible through Alt Gr -- i.e., I can't get a tilde on top of
an n (ñ) this way but as I can access the tilde only through Alt Gr it
doesn't work.

--Dan



signature.asc
Description: OpenPGP digital signature


  1   2   >