Re: Giving up on Iceweasel 3.0

2008-07-13 Thread Anthony Campbell
On 12 Jul 2008, Freddy Freeloader wrote:
> Ron Johnson wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> On 07/12/08 00:18, Freddy Freeloader wrote:
>> [snip]
>>   
>>> I've pretty much given up on Iceweasel 3.0 too.  It has seg faulted on
>>> my main workstation ever since it entered Sid.  I have yet to get it to
>>> open a single web page.  I've turned in bug reports, as have a few other
>>> people with the same problem, but nothing has been fixed yet.
>>> I just gave up and installed Firefox 3.0 from a tar package and Opera as
>>> Epiphany has the same failing and I don't like Konqueror.
>>> 
>>
>> If both IW3 & Epiphany are segfaulting, it seems that you have a
>> problem with gecko-1.9.
>>


I've found that it crashes when trying to play radio programmes from the
BBC. There is a a message on-screen saying it has something to do with
RealPlayer. This does not happen with Firefox 3 installed directly from
the Mozilla site.

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


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



mono apache2 error "File exists: Failed to create shared memory segment for backend 'XXGLOBAL'"

2008-07-13 Thread Star Liu
I installed mono asp.net server by apt-get install mono-xsp2
libapache2-mod-mono asp.net2-examples
after that when i restart apache2, it failed
# /etc/init.d/apache2 restart
Restarting web server: apache2[Sun Jul 13 16:29:23 2008] [crit]
(17)File exists: Failed to create shared memory segment for backend
'XXGLOBAL'
[Sun Jul 13 16:29:23 2008] [crit] (17)File exists: Failed to create
shared memory segment for backend 'XXGLOBAL'

anyone got this error before? how could i fix it?

thanks
-- 
Regards!
Star
Shanghai, China


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



Tool to show maximal repeating patterns / structure in (text?) data

2008-07-13 Thread j t
Hi all,

Does anyone know of a tool which will analyse a block of data and find
structure / repeating patterns in it, and then somehow show that
structure to the user?

As an example, pretend I give it the following paragraph of text (but
I don't tell it that the following paragraph contains a string
repeated 4 times):


Support for Debian users who Support for Debian users who Support for
Debian users who Support for Debian users who


I'd like this tool to tell me that the previous paragraph contains the
string "Support for Debian users who " 4 times (and I'd like the tool
to have worked that out on its own).

I realize that this example is trivial. I'd also like this tool to do
things which are more complicated, but since I can't find anything
that even helps me with my previous example, that will do for the time
being.

To preemptively answer the question "why do you want it / what is it
you're trying to achieve", I have a log of a dhcp conversation which
contains what I think is a repeated DHCPDISCOVER stanza. Rather than
the manual copy/paste/diff cycle, I'd like this tool to look at the
log and tell me: "Yup, you've got a stanza/paragraph repeated 4
times".

I might be butting up against the edge of what's theoretically
possible ("computer science"-wise) but I think that my requirements
have something to do with lossless compression algorithms. Perhaps I
should start reading the source code for gzip/bzip2...?

Thanks for your help, Jaime :-)


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



Re: Cannot mkdir nested directories

2008-07-13 Thread Thierry Chatelet
On Saturday 12 July 2008 12:18:09 Dotan Cohen wrote:
> 2008/7/12 Thierry Chatelet <[EMAIL PROTECTED]>:
> > man mkdir says to use -p
>
> Thanks. Believe it or not, I _did_ read man mkdir, but that did not
> jump out at me. Sorry for the noise.

I believe you. If I had not none it, I would not have understood the 
explanation in man!!


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



Re: Applying correct hdparm values after resuming from suspend

2008-07-13 Thread Arthur A

Florian Kulzer wrote:

On Sat, Jul 12, 2008 at 09:56:35 +0300, Arthur A wrote:

Hi list,

I'm using Debian Lenny with Laptop-mode tools that I've configured to 
manage my laptop's hd, which is controlled by firmware that gives insane 
load cycle values. Thus, I've enabled laptop-mode-tools and it currently 
applies a setting of 254 (disabled) when running on AC and 128 (enabled 
and aggressive pm settings) when running on battery. This works fine on 
boot, and when removing or inserting the AC power. However, upon resume a 
setting of 128 is applied regardless of the machine's powerstate.


I believe that laptop-mode is being restarted correctly since if I remove 
and reinsert the AC cord the correct hdparm settings (254) are applied. 
My guess is that something is also being re-initialized upon resume from 
suspend that is over-riding laptop-mode-tools. In any event, I thought 
that the simplest fix for this would be to add a script to 
/etc/pm/sleep.d/01-hdparm-power-check which would do nothing if going to 
sleep, and if resuming would check whether the computer was running on 
ac, and if so apply hdparm -B 254 /dev/sda


My problem lies in this second part, as I'm not sure how to correctly do 
a check, the rest of it I can steal from other scripts included under  
/usr/lib/pm-utils/sleep.d/


This is what I think 01-hdparm-power-check would look like:


[...]

I would first check if the "on_ac_power" command works reliably on your
system. If you run

on_ac_power; echo $?

then you should get 0 (true) if you are connected to AC power and 1
(false) if you are running on battery. (See "man on_ac_power"; the "echo
$?" part is necessary to print the exit status.)

If that is OK then your script should work like this:

=
#!/bin/sh
# Check to see if we are running on AC power, and if so,
# override mystery program overriding laptop-mode.conf

. "${PM_FUNCTIONS}"

on_ac_power || exit $NA

case "$1" in
   hibernate|suspend)
   ;;
   thaw|resume)
   hdparm -B 254 /dev/sda
   ;;
   *) exit $NA
   ;;
esac


It worked great. I've tested it resuming on batteries and on ac, and it works 
perfect. pm-util.logs show no problems.


Thanks so much!

Best,
AA


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




Re: IMAP is teh r0x0rz! [was: Re: getting copies of own posted messages; was: Re: ??: Stunned by aptitude.]

2008-07-13 Thread Steve Lamb
Ron Johnson wrote:
> Maybe it's because I keep d-u messages is semi-annual history
> folders so directories never get above 10,000 files, but what
> problems do Maildirs have?

> Needing to open many files instead of one?

Needing to deal with that many files in any capacity, ever.  I've
had the displeasure of being the administrator of a qmail setup that
would accept all mail (smtp-time rejection, what's that!?) then filter
then generate bounces to bogus email addresses in spam.  Yeah, 50,000
maildir queues that take 20 minutes to stat are no fun.  That pretty
much swore me off that idiotic idea.

> I'll take that over an errant EOF wiping out a large chunk of a
> directory.

Let's see.  I've been using mbox since the early 90s with my first
Netcom account and elm.  Or was it late 80s?  Anyway, let's just say
about 15 years.  In that time know how many EOF problems I've hit in all
of my mail in 15 years?

0.

I've had 2 hard drives take a nosedive on me in that time.

Or not to put too fine a point on it, opening up one maildir
directory with more than, say, 2000 messages in it will have wasted more
time than I have ever had wasted by "errant EOFs".

> Yes I can restore from backup, but
> (a) the bug that caused the errant EOF is still there, and

Or in my case, not.  I guess you could say that the bug that caused
my hard-drive to eat itself is still there...

> (b) bringing back the back-up emails without introducing duplicates
> or overwriting new mails is a hassle.

Not so much any more.  Pull out archives, merge, run "remove
duplicates" tool, done.  But then, I haven't had to do that, either,
since when I lose my mail stores to hard drive failures I generally am
no concerned about the "merge" portion.


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



Re: [Debian-User] OT: Does grub-install overwrite the MBR?

2008-07-13 Thread Andrei Popescu
On Fri,11.Jul.08, 08:37:40, Javier Vasquez wrote:
 
> I'm wondering whether grub-install actually overwrites the MBR or not.
>  If not then that's what I'm looking for, :).  If so, how can it be
> performed without touching the MBR?  Is there a difference between
> grub2 and grub-legacy in this regard?
 
Grub will install to the MBR if you specify a drive (not a partition) as 
its destination. But AFAIK it will not overwrite Windows' bootloader and 
it should be possible to revert. Read the grub docs for more info.

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


signature.asc
Description: Digital signature


Re: apt upgrade to testing breaks?

2008-07-13 Thread Andrei Popescu
On Fri,11.Jul.08, 18:26:32, Peet Grobler wrote:

[...]

> sparky:~# cat /etc/apt/sources.list
> # TENET mirror
> deb http://debian.mirror.ac.za/debian/ etch main contrib non-free
> deb http://debian.mirror.ac.za/debian/ testing main contrib non-free
> 
> # Official debian repository
> deb ftp://ftp.debian.org/debian/ etch main contrib non-free
> deb ftp://ftp.debian.org/debian/ testing main contrib non-free

Why do you use two mirrors (especially ftp.debian.org, which used to be 
horribly outdated)? 

> # Official security updates
> deb http://security.debian.org/ etch/updates main contrib non-free
> 
> # WineHQ - Debian etch repository
> deb http://wine.budgetdedicated.com/apt etch main
> 
> # swiftfox
> deb http://getswiftfox.com/builds/debian unstable non-free
> sparky:~#

As already said, it's safer to remove third-party repos.

> sparky:~# apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Calculating upgrade... Done
> The following packages will be REMOVED:
>   dbus-1-utils fglrx-kernel-2.6.25-1.7 fglrx-kernel-2.6.25-1.8 gimp
--^^--^^

Where did you get those two packages? Are you using a 2.6.25 kernel?

Everything else looks normal AFAICT.

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


signature.asc
Description: Digital signature


Re: Behavior of 'ptitude -t' in dependencies?

2008-07-13 Thread Andrei Popescu
On Sat,12.Jul.08, 22:55:02, Shachar Or wrote:
> Hello!
> 
> package 'foo' from etch-backports depends on package 'bar' from either etch 
> or 
> etch-backports.
> Both packages are available to apt from both etch and etch-backports.
> 
> When I type 'aptitude -t etch-backports install foo', which version of 'bar' 
> will be installed, the etch one or the etch-backports one?

Try adding the -V (capital v) switch to see the version numbers. Maybe 
-s (simulate) could also help.

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


signature.asc
Description: Digital signature


Re: problem with sound playing

2008-07-13 Thread Andrei Popescu
On Sat,12.Jul.08, 19:18:08, Serena Cantor wrote:
> I use etch and SB16
> I add noisapnp to kernel options
> I config sound with 3 commands:
> modprobe sound
> modprobe uart401
> modprobe sb io=0x220 irq=5 dma=1 dma16=5

> ==
> [AO_ALSA] alsa-lib: confmisc.c:670:(snd_func_card_driver) cannot find card '0'
 
Seems to me like you are using oss drivers, but mplayer wants to play 
using alsa. Try running alsaconfig without doing those hacks. Do you get 
sound?

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


signature.asc
Description: Digital signature


Re: Tool to show maximal repeating patterns / structure in (text?) data

2008-07-13 Thread Javier Barroso
On Sun, Jul 13, 2008 at 11:05 AM, j t <[EMAIL PROTECTED]> wrote:

> To preemptively answer the question "why do you want it / what is it
> you're trying to achieve", I have a log of a dhcp conversation which
> contains what I think is a repeated DHCPDISCOVER stanza. Rather than
> the manual copy/paste/diff cycle, I'd like this tool to look at the
> log and tell me: "Yup, you've got a stanza/paragraph repeated 4
> times".

You may want to take a look on logcheck package or write your own perl/awk
program


Re: apt upgrade to testing breaks?

2008-07-13 Thread Peet Grobler

Andrei Popescu wrote:

On Fri,11.Jul.08, 18:26:32, Peet Grobler wrote:

[...]


sparky:~# cat /etc/apt/sources.list
# TENET mirror
deb http://debian.mirror.ac.za/debian/ etch main contrib non-free
deb http://debian.mirror.ac.za/debian/ testing main contrib non-free

# Official debian repository
deb ftp://ftp.debian.org/debian/ etch main contrib non-free
deb ftp://ftp.debian.org/debian/ testing main contrib non-free


Why do you use two mirrors (especially ftp.debian.org, which used to be 
horribly outdated)? 


I'm not sure if the mirror (mirror.ac.za) is up to date at all times, 
seemed like a good idea. I've not hit it on any upgrades though, so 
should be safe to remove.



# Official security updates
deb http://security.debian.org/ etch/updates main contrib non-free

# WineHQ - Debian etch repository
deb http://wine.budgetdedicated.com/apt etch main

# swiftfox
deb http://getswiftfox.com/builds/debian unstable non-free
sparky:~#


As already said, it's safer to remove third-party repos.


I need wine :) I've done the upgrade though, without it - I'll add the 
testing repo later and try and get it back.



sparky:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  dbus-1-utils fglrx-kernel-2.6.25-1.7 fglrx-kernel-2.6.25-1.8 gimp

--^^--^^

Where did you get those two packages? Are you using a 2.6.25 kernel?


Yes, 2.6.25 kernel. Needed some features not in the older kernel on 
stable. Those two packages are the proprietary ATI drivers.


--
Peet Grobler
[EMAIL PROTECTED]


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




Re: IMAP is teh r0x0rz! [was: Re: getting copies of own posted messages; was: Re: ??: Stunned by aptitude.]

