Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

debian-user-digest Digest V2007 #2764

From: <debian-user-digest-request(at)lists.debian.org>
Date: Wed Nov 07 2007 - 22:20:29 EST


Content-Type: text/plain

debian-user-digest Digest Volume 2007 : Issue 2764

Today's Topics:

  Re: Deletion of files from usb-key    [ Raj Kiran Grandhi  ]
  Re: Why kernel 2.6.23 does not appea  [ "Kumar Appaiah"  ]
  Re: docx files                        [ Carl Fink  ]
  Re: what's your favourite FLOSS?      [ Kamaraju S Kusumanchi  ]
  Re: lprng + magicfilter + hpijs => h  [ "s. keeling"  ]
  Re: Telnet/SSH Terminal Help          [ "s. keeling"  ]

Date: Thu, 08 Nov 2007 06:12:37 +0530
From: Raj Kiran Grandhi <grajkiran@gmail.com> To: Haines Brown <brownh@hartford-hwp.com> Cc: debian-user@lists.debian.org
Subject: Re: Deletion of files from usb-key

Message-ID: <47325B7D.6020704@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Haines Brown wrote:
> I have a SamDisk USB-key filled with photos (.png) which I used for a
> slide show. I now would like to delete them, but whenever the device
> is rebooted, the files reappear.
>
> $ ls -la /media/usb-key
> rwxr-xr-x file.png /brownh/brownh

Post the actual output of 'ls -la'. Also the output of 'df /media/usb-key' with the device mounted would help

<snip>
> In desperation I try:
>
> $ shred -fuv /media/usb-key *.*
> shred: /media/usb-key/<filename>: pass 1/25 (random)...
> shred: /media/usb-key/<filename> : fdatasync failed:
> Input/output error
> shred: /media/usb-key/<filename>: pass 2/25 (888888)...
> shred: /media/usb-key/<filename>: fdatasync failed:
> Input/output error
> ...

Do you need help?X

Hmmm... appears to be some hardware error or a case of filesystem corruption. Did you try dosfsck on the drive?

>
> and also tried:
>
> # mformat -v /dev/sdd1

Use mkdosfs. Unless you assigned a drive letter to your flash drive, mformat is unlikely to work.

>
> It failed to run, perhaps because the usb-key has no unix low-level

In that case please post the error messages.

> format. And I also tried:
>
> # fdisk /dev/sdd1

It should be /dev/sdd. Not sdd1

