OT mutt config question

2009-07-01 Thread Eric d'Alibut
I want mutt's PGP menu to default to 'sign (inline)'. Does anyone have
a hook or muttrc that does this?

I can of course set that menu to default to 'sign (PGP/MIME),' but --
contra much advice -- I want the 'inline' option.


Best regards,
--
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?


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



Re: Help with ndiswrapper and Broadcom wireless

2009-07-01 Thread Thierry Chatelet
On Thursday 02 July 2009 05:09:51 JoeHill wrote:
> I first tried to get wireless working following this page on the Debian
> Wiki:
>
> http://wiki.debian.org/bcm43xx
>
> but then found out that my particular device was not supported by that
> driver.
>
> I then tried the tutorial on this page:
>
> http://wiki.debian.org/NdisWrapper
>
> I have a Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03), so I got the
> driver from HP, the vendor of this notebook. It is installed, and shows up
> in ndisgtk, but shows 'Hardware present: no'.
>
> I installed wicd to see if that would at least let me see more of what was
> going on, but although it says it's running, when I try to access the wicd
> network manager, nothing opens. Gnome network manager shows no wireless
> connection.
>
> Any tips really greatly appreciated.
>
> --
> J


A Linux driver for the Broadcom bcm43xx wireless chips.
Broadcom never released details about these chips. So this driver is based 
upon reverse engineered specifications.

This driver was included into the Linux kernel since 2.6.17-rc2.

Another branch of this driver, based on the Devicescape 802.11 Stack, which 
should be the future in Linux wireless support and which supports advanced 
capabilities (namely, full WPA support), can be found in the wireless-dev 
tree:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-dev.git

The bcm43xx-fwcutter tool (required - see documentation for further info) can 
install with aptitude.
So remove ndiswrapper and try again.
Give some detail from ifconfig, iwconfig..


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



Re: ext4 stable enough to entrust it with data?

2009-07-01 Thread lee
On Tue, Jun 30, 2009 at 08:53:43PM +0200, Sven Joachim wrote:
> On 2009-06-30 20:40 +0200, lee wrote:
> 
> > Anyway, getting the new disks brings up the question which file system
> > to use. It seems you can convert ext3 to ext4 later, so I'm thinking
> > of using ext3 for now and maybe converting later. On the first glance,
> > there doesn't seem to be a disadvantage with doing it this way.
> 
> There is, existing files will not take advantage of the new features of
> ext4 like extents.  Therefore, I would just go straight to ext4 for new
> filesystems.

Well, I could live with that. But I just went with ext4 for the new
disks and made a new FS on /tmp to "convert" it to ext4. At some time
I might convert /var to ext4.

> One caveat, though: grub(-legacy) cannot read ext4, you have to switch
> to grub2 (aka grub-pc) or use a separate ext2/3 filesystem for /boot.

Well, I haven't been able to install on SATA disks. The installer CD
didn't have the required kernel modules --- extremely annoying when
trying to install from scratch on SATA or when bootint into the rescue
system and not being able to access your disks. So I ended up having
to use an IDE disk to install, and the IDE disk is still in use
now. The root partition is ext3 and contains the /boot partition ---
I'm always trying to keep that on one partition "the old fashioned
way" because it makes things easier, like not having to mess with an
initramfs. Hm, but then, I think I tried a seperate /boot partition
once, but it didn't work ...

Anyway, I got the new disks today, installed them, created a
partitionable RAID-1 from them and created a partition over the full
size. The I wanted to reboot to make sure the updated partitioning
info is valid (I've seen it not working before and messing things up
badly, so I always reboot after changing partitions).

But I couldn't reboot. The BIOS always got stuck at the point where it
would report the disks, and it turned out that I had to turn off AHCI
and "native mode" in the BIOS to be able to boot with the new disks
connected. But booting with that disabled made it impossible for the
kernel to find any SATA devices. I managed to make a kernel with the
modules needed to run without AHCI, and it works that way now. I got
all the data copied to the new disks :)


Maybe I need a BIOS update; I'll have to check if there is one. The
new disks had been detected without problems before I created the
RAID-1 and partitioned it.

What am I supposed to use for the IDE disk? There is:


Device Drivers--->ATA/ATAPI/MFM/RLL support--->
generic ATA/ATAPI disk support
JMicron JMB36x support


That I have compiled into the kernel since it needs something to be
able to boot. Then there is:


Device Drivers--->Serial ATA (prod) and Parallel ATA (experimental) drivers--->
ATA ACPI Support
AHCI SATA support


... which I have been using before, compiled in. I changed that
to using:


AHCI SATA support
Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
ACPI firmware driver for PATA
JMicron PATA support


Those are all compiled as modules, and they get loaded automatically,
except for "AHCI SATA support".

The point is that the JMicron support is doubled, once as module, once
compiled in. lspci says:


00:1f.2 IDE interface: Intel Corporation 82801IB (ICH9) 2 port SATA IDE 
Controller (rev 02)
03:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller


So what do I need/should I use, the " JMicron JMB36x support" or the
"JMicron PATA support" --- or both? The board is a Gigabyte
GA-P35-DS3L (or S3L).


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



Re: scripting question

2009-07-01 Thread gcrimp
On Wed, Jul 01, 2009 at 07:22:33AM -0700, Marc Shapiro wrote:
> I am sure that this is an easy question for those people who do any  
> reasonable amount of scripting.  I'm just not one of them.
>
> How can I rename all of the files ina directory with the new name being  
> the old name stripped of its leftmost three characters.  If all of the  
> files are off the format:
>
>   xxxy.zzz
>
> I want the new names to be of the format:
>
>   y.zzz
>

for file in `ls all the files` ; do mv $file ${file#xxx}; done


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



Help with ndiswrapper and Broadcom wireless

2009-07-01 Thread JoeHill

I first tried to get wireless working following this page on the Debian Wiki:

http://wiki.debian.org/bcm43xx

but then found out that my particular device was not supported by that driver.

I then tried the tutorial on this page:

http://wiki.debian.org/NdisWrapper

I have a Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03), so I got the
driver from HP, the vendor of this notebook. It is installed, and shows up in
ndisgtk, but shows 'Hardware present: no'.

I installed wicd to see if that would at least let me see more of what was
going on, but although it says it's running, when I try to access the wicd
network manager, nothing opens. Gnome network manager shows no wireless
connection.

Any tips really greatly appreciated.

-- 
J


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



Cups - printer..........

2009-07-01 Thread Charlie

Hello Everyone,

Could someone please tell me what they have in their: Cups server> Host
and Port when they do: 

If they use cups and printer working in Debian Squeeze [testing]

Thank you,
Charlie
--- 
Registered Linux User:- 329524
+++
Write while the heat is in you. The writer who postpones the recording
of his thoughts uses an iron which has cooled to burn a hole with. He
cannot inflame the minds of his
audience. .Henry David Thoreau

>>>
Linux Debian - just the best way to create magic
  


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



Lenny hangs on "Activating Swap"

2009-07-01 Thread Mark Marcacci
The subject line says it all.  Just did a clean install of Lenny 5.0.2,had
had several successful reboots and shutdowns and then tonight from a cold
start it hung at "Activating Swap".  Before this happened, I had connected
an NTFS drive (using NTFS-3g package) via USB and copied over 60 GB of data
to my home partition on /dev/hda.  Unmounted the drive, shut down the
computer with no errors.  10 minutes later went to start cold and it hung.