2008-07-13 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/13/08 04:14, Steve Lamb wrote:
> Ron Johnson wrote:
>> Maybe it's because I keep d-u messages is semi-annual history
>> folders so directories never get above 10,000 files, but what
>> problems do Maildirs have?
> 
>> Needing to open many files instead of one?
> 
> Needing to deal with that many files in any capacity, ever.  I've
> had the displeasure of being the administrator of a qmail setup that
> would accept all mail (smtp-time rejection, what's that!?) then filter
> then generate bounces to bogus email addresses in spam.  Yeah, 50,000
> maildir queues that take 20 minutes to stat are no fun.  That pretty
> much swore me off that idiotic idea.

That's qmail's fault, not that of Maildir.

- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh5/YEACgkQS9HxQb37Xmf82QCg0bYiBxwPJyucpoOKaIUKa1/b
e0MAoKFaMi86RqVJ4h89jAxq7oM9tn/B
=+cPj
-END PGP SIGNATURE-


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



Re: apt upgrade to testing breaks?

2008-07-13 Thread Andrei Popescu
On Sun,13.Jul.08, 13:36:19, Peet Grobler wrote:

>> As already said, it's safer to remove third-party repos.
>
> I need wine :) I've done the upgrade though, without it - I'll add the  
> testing repo later and try and get it back.
>
>>> sparky:~# apt-get dist-upgrade
>>> Reading package lists... Done
>>> Building dependency tree... Done
>>> Calculating upgrade... Done
>>> The following packages will be REMOVED:
>>>   dbus-1-utils fglrx-kernel-2.6.25-1.7 fglrx-kernel-2.6.25-1.8 gimp
>> --^^--^^
>>
>> Where did you get those two packages? Are you using a 2.6.25 kernel?
>
> Yes, 2.6.25 kernel. Needed some features not in the older kernel on  
> stable. Those two packages are the proprietary ATI drivers.

You already did the upgrade, but for further reference, it is best to 
remove any packages not found in the official Debian repos. After the 
upgrade you can put them back, though some of them need to be rebuilt.

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


signature.asc
Description: Digital signature


[Mostly Solved] Re: Blurry fonts in printed invoices

2008-07-13 Thread Celejar
[Responding to my own message.  I had neglected to restart X after
installing ttf-liberation.  The problem seems to be fixed after doing
so.]

On Sat, 12 Jul 2008 23:41:48 -0400
Celejar <[EMAIL PROTECTED]> wrote:

> On Sat, 12 Jul 2008 16:00:09 +0200
> Florian Kulzer <[EMAIL PROTECTED]> wrote:
> 
> ...
> 
> > Here is what I get when I print www.debian.org to a PDF with iceweasel
> > 3.0~rc2-2 (output of pdffonts v3.00 from poppler-utils 0.8.4-1.1):
> > 
> > name type  emb sub uni object ID
> >  - --- --- --- -
> > CairoFont-0-0CID Type 0C   yes no  yes  6  0
> > BitstreamVeraSansCID TrueType  yes no  yes  9  0
> > ArialBoldCID TrueType  yes no  yes 11  0
> > ArialCID TrueType  yes no  yes 12  0
> > DejaVuSansBold   CID TrueType  yes no  yes 17  0
> > BitstreamVeraSansMonoCID TrueType  yes no  yes 18  0
> > CairoFont-6-0CID Type 0C   yes no  yes 73  0
> > KochiGothic  CID TrueType  yes no  yes 74  0
> 
> I get (same IW, pdffonts 3.02 from xpdf-utils 3.02-1.3):
> 
> name type  emb sub uni object ID
>  - --- --- --- -
> VKJNGT+f-4-0 TrueType  yes yes yes 88  0
> RRTVUI+f-0-0 TrueType  yes yes yes  9  0
> PGUGBG+f-1-0 TrueType  yes yes yes 13  0
> [none]   Type 3yes no  yes 20  0
> [none]   Type 3yes no  yes 32  0
> GMTXSU+f-7-0 Type 1C   yes yes yes103  0
> RXRETH+f-6-0 Type 1C   yes yes yes101  0
> MFZMRR+f-5-0 TrueType  yes yes yes 99  0
> [none]   Type 3yes no  yes108  0
> [none]   Type 3yes no  yes112  0
> [none]   Type 3yes no  yes115  0
> 
> Which is pretty much what I reported in my previous message.

Now, with liberation added and X restarted, I get this:

name type  emb sub uni object ID
 - --- --- --- -
DEDVIP+f-0-0 TrueType  yes yes yes  9  0
LRSXWR+f-3-0 TrueType  yes yes yes 17  0
VKJNGT+f-4-0 TrueType  yes yes yes 20  0
WQHWKD+f-2-0 TrueType  yes yes yes 15  0
PGUGBG+f-1-0 TrueType  yes yes yes 13  0
MFZMRR+f-5-0 TrueType  yes yes yes 31  0
GMTXSU+f-7-0 Type 1C   yes yes yes 35  0
RXRETH+f-6-0 Type 1C   yes yes yes 33  0
[none]   Type 3yes no  yes 44  0
[none]   Type 3yes no  yes 40  0
[none]   Type 3yes no  yes 57  0

I have two fewer no-name fonts, but my named ones still have
meaningless names, not the nice ones you get.  I also still have eleven
fonts reported, to your seven.  Do you know what this is all about?  [I
tried replacing xpdf-utils with poppler-utils, to get your pdffonts,
but the output is identical.]

> > The text that looks OK in your PDF has no CSS font specifications
> > associated with it, so iceweasel should render it using your configured
> > default font. The elements with the ugly fonts in the PDF, on the other
> > hand, all have this CSS declaration:
> > 
> > font-family: Arial,Helvetica,sans-serif;
> > 
> > Here is how my system matches these names:
> > 
> > $ for F in Arial Helvetica sans-serif; do fc-match $F; done
> > Arial.ttf: "Arial" "Normal"
> > n019003l.pfb: "Nimbus Sans L" "Regular"
> > Vera.ttf: "Bitstream Vera Sans" "Roman"
> > 
> > These font files come from the packages msttcorefonts, gsfonts-x11, and
> > ttf-bitstream-vera, respectively. Do you have these packages installed?
> > If not, does installing them give you nicer fonts in the PDF? If you do
> > not want to befoul your system with the evil runes of Redmond then you
> > could try installing ttf-liberation instead.

The Debian page, as well as other pages which had not been displaying
properly, now seem to be printing correctly.

Thanks very much for your help.  I am still baffled, though, by several
things:

a)  Should printing really be so crippled on Debian, with its emphasis
on freedom, if the MS fonts,

Q:Does Emacs+gnus from testing work with gmail pop3 for you?!

2008-07-13 Thread Memnon Anon
Hi!

I tried to set up emacs+gnus from testing to work with gmail.
Alas, fetching via pop protocol does not work.

Error:
> [EMAIL PROTECTED] :stream ssl) error (stringp).  Continue? (yes or no)

I got the same error message like this user:
Message-ID: <[EMAIL PROTECTED]>

Does any user use gmail pop with gnus on debian testing?
No Bug found in the BTS.
Might this be a Debian specific Bug?

I switched to a fetchmail solution, but this seems not the *proper*
way.

Thanks for reading...
Memnon


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



Re: Firefox 3?

2008-07-13 Thread Nuno Magalhães
It's weird that the workaround is in X rather than Iceweasel... but
then again X has been changing and not always for the best.

-- 
Nuno Magalhães


Re: apt upgrade to testing breaks?

2008-07-13 Thread Peet Grobler

Andrei Popescu wrote:

On Sun,13.Jul.08, 13:36:19, Peet Grobler wrote:
You already did the upgrade, but for further reference, it is best to 
remove any packages not found in the official Debian repos. After the 
upgrade you can put them back, though some of them need to be rebuilt.


That is what I did - remove the unofficial sources and packages, 
upgrade, then put unofficial back (still need to be done).


--
Peet Grobler
[EMAIL PROTECTED]


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




Re: Tool to show maximal repeating patterns / structure in (text?) data

2008-07-13 Thread Dave Sherohman
On Sun, Jul 13, 2008 at 10:05:23AM +0100, j t wrote:
> I might be butting up against the edge of what's theoretically
> possible ("computer science"-wise) but I think that my requirements
> have something to do with lossless compression algorithms. Perhaps I
> should start reading the source code for gzip/bzip2...?

You're on the right track here, at least for getting as far as detecting
maximal-length identical strings.  As I recall, Huffman encoding should
be what you're looking for.

Another place to look would be search indexing algorithms.  I used to
know a guy who'd done graduate work in that area and, from talking to
him about it, it sounded like this is one of their key techniques.

Although, if you're just looking for identical log entries (rather than
arbitrary repeated segments in freeform text), using awk/sed to strip
out timestamps, then feeding the result through `sort | uniq -cd` should
handle that case.  (There are already standard log analysis packages
which do essentially this, but I can't think of any names at the
moment.)

-- 
News aggregation meets world domination.  Can you see the fnews?
http://seethefnews.com/


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



VGA modes for the supported resolutions [Was: Re: fbdev requirement of qemu]

2008-07-13 Thread Andrei Popescu
On Sat,12.Jul.08, 18:06:11, Richard Möhn wrote:
 
> > Say me the resolution and colour depth of your screen and I say you
> > what to add after vga= to the kernel line of your /boot/grub/menu.lst.
> > 
> > Nice greetings
> > 
> > Richard
> > 
> Ok, since I cannot answer soon if you will not reply today I have
> installed hwinfo and that printed this list to me:
 
Oh, you're a life-saver. I've beet STFW for the mode 1680x1050, but with 
your tip I got it.

Here's another list in case some other poor guy is looking for it:


,[ hwinfo --framebuffer ]
| 02: None 00.0: 11001 VESA Framebuffer
|   [Created at bios.450]
|   Unique ID: rdCR.VSBbdW2x3qC
|   Hardware Class: framebuffer
|   Model: "NVIDIA G86 Board - NV_NB8M "
|   Vendor: "NVIDIA Corporation"
|   Device: "G86 Board - NV_NB8M "
|   SubVendor: "NVIDIA"
|   SubDevice: 
|   Revision: "Chip Rev"
|   Memory Size: 14 MB
|   Memory Range: 0xd500-0xd5df (rw)
|   Mode 0x0300: 640x400 (+640), 8 bits
|   Mode 0x0301: 640x480 (+640), 8 bits
|   Mode 0x0303: 800x600 (+800), 8 bits
|   Mode 0x0305: 1024x768 (+1024), 8 bits
|   Mode 0x0307: 1280x1024 (+1280), 8 bits
|   Mode 0x030e: 320x200 (+640), 16 bits
|   Mode 0x030f: 320x200 (+1280), 24 bits
|   Mode 0x0311: 640x480 (+1280), 16 bits
|   Mode 0x0312: 640x480 (+2560), 24 bits
|   Mode 0x0314: 800x600 (+1600), 16 bits
|   Mode 0x0315: 800x600 (+3200), 24 bits
|   Mode 0x0317: 1024x768 (+2048), 16 bits
|   Mode 0x0318: 1024x768 (+4096), 24 bits
|   Mode 0x031a: 1280x1024 (+2560), 16 bits
|   Mode 0x031b: 1280x1024 (+5120), 24 bits
|   Mode 0x0330: 320x200 (+320), 8 bits
|   Mode 0x0331: 320x400 (+320), 8 bits
|   Mode 0x0332: 320x400 (+640), 16 bits
|   Mode 0x0333: 320x400 (+1280), 24 bits
|   Mode 0x0334: 320x240 (+320), 8 bits
|   Mode 0x0335: 320x240 (+640), 16 bits
|   Mode 0x0336: 320x240 (+1280), 24 bits
|   Mode 0x033d: 640x400 (+1280), 16 bits
|   Mode 0x033e: 640x400 (+2560), 24 bits
|   Mode 0x0345: 1600x1200 (+1600), 8 bits
|   Mode 0x0346: 1600x1200 (+3200), 16 bits
|   Mode 0x0347: 1400x1050 (+1400), 8 bits
|   Mode 0x0348: 1400x1050 (+2800), 16 bits
|   Mode 0x0349: 1400x1050 (+5600), 24 bits
|   Mode 0x034a: 1600x1200 (+6400), 24 bits
|   Mode 0x0352: 2048x1536 (+8192), 24 bits
|   Mode 0x0360: 1280x800 (+1280), 8 bits
|   Mode 0x0361: 1280x800 (+5120), 24 bits
|   Mode 0x0362: 768x480 (+768), 8 bits
|   Mode 0x0364: 1440x900 (+1440), 8 bits
|   Mode 0x0365: 1440x900 (+5760), 24 bits
|   Mode 0x0368: 1680x1050 (+1680), 8 bits
|   Mode 0x0369: 1680x1050 (+6720), 24 bits
|   Mode 0x037c: 1920x1200 (+1920), 8 bits
|   Mode 0x037d: 1920x1200 (+7680), 24 bits
|   Config Status: cfg=new, avail=yes, need=no, active=unknown
`

I'm using vga=0x368 since 8 bits are enough for the console and at 24 
it's too slow. Maybe I should try nvidiafb? But I recall some problems 
with the non-free module... Maybe someone else has tried this? 

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


signature.asc
Description: Digital signature


Has anyone seen this? Openoffice 2.4.1 disappears after its splash screen

2008-07-13 Thread AJ Milne
... no errors in the console if I run it from there instead. 

Particulars: I'm running lenny, x86_64 binaries, the 2.6.24 kernel, and KDE. I 
tried installing the KDE integration package, uninstalling the whole thing, 
reinstalling (twice), got the same symptoms. Running from the KDE launcher or 
the console, I get the same thing. Running calc or writer, same thing. Splash 
screen appears, progress bar zips to full, then nothing. Tried removing the 
user settings after reinstall (~/.openoffice.org2), same thing. 

Apologies if this has been covered somewhere; I searched, didn't see it. 

Helpful information even if you *haven't* seen this: does OpenOffice log its 
errors somewhere? I haven't been able to find them. The only logging in 
/var/log/* appears to be from installs/uninstalls/reinstalls.

-- 
AJ Milne
http://accidentalweblog.org/


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



i386 or amd64?

2008-07-13 Thread Hugo Vanwoerkom

Hi,

I am about to buy the mobo that Doug Tutty has: Asus M2N-SLI Deluxe, 
albeit with a more moderate AM2 processor: AMD Athlon X2 4050e 2.1GHz 
45W 65nm Dual-Core.


Question I have is what do I run on it, I would prefer restoring a 
current i386 system on it and then go on from there.


So I found this:

http://lists.debian.org/debian-amd64/2005/07/msg00311.html

which lists 6 options:

1) Install i386 version and use that using 32bit kernel.
2) Install amd64 version and use that.
3) Install i386 with amd64 kernel package (i386 sarge includes that) and 
amd64-libs to allow running some 64bit programs and most 32bit

(iptables/alsa-utils and other things that talk to some kernel
interfaces have to be 64bit when used with a 64bit kernel I believe).
4) Install amd64 version and ia32-libs to allow running some 32bit
programs and all 64bit.
5) Install i386 with an amd64 kernel package and a 64bit chroot to play
with full 64bit stuff in. (I use this one at the moment).
6) Install amd64 with a i386 chroot to run 32bit packages in.

I would prefer 1) but how does one do that?

Hugo


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




Re: i386 or amd64?

2008-07-13 Thread Nuno Magalhães
I have an Asus mobo with an Athlon64, so i installed amd64. If you
wanna keep i386 stuff maybe have a chroot for the only-32bit (nonfree)
stuff?

-- 
Nuno Magalhães


Re: Has anyone seen this? Openoffice 2.4.1 disappears after its splash screen

2008-07-13 Thread AJ Milne
... and to clarify, when I say 'no errors', I mean it doesn't report any 
errors. Just fails silently. But it still doesn't start. Splash screen, then 
nothing.

On Sun, 13 Jul 2008 10:47:40 -0400
AJ Milne <[EMAIL PROTECTED]> wrote:

> ... no errors in the console if I run it from there instead. 
> 
> Particulars: I'm running lenny, x86_64 binaries, the 2.6.24 kernel, and KDE. 
> I tried installing the KDE integration package, uninstalling the whole thing, 
> reinstalling (twice), got the same symptoms. Running from the KDE launcher or 
> the console, I get the same thing. Running calc or writer, same thing. Splash 
> screen appears, progress bar zips to full, then nothing. Tried removing the 
> user settings after reinstall (~/.openoffice.org2), same thing. 
> 
> Apologies if this has been covered somewhere; I searched, didn't see it. 
> 
> Helpful information even if you *haven't* seen this: does OpenOffice log its 
> errors somewhere? I haven't been able to find them. The only logging in 
> /var/log/* appears to be from installs/uninstalls/reinstalls.
> 
> -- 
> AJ Milne
> http://accidentalweblog.org/
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
AJ Milne
http://accidentalweblog.org/


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



Re: Has anyone seen this? Openoffice 2.4.1 disappears after its splash screen

2008-07-13 Thread Nuno Magalhães
Have you checked ps -A?

-- 
Nuno Magalhães


Re: i386 or amd64?

2008-07-13 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/13/08 10:05, Hugo Vanwoerkom wrote:
> Hi,
> 
> I am about to buy the mobo that Doug Tutty has: Asus M2N-SLI Deluxe,
> albeit with a more moderate AM2 processor: AMD Athlon X2 4050e 2.1GHz
> 45W 65nm Dual-Core.
> 
> Question I have is what do I run on it, I would prefer restoring a
> current i386 system on it and then go on from there.
> 
> So I found this:
> 
> http://lists.debian.org/debian-amd64/2005/07/msg00311.html
> 
> which lists 6 options:
> 
> 1) Install i386 version and use that using 32bit kernel.
> 2) Install amd64 version and use that.
> 3) Install i386 with amd64 kernel package (i386 sarge includes that) and
> amd64-libs to allow running some 64bit programs and most 32bit
> (iptables/alsa-utils and other things that talk to some kernel
> interfaces have to be 64bit when used with a 64bit kernel I believe).
> 4) Install amd64 version and ia32-libs to allow running some 32bit
> programs and all 64bit.
> 5) Install i386 with an amd64 kernel package and a 64bit chroot to play
> with full 64bit stuff in. (I use this one at the moment).
> 6) Install amd64 with a i386 chroot to run 32bit packages in.
> 
> I would prefer 1) but how does one do that?

Just install with the i386 disk.  The CPU will detect that 32-bit
binaries want to boot, and will switch the system into 32-bit mode.

- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh6HLAACgkQS9HxQb37XmeqmwCfdvmJItbIMsEDeoFHOQNzDOHA
q+IAoN1X6IBwIrr6qXBnIjo1+zUgvu43
=53tT
-END PGP SIGNATURE-


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



Re: i386 or amd64?

2008-07-13 Thread Hugo Vanwoerkom

Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/13/08 10:05, Hugo Vanwoerkom wrote:

Hi,

I am about to buy the mobo that Doug Tutty has: Asus M2N-SLI Deluxe,
albeit with a more moderate AM2 processor: AMD Athlon X2 4050e 2.1GHz
45W 65nm Dual-Core.

Question I have is what do I run on it, I would prefer restoring a
current i386 system on it and then go on from there.

So I found this:

http://lists.debian.org/debian-amd64/2005/07/msg00311.html

which lists 6 options:

1) Install i386 version and use that using 32bit kernel.
2) Install amd64 version and use that.
3) Install i386 with amd64 kernel package (i386 sarge includes that) and
amd64-libs to allow running some 64bit programs and most 32bit
(iptables/alsa-utils and other things that talk to some kernel
interfaces have to be 64bit when used with a 64bit kernel I believe).
4) Install amd64 version and ia32-libs to allow running some 32bit
programs and all 64bit.
5) Install i386 with an amd64 kernel package and a 64bit chroot to play
with full 64bit stuff in. (I use this one at the moment).
6) Install amd64 with a i386 chroot to run 32bit packages in.

I would prefer 1) but how does one do that?


Just install with the i386 disk.  The CPU will detect that 32-bit
binaries want to boot, and will switch the system into 32-bit mode.



Could I boot with the mondo restore DVD that has been created with the 
i386 system?



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




Re: i386 or amd64?

2008-07-13 Thread Damon L. Chesser
On Sunday 13 July 2008 11:05:46 am you wrote:
> Hi,
>
> I am about to buy the mobo that Doug Tutty has: Asus M2N-SLI Deluxe,
> albeit with a more moderate AM2 processor: AMD Athlon X2 4050e 2.1GHz
> 45W 65nm Dual-Core.
>
> Question I have is what do I run on it, I would prefer restoring a
> current i386 system on it and then go on from there.
>
> So I found this:
>
> http://lists.debian.org/debian-amd64/2005/07/msg00311.html
>
> which lists 6 options:
>
> 1) Install i386 version and use that using 32bit kernel.
> 2) Install amd64 version and use that.
> 3) Install i386 with amd64 kernel package (i386 sarge includes that) and
> amd64-libs to allow running some 64bit programs and most 32bit
> (iptables/alsa-utils and other things that talk to some kernel
> interfaces have to be 64bit when used with a 64bit kernel I believe).
> 4) Install amd64 version and ia32-libs to allow running some 32bit
> programs and all 64bit.
> 5) Install i386 with an amd64 kernel package and a 64bit chroot to play
> with full 64bit stuff in. (I use this one at the moment).
> 6) Install amd64 with a i386 chroot to run 32bit packages in.
>
> I would prefer 1) but how does one do that?
>
> Hugo

Hugo,

go here:  http://www.debian.org/CD/http-ftp/ look at the links for the archs, 
select i386.  Install.  You are done.

Note:  I do not understand the reluctance of not using a 64bit OS at this 
time.  I do hear that java/flash are not yet fully working on 64bit, but I 
don't ever see any issues with it.  I do not code, perhaps this is where 
people see problems with it?  I don't know.  I run iceweasel/FF, have 
non-free flash, swfdec-mozilla, and I install Sun JRE (allthough right now I 
am using default-JRE as Sun is not installable for me in Sid as of 
yesterday).

For just browsing the web and doing web things, this has worked for at least a 
year, maybe two.

Just my two cents.  Get the installer image for i386 and that will be a 32bit 
OS.

HTH

-- 
Damon L. Chesser
[EMAIL PROTECTED]
http://www.linkedin.com/in/dchesser


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


Re: i386 or amd64?

2008-07-13 Thread Hugo Vanwoerkom

Nuno Magalhães wrote:

I have an Asus mobo with an Athlon64, so i installed amd64. If you
wanna keep i386 stuff maybe have a chroot for the only-32bit (nonfree)
stuff?



I could do that later, but I want to start off with pure i386 that I 
already have. I am on a dialup modem and installing takes 3 days or so.



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




Re: i386 or amd64?

2008-07-13 Thread David Fox
On Sun, Jul 13, 2008 at 8:05 AM, Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am about to buy the mobo that Doug Tutty has: Asus M2N-SLI Deluxe, albeit
> with a more moderate AM2 processor: AMD Athlon X2 4050e 2.1GHz 45W 65nm
> Dual-Core.

You should be able to keep the current installation and run everything
32-bit, but as a recent convert to amd64 (here, an ecs 6100-pm-m
motherboard, I elected to switch to ubuntu :) amd64. Partly due to a
disk provisioning problem and a little lack of foresight, I suppose -
my oldest and most smallest disk on lenny was an old 1.6 gig maxtor,
and it held /var, and there simply wasn't enough room (or ide headers)
to put all 3 ide drives in, plus 2 new sata devices.

For the stuff that I do, amd64 works better. Most everything is 64
bit, but of course there are those things that are only available in
32-bit user space. Fortunately, I've found that they all run fine with
the intel32 lib packages installed, and there's little reason if any
to set up a chroot. Not that I've found, anyway.

And, I paid for the extra bits, so why not use them?


> Question I have is what do I run on it, I would prefer restoring a current
> i386 system on it and then go on from there.

You could - what prevents you from booting off your existing media?


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



prob. w. wordpress + php5

2008-07-13 Thread Hugo Vanwoerkom

Hi,

Sid has dropped apache in favor of apache2.

Apache2 does not have php4 support, only php5.

But WordPress, in particular the Textile 2cb plugin, has a bug in it 
using php5 that makes enumerated lists come out wrong.


I have the version of sid with apache + php4 on a mirror.

I want to install my system from scratch using the most recent sid but 
stay with apache + php4 from my mirror.


How would I do that?

It's either that or change the plugin because it is no longer supported 
by its author.




Hugo.


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




Re: i386 or amd64?

2008-07-13 Thread Hugo Vanwoerkom

Damon L. Chesser wrote:

On Sunday 13 July 2008 11:05:46 am you wrote:

Hi,

I am about to buy the mobo that Doug Tutty has: Asus M2N-SLI Deluxe,
albeit with a more moderate AM2 processor: AMD Athlon X2 4050e 2.1GHz
45W 65nm Dual-Core.

Question I have is what do I run on it, I would prefer restoring a
current i386 system on it and then go on from there.

So I found this:

http://lists.debian.org/debian-amd64/2005/07/msg00311.html

which lists 6 options:

1) Install i386 version and use that using 32bit kernel.
2) Install amd64 version and use that.
3) Install i386 with amd64 kernel package (i386 sarge includes that) and
amd64-libs to allow running some 64bit programs and most 32bit
(iptables/alsa-utils and other things that talk to some kernel
interfaces have to be 64bit when used with a 64bit kernel I believe).
4) Install amd64 version and ia32-libs to allow running some 32bit
programs and all 64bit.
5) Install i386 with an amd64 kernel package and a 64bit chroot to play
with full 64bit stuff in. (I use this one at the moment).
6) Install amd64 with a i386 chroot to run 32bit packages in.

I would prefer 1) but how does one do that?

Hugo


Hugo,

go here:  http://www.debian.org/CD/http-ftp/ look at the links for the archs, 
select i386.  Install.  You are done.


Note:  I do not understand the reluctance of not using a 64bit OS at this 
time.  I do hear that java/flash are not yet fully working on 64bit, but I 
don't ever see any issues with it.  I do not code, perhaps this is where 
people see problems with it?  I don't know.  I run iceweasel/FF, have 
non-free flash, swfdec-mozilla, and I install Sun JRE (allthough right now I 
am using default-JRE as Sun is not installable for me in Sid as of 
yesterday).




The only reluctance is time: to get an i386 system off the ground I just 
restore, to get an amd64 system installed takes 3 days because I am on a 
dialup modem.


Hugo


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




Re: i386 or amd64?

2008-07-13 Thread Hugo Vanwoerkom

David Fox wrote:

On Sun, Jul 13, 2008 at 8:05 AM, Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:

Hi,

I am about to buy the mobo that Doug Tutty has: Asus M2N-SLI Deluxe, albeit
with a more moderate AM2 processor: AMD Athlon X2 4050e 2.1GHz 45W 65nm
Dual-Core.


You should be able to keep the current installation and run everything
32-bit, but as a recent convert to amd64 (here, an ecs 6100-pm-m
motherboard, I elected to switch to ubuntu :) amd64. Partly due to a
disk provisioning problem and a little lack of foresight, I suppose -
my oldest and most smallest disk on lenny was an old 1.6 gig maxtor,
and it held /var, and there simply wasn't enough room (or ide headers)
to put all 3 ide drives in, plus 2 new sata devices.

For the stuff that I do, amd64 works better. Most everything is 64
bit, but of course there are those things that are only available in
32-bit user space. Fortunately, I've found that they all run fine with
the intel32 lib packages installed, and there's little reason if any
to set up a chroot. Not that I've found, anyway.

And, I paid for the extra bits, so why not use them?



Question I have is what do I run on it, I would prefer restoring a current
i386 system on it and then go on from there.


You could - what prevents you from booting off your existing media?




Nothing: that is what I would do: boot with the mondo restore DVD and 
install the SATA disk that I have in the i386 system.


Hugo


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




Re: How to name a package (was Re: how to package?)

2008-07-13 Thread Michelle Konzack
Hi Ali,

Am 2008-07-11 18:03:02, schrieb Ali Milis:
> Supposed HQ introduced package ''hq-vi'' which is a
> modification of vim. But, a branch also introduced
> ''branch-hq-vi'' which is a different modification of vim too.
> 
> (1) Is it OK to name the packages with ''hq-vi'' and ''branch-hq-vi''
> without reporting to any upstream (whatever that is)?

Why not:vi-hq
vi-hq-branch

which would be more logic

> (2) Is it OK to put those packages into /usr/bin? Is /opt a
> better place? Eg. /opt/hq/ and /opt/hg/branch/?

It depends.  What are the names of the binaries?

I would suggest to use /usr/bin if you want to install the  stuff  on  a
larger number of machines and do not want to maintain the pathes on it.

If they are called "vi", then you need to add "Conflicts:" to the
debian/control file

> (3) Is it OK to use the /etc/alternatives directory for
> altering the vi?

This would only work IF the original /usr/bin/vi is a  symlink  and  the
binary is for example /usr/bin/vi-orig.  Then you could name  YOUR  "vi"
binaries

/usr/bin/vi-hq
/usr/bin/vi-hw-branch

and then you can choose the version  you  want  using  the  alternatives
system.  However, this mean, you should remove the original "vi" package
which would not me be available, or rebuild the original "vi" pacage  by
renaming the executable, and adding the alternatives system.

> (4) Any suggestion?

see above.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: i386 or amd64?

2008-07-13 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/13/08 10:23, Hugo Vanwoerkom wrote:
> Ron Johnson wrote:
[snip]
>>
>> Just install with the i386 disk.  The CPU will detect that 32-bit
>> binaries want to boot, and will switch the system into 32-bit mode.
>>
> 
> Could I boot with the mondo restore DVD that has been created with the
> i386 system?

Sure.

- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh6JQwACgkQS9HxQb37XmfwawCgvbfPEMopRg7ulD8bTvTsnO6R
msUAn1vGD21c/VjVKt9qh0kuPBOG+3rY
=sxBu
-END PGP SIGNATURE-


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



Re: i386 or amd64?

2008-07-13 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/13/08 10:42, Hugo Vanwoerkom wrote:
[snip]
> The only reluctance is time: to get an i386 system off the ground I just
> restore, to get an amd64 system installed takes 3 days because I am on a
> dialup modem.

Find a vendor which sells the DVDs?

Ask one of us to burn a DVD for you?

- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh6JU8ACgkQS9HxQb37XmfJ0wCgh9+La/pGs/eCQq4xJbaK0Wnp
1Z4An3UBaWVxcnqNj/VNsX4Rnwp1YX3J
=RtoV
-END PGP SIGNATURE-


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



Re: i386 or amd64?

2008-07-13 Thread Nigel Henry
On Sunday 13 July 2008 17:05, Hugo Vanwoerkom wrote:
> Hi,
>
> I am about to buy the mobo that Doug Tutty has: Asus M2N-SLI Deluxe,
> albeit with a more moderate AM2 processor: AMD Athlon X2 4050e 2.1GHz
> 45W 65nm Dual-Core.
>
> Question I have is what do I run on it, I would prefer restoring a
> current i386 system on it and then go on from there.
>
> So I found this:
>
> http://lists.debian.org/debian-amd64/2005/07/msg00311.html
>
> which lists 6 options:
>
> 1) Install i386 version and use that using 32bit kernel.
> 2) Install amd64 version and use that.
> 3) Install i386 with amd64 kernel package (i386 sarge includes that) and
> amd64-libs to allow running some 64bit programs and most 32bit
> (iptables/alsa-utils and other things that talk to some kernel
> interfaces have to be 64bit when used with a 64bit kernel I believe).
> 4) Install amd64 version and ia32-libs to allow running some 32bit
> programs and all 64bit.
> 5) Install i386 with an amd64 kernel package and a 64bit chroot to play
> with full 64bit stuff in. (I use this one at the moment).
> 6) Install amd64 with a i386 chroot to run 32bit packages in.
>
> I would prefer 1) but how does one do that?
>
> Hugo

Hi Hugo. Just go ahead and install the i386 version of your distro. It will 
work with the 64bit processor with no problems.

I recently built a new machine, using an Asus M2N-X Plus mobo, with an AMD 
Athlon64 3800 AM2 2.4GHz processor. I've installed i386 (32bit) versions of 
Archlinux, Kubuntu Gutsy Gibbon, Fedora 8, and Kubuntu Breezy (upgraded to 
Dapper) on it, and no problemos. I've got Sarge, Etch, and Lenny on another 
machine, and they were all upgraded from my valuable Woody 3.0r2 cdroms, and 
don't want to go through that hassle of upgrading to Etch from Woody on the 
new machine. I've just found a supplier in France that has 3DVD sets for Etch 
for 15€, so I'll get those, and save a bit of upgrading time, when I add Etch 
to the new machine.

If you have sufficient harddrive space, why not install both the i386, and the 
x86_64 versions, and you can compare them. I think for a 64 bit install there 
are some packages (probably 3rd party ones) that you have to go through the 
hoops a bit, to get them to work, which is probably why I've stayed with 
i386.

When AMD brought out their first 64 bit processor (in 2003 IIRC) there was 
much marketing hype as to how superior it was compared to 32 bit processors, 
but I've also read that there is not a lot of difference between i386 
(32bit), and x86_64, but having no experience in comparing the two, I'm 
simply going on what I've heard.

Sunday afternoon/evening rambling over, and now back to mowing the grass. My 
dog's looking at me in an expectant way, as he has a bunch of fun in the 
garden when I'm mowing.

All the best.

Nigel.


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



Re: i386 or amd64?

2008-07-13 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/13/08 10:29, Damon L. Chesser wrote:
[snip]
> 
> Note:  I do not understand the reluctance of not using a 64bit OS at this 
> time.  I do hear that java/flash are not yet fully working on 64bit, but I 
> don't ever see any issues with it.  I do not code, perhaps this is where 
> people see problems with it?  I don't know.  I run iceweasel/FF, have 
> non-free flash, swfdec-mozilla, and I install Sun JRE (allthough right now I 
> am using default-JRE as Sun is not installable for me in Sid as of 
> yesterday).

swfdec-mozilla works on "all" Flash videos?

And what JRE is it that you use?

- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh6JawACgkQS9HxQb37XmeyQACeNRc+71vnFaj0Vdhj+nJD6L2W
keEAn0wsApP0Vq4fFe8jArhyN7ASmPO+
=rKzL
-END PGP SIGNATURE-


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



Bash: trap vs. tee

2008-07-13 Thread Stefan Schmidt
Hello,

I have a bash script with trap, but the trap doesn't catch the error.

function handle {
echo "This should be reached
exit 1
}
trap handle ERR
ls nonexist | tee -a output.log
echo "This should not be reached"

outputs

ls: nonexist: No such file or directory
This should not be reached

How come?

Stefan


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



Re: Re: fbdev requirement of qemu

2008-07-13 Thread peasthope
Hello Richard Möhn and Andrei Popescu,

rm> ... since I cannot answer soon if you will not reply today ...

Sorry.  I am not ignoring replies.  Work 
prevented attention before the weekend.

rm> ... installed hwinfo and that printed this list ...

Many thanks.  Will try specifying video modes 
when at work in Vancouver this week and try to 
report success or failure by the next weekend.

ap> I'm using vga=0x368 ...

Logically, the reason for specifying a video 
mode at startup is not obvious.  Why can't qemu 
and directfb proceed using a default video mode?

Thanks, ... Peter E.

-- 
http://carnot.yi.org/ 
  = http://carnot.pathology.ubc.ca/
Desktops.OpenDoc  http://members.shaw.ca/peasthope/


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



Re: i386 or amd64?

2008-07-13 Thread Mark Allums

Hugo Vanwoerkom wrote:

Hi,

I am about to buy the mobo that Doug Tutty has: Asus M2N-SLI Deluxe, 
albeit with a more moderate AM2 processor: AMD Athlon X2 4050e 2.1GHz 
45W 65nm Dual-Core.


Question I have is what do I run on it, I would prefer restoring a 
current i386 system on it and then go on from there.


So I found this:

http://lists.debian.org/debian-amd64/2005/07/msg00311.html

which lists 6 options:

1) Install i386 version and use that using 32bit kernel.
2) Install amd64 version and use that.
3) Install i386 with amd64 kernel package (i386 sarge includes that) and 
amd64-libs to allow running some 64bit programs and most 32bit

(iptables/alsa-utils and other things that talk to some kernel
interfaces have to be 64bit when used with a 64bit kernel I believe).
4) Install amd64 version and ia32-libs to allow running some 32bit
programs and all 64bit.
5) Install i386 with an amd64 kernel package and a 64bit chroot to play
with full 64bit stuff in. (I use this one at the moment).
6) Install amd64 with a i386 chroot to run 32bit packages in.

I would prefer 1) but how does one do that?

Hugo

>


 Just go AMD64 and be done with it.  You get all the memory you can
 stand, and can still run nearly all 32-bit software with a little
 planning ahead.  I have no problems.  Use a chroot in those rare
 instances when you absolutely must run a 32 bit kernel.  Which will be
 very rare.



 Mark Allums



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




Re: i386 or amd64?

2008-07-13 Thread Mark Allums

Hugo Vanwoerkom wrote:


The only reluctance is time: to get an i386 system off the ground I just 
restore, to get an amd64 system installed takes 3 days because I am on a 
dialup modem.


Hugo


This is the time to call in a favor and go over to someone's house that 
has high speed DSL and borrow it.  Get the daily build of lenny/testing 
on DVD.  Takes about two hours for the first DVD at 6.0 Mb/s.  Allow 
about 12 hours for all five DVDs.  Say thank you to your friend, and 
don't forget the case of beer/nice bottle of something nice.



Mark Allums


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




Re: i386 or amd64?

2008-07-13 Thread Mark Allums

Mark Allums wrote:

Hugo Vanwoerkom wrote:


The only reluctance is time: to get an i386 system off the ground I 
just restore, to get an amd64 system installed takes 3 days because I 
am on a dialup modem.


Hugo


This is the time to call in a favor and go over to someone's house that 
has high speed DSL and borrow it.  Get the daily build of lenny/testing 
on DVD.  Takes about two hours for the first DVD at 6.0 Mb/s.  Allow 
about 12 hours for all five DVDs.  Say thank you to your friend, and 
don't forget the case of beer/nice bottle of something nice.


I meant *weekly* build, of course.


Mark Allums


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




Re: Bash: trap vs. tee

2008-07-13 Thread Sven Joachim
On 2008-07-13 17:59 +0200, Stefan Schmidt wrote:

> I have a bash script with trap, but the trap doesn't catch the error.
>
> function handle {
> echo "This should be reached

Closing quotes are missing, but your script hopefully has them.

> exit 1
> }
> trap handle ERR
> ls nonexist | tee -a output.log
> echo "This should not be reached"
>
> outputs
>
> ls: nonexist: No such file or directory
> This should not be reached
>
> How come?

Because the exit status of the pipe is that of the last command, and tee
has no reason to complain:

,
| % ls nonexistent | tee -a output.log
| ls: cannot access nonexistent: No such file or directory
| % echo $?
| 0
| % 
`