>
> I print the partition table:
>
> Disk /dev/sdd1: 512 MB, 512443392 bytes
> 16 heads, 62 sectors/track, 1008 cylinders
> Units = cylinders of 992 * 512 = 507904 bytes
>
> Device Boot Start End Blocks Id System
>
> This suggests there is no partition at present. So I add a partition
> (primary, number 1, cylinders 1-1088. Now I print this and have:
>
> Disk /dev/sdd1: 512 MB, 512443392 bytes
> 16 heads, 62 sectors/track, 1008 cylinders
> Units = cylinders of 992 * 512 = 507904 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdd1p1 1 1008 499937 83 Linux
>
> And I change the type to 4 and print again:
>
> Disk /dev/sdd1: 512 MB, 512443392 bytes
> 16 heads, 62 sectors/track, 1008 cylinders
> Units = cylinders of 992 * 512 = 507904 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdd1p1 1 1008 499937 4 FAT16 <32M
>
> And write and quit (w command):
>
> The partition table has been altered!
>
> Calling ioctl() to re-read partition table.
>
> WARNING: Re-reading the partition table failed with error 22:
> Invalid argument.
> The kernel still uses the old table.
> The new table will be used at the next reboot.
>
> WARNING: If you have created or modified any DOS 6.x
> partitions, please see the fdisk manual page for additional
> information.
> Syncing disks.
>
> Well, I tried:
>
> # sfdisk /dev/sdd1
> Checking that no-one is using this disk right now ...
> BLKRRPART: Invalid argument
> OK
> Warning: start=62 - this looks like a partition rather than
> the entire disk. Using fdisk on it is probably meaningless.
> [Use the --force option if you really want this]
>
> When I use sfdisk with --force option,
>
> ...
> Disk /dev/sdd1: 1008 cylinders, 16 heads, 62 sectors/track
> Old situation:
> Units = cylinders of 507904 bytes, blocks of 1024 bytes,
> counting from 0
>
> Device Boot Start End #cyls #blocks Id System
> /dev/sdd1p1 0 - 0 0 0 Empty
> /dev/sdd1p2 0 - 0 0 0 Empty
> /dev/sdd1p3 0 - 0 0 0 Empty
> /dev/sdd1p4 0 - 0 0 0 Empty
>
> /dev/sdd1p1 :
>
> Next I try:
>
> # mkfs.vfat -F 32 /dev/sdd1
> mkfs.vfat 2.11 (12 Mar 2005)
>
> But my files still there. Fsck didn't help.
>
> My guess is that I need a low level format, but I have no idea how to
> do that for a usb-key. Is it usually done with a proprietary low-level
> format utility?

Do you need more help?X

Just try the following, assuming your usb key is at /dev/sdd (change if it isn't)

  1. dd if=/dev/zero of=/dev/sdd bs=512 count=1
  2. mkdosfs -I -v /dev/sdd

Now you should be able to mount /dev/sdd.

-- 
Raj Kiran Grandhi

Date: Thu, 08 Nov 2007 02:40:40 +0200 From: Jabka Atu <mashrom.head@gmail.com> To: Rick Thomas <rbthomas@cs.rutgers.edu>, ML Debian-User <debian-user@lists.debian.org> Subject: Re: Where to find driver for new HP printer (Color LaserJet 2605dn) Message-ID: <47325B08.8080809@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear Rick,.. Im not sure about the dn version but as said on open printing : http://www.openprinting.org/show_printer.cgi?recnum=HP-Color_LaserJet_2605 The 2605 has perfect support by hplip package Rick Thomas wrote: >
> The immediate problem is for Sarge, but I expect I'll also discover
> that Etch and Lenny don't have drivers for this one either, since
> it's fairly new.
>
> So here's the question:
>
> I just got a new HP color LaserJet 2605dn printer. The CUPS setup
> doesn't seem to have a driver for it.
> Does anybody have an idea where to get appropriate driver software
> (I *think* it's just a PPD file, but I don't know for sure) and once
> I've got it, how to install it?
>
> Thanks in advance!
>
> Rick
> > - -- - -- Could you at least use man ? Jabka Atu (aka mha13/Mashrom Head) || bsh83.blogspot.com - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBRzJbCG9p6JnF9I1qAQIaLA//ew+hVMR10xEsyKwR+ri6HM4tgyNKsHgy 6b0XmaXG90Mb4Bk/99tYeTRXoAm81uswvGj1t1Dl8V4Qk+htDGxxt6e2DZWbrISL gh8dWYauBTOd08fEMhmgCiaMErAP7TdzUo7sqcnF+N5eNnQN5YlU496TyHjRtXTG LPYwQg/nlDvnyhXbz0HmYWZaVomd4FXjhsLOFfsESWB6WaIQNvxz6wJUu4VxsLEQ ZtNFBFIevdEuPQQQRfUooaJP46ce2FdluTdVEQ9jFXq7LD9aB8TGrMaEOiSBCMwv 3xmY6/Q0iS4Q/KCOStMrPwWOVbOqaFPSUuwlMJSttg0td5uI5WU9hbvOD6OghfuA qPtFWalQfuKN0r+kPEd1ms7ujPseOC+ApcgQu385jgeMcWoz9XFPh6u6nhuMIh7A TN+0PKD1R/Wqv+UCymUIa3CZIdE2RstZNVvqUiZRb75a1OZSR2Eb2cJ1dXX8CKKL XZNUOkt1FhkMWenKBolG7DdaH4gPejvdUS/pp6QNidKxZyU4BvwBuocgsuoIAIvG UhSpUg5BksLu7RBnf9DKdJUYHQEnvawBsEgAyfwwcrJULSerBNiX0/XkvTudHmot mnX10Poy9+A0J53TQg6IYCufxn6ZxqtVyJcZjvfAdSfEBBFgOGzgbs6GtU7mXbMa /M3lNju3/lo= =h2B8 -----END PGP SIGNATURE-----

Date: Thu, 8 Nov 2007 06:41:12 +0530 From: "Kumar Appaiah" <akumar@ee.iitm.ac.in> To: "Debian-Users List" <debian-user@lists.debian.org> Subject: Re: Why kernel 2.6.23 does not appear in sid packages? Message-ID: <a0c4f6270711071711u47a0d7afs8fe98574d8421b8d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 07/11/2007, Andrei Popescu wrote:
> > Being a Sid user you should be subscribed to debian-devel-announce:
> >
> > http://lists.debian.org/debian-devel-announce/2007/11/msg00001.html
>
> The problem seems to be solved (at least I got upgrades).
I don't think so. I don't thnik you'll get upgrades the next day, for example, since ries.debian.org == ftp-master.debian.org is still down. So, no new uploads are possible. Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600036

Date: Wed, 7 Nov 2007 19:56:06 -0500 From: Steve Kleene <skdeb@syrano.acb.uc.edu> To: debian-user@lists.debian.org Subject: Re: mysterious loss of internet connection Message-ID: <1054_10855_1194483366_1@syrano.acb.uc.edu> Content-ID: <1054_10855_1194483366_2@syrano.acb.uc.edu> Content-type: text/plain On Wed, 7 Nov 2007 08:49:10 -0500, I wrote:
> My Etch machine at home is connected to a DSL service via a Netgear hub
> (router) at home. Sometime in the last two days, the machine lost its
> network connection to the outside world. It seems to be a software problem.
> ...
> I'd appreciate any suggestions on how to continue chasing this down.
On Wed, 07 Nov 2007 19:45:07 +0530, Raj Kiran Grandhi replied:
> What is the output of "route -n"?
> there should be an entry which looks like
>
> 0.0.0.0 192.168.0.1 0.0.0.0 ..... eth0
As expected, I see Destination Gateway Genmask Flags Metric Ref Use Iface 172.16.196.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.107.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 where 192.168.0.1 is the router. (I tried starting without vmware but it didn't help.) On Wed, 7 Nov 2007 10:04:53 -0500, Douglas A. Tutty wrote:
> Are you pinging by IP or DNS name? Try by IP to remove the possibility
> of a DNS problem. From a box that does work, ping debian.org and get
> the IP. Then from the problem box, ping that IP and see if it goes
> through. If it does, then its a DNS problem.
Neither ping succeeds. I was a little surprised that I do still have name resolution. If I do "host debian.org", for example, it resolves to 192.25.206.10. (This is not coming from /etc/hosts.) On Wed, 07 Nov 2007 15:24:58 +0100, Christian Jaeger <christian@jaeger.mine.nu> suggested:
> try "tcpdump -i eth0 -p -n" during pinging of outside adresses
I started the tcpdump command, then started "ping debian.org", and got the following: tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 17:02:12.626080 IP 192.168.0.4.32792 > 192.168.0.1.53: 41061+ A? debian.org. (28) 17:02:12.638319 IP 192.168.0.1.53 > 192.168.0.4.32792: 41061 1/3/0 A 192.25.206.10 (105) 17:02:12.638618 IP 192.168.0.4 > 192.25.206.10: ICMP echo request, id 58398, seq 1, length 64 17:02:13.638421 IP 192.168.0.4 > 192.25.206.10: ICMP echo request, id 58398, seq 2, length 64 [more of those] 17:02:24.655745 IP 192.168.0.4 > 192.25.206.10: ICMP echo request, id 58398, seq 13, length 64 17:02:25.018434 IP 192.168.0.1.520 > 192.168.0.255.520: RIPv1, Response, length: 44 17:02:25.656605 IP 192.168.0.4 > 192.25.206.10: ICMP echo request, id 58398, seq 14, length 64 [more of those] 17:02:29.669048 IP 192.168.0.4 > 192.25.206.10: ICMP echo request, id 58398, seq 18, length 64 17:02:30.657695 arp who-has 192.168.0.1 tell 192.168.0.4 17:02:30.658311 arp reply 192.168.0.1 is-at 00:a0:c5:e2:b4:56 17:02:30.669758 IP 192.168.0.4 > 192.25.206.10: ICMP echo request, id 58398, seq 19, length 64 [more of the same; interrupt tcpdump with ^c] 42 packets captured 42 packets received by filter 0 packets dropped by kernel
> if you can attach to the DSL directly
It may come to that, but it would involve lugging everything upstairs. The router lives next to my wife's XP machine. Finally, on Wed, 7 Nov 2007 09:09:11 -0800 (PST), joseph lockhart wrote:
> i had a similar problem here, i run my internet through a cable connection,
> and had mysteriously lost the ability to connect to the internet. Probably a
> completely diffrent cause but i would check dbus i have found that it wants
> to shut itself off and ignores me everytime that i tell it to start running
> on startup (which i have set the last several times that i have booted up)
Sorry, but I don't know enough to understand this. If you can describe what steps you took to fix it (it you could at all), I could try them. I do show these processes running: /usr/bin/dbus-daemon --system /sbin/dhclient -1 -lf /var/lib/dhcp3/dhclient.eth0.leases -pf /var/run/dhclient.eth0.pid -q -e dhc_dbus=31 -d eth0 Thanks to all of you.

Date: Wed, 07 Nov 2007 20:34:31 -0500 From: David Clymer <david@zettazebra.com> To: debian-user@lists.debian.org Subject: Re: what is supposed to set $LANG? Message-Id: <1194485671.28914.6.camel@zepto.home.zettazebra.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-IY864yts9isGwqpXO4YL" --=-IY864yts9isGwqpXO4YL Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2007-11-06 at 23:59 +0200, Micha Feigin wrote:
> I noticed lately that $LANG is no longer set by default on my system. See=
ms
> that it is defined correctly in /etc/defaults and when changing to root i=
t is
> also defined, but it is not defined for the default user
>=20
> seems like some programs get confused by the lack of a default encoding
What is the output of localedef --list-archive and/or the contents of /etc/locale.gen? -davidc --=20 gpg-key: http://www.zettazebra.com/files/key.gpg --=-IY864yts9isGwqpXO4YL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHMmen2XpGgG+SNaERAtBvAKCBh+XA/E1R/r2OT640h/sIiPbJWACgum22 G/V70eTKsmSs3ULOfL4FOSM= =OTTh -----END PGP SIGNATURE----- --=-IY864yts9isGwqpXO4YL--

Date: Wed, 7 Nov 2007 20:25:54 -0500 From: Carl Fink <carl@finknetwork.com> To: debian-user@lists.debian.org Subject: Re: docx files Message-ID: <20071108012554.GA24300@nitpicking.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Nov 07, 2007 at 10:14:55PM +0100, Thierry Chatelet wrote:
> Hi,
> I received a file.docx made with office 2007
> Is there any easy way to read it?
> Thanks
> Thierry
Microsoft has a free converter. http://www.microsoft.com/downloads/details.aspx?familyid=941B3470-3AE9-4AEE-8F43-C6BB74CD1466&displaylang=en I have no idea whether they work under WINE, but if they do your problem is solved. -- Carl Fink nitpicking@nitpicking.com Read my blog at nitpickingblog.blogspot.com. Reviews! Observations! Stupid mistakes you can correct!

Date: Wed, 07 Nov 2007 21:32:40 -0500 From: Kamaraju S Kusumanchi <kamaraju@bluebottle.com> To: debian-user@lists.debian.org Subject: Re: what's your favourite FLOSS? Message-ID: <fgtrh0$e5q$1@ger.gmane.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Tshepang Lekhonkhobe wrote: >> > mathematics: >> >> Can't understand what you mean by this...
>
> Anything working with mathematics, like calculators and so on, same as
> you've listed below...
>
>> maxima, texmacs, gnuplot, octave (many programs are coming to my mind)...
>
> Is this your selection?
>
Yes, that is my selection. raju

Can we help you?X

Date: Wed, 7 Nov 2007 20:07:01 -0600 From: "Randy Patterson - [Tech]" <tech@patterson-pcc.com> To: "debian-user" <debian-user@lists.debian.org> Subject: Linux kernel email list?? Message-Id: <200711072007.01463.tech@patterson-pcc.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey, I am trying to compile the 2.6.23.1 linux kernel and have ran into a brick wall. I know this isn't the list for it but was wondering if someone could point me in the direction of the appropriate list. I found the list at vger.kernel.org but that is for linux kernel developers and they probaby aren't interested in kernel newbie questions. A good link would be very much appreciated! Thanks, Randy

Date: Wed, 7 Nov 2007 18:21:35 -0800 From: "Kelly Clowers" <kelly.clowers@gmail.com> To: debian-user@lists.debian.org Subject: Re: what's your favourite FLOSS? Message-ID: <1840f6970711071821l6d436531pac680270197ea298@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Nov 7, 2007 1:24 PM, John Masters <johnmasters@oxtedonline.net> wrote:
> On 13:15 Tue 06 Nov , Tshepang Lekhonkhobe wrote:
> > Here's a template where you can fill in your favourites; feel free to
> > add missing categories:
> >
> >
> <big big snip>
>
> Sorry but here's where I unsubscribe for a couple of months while the
> same stuff is rehashed as it was a few months ago. Does this totally
> unscientific poll have any real use? Apart that is from reigniting the
> antediluvian arguments like mutt v emacs, bash v korn etc.
>
> There is a method to gauge the popularity of FLOSS apps built into every
> Debian installation. If you haven't enabled it yet, do so and eliminate
> this totally superfluous 'poll'.
I find it fun and interesting to discuss with my fellow free software users what programs they use. With this method, it is not anonymous stats, it is people I know somewhat. If someone has an interesting choice, I can ask why they use that program, and sometime I learn of programs that I didn't know about at all. Last year, this poll produced no major vi/emacs or similar flamewars, and there have been none so far this year. I am generally for keeping the list mostly on topic, but I think an annual "favorite FOSS poll" is still on topic (and fun). Cheers, Kelly Clowers

Date: 07 Nov 2007 21:22:54 -0500 From: Haines Brown <brownh@hartford-hwp.com> To: debian-user@lists.debian.org Subject: Re: Deletion of files from usb-key Message-ID: <874pfxmq69.fsf@teufel.hartford-hwp.com> Content-Type: text/plain; charset=us-ascii Kiran, Thanks for the help. I should emphazie that my promblem is not mounting the usb-key drive, but only deleting the files on it. I can copy those files, but not delete or modify them. However, if I add a test file, I can readily delete it. I suspect I damanged the file system by removing the usb-key from a laptop running Windows without first "stopping" it (I know nothing of Windows). You suggested first: # dd if=/dev/zero of=/sdd bs=512 count=1 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.00394563 seconds, 130 kB/s This didn't get rid of the files. You suggested second: # mkdosfs -I -v /dev/sdd mkdosfs 2.11 (12 Mar 2005) /dev/sdd has 16 heads and 62 sectors per track, logical sector size is 512, using 0xf8 media descriptor, with 1000944 sectors; file system has 2 16-bit FATs and 16 sectors per cluster. FAT size is 245 sectors, and provides 62526 clusters. Root directory contains 512 slots. Volume ID is 47326c96, no volume label. Files still there. Important relevant information: $ ls -la /media/usb-key drwxr-xr-x 2 brownh brownh 20480 Dec 31 1969 . drwxr-xr-x 8 root root 4096 Jul 17 15:16 .. -rwxr-xr-x 1 brownh brownh 1071529 Aug 14 14:35 <.PNG filename> ... $ df /media/mirror Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 964500 124352 791152 14% / I next tried to repair the file system; # dosfsck -av /dev/sdd dosfsck 2.11 (12 Mar 2005) dosfsck 2.11, 12 Mar 2005, FAT32, LFN Logical sector size is zero. Zero? I said that running mformat failed. What I meant is that I only get the usage help, but nothing happens: # mformat -v /dev/sdd Mtools version 3.9.10, dated March 2nd, 2005 Usage: ... I tried: # fdisk /dev/sdd and print partition table: Disk /dev/sdd: 512 MB, 512483328 bytes 16 heads, 62 sectors/track, 1009 cylinders Units = cylinders of 992 * 512 = 507904 bytes Device Boot Start End Blocks Id System /dev/sdd1 1 1009 500433 b W95 FAT32 This looks OK. -- Haines Brown, KB1GRM

Date: Wed, 7 Nov 2007 18:59:28 -0800 From: Andrew Sackville-West <andrew@farwestbilliards.com> To: debian-user@lists.debian.org Subject: Re: Linux kernel email list?? Message-ID: <20071108025928.GE21858@localhost.localdomain> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ffoCPvUAPMgSXi6H" Content-Disposition: inline --ffoCPvUAPMgSXi6H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 07, 2007 at 08:07:01PM -0600, Randy Patterson - [Tech] wrote:
> Hey,
>=20
> I am trying to compile the 2.6.23.1 linux kernel and have ran into a bric=
k=20
> wall. I know this isn't the list for it but was wondering if someone coul=
d=20
> point me in the direction of the appropriate list. I found the list at=20
> vger.kernel.org but that is for linux kernel developers and they probaby=
=20
> aren't interested in kernel newbie questions. A good link would be very m=
uch=20
> appreciated!
actually, on the assumption that you are trying to build your kernel on a debian system, this is entirely appropriate. Why don't you go ahead and ask your question. Worst case, someone will tell you to take it somewhere else. ;) A --ffoCPvUAPMgSXi6H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHMnuQaIeIEqwil4YRAk7YAKCSNojIIq2p9pe0PzCwcSpIyAHPlwCg4ukr dj97cDbc5vdqt8vfBR52J2A= =pVYU -----END PGP SIGNATURE----- --ffoCPvUAPMgSXi6H--

Date: Thu, 8 Nov 2007 03:50:46 +0100 (CET) From: "s. keeling" <keeling@nucleus.com> To: debian-user@lists.debian.org Subject: Re: how to read http mails in mutt mail reader (vim)? Message-ID: <slrnfj4uc6.7a3.keeling@heretic.nucleus.com> hce <webmail.hce@gmail.com>:
>
> I've just installed mutt in Debian, one problem is there are some
> mails from news lists with HTTP format, it was fine when I use Mozilla
> mail reader, but with mutt and vim, I could not read the HTTP format
> mails. One solution I can think of is to use lynx, but I don't know
> how to config mutt with lynx. How do you handle this issue?
mutt needs to be trained. You could tell it to use urlview via macro, but I see no need for it. Install w3m, and it'll do everything you need. In your ~/.mailcap, add: multipart/alternative ; /usr/bin/w3m -dump %s; copiousoutput; nametemplate=%s.html multipart/related ; /usr/bin/w3m -dump %s; copiousoutput; nametemplate=%s.html text/html ; /usr/bin/w3m -T text/html -dump %s ; copiousoutput then tell mutt this (~/.muttrc): macro index \cB |'w3m -m -cookie'\n 'call w3m to extract URLs out of a message' macro pager \cB |'w3m -m -cookie'\n 'call w3m to extract URLs out of a message' Then, CTRL-b invokes w3m on the mail you're reading, ":" highlights links, and TAB moves to the next one, and Enter goes to that link. To configure w3m, type "o" when it's running. Hit "q" and you're back in mutt. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.

Date: Thu, 8 Nov 2007 04:11:03 +0100 (CET) From: "s. keeling" <keeling@nucleus.com> To: debian-user@lists.debian.org Subject: Re: lprng + magicfilter + hpijs => hp deskjet 680c Message-ID: <slrnfj4vi6.7a3.keeling@heretic.nucleus.com> Javier Vasquez <jevv.cr@gmail.com>:
> On 11/4/07, Javier Vasquez <jevv.cr@gmail.com> wrote:
> >
> > I have a HP-680C deskject printer that I wanted to make it work with
> > lprng + magicfilter + hpijs. So far no luck. I seems like I'm able
> > to use the filter:
> >
> > /etc/magicfilter/dj550c-filter
> >
> > But for some reason I can't get to use the:
> >
> > /etc/magicfilter/hpijs-filter
Please, what does "I can't get to use" mean? Error messages? Log entries? See /var/log for the latter.
> BTW: Is there a way to set the quality on /etc/printcap directly, so
> by default everything prints on economic/draft quality under such
> configuration?
Here's my /etc/printcap for an Epson Stylus Photo 900: lp0|To Your Left: \ :lp=/dev/lp0: \ :force_localhost: \ :if=/usr/bin/foomatic-rip: \ :ppd=/usr/local/ppd/Epson-Stylus_Photo_870-Stp870p.upp.ppd: \ :sd=/var/spool/lpd/lp: \ :mx#0:sh: It's not rocket science, once you find the ppd that matches your printer closely enough, but I think print quality may be app specific. CUPS or foomatic config may do that for you. I've used the hp and dj filters in the past, but that was a long time ago, sorry. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.

Date: Thu, 8 Nov 2007 04:17:20 +0100 (CET) From: "s. keeling" <keeling@nucleus.com> To: debian-user@lists.debian.org Subject: Re: Telnet/SSH Terminal Help Message-ID: <slrnfj4vu0.7a3.keeling@heretic.nucleus.com> Jeff Grossman <jeff@stikman.com>:
> s. keeling wrote:
> > Jeff Grossman <jeff@stikman.com>:
> >
> >>> Douglas A. Tutty wrote:
> >>>
> >>>> On Mon, Oct 29, 2007 at 06:03:01AM -0700, Jeff Grossman wrote:
> >>>>
> >>>>> If I do an 'export LC_ALL=C' then term=linux and term=screen appear to
> >>>>> act the same. The display is much better but still not perfect. I
> >>>>> have
> >>>>> updated a new picture at http://www.stikman.com/mcdisplay1.jpg.
> >>>>>
> >>>> What about TERM=screen ?
> >>>>
> >> Where should I put the 'export LC_ALL=C' command so it is always done for
> >> each login and for each user? The /etc/bash.bashrc file?
> >
> > btw, defining LC_ALL=C is heavy-handed overkill. Better would be
> > LANG. I also set LC_COLLATE=C. Here's what I end up with:
> >
> > (0) heretic /home/keeling_ locale
> > LANG=en_US.iso885915
> > LC_CTYPE="en_US.iso885915"
>
> Well, honestly, I have no idea what any of those settings do. I just
> want mc and aptitude to properly draw lines. Without the LC_ALL line
> the lines are not drawn correctly. What setting should I use to fix the
Your problem isn't related to locale. I suspect it's your terminal emulation that's buggered. Are you using xterm, rxvt, or one of the clueless children (kterm/gnome-terminal)? -- Any technology distinguishable from magic is insufficiently advanced. (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me. End of debian-user-digest Digest V2007 Issue #2764 ************************************************** Received on Wed Nov 7 22:20:41 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:56:09 EDT

Can't find what you're looking for?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library