Any ideas?  Does Lenny still want that

Thanks,
Mark


Bad success on Squeez upgrade...

2009-07-01 Thread troppero

I updated the apt data with aptitude update because has an uncertained 
unfinished install...

Going up.

When type the two 'g' to go to install, aptitude go to install some packages 
and sees the following:

Uninstalling accerciser ...
[ 7277.110540 ] scrollkeeper-up[4991]: Segfault at 4 ip f7cf4f15 sp ff97a6b8 
error 6 in libc-2.9.so [f7c61000+13c000]
/var/lib/dpkg/info/accerciser.postrm: line 6: 4991 Segment violation in 
scrollkeeper-update -q

Can anyone help with it? I have not clue in how to solve it... :(


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


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



Re: Nautilus default view is...bad.

2009-07-01 Thread Lachlan
>> Edit -> Preferences -> Behaviour -> Always open in browser windows
>
> I swear, that option was not there when I checked a few minutes ago. It just
> magically appeared now!
>
> Honest... ;)
>
> Thanks!

you can also get there from the command line
nautilus-file-management-properties

and gconf has a setting as well
/apps/nautilus/preferences/always_use_browser

It's probably the easiest thing to forget because you'll set it once
and forget about it by the time you install again.


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



Re: Nautilus default view is...bad.

2009-07-01 Thread JoeHill
Lachlan wrote: 

> > Can someone remind me how I get Nautilus to behave like a normal file
> > manager? You know, one that is useful, with a side pane and a toolbar and
> > actual navigation buttons?
> >  
> 
> Edit -> Preferences -> Behaviour -> Always open in browser windows

I swear, that option was not there when I checked a few minutes ago. It just
magically appeared now!

Honest... ;)

Thanks!

-- 
J


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



Re: Nautilus default view is...bad.

2009-07-01 Thread Lachlan
>
> Can someone remind me how I get Nautilus to behave like a normal file manager?
> You know, one that is useful, with a side pane and a toolbar and actual
> navigation buttons?
>

Edit -> Preferences -> Behaviour -> Always open in browser windows


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



Nautilus default view is...bad.

2009-07-01 Thread JoeHill

Can someone remind me how I get Nautilus to behave like a normal file manager?
You know, one that is useful, with a side pane and a toolbar and actual
navigation buttons?

Thanks!

-- 
J


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



glibc too old to install Flash on Testing?

2009-07-01 Thread JoeHill

What?

I've definitely never seen this before. I'm running a Testing system myself and
Flash works fine (well, to the extent that Flash can ever be said to work
'fine').

On a Testing system I just installed, however, I'm getting an error that:

ERROR: Your glibc library is older than 2.3.
   Please update your glibc library.

I've applied all updates since installing the system, so not too sure how I
could be out of date at this point. I tried just copying the libflashplayer.so
to .mozilla/plugins, but it is still not found by Iceweasel.

Any tips?

Thanks!

-- 
J


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



Call for testing: New PHP 5.3 debian packages

2009-07-01 Thread sean finney
(Please excuse the gratuitous cross-post)

Now that PHP 5.3 has been officially released[1], the Debian PHP packaging
team would like to announce the availability of PHP 5.3 packages for initial
public testing.

The packages are currently available for both amd64 and i386 users of
testing/unstable, via the "experimental" release section of the debian
packaging archive.  To install these packages on your system, add the
following line to /etc/apt/sources.list:

deb http://ftp.debian.org/debian/ experimental main

you should then be able to install these packages with

apt-get install -t experimental php5

(and you can replace php5 with a more specific package selection
 of course)

DISCLAIMER: You should not install these packages on a production system,
until they have recieved wider testing and review.  I have
given the packages limited local testing but due to the
nature of the 5.3 upgrade it's possible that you may have
problems with either the packaging or one of the many changes
in this update!

As time progresses we may set up an alternate location dedicated for
php5.3 related packages, depending on demand, how many additional packages
we need to rebuild for testing (all debian packages that build against
the php API/ABI need to be updated) and how long we delay the transition
to 5.3 in debian unstable.  

I should emphasize that we don't have plans to transition to PHP 5.3 in
debian testing/unstable in the immediate future; at least not until we
feel comfortable that the packages and software are reasonably stable and 
tested.  So if you want to see this happen faster the best thing you can
do is report to us with your problems (and successes!) using these packages.

Please forward any and all feedback/problems to the Debian PHP team's
mailing list[2] and if you're convinced that there's a problem, the 
debian bug tracking system[3] and/or the PHP bug tracking system[4] depending
on who you think should get the blame :). 


Sean Finney (and the rest of the Debian PHP Maintainers)


[1] http://www.php.net/archive/2009.php#id2009-06-30-1
[2] pkg-php-ma...@lists.alioth.debian.org
[3] "reportbug php5"
[4] http://bugs.php.net


signature.asc
Description: Digital signature


Re: Gmail filtering. NOT OT

2009-07-01 Thread Daryl Styrk
On Wed, Jul 01, 2009 at 11:40:26AM -0500, John W Foster wrote:

> all mail, so I would never get it in a download. I really don't want to
> mess with 'fetchmail, mutt, or any of the other possible means of
> solving this if I can locate a way to do what I want. I also don't want
> -- 
> John Foster

-Mutt-
"All mail clients suck. This one just sucks less." 

fcc-save-hook "~C debian-user@" +Debian-User

done
-- 
Daryl Styrk
Naples FL, USA


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



KDE: Network printer, root only

2009-07-01 Thread Tina I

Hello list,

I have set up a printer server using CUPS. It seem to be functioning OK. 
But I have a strange problem with the KDE client. The printer is only 
visible/ available for root.  Even in Kcontrol I can only see it in 
admin mode.


I have added the user to the lp/ lpadmin groups but that made no 
difference. For the life of me I can not figure out what's wrong. I did 
the same thing in Etch with no problem but this time in Lenny it just 
doesn't work.


Hopefully it's just some silly detail I'm missing but I'm out of ideas...

Thanks
Tina


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




RE:Optical Jukebox support in Linux

2009-07-01 Thread Alani Kuye
The HO OEM machine with 144 slots is no longer supported or even
manufactured anymore. I'll suggest you look up newer, blu ray based
optical jukebox systems from us at Phantom Data Systems. Our url is at
www.phantomdatasystems.com/opticalstorage.html

Alani



-- 
Alani O. Kuye
Managing Partner, Phantom Data Systems Inc.
One Selleck Street,
Third Floor, Suite 311,
Norwalk, CT
Office:  1.203.572.0035
Mobile: 1.203.500.8287
Data Storage, Disaster Recovery, and Data Center Power Solutions.
http://www.phantomdatasystems.com
http://www.uniatelecom.com

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to which they are addressed.
If you have received this email in error please reply to this email and then
delete it. Please note that any views or opinions presented in this email
are solely those of the author and do not necessarily represent those of
Phantom Data Systems Inc. The recipient should check this email and any
attachments for the presence of viruses. Phantom Data Systems Inc. accepts
no liability for any damage caused by any virus transmitted by this email.
Phantom Data Systems Inc. may regularly and randomly monitor outgoing and
incoming emails and other telecommunications on its email and
telecommunications systems. By replying to this email you give your consent
to such monitoring.