In bash you can change this behavior with "set -o pipefail".

Sven


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



Re: prob. w. wordpress + php5

2008-07-13 Thread Freddy Freeloader

Hugo Vanwoerkom wrote:

Hi,

Sid has dropped apache in favor of apache2.

Apache2 does not have php4 support, only php5.

But WordPress, in particular the Textile 2cb plugin, has a bug in it 
using php5 that makes enumerated lists come out wrong.


I have the version of sid with apache + php4 on a mirror.

I want to install my system from scratch using the most recent sid but 
stay with apache + php4 from my mirror.


How would I do that?

It's either that or change the plugin because it is no longer 
supported by its author.




Hugo.


The wordpress package in Sid will work with php5.  Here's the output 
from "apt-cache show wordpress":


Package: wordpress
Priority: optional
Section: web
Installed-Size: 5032
Maintainer: Andrea De Iacovo <[EMAIL PROTECTED]>
Architecture: all
Version: 2.5.1-4
Depends: apache2 | httpd, virtual-mysql-client, libapache2-mod-php5 | 
php5 | php5-cgi | libapache2-mod-php4 | php4 | php4-cgi, php5-mysql | 
php4-mysql, libphp-phpmailer (>= 1.73-4), php5-gd | php4-gd, 
libjs-prototype, libjs-scriptaculous, tinymce (>= 3.0.7)

Suggests: virtual-mysql-server
Conflicts: mysql-server (<< 4.0.20-8)
Filename: pool/main/w/wordpress/wordpress_2.5.1-4_all.deb
Size: 1038376
MD5sum: 145d5509ea4b4067dded3ebd7736ffe9
SHA1: 08ce30c3d5e015ef7af2b5b2e02adee93659e322
SHA256: 43e390691e0725f1aacd6f3af6fe057d02c7d6afd776cb35f0253bcec8754ea7
Description: weblog manager
WordPress is a full featured web blogging tool:
   * Instant publishing (no rebuilding)
   * Comment pingback support with spam protection
   * Non-crufty URLs
   * Themable
   * Plugin support
.
This package includes French language support.
Homepage: http://wordpress.org
Tag: implemented-in::php, interface::web, web::blog


Looks to me like wordpress will run on php4 or php5.


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




Re: prob. w. wordpress + php5

2008-07-13 Thread Freddy Freeloader

Freddy Freeloader wrote:

Hugo Vanwoerkom wrote:

Hi,

Sid has dropped apache in favor of apache2.

Apache2 does not have php4 support, only php5.

But WordPress, in particular the Textile 2cb plugin, has a bug in it 
using php5 that makes enumerated lists come out wrong.


I have the version of sid with apache + php4 on a mirror.

I want to install my system from scratch using the most recent sid 
but stay with apache + php4 from my mirror.


How would I do that?

It's either that or change the plugin because it is no longer 
supported by its author.




Hugo.


The wordpress package in Sid will work with php5.  Here's the output 
from "apt-cache show wordpress":


Package: wordpress
Priority: optional
Section: web
Installed-Size: 5032
Maintainer: Andrea De Iacovo <[EMAIL PROTECTED]>
Architecture: all
Version: 2.5.1-4
Depends: apache2 | httpd, virtual-mysql-client, libapache2-mod-php5 | 
php5 | php5-cgi | libapache2-mod-php4 | php4 | php4-cgi, php5-mysql | 
php4-mysql, libphp-phpmailer (>= 1.73-4), php5-gd | php4-gd, 
libjs-prototype, libjs-scriptaculous, tinymce (>= 3.0.7)

Suggests: virtual-mysql-server
Conflicts: mysql-server (<< 4.0.20-8)
Filename: pool/main/w/wordpress/wordpress_2.5.1-4_all.deb
Size: 1038376
MD5sum: 145d5509ea4b4067dded3ebd7736ffe9
SHA1: 08ce30c3d5e015ef7af2b5b2e02adee93659e322
SHA256: 43e390691e0725f1aacd6f3af6fe057d02c7d6afd776cb35f0253bcec8754ea7
Description: weblog manager
WordPress is a full featured web blogging tool:
   * Instant publishing (no rebuilding)
   * Comment pingback support with spam protection
   * Non-crufty URLs
   * Themable
   * Plugin support
.
This package includes French language support.
Homepage: http://wordpress.org
Tag: implemented-in::php, interface::web, web::blog


Looks to me like wordpress will run on php4 or php5.


Never mind.  Brain fart on my part. 




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




Cannot install xmms on Debian testing

2008-07-13 Thread Peet Grobler

So I upgraded to testing. Now I can't install xmms.

sparky:~# !apt
apt-get install xmms
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xmms is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package xmms has no installation candidate
sparky:~#

Should I log a bug somewhere, or where can I check to see if it's 
already reported?


Thanks,
--
Peet Grobler
[EMAIL PROTECTED]


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




Re: Cannot install xmms on Debian testing

2008-07-13 Thread Thilo Six
Peet Grobler wrote the following on 13.07.2008 18:28



> apt-get install xmms



> Should I log a bug somewhere, or where can I check to see if it's 
> already reported?

Have a look at:
http://packages.qa.debian.org/x/xmms.html

and
http://packages.qa.debian.org/x/xmms/news/20080310T223933Z.html

> Thanks,


-- 
bye Thilo

key: 0x4A411E09


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



Re: i386 or amd64?

2008-07-13 Thread Damon L. Chesser
On Sunday 13 July 2008 11:56:28 am Ron Johnson wrote:
> On 07/13/08 10:29, Damon L. Chesser wrote:
> [snip]
>
> > Note:  I do not understand the reluctance of not using a 64bit OS at this
> > time.  I do hear that java/flash are not yet fully working on 64bit, but
> > I don't ever see any issues with it.  I do not code, perhaps this is
> > where people see problems with it?  I don't know.  I run iceweasel/FF,
> > have non-free flash, swfdec-mozilla, and I install Sun JRE (allthough
> > right now I am using default-JRE as Sun is not installable for me in Sid
> > as of yesterday).
>
> swfdec-mozilla works on "all" Flash videos?
>
> And what JRE is it that you use?
>
> --
> Ron Johnson, Jr.
> Jefferson LA  USA
>
> "Kittens give Morbo gas.  In lighter news, the city of New New
> York is doomed."

well, it works on all flash videos I try to view and at this point, the jre I 
use, and I quote, "default-jre" and I installed "java-gcj-compat-plugin" and 
this allow me to go to Sun's site and "test" my java, which passes.  Prior to 
yesterday, when my system crashed, I used Sun-java6-jre, but at this time, 
there is a circular dep issue stopping the install of that (jre deps on bin, 
which deps on i32-java6-jre which deps on sun-java6-jre, same with java5.)

HTH

-- 
Damon L. Chesser
[EMAIL PROTECTED]
http://www.linkedin.com/in/dchesser


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


Re: Cannot install xmms on Debian testing

2008-07-13 Thread Pol Hallen
> apt-get install xmms
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package xmms is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> E: Package xmms has no installation candidate
> sparky:~#
It has removed about several bugs never corrected, try:

apt-get install audacious

Pol


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



Re: Bash: trap vs. tee

2008-07-13 Thread Stefan Schmidt
> Closing quotes are missing, but your script hopefully has them.

Yes, indeed ;)

> Because the exit status of the pipe is that of the last command, and tee
> has no reason to complain:

I was suspecting something like that, but unfortunately I had misinterpreted 
the output of my debugging variations.

> In bash you can change this behavior with "set -o pipefail".

Thanks a lot, that works like a treat!

Stefan


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



Re: i386 or amd64?

2008-07-13 Thread s. keeling
Ron Johnson <[EMAIL PROTECTED]>:
> 
>  On 07/13/08 10:29, Damon L. Chesser wrote:
>  [snip]
> > 
> > Note:  I do not understand the reluctance of not using a 64bit OS at this 
> > time.  I do hear that java/flash are not yet fully working on 64bit, but I 
> > don't ever see any issues with it.  I do not code, perhaps this is where 
> 
>  swfdec-mozilla works on "all" Flash videos?

I find it locks up iceweasel more often than not, but this is etch here.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://blinkynet.net/comp/uip5.html  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.


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



Re: i386 or amd64?

2008-07-13 Thread Damon L. Chesser
On Sunday 13 July 2008 12:41:56 pm s. keeling wrote:
> Ron Johnson <[EMAIL PROTECTED]>:
> >  On 07/13/08 10:29, Damon L. Chesser wrote:
> >  [snip]
> >
> > > Note:  I do not understand the reluctance of not using a 64bit OS at
> > > this time.  I do hear that java/flash are not yet fully working on
> > > 64bit, but I don't ever see any issues with it.  I do not code, perhaps
> > > this is where
> >
> >  swfdec-mozilla works on "all" Flash videos?
>
> I find it locks up iceweasel more often than not, but this is etch here.

you're, like, so behind!  Seriously, it *used* to do that here.  Now 
sometimes, I have to close all my FF to look at a site because a prior 
viewing of another flash video has somehow "locked" up the flash player, but 
the browser works just fine.  The indication is you don't see the video or 
any controls, just a blank space.  Aside from that, I see no issues so far.  
YMMV, I guess it deps on what *bad* site you go to and what *bad* standards 
they are not adhering to.
>
>
> --
> Any technology distinguishable from magic is insufficiently advanced.
> (*)http://blinkynet.net/comp/uip5.html  Linux Counter #80292
> - -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.



-- 
Damon L. Chesser
[EMAIL PROTECTED]
http://www.linkedin.com/in/dchesser


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


Re: Has anyone seen this? Openoffice 2.4.1 disappears after its splash screen

2008-07-13 Thread AJ Milne
Yeah. Process isn't there. Goes away pretty much instantly.

On Sun, 13 Jul 2008 16:16:31 +0100
"Nuno Magalhães" <[EMAIL PROTECTED]> wrote:

> Have you checked ps -A?
> 
> -- 
> Nuno Magalhães


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



Re: [Mostly Solved] Re: Blurry fonts in printed invoices

2008-07-13 Thread Florian Kulzer
On Sun, Jul 13, 2008 at 09:30:05 -0400, Celejar wrote:
> [Responding to my own message.  I had neglected to restart X after
> installing ttf-liberation.  The problem seems to be fixed after doing
> so.]
> 
> On Sat, 12 Jul 2008 23:41:48 -0400 Celejar wrote:

[...]

> Now, with liberation added and X restarted, I get this:
> 
> name type  emb sub uni object ID
>  - --- --- --- -
> DEDVIP+f-0-0 TrueType  yes yes yes  9  0
> LRSXWR+f-3-0 TrueType  yes yes yes 17  0
> VKJNGT+f-4-0 TrueType  yes yes yes 20  0
> WQHWKD+f-2-0 TrueType  yes yes yes 15  0
> PGUGBG+f-1-0 TrueType  yes yes yes 13  0
> MFZMRR+f-5-0 TrueType  yes yes yes 31  0
> GMTXSU+f-7-0 Type 1C   yes yes yes 35  0
> RXRETH+f-6-0 Type 1C   yes yes yes 33  0
> [none]   Type 3yes no  yes 44  0
> [none]   Type 3yes no  yes 40  0
> [none]   Type 3yes no  yes 57  0
> 
> I have two fewer no-name fonts, but my named ones still have
> meaningless names, not the nice ones you get.  I also still have eleven
> fonts reported, to your seven.  Do you know what this is all about?  [I
> tried replacing xpdf-utils with poppler-utils, to get your pdffonts,
> but the output is identical.]

[...]

> The Debian page, as well as other pages which had not been displaying
> properly, now seem to be printing correctly.

I am happy to hear that.

> Thanks very much for your help.

Don't mention it; this is a nice opportunity to learn more about font
management.

> I am still baffled, though, by several
> things:
> 
> a)  Should printing really be so crippled on Debian, with its emphasis
> on freedom, if the MS fonts, or at least the liberation drop-ins,
> aren't installed?  The only package which depends on liberation is the
> openoffice meta-package, which I don't have installed, although I do
> have writer.  Should I file a bug?  Against what?  And am I really the
> first one to be bitten by this?

You seem to be very selective when installing packages. There is nothing
wrong with that, of course, but I would suspect that many users of
"desktop" (as opposed to "server") machines just go for the metapackages
and they are maybe also more liberal in installing "recommends" and
"suggests". That could explain why the majority of users is less likely
to run into this kind of problem.

I now found a related bug (#489165) filed as "wishlist" against
fontconfig-config. I think it would be good if you added a brief
description of your problem to that bug report to give it more weight.

> b)  I don't seem to have seen this problem until fairly recently (I
> believe within the last few months).  I don't think I even had the MS
> fonts or the liberation drop-ins installed.

Many packages could be relevant for this problem (ghostscript, cairo,
freetype, poppler, gtk, ...), so it will probably be difficult to find
out which specific upgrade broke your configuration.

> c)  Why is my pdffonts output so much uglier and less informative than
> yours?

I have the impression that the "nice" names show up for fonts that are
widely used and whose names are accepted as standard. For other PDFs I
see font names that are similar to your "ulgy" ones, e.g. LNFWNR+CMR10
(a "Computer Modern" font of Latex), CESJKL+FreeSans, or something like
FCGNJC+AdvP4C4E74. If you want to run pdffonts yourself on the PDF that
I printed from www.debian.org then you can download it here:
http://users.icfo.es/Florian.Kulzer/celejar/www-debian-org.pdf

However, I don't recall ever seeing these "DEDVIP+f-0-0" kinds of names
before. Maybe you are still missing some other relatively important
font-related package. Here is list of the ones that I have installed:
http://users.icfo.es/Florian.Kulzer/celejar/font-related-packages.txt

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: i386 or amd64?

2008-07-13 Thread Hugo Vanwoerkom

Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/13/08 10:42, Hugo Vanwoerkom wrote:
[snip]

The only reluctance is time: to get an i386 system off the ground I just
restore, to get an amd64 system installed takes 3 days because I am on a
dialup modem.


Find a vendor which sells the DVDs?

Ask one of us to burn a DVD for you?



Now there's an idea! Let me try that again (buying that is) but in 
Mexico previous results were not promising.


Hugo


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




Re: Tool to show maximal repeating patterns / structure in (text?) data

2008-07-13 Thread j t
On Sun, Jul 13, 2008 at 3:26 PM, Dave Sherohman <[EMAIL PROTECTED]> wrote:
> You're on the right track here, at least for getting as far as detecting
> maximal-length identical strings.  As I recall, Huffman encoding should
> be what you're looking for.
>
> Another place to look would be search indexing algorithms.  I used to
> know a guy who'd done graduate work in that area and, from talking to
> him about it, it sounded like this is one of their key techniques.

Dave,

I've briefly scanned wikipedia's pages on Huffman coding, DEFLATE,
LZ77 and LZ78, LZW, etc, and that's definitely what I'm looking for.
Wikipedia's entry on "Dictionary coder" even contains interesting
example algorithms. I can sense a fascinating project coming on...

Thank you for the pointers, Jaime


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



Re: Has anyone seen this? Openoffice 2.4.1 disappears after its splash screen

2008-07-13 Thread Florian Kulzer
[ Please try to wrap your lines at 72-80 characters. ]