sendmail mqueu-client remaining files

2009-07-01 Thread g4-lisz

Hello there

I have a question concerning sendmail and it's MSP functionality on Debian.

I'm running a mail server with MTA running as daemon and MSP running as
cronjob.

My /var/spool/mqueue-client looks like this:

-rw-rw 1 smmsp smmsp229 2008-09-12 05:09 dfm8C39JIw008052
-rw-rw 1 smmsp smmsp 2147483647 2009-06-19 14:59 dfn5JCo1AO015780
-rw-rw 1 smmsp smmsp 2147483647 2009-06-19 15:11 dfn5JD02BS009581
-rw-rw 1 smmsp smmsp 2147483647 2009-06-19 15:19 dfn5JDA256032527
-rw-rw 1 smmsp smmsp 2147483647 2009-06-19 15:29 dfn5JDK1jW023879

That takes about 8 Gigs of space! But at the same time the MSP queue is
said to be empty:

hosting:~# sendmail -Ac -bp
/var/spool/mqueue-client is empty
Total requests: 0

How can this be?

Where these files maybe left over from a crash? Can i remove them now by
hand without getting into troubles?

Any help would be much appreciated!
TW


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




Re: Number of working days in given month

2009-07-01 Thread mike

Rob Gom wrote:

Hi there,
do you know any command line tool which would be able to display
number of working days in given month in given country?
I have found gcal, which suits my needs, but is barely maintained
(last release in 2000) and I'm afraid about its possible removal
(currently maintained in Debian by QA group). Besides, its options
syntax is scary and it's not present in other Linux distributions
(thinking about Fedora).
For now I can stick with gcal, just asking for other tools.

Regards,
Robert


  
Not really a command line tool, but you might look into emacs.  I know 
that the calendar has holidays in it and you can count days also.

good luck
-mike


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




Re: iceweasel 3.5?

2009-07-01 Thread tyler
"Boyd Stephen Smith Jr."  writes:

> In <4a4b690e.5060...@physik.blm.tu-muenchen.de>, Johannes Wiedersich wrote:
>>If you really need/want iceweasel 3.5 you could either hope for a
>>backport [1] (I don't know if and when this will happen) or upgrade your
>>whole system to unstable.
>
> Or, run a mixed system.

In my experience, running a mixed system is trickier than getting the
program you need directly from the source (especially in cases where the
desired program isn't even in unstable yet!). At least for projects like
Firefox and OpenOffice, which are generally pretty straightforward to
install.

In the case of Firefox 3.5, it's pretty simple:

 download it from getfirefox.com
 extract it:
   tar -xvjf firefox-3.5.tar.bz2
 run firefox with: 
   ~./firefox/firefox

You can put a symlink to ~/firefox/firefox in ~/bin/ or wherever is
convenient, or if you use a desktop with icons, add one that points to
~/firefox/firefox, and you're all done.

I just did that this morning. When Iceweasel 3.5 is ready for my testing
system, I'll install that as usual and delete ~/firefox/

Cheers,

Tyler

-- 
Friends don't let friends send Word documents

http://www.nothingisreal.com/dfki/no-word


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



Re: Gmail filtering. NOT OT

2009-07-01 Thread John W Foster
On Tue, 2009-06-30 at 11:31 +0200, Nicolas KOWALSKI wrote:
> Hello,
> 
> John W Foster  writes:
> 
> > I need to know how to keep gmail/ or maybe my own mailing list setting,
> > from filtering out replys to posting on debian user and other debian
> > lists.
> 
> For this, I usually define a filter in the Gmail webui, to label
> mailing-list incoming or outgoing posts. 
> 
> In the present case, in the 'Has the words' field, I entered:
> 
> "list:debian-user.lists.debian.org OR to:debian-user@lists.debian.org"
> 
> Then I checked the "Apply the label" option, with a "debian-user" label.
> 
> 
> This way, when I receive or send messages from/to the list, they are
> _all_ labelled as "debian-user", including the one stored in "Sent
> Mail". This works well, for me at least.
> 
> Hope this helps,
> -- 
> Nicolas
> 
> 
Wel I also like this approach & it's easy so I'll try it first.
Thanks! This reply will serve as the test.


-- 
John Foster


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



Re: Gmail filtering. NOT OT

2009-07-01 Thread AG

Nicolas KOWALSKI wrote:

Hello,

John W Foster  writes:

  

I need to know how to keep gmail/ or maybe my own mailing list setting,
from filtering out replys to posting on debian user and other debian
lists.



For this, I usually define a filter in the Gmail webui, to label
mailing-list incoming or outgoing posts. 


In the present case, in the 'Has the words' field, I entered:

"list:debian-user.lists.debian.org OR to:debian-user@lists.debian.org"

Then I checked the "Apply the label" option, with a "debian-user" label.


This way, when I receive or send messages from/to the list, they are
_all_ labelled as "debian-user", including the one stored in "Sent
Mail". This works well, for me at least.

Hope this helps,
  

Nicolas

I found this reply really helpful, because this is an issue I've had for 
a while now and have resorted to manually moving the sent message to the 
proper folder.


Hopefully this will now do what it says on the tin and I should get my 
own mail showing up as well.



But, thanks!!

AG


Re: Gmail filtering. NOT OT

2009-07-01 Thread John W Foster
On Mon, 2009-06-29 at 23:18 -0700, Jimmy Johnson wrote:
> John W Foster wrote:
> > I need to know how to keep gmail/ or maybe my own mailing list setting,
> > from filtering out replys to posting on debian user and other debian
> > lists.
> > scenario: 
> > When I post an answer or a questions to this list or any debian list. I
> > do not recieve the replies that are sent to my mailbox at gmail.com.
> > Most or all of the other messages/posts do come thru. Seems that
> > something is filtering out anything with my name as the sender or
> > something. Not sure if this is explained prpoerly but if you have a
> > gmail account maybe you can reply. FWIW: if you do not hit reply all to
> > this I will never see the response. That is exactly the problem.
> > Thanks!
> 
> 
> In gmail you have a folder named "All Mail" use it and you will see your 
> replies, after all they are Sent Mail and that is how gmail handles it.
Spot on; I deleted all of the messages in Sent and the problem cleared
up. As you can see there were the usual number of replies. However I did
get them all in my Evolution download after deleting all of my old sent
messages. I sent a test message to Gmail and indeed it is in sent, and
all mail, so I would never get it in a download. I really don't want to
mess with 'fetchmail, mutt, or any of the other possible means of
solving this if I can locate a way to do what I want. I also don't want
to move my mail to another host as I have it set up to way too many of
my customers. I may try what Leisi suggested by changing my SMTP host
tomy ISP. That actually seems to be the easiest answer.

> -- 
> Jimmy Johnson
> 
> Bakersfield, CA. U.S.A.
> Registered Linux User #380263
> K.I.S.S. (Keep it simple stupid)
> 
> 
I did a lot of research on this over the last couple of days. I read
virtually everything on gmail's help system & have determined that the
issue is actually with them and the process of using "Lables" instead of
folders as ways of sorting out mail. I don't usually use the gmail web
interface, I normally have evolution download, filter, etc. the mail
from several hosts. But I want to be able to access the gmail web
interface & use it when traveling or from my phone. Since you were the
only person to supply a real tip to resolving this, I was wondering if
you might know the answer to either of these questions.
1. Any way to get the gmail system to leave or put everything in the
Inbox? Their "HELP" offers nothing regarding this.
2. Any way to tell evolution to download & delete what's in the All Mail
label I have never tried to tell any mail app which folder to download
from, not sure if it's possible.

Thanks to all who supplied any possible means of fixing this.

-- 
John Foster


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



Re: scripting question

2009-07-01 Thread Michael Ekstrand
Marc Shapiro  writes:
> I am sure that this is an easy question for those people who do any
> reasonable amount of scripting.  I'm just not one of them.
>
> How can I rename all of the files ina directory with the new name
> being the old name stripped of its leftmost three characters.  If all
> of the files are off the format:
>
>   xxxy.zzz
>
> I want the new names to be of the format:
>
>   y.zzz
>
> I have hundreds of files like this in each of several directories and
> I really don't want to do it all by hand.  I did some of that,
> already, and I know there must be a better way.

In ZSH with zmv, you can do it with the following:

$ zmv 'xxx(*).zzz' '$1.zzz'

- Michael

-- 
mouse, n: A device for pointing at the xterm in which you want to type.
Confused by the strange files?  I cryptographically sign my messages.
For more information see .


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



Re: scripting question

2009-07-01 Thread Teemu Likonen
On 2009-07-01 18:20 (+0300), Teemu Likonen wrote:

> find -type f -print0 | xargs -0 sh -c 'for file in "$@"; 
>   do dir=$(dirname -- "$file") && base=$(basename -- "$file") &&
>   (cd "$dir" && echo mv -- "$base" "${base#???}"); done' ignore

Let's simplify it a bit:

find -type f -print0 | xargs -0 sh -c 'for file in "$@"; 
  do dir=$(dirname -- "$file") && base=$(basename -- "$file") &&
  echo mv -- "$file" "$dir/${base#???}"; done' ignore

This does it without "cd".


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



Re: Ctrl+Ret in Terminals

2009-07-01 Thread John Hasler
David writes:
> The clarification doesn't seem right to me.  If, in my console 
> keymap file, I change

> keycode 28 = Return Return Return Return Control_m Control_m ... ...
 ^
> to

> keycode 28 = Return Return Return Return m Control_m ... ...
 ^
> I get the letter 'm' when I press Ctrl+Return.  I think one can have 
> more or less any key with any combination of modifiers interpreted 
> by the terminal as one likes.  Or have I missed the point?

Well, of course you can program your software terminal emulator to return
anything you want for any keycode from the pc keyboard it is attached to.
May may make it kind of hard to use for some purposes, though, and you
can't do it to your VT52 without a soldering iron.
-- 
John Hasler


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



Re: Number of working days in given month

2009-07-01 Thread Daniel Burrows
On Wed, Jul 01, 2009 at 09:27:49AM +0200, Rob Gom  was 
heard to say:
> Hi there,
> do you know any command line tool which would be able to display
> number of working days in given month in given country?
> I have found gcal, which suits my needs, but is barely maintained
> (last release in 2000) and I'm afraid about its possible removal
> (currently maintained in Debian by QA group). Besides, its options
> syntax is scary and it's not present in other Linux distributions
> (thinking about Fedora).
> For now I can stick with gcal, just asking for other tools.

  It seems like calendar(1) should be able to do this, but I'm not sure
how much manual labor it would take.

  Daniel


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



Re: scripting question

2009-07-01 Thread Teemu Likonen
On 2009-07-01 07:22 (-0700), Marc Shapiro wrote:

> How can I rename all of the files ina directory with the new name
> being the old name stripped of its leftmost three characters. If all
> of the files are off the format:
>
>   xxxy.zzz
>
> I want the new names to be of the format:
>
>   y.zzz
>
> I have hundreds of files like this in each of several directories and
> I really don't want to do it all by hand. I did some of that, already,
> and I know there must be a better way.

Single command which affect the current directory and all
subdirectories:

find -type f -print0 | xargs -0 sh -c 'for file in "$@"; 
  do dir=$(dirname -- "$file") && base=$(basename -- "$file") &&
  (cd "$dir" && echo mv -- "$base" "${base#???}"); done' ignore

It uses "echo mv ..." command so it does nothing but echoes the command
line that would be run inside each directory. Remove the "echo" part to
actually execute the command. Of course you can add your own
file-selection options for "find" command. This works even if you have
spaces in filenames or directory names.

The command launches several processes per file so it's not terribly
elegant but should be OK for one-time rename.


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



Re: iceweasel 3.5?

2009-07-01 Thread Chris Burkhardt
>> On Wed, Jul 1, 2009 at 2:49 PM, Soren Orel > > wrote:
>> 
>> When will Iceweasel 3.5 come to Debian Lenny? :P
>> 
>> I hope this bug
>> 
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525938

> I download it from http://packages.debian.org/sid/iceweasel
> but the bug still exists :D :)

Unless I'm reading that page wrong, the version of iceweasel in Sid is 3.0.11,
NOT 3.5.

- Chris B


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



Re: [OT] Linksys wireless router on debian

2009-07-01 Thread Mark Neidorff
On Thursday 25 June 2009 04:27 am, Raffaele Morelli wrote:
> Hi you all,
>
> I bought a LinkSys WRT54GL wirelss router and I am going to configure
> it to extend my DSL connection at home.
> I am not new to debian but network(ing) skills are modest.
>
> Does anyone own this device and running debian?
> Any hint /solution about debian specific setup/trick is appreciated.
>
> regards
> -r

The answer to the big question that you ask...it will work just fine. But, we 
need info to help you.  OK.  You have DSL.  How do all the computers connect 
to the DSL?  Are any using wired connections?  What about a firewall?  I had 
problems configuring my WRT54G and I found that the on-line chat people were 
able to walk me through the configuration that I needed for my setup.

Networking is a big topic.  There is a book you can buy called "Linux Network 
Administrator's Guide" or you can get an online version of the book at

http://tldp.org/LDP/nag2/index.html

It has what you need to  know.

Good luck,

Mark


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



Re: Number of working days in given month

2009-07-01 Thread Rob Gom
>
> The shell is your friend. If your needs are simple, this will do:
>
>    cal |
>    FIELDWIDTHS=2 awk 'NR <= 2 {next}; {print $2, $3, $4, $5, $6}' |
>    wc -w
>
> Just replace the arguments to print with the days of the week you care
> about.
>

Thanks,
that would do it, unless I'm looking for holidays exclusion :)

Regards,
Robert


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



Re: scripting question

2009-07-01 Thread Boyd Stephen Smith Jr.
In <4a4b7129.7010...@yahoo.com>, Marc Shapiro wrote:
>I am sure that this is an easy question for those people who do any
>reasonable amount of scripting.  I'm just not one of them.
>
>How can I rename all of the files ina directory with the new name being
>the old name stripped of its leftmost three characters.  If all of the
>files are off the format:
>
>   xxxy.zzz
>
>I want the new names to be of the format:
>
>   y.zzz

for f in *.zzz; do
echo mv "$f" "${f##???}"
done

If you are happy with the commands it outputs, remove the "echo".

You might also want to check for collisions first:
for f in *.zzz; do
printf '%s\n' "${f##???}"
done | sort | uniq -c | grep -v '^1 '

Should show any collisions, prefixed with a collision count.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: scripting question

2009-07-01 Thread Scott Gifford
Marc Shapiro  writes:


[...]

> How can I rename all of the files ina directory with the new name
> being the old name stripped of its leftmost three characters.  

My favorite way to do this is with sed and xargs.  First have sed
print the current name, then use an regexp to change it to the new
name:

ls | sed -e p -e 's/^...//' |xargs -n 2 mv

-Scott.


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



Re: iceweasel 3.5?

2009-07-01 Thread Boyd Stephen Smith Jr.
In <4a4b690e.5060...@physik.blm.tu-muenchen.de>, Johannes Wiedersich wrote:
>If you really need/want iceweasel 3.5 you could either hope for a
>backport [1] (I don't know if and when this will happen) or upgrade your
>whole system to unstable.

Or, run a mixed system.  I run stable for most things, but pull in KDE 4.2 
(originally from experimental, now from testing).  I wrote a bit about my 
setup last week on my blog (link in .sig), but there are more comprehensive 
guides to a mixed system on the Debian wiki, IIRC.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: iceweasel 3.5?

2009-07-01 Thread Soren Orel
I download it from http://packages.debian.org/sid/iceweasel
but the bug still exists :D :)

On Wed, Jul 1, 2009 at 2:49 PM, Soren Orel  wrote:

> When will Iceweasel 3.5 come to Debian Lenny? :P
>
> I hope this bug
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525938
>
> is fixed in Iceweasel 3.5, because with 3.0.6, (up-to-date Lenny) the
>
> https://addons.mozilla.org/hu/firefox/addon/4364
>
> is still not working properly :(
>


Re: iceweasel 3.5?

2009-07-01 Thread Pol Hallen
> When will Iceweasel 3.5 come to Debian Lenny? :P
u can download it from mozilla.org: firefox for debian (precompiled).
 
Pol


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



Re: scripting question

2009-07-01 Thread Kumar Appaiah
On Wed, Jul 01, 2009 at 09:28:23AM -0500, Kumar Appaiah wrote:
> On Wed, Jul 01, 2009 at 07:22:33AM -0700, Marc Shapiro wrote:
> > How can I rename all of the files ina directory with the new name
> > being the old name stripped of its leftmost three characters.  If
> > all of the files are off the format:
> > 
> > xxxy.zzz
> > 
> > I want the new names to be of the format:
> > 
> > y.zzz
> > 
> > I have hundreds of files like this in each of several directories
> > and I really don't want to do it all by hand.  I did some of that,
> > already, and I know there must be a better way.
> 
> for i in *zzz;do
> mv "$i" $(echo "$i"|sed 's/^...//');
> done
> 
> But I'd recommend one of these: mrename, krename, gprename,
> renameutils and more (all apt-gettable, of course).

Oh, and I think prename (or just rename?) comes with Perl. It should
be something as simple as:

rename 's/^...//' *.zzz

HTH.

Kumar


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



Re: scripting question

2009-07-01 Thread Kumar Appaiah
On Wed, Jul 01, 2009 at 07:22:33AM -0700, Marc Shapiro wrote:
> How can I rename all of the files ina directory with the new name
> being the old name stripped of its leftmost three characters.  If
> all of the files are off the format:
> 
>   xxxy.zzz
> 
> I want the new names to be of the format:
> 
>   y.zzz
> 
> I have hundreds of files like this in each of several directories
> and I really don't want to do it all by hand.  I did some of that,
> already, and I know there must be a better way.

for i in *zzz;do
mv "$i" $(echo "$i"|sed 's/^...//');
done

But I'd recommend one of these: mrename, krename, gprename,
renameutils and more (all apt-gettable, of course).

HTH.

Kumar


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



Re: iceweasel 3.5?

2009-07-01 Thread Soren Orel
http://glandium.org/blog/?p=361

On Wed, Jul 1, 2009 at 2:49 PM, Soren Orel  wrote:

> When will Iceweasel 3.5 come to Debian Lenny? :P
>
> I hope this bug
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525938
>
> is fixed in Iceweasel 3.5, because with 3.0.6, (up-to-date Lenny) the
>
> https://addons.mozilla.org/hu/firefox/addon/4364
>
> is still not working properly :(
>


scripting question

2009-07-01 Thread Marc Shapiro
I am sure that this is an easy question for those people who do any 
reasonable amount of scripting.  I'm just not one of them.


How can I rename all of the files ina directory with the new name being 
the old name stripped of its leftmost three characters.  If all of the 
files are off the format:


xxxy.zzz

I want the new names to be of the format:

y.zzz

I have hundreds of files like this in each of several directories and I 
really don't want to do it all by hand.  I did some of that, already, 
and I know there must be a better way.


All help appreciated.

--
Marc Shapiro
mshapiro...@yahoo.com



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




Re: Problem with preseed partitioning

2009-07-01 Thread Andy Kannberg
I've solved the problem.

Leaving out the escapes chars and putting the whole recipe on one line did
the job. Now it works like a charm.

cheers,
Andy

2009/7/1 Andy Kannberg 

> Another update:
>
> Using a different recipe does work.
> Instead of the expert_recipe, I used choose_recipe with separate
> partitions:
>
> d-i partman-auto/method string regular
> d-i partman-auto/disk /dev/cciss/c0d0
> d-i partman-auto/purge_lvm_from_device boolean true
> d-i partman-auto/choose_recipe select Separate /home, /usr, /var, and /tmp
> partitions
> d-i partman/confirm_write_new_label boolean true
> d-i partman/choose_partition \
>select Finish partitioning and write changes to disk
> d-i partman/confirm boolean true
>
>
> This seems to work. But I am still not satisfied. Looking further for a
> solution...
>
> 2009/7/1 Andy Kannberg 
>
> Hi Eric,
>>
>> /dev/cciss/c0d0 does exist during install.
>>
>> I've tried a standard cd install. Then, the root partition takes all space
>> on the device. So it isn't a driver issue. It must be something in the
>> recipe.
>> So, searching further for a solution. If *anyone* has a tip concerning
>> this matter would be appreciated *so* much !
>>
>> cheers,
>> Andy
>>
>> 2009/6/30 Andy Kannberg 
>>
>> Hi Eric,
>>>
>>> No, haven't checked the error logs. Will do so tomorrow. I'll post my
>>> progress here.
>>>
>>> thanks!
>>>
>>> Andy
>>>
>>> 2009/6/30 Eric Gerlach 
>>>
>>> On Tue, Jun 30, 2009 at 03:52:36PM +0200, Andy Kannberg wrote:
 > Hi guru's,
 >
 > I am running into a problem with a system that I want to install via a
 > preseed config file.
 > All goes well, except the partitioning part. The system I want to
 install is
 > a HP Proliant DL380 G5 with SmartArray.
 > For some reason, the recipe I've created isn't used; the installer
 falls
 > back to the standard partitioning scheme.
 >
 > I must say, I am installing Ubuntu, but since Ubuntu is Debian based,
 and
 > the Ubuntu maillinglists can't answer my problem, I am trying my luck
 here.
 >
 > The partitioning part of the preseed file is shown below:
 >
 > [snip]
 >
 > Can someone shed a light on this and help me out what I am doing wrong
 or
 > forgetting ?

 It looks good to my eye... keep in mind I've only done this twice.  Have
 you
 checked the error console (VT 4) during install (or the installer log
 after
 install) for errors?

 Also, if you drop to a console on VT 2 or 3 during install, does
 /dev/cciss/c0d0 exist?

 That's all I can think of.  Let me know if you figure it out.

 Cheers,

 --
 Eric Gerlach, Network Administrator
 Federation of Students
 University of Waterloo
 p: (519) 888-4567 x36329
 e: egerl...@feds.uwaterloo.ca


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


>>>
>>
>


debian-user@lists.debian.org

2009-07-01 Thread Scott Gifford
"Todd A. Jacobs"  writes:

[...]

> echo "shell: $SHELL"
> echo
> echo "Testing /dev/stderr: "
> echo foo > /dev/stderr
> echo
> echo "Testing >&2: "
> echo bar >&2
>

[...]

> The two should be equivalent, so why am I getting permission errors on
> the first but not the second?

While their effect should be the same, the way they work is quite
different.  The first of this does an open(2) on "/dev/stderr", which
actually goes out to the filesystem looking for that file, and so is
subject to permission checks.  The second just uses file descriptor 2
(if echo were not a shell builtin it would probably use dup(2)), so
doesn't hit the filesystem at all and can't fail permission checks.

Perhaps the child process created by cron called setuid(2) or one of
its variants, and no longer has permission to open its own
"/dev/stderr".  Try adding to your test script:


  # Check out /dev/stderr and friends
  ls -nld /dev/stderr
  ls -nld /proc
  ls -nld /proc/self
  ls -nld /proc/self/fd
  ls -nld /proc/self/fd/2
  ls -nldL /proc/self/fd/2

  # Find out our identity
  for re in r ''; do 
for ug in u g G; do 
  echo -n "$re$ug: "
  id -$re$ug
done
  done

Scott.


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



Re: Number of working days in given month

2009-07-01 Thread Todd A. Jacobs
On Wed, Jul 01, 2009 at 09:27:49AM +0200, Rob Gom wrote:

> Hi there, do you know any command line tool which would be able to
> display number of working days in given month in given country? I have

The shell is your friend. If your needs are simple, this will do:

cal | 
FIELDWIDTHS=2 awk 'NR <= 2 {next}; {print $2, $3, $4, $5, $6}' | 
wc -w

Just replace the arguments to print with the days of the week you care
about.

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


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



Re: iceweasel 3.5?

2009-07-01 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Johannes Wiedersich wrote:
> less stable system, more upgrades on a daily basis etc.), though.

s/system/software, of course! ;-)

Johannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpLafEACgkQC1NzPRl9qEWM9QCfcLAfb7ntsgXFJ09ryYe4bGJ8
se0An2g2+y+uRDZYvpjBPCcGddiTymGD
=en7u
-END PGP SIGNATURE-


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



Re: iceweasel 3.5?

2009-07-01 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Soren Orel wrote:
> When will Iceweasel 3.5 come to Debian Lenny? :P

Never. The concept of Debian stable is to have stable software, and
therefore also stable version numbers.

If you really need/want iceweasel 3.5 you could either hope for a
backport [1] (I don't know if and when this will happen) or upgrade your
whole system to unstable. This has other disadvantages (more 'new' bugs,
less stable system, more upgrades on a daily basis etc.), though.

Cheers,
Johannes

[1] http://backports.org/dokuwiki/doku.php
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpLaQ4ACgkQC1NzPRl9qEWNLgCfUS8krsxDh0Vopasx/wXnPQP4
NogAn1HrpHV7a6FThNbEnwiGuDeCnQ0n
=dNiW
-END PGP SIGNATURE-


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



Re: iceweasel 3.5?

2009-07-01 Thread Dirk Neumann
On Wed, 1 Jul 2009 14:49:10 +0200
Soren Orel  wrote:

> When will Iceweasel 3.5 come to Debian Lenny? :P

New upstream versions usually start their carreer in sid and migrate to
testing when they are mature enough (no bugs for x days)...
Nearly no chance to get it into stable...

Dirk.


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



iceweasel 3.5?

2009-07-01 Thread Soren Orel
When will Iceweasel 3.5 come to Debian Lenny? :P

I hope this bug

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525938

is fixed in Iceweasel 3.5, because with 3.0.6, (up-to-date Lenny) the

https://addons.mozilla.org/hu/firefox/addon/4364

is still not working properly :(


Re: Problem with preseed partitioning

2009-07-01 Thread Andy Kannberg
Another update:

Using a different recipe does work.
Instead of the expert_recipe, I used choose_recipe with separate partitions:

d-i partman-auto/method string regular
d-i partman-auto/disk /dev/cciss/c0d0
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-auto/choose_recipe select Separate /home, /usr, /var, and /tmp
partitions
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition \
   select Finish partitioning and write changes to disk
d-i partman/confirm boolean true


This seems to work. But I am still not satisfied. Looking further for a
solution...

2009/7/1 Andy Kannberg 

> Hi Eric,
>
> /dev/cciss/c0d0 does exist during install.
>
> I've tried a standard cd install. Then, the root partition takes all space
> on the device. So it isn't a driver issue. It must be something in the
> recipe.
> So, searching further for a solution. If *anyone* has a tip concerning this
> matter would be appreciated *so* much !
>
> cheers,
> Andy
>
> 2009/6/30 Andy Kannberg 
>
> Hi Eric,
>>
>> No, haven't checked the error logs. Will do so tomorrow. I'll post my
>> progress here.
>>
>> thanks!
>>
>> Andy
>>
>> 2009/6/30 Eric Gerlach 
>>
>> On Tue, Jun 30, 2009 at 03:52:36PM +0200, Andy Kannberg wrote:
>>> > Hi guru's,
>>> >
>>> > I am running into a problem with a system that I want to install via a
>>> > preseed config file.
>>> > All goes well, except the partitioning part. The system I want to
>>> install is
>>> > a HP Proliant DL380 G5 with SmartArray.
>>> > For some reason, the recipe I've created isn't used; the installer
>>> falls
>>> > back to the standard partitioning scheme.
>>> >
>>> > I must say, I am installing Ubuntu, but since Ubuntu is Debian based,
>>> and
>>> > the Ubuntu maillinglists can't answer my problem, I am trying my luck
>>> here.
>>> >
>>> > The partitioning part of the preseed file is shown below:
>>> >
>>> > [snip]
>>> >
>>> > Can someone shed a light on this and help me out what I am doing wrong
>>> or
>>> > forgetting ?
>>>
>>> It looks good to my eye... keep in mind I've only done this twice.  Have
>>> you
>>> checked the error console (VT 4) during install (or the installer log
>>> after
>>> install) for errors?
>>>
>>> Also, if you drop to a console on VT 2 or 3 during install, does
>>> /dev/cciss/c0d0 exist?
>>>
>>> That's all I can think of.  Let me know if you figure it out.
>>>
>>> Cheers,
>>>
>>> --
>>> Eric Gerlach, Network Administrator
>>> Federation of Students
>>> University of Waterloo
>>> p: (519) 888-4567 x36329
>>> e: egerl...@feds.uwaterloo.ca
>>>
>>>
>>> --
>>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
>>> with a subject of "unsubscribe". Trouble? Contact
>>> listmas...@lists.debian.org
>>>
>>>
>>
>


Fwd: Number of working days in given month

2009-07-01 Thread Rob Gom
[CC to list]


-- Forwarded message --
From: Rob Gom 
Date: Wed, Jul 1, 2009 at 12:45 PM
Subject: Re: Number of working days in given month
To: Ron Johnson 


>
> I'd write a little $SCRIPTING_LANGUAGE program to count the number of
> weekend days in the month, and subtract that from the number of days in the
> month.
>
> To take holidays into account, I'd add an associative array with the year's
> holidays, and use that to further reduce the number of work days.
>
> --
> Scooty Puff, Sr
> The Doom-Bringer

That's fine unless I'd like to take "moving" holidays into account. In
case of my country there are at least two of them - Easter and Holy
Cross. I can implement something on my own, but I'm looking for
something ready.

Regards,
Robert


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



Re: Ctrl+Ret in Terminals

2009-07-01 Thread Kumar Appaiah
On Wed, Jul 01, 2009 at 10:51:36AM +0100, James Youngman wrote:
> > One of my friends uses org-mode in GNU Emacs, and loves it. Now, the
> > issue is that one of the functions in org-mode is bound (by default)
> > to C-RET (Ctrl+Enter), which works fine on the X11 Emacs.
> 
> I just tried this in GNU Emacs 22.2.1 and C-return is not bound to
> anything.   Anyway, it's likely there is another keybinding for the
> command.   You find such things like this:

Well, in org-mode, it seems to be bound to something:

http://orgmode.org/manual/Structure-editing.html

> Press
>  C-h k
> to find out what a random key does (by pressing it).Let's choose
> M-RET.  Emacs says:
> 
>  runs the command org-meta-return
>   which is an interactive compiled Lisp function in `org.el'.
> It is bound to .
> (org-meta-return &optional arg)
> 
> So, now we could use "C-h w" to find out what else that is bound to,
> or use local-set-key to additionally bind that function to some other
> key too.

I am aware of this; I wanted to know if it was a "feature" of the
terminal which could make C-RET to be recognized before rebinding the
keys.

Thanks!

Kumar
-- 
Kumar Appaiah


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



Re: Problem with preseed partitioning

2009-07-01 Thread Andy Kannberg
Hi Eric,

/dev/cciss/c0d0 does exist during install.

I've tried a standard cd install. Then, the root partition takes all space
on the device. So it isn't a driver issue. It must be something in the
recipe.
So, searching further for a solution. If *anyone* has a tip concerning this
matter would be appreciated *so* much !

cheers,
Andy

2009/6/30 Andy Kannberg 

> Hi Eric,
>
> No, haven't checked the error logs. Will do so tomorrow. I'll post my
> progress here.
>
> thanks!
>
> Andy
>
> 2009/6/30 Eric Gerlach 
>
> On Tue, Jun 30, 2009 at 03:52:36PM +0200, Andy Kannberg wrote:
>> > Hi guru's,
>> >
>> > I am running into a problem with a system that I want to install via a
>> > preseed config file.
>> > All goes well, except the partitioning part. The system I want to
>> install is
>> > a HP Proliant DL380 G5 with SmartArray.
>> > For some reason, the recipe I've created isn't used; the installer falls
>> > back to the standard partitioning scheme.
>> >
>> > I must say, I am installing Ubuntu, but since Ubuntu is Debian based,
>> and
>> > the Ubuntu maillinglists can't answer my problem, I am trying my luck
>> here.
>> >
>> > The partitioning part of the preseed file is shown below:
>> >
>> > [snip]
>> >
>> > Can someone shed a light on this and help me out what I am doing wrong
>> or
>> > forgetting ?
>>
>> It looks good to my eye... keep in mind I've only done this twice.  Have
>> you
>> checked the error console (VT 4) during install (or the installer log
>> after
>> install) for errors?
>>
>> Also, if you drop to a console on VT 2 or 3 during install, does
>> /dev/cciss/c0d0 exist?
>>
>> That's all I can think of.  Let me know if you figure it out.
>>
>> Cheers,
>>
>> --
>> Eric Gerlach, Network Administrator
>> Federation of Students
>> University of Waterloo
>> p: (519) 888-4567 x36329
>> e: egerl...@feds.uwaterloo.ca
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmas...@lists.debian.org
>>
>>
>


Re: Ctrl+Ret in Terminals

2009-07-01 Thread James Youngman
On Wed, Jul 1, 2009 at 12:56 AM, Kumar Appaiah wrote:
> Dear Debian Users,
>
> This is a generic question, not Debian-specific.
>
> One of my friends uses org-mode in GNU Emacs, and loves it. Now, the
> issue is that one of the functions in org-mode is bound (by default)
> to C-RET (Ctrl+Enter), which works fine on the X11 Emacs.

I just tried this in GNU Emacs 22.2.1 and C-return is not bound to
anything.   Anyway, it's likely there is another keybinding for the
command.   You find such things like this:

Press
 C-h k
to find out what a random key does (by pressing it).Let's choose
M-RET.  Emacs says:

 runs the command org-meta-return
  which is an interactive compiled Lisp function in `org.el'.
It is bound to .
(org-meta-return &optional arg)

So, now we could use "C-h w" to find out what else that is bound to,
or use local-set-key to additionally bind that function to some other
key too.

James.


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



Re: find -ls

2009-07-01 Thread James Youngman
On Sun, Jun 28, 2009 at 6:52 AM, root wrote:
> Is there any way other than modifying the source
> to get "find -ls" to return the file date as "month day year"

The M-D-Y ordering is dangerously ambiguous, and especially for that
portion of the world that lives outside the USA.   Consider using
-MM-DD instead (it's unambiguous since it is the only
representation that starts with four digits).

> rather than "month day time" for all files?
> TIA,
> Mike
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


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



debian-user@lists.debian.org

2009-07-01 Thread Tzafrir Cohen
On Wed, Jul 01, 2009 at 10:50:52AM +0200, Sven Joachim wrote:
> On 2009-07-01 10:14 +0200, Todd A. Jacobs wrote:
> 
> > I noticed that a bash script of mine was causing permission errors under
> > cron, so I had to change it like so:
> >
> > --- boxmail.sh  2009/06/30 09:01:46 1.10
> > +++ boxmail.sh  2009/07/01 08:01:51
> > @@ -167,7 +167,7 @@
> >
> >  # Echo message to standard error.
> >  function stderr {
> > -echo "$*" > /dev/stderr
> > +echo "$*" >&2
> >  }
> >
> >  # Display warnings on standard error.
> >
> > I did a little minor testing with cron, and >&2 works while /dev/stderr
> > doesn't. Now, I know that "/dev/stderr" is a bashism,
> 
> Actually, it might be not.  On my system, /dev/stderr exists and is a
> symlink to /proc/self/fd/2, i.e. the standard error channel of the
> current process.  Thus it works fine with dash.

Right. On linux:

$ ls -l /dev/stderr
lrwxrwxrwx 1 root root 15 2009-06-10 23:35 /dev/stderr -> /proc/self/fd/2

On BSDs and Solaris /dev/stderr is a special device (like /dev/null and
/dev/zero). Though I'm not really sure it is guaranteed by POSIX.

> 
> > but since cron is
> > executing boxmail.sh (with an explicit bash shebang) rather than
> > executing the code directly, why would the bashism come back with:
> >
> > From: Cron Daemon
> > To: nospam
> > Subject: Cron  $HOME/bin/boxmail.sh
> > Date: Wed,  1 Jul 2009 00:00:02 -0700 (PDT)
> >
> > /home/nospam/bin/boxmail.sh: line 170: /dev/stderr: Permission denied

ls -l /dev/stderr

> >
> > The bash manual doesn't say anything about a requirement that the shell
> > be interactive to use /dev/stderr, so why is this happening?

A redirection to &2 is cleaner, anyway. Any reason you have not to use
it?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


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



debian-user@lists.debian.org

2009-07-01 Thread Todd A. Jacobs
As a more accessible example, try running the following cron entry:

* * * * /tmp/crontest.sh

with the following script:

#!/bin/bash

echo "shell: $SHELL"
echo
echo "Testing /dev/stderr: "
echo foo > /dev/stderr
echo
echo "Testing >&2: "
echo bar >&2

and you'll get back something like:

shell: /bin/bash

Testing /dev/stderr:
/tmp/crontest.sh: line 7: /dev/stderr: Permission denied

Testing >&2:
bar

The two should be equivalent, so why am I getting permission errors on
the first but not the second?

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


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



debian-user@lists.debian.org

2009-07-01 Thread Sven Joachim
On 2009-07-01 10:14 +0200, Todd A. Jacobs wrote:

> I noticed that a bash script of mine was causing permission errors under
> cron, so I had to change it like so:
>
> --- boxmail.sh  2009/06/30 09:01:46 1.10
> +++ boxmail.sh  2009/07/01 08:01:51
> @@ -167,7 +167,7 @@
>
>  # Echo message to standard error.
>  function stderr {
> -echo "$*" > /dev/stderr
> +echo "$*" >&2
>  }
>
>  # Display warnings on standard error.
>
> I did a little minor testing with cron, and >&2 works while /dev/stderr
> doesn't. Now, I know that "/dev/stderr" is a bashism,

Actually, it might be not.  On my system, /dev/stderr exists and is a
symlink to /proc/self/fd/2, i.e. the standard error channel of the
current process.  Thus it works fine with dash.

> but since cron is
> executing boxmail.sh (with an explicit bash shebang) rather than
> executing the code directly, why would the bashism come back with:
>
> From: Cron Daemon
> To: nospam
> Subject: Cron  $HOME/bin/boxmail.sh
> Date: Wed,  1 Jul 2009 00:00:02 -0700 (PDT)
>
> /home/nospam/bin/boxmail.sh: line 170: /dev/stderr: Permission denied
>
> The bash manual doesn't say anything about a requirement that the shell
> be interactive to use /dev/stderr, so why is this happening?

Does the script work if you run it by hand?  Right now I have no idea
why /dev/stderr should not be writable.

Sven


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



debian-user@lists.debian.org

2009-07-01 Thread Todd A. Jacobs
I noticed that a bash script of mine was causing permission errors under
cron, so I had to change it like so:

--- boxmail.sh  2009/06/30 09:01:46 1.10
+++ boxmail.sh  2009/07/01 08:01:51
@@ -167,7 +167,7 @@

 # Echo message to standard error.
 function stderr {
-echo "$*" > /dev/stderr
+echo "$*" >&2
 }

 # Display warnings on standard error.

I did a little minor testing with cron, and >&2 works while /dev/stderr
doesn't. Now, I know that "/dev/stderr" is a bashism, but since cron is
executing boxmail.sh (with an explicit bash shebang) rather than
executing the code directly, why would the bashism come back with:

From: Cron Daemon
To: nospam
Subject: Cron  $HOME/bin/boxmail.sh
Date: Wed,  1 Jul 2009 00:00:02 -0700 (PDT)

/home/nospam/bin/boxmail.sh: line 170: /dev/stderr: Permission denied

The bash manual doesn't say anything about a requirement that the shell
be interactive to use /dev/stderr, so why is this happening?

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


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



Re: Number of working days in given month

2009-07-01 Thread Ron Johnson

On 2009-07-01 02:27, Rob Gom wrote:

Hi there,
do you know any command line tool which would be able to display
number of working days in given month in given country?
I have found gcal, which suits my needs, but is barely maintained
(last release in 2000) and I'm afraid about its possible removal
(currently maintained in Debian by QA group). Besides, its options
syntax is scary and it's not present in other Linux distributions
(thinking about Fedora).
For now I can stick with gcal, just asking for other tools.


I'd write a little $SCRIPTING_LANGUAGE program to count the number 
of weekend days in the month, and subtract that from the number of 
days in the month.


To take holidays into account, I'd add an associative array with the 
year's holidays, and use that to further reduce the number of work days.


--
Scooty Puff, Sr
The Doom-Bringer


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




Re: logfiles for shutdown (gdm restarts after starting shutdown)

2009-07-01 Thread Andrei Popescu
On Wed,01.Jul.09, 16:47:21, Lachlan wrote:
> when i click on shutdown on my sid system it starts to shutdown and
> then GDM will restart with the logon screen so i have to shutdown
> again.
> 
> this only happens when i run shutdown from the menu and not from
> pressing the power button.
> 
> is there a shutdown log i can check? it's a really weird behaviour.

Do you get any error message? Something similar happens under xfce4 in 
certain situations.

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


signature.asc
Description: Digital signature


Re: Driver in Lenny for ASUS 802.11n Network Adapter?

2009-07-01 Thread Andrei Popescu
On Tue,30.Jun.09, 22:40:20, Kjetil Kjernsmo wrote:
> All,
> 
> My new motherboard has a wifi card which is identified as a USB device, 
> and lsusb says this about it:
> Bus 004 Device 002: ID 0b05:1742 ASUSTek Computer, Inc. 802.11n Network 
> Adapter
> 
> I have found that it can be used in Lenny with these instructions:
> http://wiki.debian.org/rt2870sta
> That involves using a backported Linux 2.6.29 kernel, and I would like 
> to keep as much as possible on Lenny on this box, and the kernel is 
> something I would certainly like to avoid updating.

Though upgrading the kernel seems like a very big deal, sometimes it's 
actually safer than other packages. 2.6.29 doesn't require newer 
packages, so you don't actually need to backport it. And if you get in 
trouble you can always boot 2.6.26 instead.

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


signature.asc
Description: Digital signature


Number of working days in given month

2009-07-01 Thread Rob Gom
Hi there,
do you know any command line tool which would be able to display
number of working days in given month in given country?
I have found gcal, which suits my needs, but is barely maintained
(last release in 2000) and I'm afraid about its possible removal
(currently maintained in Debian by QA group). Besides, its options
syntax is scary and it's not present in other Linux distributions
(thinking about Fedora).
For now I can stick with gcal, just asking for other tools.

Regards,
Robert


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