On Sun, Jul 13, 2008 at 10:47:40 -0400, AJ Milne wrote:
> ... no errors in the console if I run it from there instead. 
> 
> Particulars: I'm running lenny, x86_64 binaries, the 2.6.24 kernel,
> and KDE. I tried installing the KDE integration package, uninstalling
> the whole thing, reinstalling (twice), got the same symptoms. Running
> from the KDE launcher or the console, I get the same thing. Running
> calc or writer, same thing. Splash screen appears, progress bar zips
> to full, then nothing. Tried removing the user settings after
> reinstall (~/.openoffice.org2), same thing. 
> 
> Apologies if this has been covered somewhere; I searched, didn't see it. 
> 
> Helpful information even if you *haven't* seen this: does OpenOffice
> log its errors somewhere? I haven't been able to find them. The only
> logging in /var/log/* appears to be from
> installs/uninstalls/reinstalls.

You can have a look at ~/.xsession-errors, but I am not too optimistic
about this since you do not even get any error message when you start
the program directly from the command line.

It may help to use strace on the program like this:

strace -f -o oo-strace.txt ooffice 

This will log all system calls in the file oo-strace.txt. The strace
file will be too long to be posted here, but maybe you can upload it
somewhere so that we can have a look. If that is not possible then you
can post the just end of the file, the last 50 lines or something like
that. (run "tail -n50 oo-strace.txt")

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: Has anyone seen this? Openoffice 2.4.1 disappears after its splash screen

2008-07-13 Thread AJ Milne
Thanks; good suggestion. There's a segfault in there... working on it
now. Looks like it might be choking on a font metrics file.

On Sun, 13 Jul 2008 20:03:25 +0200
Florian Kulzer <[EMAIL PROTECTED]> wrote:

> [ Please try to wrap your lines at 72-80 characters. ]
> 
> On Sun, Jul 13, 2008 at 10:47:40 -0400, AJ Milne wrote:
> > ... no errors in the console if I run it from there instead. 
> > 
> > Particulars: I'm running lenny, x86_64 binaries, the 2.6.24 kernel,
> > and KDE. I tried installing the KDE integration package, uninstalling
> > the whole thing, reinstalling (twice), got the same symptoms. Running
> > from the KDE launcher or the console, I get the same thing. Running
> > calc or writer, same thing. Splash screen appears, progress bar zips
> > to full, then nothing. Tried removing the user settings after
> > reinstall (~/.openoffice.org2), same thing. 
> > 
> > Apologies if this has been covered somewhere; I searched, didn't see it. 
> > 
> > Helpful information even if you *haven't* seen this: does OpenOffice
> > log its errors somewhere? I haven't been able to find them. The only
> > logging in /var/log/* appears to be from
> > installs/uninstalls/reinstalls.
> 
> You can have a look at ~/.xsession-errors, but I am not too optimistic
> about this since you do not even get any error message when you start
> the program directly from the command line.
> 
> It may help to use strace on the program like this:
> 
> strace -f -o oo-strace.txt ooffice 
> 
> This will log all system calls in the file oo-strace.txt. The strace
> file will be too long to be posted here, but maybe you can upload it
> somewhere so that we can have a look. If that is not possible then you
> can post the just end of the file, the last 50 lines or something like
> that. (run "tail -n50 oo-strace.txt")
> 
> -- 
> Regards,| http://users.icfo.es/Florian.Kulzer
>   Florian   |
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
AJ Milne
http://accidentalweblog.org/


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



Bash: pipe once more

2008-07-13 Thread Stefan Schmidt
Hello,

if I pipe the output of a cd command the working directory doesn't change.

,
| $ cd ~/bin 2>&1 | tee -a output.log; pwd
| /home/stefan
`

How come and how can I get this to work?

Stefan

P.S. Sorry if this gets double-posted


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



Re: Has anyone seen this? Openoffice 2.4.1 disappears after its splash screen

2008-07-13 Thread AJ Milne
Confirming: that was it; was choking on a specific type 1 font.
Not sure why, but for now, I'm leaving it out of the active
fonts; might look into it more a bit later.

On Sun, 13 Jul 2008 20:03:25 +0200
Florian Kulzer <[EMAIL PROTECTED]> wrote:

> [ Please try to wrap your lines at 72-80 characters. ]
> 
> On Sun, Jul 13, 2008 at 10:47:40 -0400, AJ Milne wrote:
> > ... no errors in the console if I run it from there instead. 
> > 
> > Particulars: I'm running lenny, x86_64 binaries, the 2.6.24 kernel,
> > and KDE. I tried installing the KDE integration package, uninstalling
> > the whole thing, reinstalling (twice), got the same symptoms. Running
> > from the KDE launcher or the console, I get the same thing. Running
> > calc or writer, same thing. Splash screen appears, progress bar zips
> > to full, then nothing. Tried removing the user settings after
> > reinstall (~/.openoffice.org2), same thing. 
> > 
> > Apologies if this has been covered somewhere; I searched, didn't see it. 
> > 
> > Helpful information even if you *haven't* seen this: does OpenOffice
> > log its errors somewhere? I haven't been able to find them. The only
> > logging in /var/log/* appears to be from
> > installs/uninstalls/reinstalls.
> 
> You can have a look at ~/.xsession-errors, but I am not too optimistic
> about this since you do not even get any error message when you start
> the program directly from the command line.
> 
> It may help to use strace on the program like this:
> 
> strace -f -o oo-strace.txt ooffice 
> 
> This will log all system calls in the file oo-strace.txt. The strace
> file will be too long to be posted here, but maybe you can upload it
> somewhere so that we can have a look. If that is not possible then you
> can post the just end of the file, the last 50 lines or something like
> that. (run "tail -n50 oo-strace.txt")
> 
> -- 
> Regards,| http://users.icfo.es/Florian.Kulzer
>   Florian   |
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
AJ Milne
http://accidentalweblog.org/


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



Bash: pipe once more

2008-07-13 Thread Stefan Schmidt
Hello,

if I pipe the output of a cd command the working directory doesn't change.

,
| $ cd ~/bin 2>&1 | tee -a output.log; pwd
| /home/stefan
`

How come and how can I get this to work?

Stefan


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



Re: Has anyone seen this? Openoffice 2.4.1 disappears after its splash screen

2008-07-13 Thread AJ Milne
.. oh: specifically, it was the ootrace method that turned up
the issue. Didn't check xsession errors.

On Sun, 13 Jul 2008 14:30:23 -0400
AJ Milne <[EMAIL PROTECTED]> wrote:

> Confirming: that was it; was choking on a specific type 1 font.
> Not sure why, but for now, I'm leaving it out of the active
> fonts; might look into it more a bit later.
> 
> On Sun, 13 Jul 2008 20:03:25 +0200
> Florian Kulzer <[EMAIL PROTECTED]> wrote:
> 
> > [ Please try to wrap your lines at 72-80 characters. ]
> > 
> > On Sun, Jul 13, 2008 at 10:47:40 -0400, AJ Milne wrote:
> > > ... no errors in the console if I run it from there instead. 
> > > 
> > > Particulars: I'm running lenny, x86_64 binaries, the 2.6.24 kernel,
> > > and KDE. I tried installing the KDE integration package, uninstalling
> > > the whole thing, reinstalling (twice), got the same symptoms. Running
> > > from the KDE launcher or the console, I get the same thing. Running
> > > calc or writer, same thing. Splash screen appears, progress bar zips
> > > to full, then nothing. Tried removing the user settings after
> > > reinstall (~/.openoffice.org2), same thing. 
> > > 
> > > Apologies if this has been covered somewhere; I searched, didn't see it. 
> > > 
> > > Helpful information even if you *haven't* seen this: does OpenOffice
> > > log its errors somewhere? I haven't been able to find them. The only
> > > logging in /var/log/* appears to be from
> > > installs/uninstalls/reinstalls.
> > 
> > You can have a look at ~/.xsession-errors, but I am not too optimistic
> > about this since you do not even get any error message when you start
> > the program directly from the command line.
> > 
> > It may help to use strace on the program like this:
> > 
> > strace -f -o oo-strace.txt ooffice 
> > 
> > This will log all system calls in the file oo-strace.txt. The strace
> > file will be too long to be posted here, but maybe you can upload it
> > somewhere so that we can have a look. If that is not possible then you
> > can post the just end of the file, the last 50 lines or something like
> > that. (run "tail -n50 oo-strace.txt")
> > 
> > -- 
> > Regards,| http://users.icfo.es/Florian.Kulzer
> >   Florian   |
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > 
> 
> 
> -- 
> AJ Milne
> http://accidentalweblog.org/
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
AJ Milne
http://accidentalweblog.org/


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



Re: Bash: pipe once more

2008-07-13 Thread Bob Cox
On Sun, Jul 13, 2008 at 20:22:24 +0200, Stefan Schmidt ([EMAIL PROTECTED]) 
wrote: 

> if I pipe the output of a cd command the working directory doesn't change.

Hi Stefan

Assuming your cd command takes you to a valid directory, then there
seems to be no output to pipe...

> ,
> | $ cd ~/bin 2>&1 | tee -a output.log; pwd
> | /home/stefan
> `
> 
> How come and how can I get this to work?

Sorry, but I am not sure quite what you are trying to achieve.  Maybe I
am missing the point!

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Registered user #445000 with the Linux Counter - http://counter.li.org/


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



Re: Bash: pipe once more

2008-07-13 Thread Stefan Schmidt
> > ,
> > | $ cd ~/bin 2>&1 | tee -a output.log; pwd
> > | /home/stefan
> > `
> > 
> > How come and how can I get this to work?
> 
> Sorry, but I am not sure quite what you are trying to achieve.  Maybe I
> am missing the point!

I want to change the working directory and if there is an error (e.g. the 
directory doesn't exist) I want that to be logged to a file and printed on 
stdout. With the above command that doesn't work since the working directory is 
the same as before execution of the command.

Stefan


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



Setting diskless node tutorial

2008-07-13 Thread Tero Mäntyvaara
Please tell me what is the good, up-to-date and Debian applicable 
tutorial for setting diskless node that


* has no hard drive
* boots with etherboot
* is not slim or thin client
* saves all data to server


Tero Mäntyvaara


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




netinst cd hangs

2008-07-13 Thread Charles Blair
   I recently got an HP desktop with a Celeron processor.  I
downloaded debian-40r3-i386-netinst.iso, burnt it to a cd with
Microsoft's "cdburn," and booted.

   The debian logo and some introductory messages were displayed, but
then things froze.  The last few lines were:

ACPI: Interpreter enabled
ACPI: using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (.00)
ACPI: assume root bridge [\_SP_.PCI0] bus is 0

The machine did not respond to control-alt-del, esc, or control-C.
I was only able  to shut it off by turning off the power supply.


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



Re: Bash: pipe once more

2008-07-13 Thread Eduardo M KALINOWSKI
Stefan Schmidt wrote:
> I want to change the working directory and if there is an error (e.g. the 
> directory doesn't exist) I want that to be logged to a file and printed on 
> stdout. With the above command that doesn't work since the working directory 
> is the same as before execution of the command.
>   

if [ \! -d some_path ] ; then
  echo There was an error
  echo There was an error >> log.txt
  # There must be an intelligent way to combine the above two lines, but
I'm not in the mood to discover it right now.
  exit 1;
fi

cd some_path


Warning: The above may contain bashisms.


-- 
"One Architecture, One OS" also translates as "One Egg, One Basket".

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


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



iw2 vs iw3 performance

2008-07-13 Thread Hugo Vanwoerkom

Hi,


If you go to this page:

http://shame.tuxfamily.org/repo/?cat=1

and scroll up and down the page, you will notice that in iw3 CPU busy 
hits over 90%, while in iw2 it does *not*.


And I thought iw3 was supposed to be an improvement?

Hugo


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




Re: prob. w. wordpress + php5

2008-07-13 Thread Hugo Vanwoerkom

Hugo Vanwoerkom wrote:

Hi,

Sid has dropped apache in favor of apache2.

Apache2 does not have php4 support, only php5.

But WordPress, in particular the Textile 2cb plugin, has a bug in it 
using php5 that makes enumerated lists come out wrong.


I have the version of sid with apache + php4 on a mirror.

I want to install my system from scratch using the most recent sid but 
stay with apache + php4 from my mirror.


How would I do that?

It's either that or change the plugin because it is no longer supported 
by its author.





What lists look like in WP with php5 and the Textile 2cb plugin:

http://www.esnips.com/doc/1b9a0609-b5ea-4c6b-bb60-081ecd3a9e17/WP-with-php5

what they look like with php5 and that plugin:

http://www.esnips.com/doc/414fdd8a-0c93-4169-a3d3-63c2d99ddf38/WP-with-php4

Clearly different: I prefer to stay with php4!

Hugo


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




Re: Bash: pipe once more

2008-07-13 Thread Allan Wind
On 2008-07-13T20:55:42+0200, Stefan Schmidt wrote:
> I want to change the working directory and if there is an error (e.g. 
> the directory doesn't exist) I want that to be logged to a file and 
> printed on stdout. With the above command that doesn't work since the 
> working directory is the same as before execution of the command.

cd does not seem to do its thing when stdout is redirected to a pipe, 
however it does work with a (temporary) file:

cd bad > cd.out 2>&1
cat cd.out
rm cd.out

Another way to go about this is to just do the cd, and write your own 
error message if OLDPWD and PWD are the same.

Finally, you could check for the error conditions before doing the cd:

if [ -d $dir -a -x $dir ];
then
echo cannot cd into $dir
else
cd $dir
fi


/Allan


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



Re: Bash: pipe once more

2008-07-13 Thread Allan Wind
On 2008-07-13T15:21:21-0400, Allan Wind wrote:
> Finally, you could check for the error conditions before doing the cd:
> 
> if [ -d $dir -a -x $dir ];
> then
>   echo cannot cd into $dir
> else
>   cd $dir
> fi

Reverse the logic of course:

if [ -d $dir -a -x $dir ];
then
cd $dir
else
echo cannot cd into $dir
fi


/Allan


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



Re: iw2 vs iw3 performance

2008-07-13 Thread Bob Cox
On Sun, Jul 13, 2008 at 14:20:03 -0500, Hugo Vanwoerkom ([EMAIL PROTECTED]) 
wrote: 

> If you go to this page:
>
> http://shame.tuxfamily.org/repo/?cat=1
>
> and scroll up and down the page, you will notice that in iw3 CPU busy  
> hits over 90%, while in iw2 it does *not*.

I'm sorry Hugo, but I cannot get firefox-bin to go much over 5%,
although Xorg was nearly at 50% while scrolling very quickly up and
down.

[EMAIL PROTECTED]:~$ uname -a
Linux trantor 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686
GNU/Linux

Iceweasel 3.0~rc2-2

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Registered user #445000 with the Linux Counter - http://counter.li.org/


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



Re: netinst cd hangs

2008-07-13 Thread Eugene V. Lyubimkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charles Blair wrote:
>I recently got an HP desktop with a Celeron processor.  I
> downloaded debian-40r3-i386-netinst.iso, burnt it to a cd with
> Microsoft's "cdburn," and booted.
> 
>The debian logo and some introductory messages were displayed, but
> then things froze.  The last few lines were:
> 
> ACPI: Interpreter enabled
> ACPI: using IOAPIC for interrupt routing
> ACPI: PCI Root Bridge [PCI0] (.00)
> ACPI: assume root bridge [\_SP_.PCI0] bus is 0
> 
> The machine did not respond to control-alt-del, esc, or control-C.
> I was only able  to shut it off by turning off the power supply.
> 
> 
Try suppling "pci=noacpi" option to the kernel.

- --
Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIelqlchorMMFUmYwRAvEZAKCUqTQraFzYTz95Ucm7HoM0doyp1ACfcvta
nSufAKmNEhFXwgdfskRzHxU=
=/dJ3
-END PGP SIGNATURE-


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



Call for testing: mantis Debian package

2008-07-13 Thread Patrick Schoenfeld
Hi people,

for several reasons Debian Etch did not include a mantis package, which
was sad for the mantis users out there. This will change with lenny and
if everythings works out well Debian Lenny will ship with mantis 1.1.2.
The mantis developers and I worked hard to make this possible, so there
is really an ambition to make this mantis package a really stable one.
To achieve this goal I would need some broader testing and so I hereby
ask for testing. Everything needs to be tested: From new installations
to upgrades, so everybody who wants, can help with testing.

If you want to help you can get the mantis package from here [1].
Before you install it, you will need to fulfill the depends:

aptitude install apache2 libapache2-mod-php5 libphp-adodb libphp-phpmailer ucf \
php5-mysql mysqlclient dbconfig-common

If you need an extra mysql database (e.g. because you don't have a
running one), then please add mysql-server to the depends.

If you are upgrading, you can obvious skip this skep. But you really
should make a backup of your mantis database or even better: Test this
on a different machine.

After this and after you downloaded the mantis*.deb file, you can
install the package, by just using dpkg -i:

dpkg -i mantis_1.1.2+dfsg-1_all.deb

The debconf part of the package should help you to get the database
setup. After this mantis will be available on

http:///mantis

Please test everything you like and report every trouble you have.

It would be good to receive feedback within the next 14 days, otherwise
its unlikely that fixes can still go into lenny. :(

For upgraders:
Its especially important to see if the upgrade works and if there are
charset problems after upgrade, so please test it with your real data
(and configuration) on a second system or so.

If you have any questions feel free to reply to me off-list.

Thanks for your help in advance!

Best Regards,

Patrick
Debian maintainer of mantis

[1]
http://ftp.debian.org/debian/pool/main/m/mantis/mantis_1.1.2+dfsg-1_all.deb


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



Anything better than gopchop...

2008-07-13 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

... for snipping sections of video from an mpeg2 file?

gopchop seems to be dead upstream, and I can't find any way to
pause, move forward/backwards at sub-1x speeds or frame-by-frame.

TIA
- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh6XMQACgkQS9HxQb37XmeaUQCg7FhTxQqgl4Q/jRckVLwuH60d
0kAAnj5xskEHpYofvhu1SgG7JWFakwiQ
=m+iX
-END PGP SIGNATURE-


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



Re: iw2 vs iw3 performance

2008-07-13 Thread Hugo Vanwoerkom

Bob Cox wrote:
On Sun, Jul 13, 2008 at 14:20:03 -0500, Hugo Vanwoerkom ([EMAIL PROTECTED]) wrote: 


If you go to this page:

http://shame.tuxfamily.org/repo/?cat=1

and scroll up and down the page, you will notice that in iw3 CPU busy  
hits over 90%, while in iw2 it does *not*.


I'm sorry Hugo, but I cannot get firefox-bin to go much over 5%,
although Xorg was nearly at 50% while scrolling very quickly up and
down.



Interesting. It could be the difference in our graphic cards: I am doing 
this with an old one: GeForce4 MX 4000.

Thanks.


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




Re: iw2 vs iw3 performance

2008-07-13 Thread Bob Cox
On Sun, Jul 13, 2008 at 15:07:39 -0500, Hugo Vanwoerkom ([EMAIL PROTECTED]) 
wrote: 

> Bob Cox wrote:
>> On Sun, Jul 13, 2008 at 14:20:03 -0500, Hugo Vanwoerkom 
>> ([EMAIL PROTECTED]) wrote: 
>>
>>> If you go to this page:
>>>
>>> http://shame.tuxfamily.org/repo/?cat=1
>>>
>>> and scroll up and down the page, you will notice that in iw3 CPU busy 
>>>  hits over 90%, while in iw2 it does *not*.
>>
>> I'm sorry Hugo, but I cannot get firefox-bin to go much over 5%,
>> although Xorg was nearly at 50% while scrolling very quickly up and
>> down.
>>
>
> Interesting. It could be the difference in our graphic cards: I am doing  
> this with an old one: GeForce4 MX 4000.
> Thanks.

Mine isn't exactly new ;-)  

It's a GeForce FX5200 128MB and I'm using the nvidia rather than nv
driver.

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Registered user #445000 with the Linux Counter - http://counter.li.org/


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



Re: Bash: trap vs. tee

2008-07-13 Thread Sven Joachim
On 2008-07-13 18:44 +0200, Stefan Schmidt wrote:

>> In bash you can change this behavior with "set -o pipefail".
>
> Thanks a lot, that works like a treat!

One caveat, however: this option was introduced in bash 3, so it will
not work with older versions.  And of course you need to make sure that
your script starts with #!/bin/bash and not #!/bin/sh.

To the shell gurus on this list: what can be done in other shells that
do not support this nice feature?  Is it necessary to refrain from using
the pipe at all if the exit code of the first command in it matters?

Sven


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



Re: Anything better than gopchop...

2008-07-13 Thread Bob Cox
On Sun, Jul 13, 2008 at 14:51:32 -0500, Ron Johnson ([EMAIL PROTECTED]) wrote: 

> ... for snipping sections of video from an mpeg2 file?
> 
> gopchop seems to be dead upstream, and I can't find any way to
> pause, move forward/backwards at sub-1x speeds or frame-by-frame.

Hi Ron

You may find avidemux worth looking at.   It works very well for me.

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Registered user #445000 with the Linux Counter - http://counter.li.org/


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



Die Sensation im Vertrieb - Das ist es, was Sie gesucht haben - Das Produkt des Jahres 2008:

2008-07-13 Thread Vertriebssensation 2008
Sofern Sie unsere wichtige Email nicht lesen können, senden Sie uns bitte
eine Mail mit der Betreffzeile "Interesse" und Angabe Ihrer vollstaendigen
Kontaktdaten an die Absendermailadresse. Ihre bei uns hinterlegte Email 
lautet: debian-user@lists.debian.org


Re: IMAP is teh r0x0rz! [was: Re: getting copies of own posted messages; was: Re: ??: Stunned by aptitude.]

2008-07-13 Thread Andrew Sackville-West
On Thu, Jul 10, 2008 at 08:31:06PM -0500, Ron Johnson wrote:
> On 07/10/08 12:38, Andrew Sackville-West wrote:
> > On Wed, Jul 09, 2008 at 01:38:35PM -0500, Ron Johnson wrote:
> >> On 07/09/08 13:26, Andrew Sackville-West wrote:
> >> [snip]
> >>> try a different MUA?
> >> This is why IMAP should be the standard mail store, not mboxes in
> >> "proprietary" locations.
> > 
> > second that. THe convenience is incredible. Case in point:
> > 
> > last month the family and I took a vacation. For several days we were
> > going to be at separate locations, so the kids would be without my
> > laptop (which carries separate accounts for each of them, I am the
> > best dad in the world!).
> 
> Well, no, because I am.  Anyway...

;-)

> 
> Creating individual accounts for everyone on a computer *should* be
> nothing to crow about.  Not doing it should be a reason the Geek
> Police takes your computer away from you.

didn't mean to crow about that... I was attempting to dissuade the
potential raft of "OMG, I hope you kids have separate accounts..."
responses. Oh well.

A


signature.asc
Description: Digital signature


Re: Bash: pipe once more

2008-07-13 Thread Stefan Schmidt
> cd does not seem to do its thing when stdout is redirected to a pipe, 

Is this behaviour a bug or a feature?

Stefan


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



Re: IMAP is teh r0x0rz! [was: Re: getting copies of own posted messages; was: Re: ??: Stunned by aptitude.]

2008-07-13 Thread Steve Lamb
My apologies to Ron, I slapped reply and not reply-to-all and trim.  :(

Ron Johnson wrote:
> That's qmail's fault, not that of Maildir.

No, that is a design problem in Maildir.  Granted I wouldn't want my MTAs
using a flat file for all its traffic, it makes no sense there for how short
lived messages should be.  But it exposes the severe flaw that large
directories are next to impossible to deal with easily.

Right now my trash is 2000 messages at 14Mb.  50,000 messages would be
~350Mb.  Certainly doesn't take me 20 minutes to begin to work with a 350Mb
flat file.  Hell, at work I've opened larger flat files over the network in
shorter time.




signature.asc
Description: PGP signature


signature.asc
Description: OpenPGP digital signature


howto find out why dist-upgrade wants to remove a package?

2008-07-13 Thread Hugo Vanwoerkom

Hi,

Running Sid, and I don't want apt to upgrade apache or php4.

So I pinned them in /etc/apt/preferences:

Explanation: Keep apache + php4 around for WP's lists...
Package: apache
Pin: version 1.3.34
Pin-Priority: 1001

Package: apache-common
Pin: version 1.3.34
Pin-Priority: 1001

Package: php4-common
Pin: version 4.4.4
Pin-Priority: 1001

Package: php4-mysql
Pin: version 4.4.4
Pin-Priority: 1001

Package: libapache-mod-php4
Pin: version 4.4.4
Pin-Priority: 1001

But it only partly works: when I do apt-get distupgrade I get:

...
The following packages will be REMOVED:
  fftw3 gpm libgsl0 libhd13 libldap2 librpm4 libstlport4.6c2 php4-mysql
...

So what I pinned to 1001 he wants to remove!

How do I find out why he wants to remove a package?

Thanks.

Hugo


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




Re: problem with sound playing

2008-07-13 Thread Serena Cantor
Thanks, but which package contains alsaconfig?


--- On Sun, 7/13/08, Andrei Popescu <[EMAIL PROTECTED]> wrote:

> From: Andrei Popescu <[EMAIL PROTECTED]>
> Subject: Re: problem with sound playing
> To: debian-user@lists.debian.org
> Date: Sunday, July 13, 2008, 7:10 AM
> On Sat,12.Jul.08, 19:18:08, Serena Cantor wrote:
> > I use etch and SB16
> > I add noisapnp to kernel options
> > I config sound with 3 commands:
> > modprobe sound
> > modprobe uart401
> > modprobe sb io=0x220 irq=5 dma=1 dma16=5
> 
> >
> ==
> > [AO_ALSA] alsa-lib:
> confmisc.c:670:(snd_func_card_driver) cannot find card
> '0'
>  
> Seems to me like you are using oss drivers, but mplayer
> wants to play 
> using alsa. Try running alsaconfig without doing those
> hacks. Do you get 
> sound?
> 
> Regards,
> Andrei
> -- 
> If you can't explain it simply, you don't
> understand it well enough.
> (Albert Einstein)


  


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



Re: howto find out why dist-upgrade wants to remove a package?

2008-07-13 Thread Andrei Popescu
On Sun,13.Jul.08, 16:27:53, Hugo Vanwoerkom wrote:

> How do I find out why he wants to remove a package?

Try asking aptitude:

$ aptitude why 

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


signature.asc
Description: Digital signature


Re: problem with sound playing

2008-07-13 Thread Andrei Popescu
[Fixed top-posting]

On Sun,13.Jul.08, 14:30:51, Serena Cantor wrote:
> 
> --- On Sun, 7/13/08, Andrei Popescu <[EMAIL PROTECTED]> wrote:
 
> > Seems to me like you are using oss drivers, but mplayer
> > wants to play 
> > using alsa. Try running alsaconfig without doing those
> > hacks. Do you get 
> > sound?

> Thanks, but which package contains alsaconfig?

alsa-utils

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


signature.asc
Description: Digital signature


Re: [Mostly Solved] Re: Blurry fonts in printed invoices

2008-07-13 Thread Celejar
On Sun, 13 Jul 2008 19:09:09 +0200
Florian Kulzer <[EMAIL PROTECTED]> wrote:

> On Sun, Jul 13, 2008 at 09:30:05 -0400, Celejar wrote:

...


> > I am still baffled, though, by several
> > things:
> > 
> > a)  Should printing really be so crippled on Debian, with its emphasis
> > on freedom, if the MS fonts, or at least the liberation drop-ins,
> > aren't installed?  The only package which depends on liberation is the
> > openoffice meta-package, which I don't have installed, although I do
> > have writer.  Should I file a bug?  Against what?  And am I really the
> > first one to be bitten by this?
> 
> You seem to be very selective when installing packages. There is nothing
> wrong with that, of course, but I would suspect that many users of
> "desktop" (as opposed to "server") machines just go for the metapackages
> and they are maybe also more liberal in installing "recommends" and
> "suggests". That could explain why the majority of users is less likely
> to run into this kind of problem.

I do indeed disable automatic installation of recommends, and I
periodically mark packages as automatically installed, and aggressively
remove things.  I'm not a script guru or linux expert, and much of my
learning about system maintenance is through playing with things like
package selection and kernel configuration options, to understand what
things are, why they are or are not necessary, and what happens if they
are removed or disabled.  Sometimes (often) I find out the hard way ...

> I now found a related bug (#489165) filed as "wishlist" against
> fontconfig-config. I think it would be good if you added a brief
> description of your problem to that bug report to give it more weight.

Done.

...

> > c)  Why is my pdffonts output so much uglier and less informative than
> > yours?
> 
> I have the impression that the "nice" names show up for fonts that are
> widely used and whose names are accepted as standard. For other PDFs I
> see font names that are similar to your "ulgy" ones, e.g. LNFWNR+CMR10
> (a "Computer Modern" font of Latex), CESJKL+FreeSans, or something like
> FCGNJC+AdvP4C4E74. If you want to run pdffonts yourself on the PDF that
> I printed from www.debian.org then you can download it here:
> http://users.icfo.es/Florian.Kulzer/celejar/www-debian-org.pdf

Running pdffonts on your PDF gives me the same list that you gave in
your previous message.

> However, I don't recall ever seeing these "DEDVIP+f-0-0" kinds of names
> before. Maybe you are still missing some other relatively important
> font-related package. Here is list of the ones that I have installed:
> http://users.icfo.es/Florian.Kulzer/celejar/font-related-packages.txt

You do have many installed that I don't have.  If I get a chance,
perhaps I'll try and see if installing everything you have accomplishes
anything, and if so, I suppose the next step will be a bisection, to
see which package(s) is / are the crucial one(s).
In the meantime, here's my list (generated from the same command in your
file):

http://lizzie.freehostia.com/font-related-packages.txt

>   Florian   |

Thanks,
Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: Anything better than gopchop...

2008-07-13 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/13/08 15:25, Bob Cox wrote:
> On Sun, Jul 13, 2008 at 14:51:32 -0500, Ron Johnson ([EMAIL PROTECTED]) 
> wrote: 
> 
>> ... for snipping sections of video from an mpeg2 file?
>>
>> gopchop seems to be dead upstream, and I can't find any way to
>> pause, move forward/backwards at sub-1x speeds or frame-by-frame.
> 
> Hi Ron
> 
> You may find avidemux worth looking at.   It works very well for me.

I dismissed it out of hand, because it is *avi*demux.  Now that I do
an "apt-cache show", I see that it might do what I want.

Thanks.

- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh6egwACgkQS9HxQb37Xmc2TgCdGw1cEIWyplq0XdiOq79iyt5h
CDMAnRO2Bw3TGjVvfUTYbdhMj66A3QjR
=OqE8
-END PGP SIGNATURE-


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



Re: Anything better than gopchop...

2008-07-13 Thread j t
On Sun, Jul 13, 2008 at 9:25 PM, Bob Cox <[EMAIL PROTECTED]> wrote:
> On Sun, Jul 13, 2008 at 14:51:32 -0500, Ron Johnson ([EMAIL PROTECTED]) wrote:
>
>> ... for snipping sections of video from an mpeg2 file?
>>
>> gopchop seems to be dead upstream, and I can't find any way to
>> pause, move forward/backwards at sub-1x speeds or frame-by-frame.
>

I use ProjectX (it's the best thing I've found for automatically
resynching the out-of-synch video/audio streams that come out of my
adaptec avc-2210 usb mpeg2 encoder). You will, however, need to
install a java runtime to make it work...

HTH, Jaime


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



Re: netinst cd hangs

2008-07-13 Thread Eugene V. Lyubimkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charles Blair wrote:
>   
>>> ACPI: Interpreter enabled
>>> ACPI: using IOAPIC for interrupt routing
>>> ACPI: PCI Root Bridge [PCI0] (.00)
>>> ACPI: assume root bridge [\_SP_.PCI0] bus is 0
>>>
>>> The machine did not respond to control-alt-del, esc, or control-C.
>>> I was only able  to shut it off by turning off the power supply.
>>>
>>>
>> Try suppling "pci=noacpi" option to the kernel.
>>
>  
>Thanks.  I'm not sure how to do that.  
> 
Please CC [EMAIL PROTECTED] in your answers, not to me, at first.

Try to find 'advanced' or 'custom' or similar entry in the first Debian install 
menu.

- --
Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIenoWchorMMFUmYwRAqEMAJ9dV2FQfQIIKV+Iio873HQj43tpnwCfZJPT
2P8tLr8776+BPFhjzIQnHb4=
=wao4
-END PGP SIGNATURE-


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



run-init: nuking initramfs contents: Directory not empty

2008-07-13 Thread Florent Carpentier
Hello,

I have observed the following symptoms when booting a vanilla 2.6.25.10 kernel 
with an initramfs (created with `mkinitramfs -o /boot/initrd.img-2.6.25.10 
2.6.25.10') on an etch (on a PC).

...
mount: Mounting /dev on /root/dev failed: Invalid argument
...
run-init: nuking initramfs contents: Directory not empty

The last error causes the end of the boot process with a kernel panic.

I found several messages on the internet (especially on Ubuntu forums) 
describing the same symptoms.

I ended up adding traces to run-init from the klibc 1.4.34 package. This showed 
there was a problem when trying to remove /dev/.static/dev/.

It appears that scripts/init-bottom/udev executes
  mount -n -o bind /root/dev /dev/.static/dev
This is most likely the immediate cause for the run-init failure to remove this 
directory, which in turn causes the kernel panic.

I do not know if this is actually related to the version of the kernel. I do 
not know the fundamental issue. As a consequence,  the following solution is 
probably more of a hack than a real fix. However, some people might find it 
useful.

You can try to prevent scripts/init-bottom/udev from executing the problematic 
mount command by changing a configuration option the following way:

# Unpack the initramfs
cd
mkdir initrd-2.6.25.10
cd initrd-2.6.25.10
gunzip -c /boot/initrd.img-2.6.25.10 | cpio -idv

# Add the option
echo 'no_static_dev=1' >> etc/udev/udev.conf

# Create the new initramfs archive and install it
find | cpio --quiet --dereference -o -H newc | gzip -9 \
  > ../initrd.img-2.6.25.10
su
cp -p /boot/initrd.img-2.6.25.10 /boot/initrd.img-2.6.25.10.orig
install -oroot -groot -m644 ../initrd.img-2.6.25.10 /boot/

This allowed the OS to boot and work flawlessly. However, I obviously cannot 
guarantee this will work in all set-ups.

FC

Note: I did not subscribe to the debian-user list.


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr


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



Sound Problems (Sound is Often Gone)

2008-07-13 Thread Hal Vaughan
I'm using Kubuntu, but not the latest version, the one before it (Gutsy, 
I think) and KDE 3.5.8 and have been using OSS.

Many times I start a program and I don't get sound output.  Most of the 
time I'm using either Amarok, Flash (from Firefox or Konqueror), 
Kaffeine, and sometimes KMail (some message filters trigger sounds for 
me).  I'm not using any big games that take up the full screen, but I 
have a few like PySol or one or two that work under Wine.

I may start one program, like Amarok, and play music in it, then stop 
that music and run a game or try to watch something in Flash and may 
not get sound -- or if I've been playing a game, then try to run 
Amarok, I may have had sound for the game and not Amarok.

It used to be that I could have Amarok playing music in the background 
and play a game and I'd get the sounds from both, but not anymore.  At 
most one program can play sounds at a time (as best I can tell, I 
haven't tried every combination of programs).

Usually if I pull up the KDE control center and change from OSS Sound to 
Autodetect, hit "Apply" to restart, then switch BACK to OSS, and 
hit "Apply" again, I can get sound.  Even with this, though, there's a 
trick to it.  If I've played a game and had sounds with it, then I 
quite the program and start a song in Amarok (which was in the 
background all the time, just not playing) I won't get sound.  I have 
to quite Amarok, then do the KDE Control Center thing, THEN restart 
Amarok and it'll play.

I don't know the sound system well, but it seems to me that there's a 
problem with channels or resources not being freed up after they should 
be released or some multiplexing that is not happening.

I'm using a Soundblaster and nothing exotic.  This worked fine until I 
upgraded from Feisty Fawn to Gusty Gibbon.  I just haven't had time to 
worry about it until now, when I was playing a song in Amarok, hit 
the "Next Song" button and got a message "Audio Output Unavailable"  
I'm not sure about the rest of the message because I can't make it come 
up every time and it goes away quickly enough I haven't copied the 
whole thing, but it's something like "Device unavailable."  This has 
made it frustrating enough I just need to get it fixed.


I know that puts it onto something Kubuntu did wrong, but overall, I'd 
think that I should be able to use apt-get or dpkg-reconfigure to 
either remove and reinstall the sound system or to reconfigure it, but 
I'm not sure of all the packages that might be involved or if there's 
an easier solution.

Ideas, anyone?

Thanks!


Hal


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



Maildir vs mbox again (was: IMAP is teh r0x0rz!)

2008-07-13 Thread Jochen Schulz
Steve Lamb:
> 
> Right now my trash is 2000 messages at 14Mb.  50,000 messages would be
> ~350Mb.  Certainly doesn't take me 20 minutes to begin to work with a 350Mb
> flat file.  Hell, at work I've opened larger flat files over the network in
> shorter time.

I don't see a problem with several thousand files in one directory:

# echo 3 > /proc/sys/vm/drop_caches

$ time ls -1 ~/Maildir/.debian.user/cur | wc -l
10997

real0m2.529s
user0m0.284s
sys 0m0.332s

$ du -hs ~/Maildir/.debian.user/cur
87M .

The first line flushes the filesystem cache. Subsequent runs take about
0.3 seconds. Filesystem is XFS on a 2.6.18 kernel from etch.  It
shouldn't be significantly worse with ext3 (at least when it is created
with -O dir_index).

J.
-- 
Atrocities committed in Rwanda pervade my mind when I am discussing
mundanities with acquaintances.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Bash: pipe once more

2008-07-13 Thread Cameron Hutchison
"Stefan Schmidt" <[EMAIL PROTECTED]> writes:

>Hello,

>if I pipe the output of a cd command the working directory doesn't change.

That's because all elements of a pipeline except the last are run in
different processes to the main shell that starts the pipeline. As such,
the cd command is running in a subshell which exits when cd exits. This
has no effect on your main shell, which will keep the original working
directory.


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



Re: Bash: pipe once more

2008-07-13 Thread Stefan Schmidt
> >if I pipe the output of a cd command the working directory doesn't
> change.
> 
> That's because all elements of a pipeline except the last are run in
> different processes to the main shell that starts the pipeline. As such,
> the cd command is running in a subshell which exits when cd exits. This
> has no effect on your main shell, which will keep the original working
> directory.

Is there any way to change this behaviour?

Stefan


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



Re: Tool to show maximal repeating patterns / structure in (text?) data

2008-07-13 Thread Sam Kuper
You might also want to try something like ANTLR or LEX/YACC (FLEX/BISON if
using FLOSS). Might be overkill, though.

Sam


Re: Sound Problems (Sound is Often Gone)

2008-07-13 Thread Hal Vaughan
On Sunday 13 July 2008, you wrote:
> Hal Vaughan wrote:
> > I'm using Kubuntu, but not the latest version, the one before it
> > (Gutsy, I think) and KDE 3.5.8 and have been using OSS.
> >
> > Many times I start a program and I don't get sound output.  Most of
> > the time I'm using either Amarok, Flash (from Firefox or
> > Konqueror), Kaffeine, and sometimes KMail (some message filters
> > trigger sounds for me).  I'm not using any big games that take up
> > the full screen, but I have a few like PySol or one or two that
> > work under Wine.
> >
> > I may start one program, like Amarok, and play music in it, then
> > stop that music and run a game or try to watch something in Flash
> > and may not get sound -- or if I've been playing a game, then try
> > to run Amarok, I may have had sound for the game and not Amarok.
> >
> > It used to be that I could have Amarok playing music in the
> > background and play a game and I'd get the sounds from both, but
> > not anymore.  At most one program can play sounds at a time (as
> > best I can tell, I haven't tried every combination of programs).
> >
> > Usually if I pull up the KDE control center and change from OSS
> > Sound to Autodetect, hit "Apply" to restart, then switch BACK to
> > OSS, and hit "Apply" again, I can get sound.  Even with this,
> > though, there's a trick to it.  If I've played a game and had
> > sounds with it, then I quite the program and start a song in Amarok
> > (which was in the background all the time, just not playing) I
> > won't get sound.  I have to quite Amarok, then do the KDE Control
> > Center thing, THEN restart Amarok and it'll play.
> >
> > I don't know the sound system well, but it seems to me that there's
> > a problem with channels or resources not being freed up after they
> > should be released or some multiplexing that is not happening.
> >
> > I'm using a Soundblaster and nothing exotic.  This worked fine
> > until I upgraded from Feisty Fawn to Gusty Gibbon.  I just haven't
> > had time to worry about it until now, when I was playing a song in
> > Amarok, hit the "Next Song" button and got a message "Audio Output
> > Unavailable" I'm not sure about the rest of the message because I
> > can't make it come up every time and it goes away quickly enough I
> > haven't copied the whole thing, but it's something like "Device
> > unavailable."  This has made it frustrating enough I just need to
> > get it fixed.
> >
> >
> > I know that puts it onto something Kubuntu did wrong, but overall,
> > I'd think that I should be able to use apt-get or dpkg-reconfigure
> > to either remove and reinstall the sound system or to reconfigure
> > it, but I'm not sure of all the packages that might be involved or
> > if there's an easier solution.
> >
> > Ideas, anyone?
> >
> > Thanks!
> >
> >
> > Hal
>
> Have you tried changing the Auto-suspend time?
>
> Control enter -> Sound and Multimedia -> Sound System -> General ->
> Auto-suspend
>
> I find that the default time is usually much too long for me.  The
> effect of this is that, sometimes, you can change from one sound
> source to another and find that the new source doesn't work.  But if
> you wait just long enough, the new sound source "magically" works.

It doesn't seem to make any difference.

Part of the problem isn't only programs working one after the other, but 
also programs not sharing sound output, which I don't think the timeout 
would effect.


Hal


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



Re: Bash: pipe once more

2008-07-13 Thread Cameron Hutchison
"Stefan Schmidt" <[EMAIL PROTECTED]> writes:

>> >if I pipe the output of a cd command the working directory doesn't
>> change.
>> 
>> That's because all elements of a pipeline except the last are run in
>> different processes to the main shell that starts the pipeline. As such,
>> the cd command is running in a subshell which exits when cd exits. This
>> has no effect on your main shell, which will keep the original working
>> directory.

>Is there any way to change this behaviour?

Actually, my explanation is wrong. I was confusing it with the behaviour
of zsh.

According to the bash man page:
  Each  command in a pipeline is executed as a separate process (i.e.,
  in a subshell).

This means you cannot run cd in a pipeline. I don't think you can change
this behaviour.


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



  1   2   >