Re: What's your tools for C++ dev?

2008-01-10 Thread Misko
On Fri, Jan 11, 2008 at 03:45:45AM +0100, s. keeling wrote:
> >  You can find the documentation for gdb in gdb-doc, and for
> >  libc in glibc-doc-reference.  gcc and g++ are documented in gcc-doc.
> 
>  which (just to complete your point for the archives) you can get
> at by adding "non-free" to your /etc/apt/sources.list (this is etch):

That will not help me since DVDs does not have non-free part
My /etc/apt/sources.list has:

deb cdrom:[Etch DVD 3]/ etch contrib main
deb cdrom:[Etch DVD 2]/ etch contrib main
deb cdrom:[Etch DVD 1]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 
20070407-11:40]/ etch contrib main
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib

And because I only have 33k modem internet connection I do
not plan to add any online repository to that list.
I would be willing to download single packages that I am
interested in only if I could find URL to pass it to wget.

> >  Much of the GNU documentation is non-free, so it can't be distributed
> >  with Debian.
> "non-free" in the case of documentation is licencing crap.  Legal
> mumbo-jumbo which has nothing to do with stepping on authors' rights.

I have some difficulties to understand that GNU is non-free.
As far as I remember whole GNU movement started because one guy
had some issues with non-free concept. Has he recently changed
his mind and joined the other camp? :)

More seriously: I really would like to know what 'exactly' is
non-free with some GNU documentations, or in other words
what you can not do with it that you can do with documentation
included in debian?


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



Re: emacs and svn

2008-01-10 Thread Misko
On Thu, Jan 10, 2008 at 09:38:38AM -0800, David Brodbeck wrote:
> >Does emacs support svn version control as it does with cvs? And
> >how do I enable that feature.
> 
> Emacs 22 automatically detects that it's in an svn working copy and  
> does the right thing when I use the version control commands.  I've  
> never gotten Emacs 21 to work with svn.

Thanks for info.
I guess I will just have to wait a couple of years until new version
of Debian is released since my DVD set only has emacs 21 version.


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



Re: Perl realted..?

2008-01-10 Thread s. keeling
ISHWAR RATTAN <[EMAIL PROTECTED]>:
>  I am coming back to perl after a long time.
> 
>  The sample code these days also uses variable attribute my as:
> 
> my $inst = Extutils::Installed->new();
> my @modules = $inst->modules();
> 
>  Can any demistify 'my' for me??

  -
   #!/usr/bin/perl
   # this just re-implements tail -1
   #
   # usage:
   #   /this/file < /some/text/file.txt
   #

   my $last;

   while( <> ) {
 $last = $_;
   }
   
   print $last;
  -

Now, try with the "my $last;" *inside* the while().  That last print
line won't have a clue what $last is.


-- 
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: Etch: emacs or emac21?

2008-01-10 Thread s. keeling
Rodolfo Medina <[EMAIL PROTECTED]>:
> 
>  In Sarge there was only the package `emacs21'.  Now in Etch we have also
>  `emacs', but the difference between the two is not clear to me.  What should 
> I
>  install in order to use the Emacs editor, `emacs' or `emacs21'?

I don't have "emacs" (etch).  I do have:

(0) heretic /home/keeling/procmail_ pkgs emacs | egrep '^i'
i   emacs21 - The GNU Emacs editor
i A emacs21-bin-common  - The GNU Emacs editor's shared, architectur
i A emacs21-common  - The GNU Emacs editor's shared, architectur
i A emacsen-common  - Common facilities for all emacsen

# alias pkgs='aptitude search'

FYI, "emacs" is a metapackage:

   Provides: editor, emacsen, info-browser, mail-reader, news-reader

and installing "emacs" may drag in stuff you may not have intended to get.


-- 
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: What's your tools for C++ dev?

2008-01-10 Thread s. keeling
Daniel Burrows <[EMAIL PROTECTED]>:
>  On Thu, Jan 10, 2008 at 04:17:03AM +0100, Misko <[EMAIL PROTECTED]> was 
> heard to say:
> > On Tue, Jan 08, 2008 at 03:59:59PM -0200, Felix Cuello wrote:
> > > *manpages-dev - Manual pages about using GNU/Linux for development
> > > manpages-posix-dev - Manual pages about using a POSIX system for 
> > > development
> > > stl-manual - C++-STL documentation in HTML
> > > libstdc++6-doc - The GNU Standard C++ Library v3 (documentation files)*
> > 
> > Why is there no documetation package for gdb, gcc, g++ on released
> > etch DVDs? I find it too hard to use gdb without some kind of
> > instructions. Same is when I want to use some advanced emacs
> > feature - there is no info manual for it.
> 
>Much of the GNU documentation is non-free, so it can't be distributed
>  with Debian.  You can find the documentation for gdb in gdb-doc, and for
>  libc in glibc-doc-reference.  gcc and g++ are documented in gcc-doc.

... which (just to complete your point for the archives) you can get
at by adding "non-free" to your /etc/apt/sources.list (this is etch):

(0) heretic /home/keeling_ egrep -v '^#|^$' /etc/apt/sources.list
deb http://debian.mirror.rafal.ca/debian/ etch main non-free contrib
deb-src http://debian.mirror.rafal.ca/debian/ etch main non-free contrib
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
deb http://www.debian-multimedia.org etch main

"non-free" in the case of documentation is licencing crap.  Legal
mumbo-jumbo which has nothing to do with stepping on authors' rights.


-- 
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]



OT: USB to Ethernet adapter in Debian, but in reverse configuration?

2008-01-10 Thread Nick Lidakis
Using Google, I have found multiple USB to Ethernet adapters that work 
well with the Linux kernel. From what I understand the devices are 
designed for computers without network cards.


Can these adapters be used in reverse with Debian? Can I send FLAC files 
over the ethernet cable that has the USB to ethernet adapter at the USB 
DAC? I have a stereo USB DAC in the living room and the desktop in the 
bedroom. So it would be USB DAC to USB-Ethernet adapter to 50 foot 
ethernet cable to network switch.


The run would be a little over 40 feet. If I am not mistaken, that the 
maximum run of a USB cable is fifteen feet before you have to use a 
repeater.



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




Re: Xorg "random" crashes on lenny

2008-01-10 Thread gusti

Dal wrote:

Hugo Vanwoerkom wrote:

Dal wrote:
Hi, I've been having a problem with crashing Xorg for a while. I 
really don't have no idea why this happend. I tried to search this 
mailing list, but I've not found anything.


So here's the problem, actually I already mentioned it. It just 
crashes.






What's the history of this problem:
Where does this particular installation come from?
Has it always happened?
I installed Etch and than upgraded to Lenny and Unstable together as I 
mentioned in the first email. It happens with recent version of xorg 
in lenny. I've tried to install unstable Xorg and it seems to be ok 
now, but it's soon to tell for sure.


Hugo





First, (and I'm sorry for say that) I think that if you want to avoid 
unnecessary problems you must stay in stable versions.
But if you refuse to back to a stable version I must ask which computer 
do you have. Xorg is hardly connected with your hardware, for example I 
know about some problems with the driver of the pads in the NoteBooks.
Second, I don't know which repository are you using,  but I recommend 
to you, to use only one. Remove all the packages from Xorg and the 
packages related to the Xorg package. And finally install every think 
again. Sorry, but I think that if you want to work with a unstable 
version (I don't know why?)  at least you must be sure that you are 
using only one repository. Xorg is a very complex and sensible project.


After all this, I think that will be less difficult to help you.

Regards,
 Gustavo Halperin


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




Re: Barcode scanner via USB

2008-01-10 Thread steve

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Brodbeck wrote:
|
| On Jan 10, 2008, at 4:27 PM, Douglas A. Tutty wrote:
|> When I worked at Radio Shack in 1996 (in Canada), they were just
|> switching their POS from a dos (on a Tandy 386) with terminals to a Unix
|> (SCO) system with the same serial terminal.  For barcode, they had a
|> device that went between the keyboard and the terminal.  Apparently,
|> that way there was no software difference between manually typing in the
|> barcode number and scanning it.
|
| This is called a "keyboard wedge" in the industry.  They're extremely
| common but they're slowly being replaced by USB devices as PS/2 keyboard
| ports become less common.  A lot of mag stripe readers also work this way.
|
|
thanks for the input guys, talking off list to john as some of this
doesnt pertain to debian.



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

iD8DBQFHhsNZ1L48K811Km0RAoD/AKCC1bVLj4Kj/X3CRTa5hoLLlRHeZgCeMmAT
gGaKkIEg3uGXPgM+Oc1y7Qw=
=SkFp
-END PGP SIGNATURE-


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




Re: Barcode scanner via USB

2008-01-10 Thread David Brodbeck


On Jan 10, 2008, at 4:27 PM, Douglas A. Tutty wrote:

When I worked at Radio Shack in 1996 (in Canada), they were just
switching their POS from a dos (on a Tandy 386) with terminals to a  
Unix

(SCO) system with the same serial terminal.  For barcode, they had a
device that went between the keyboard and the terminal.  Apparently,
that way there was no software difference between manually typing in  
the

barcode number and scanning it.


This is called a "keyboard wedge" in the industry.  They're extremely  
common but they're slowly being replaced by USB devices as PS/2  
keyboard ports become less common.  A lot of mag stripe readers also  
work this way.



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




Php & GD problem getting "captchas" to work

2008-01-10 Thread John W Foster
I am trying to get "captchas" to working on my Mediawiki installation,
to use in conjunction with a guestbook. The author of the Mediawiki
extension, which is written in php, says that the reason that the
'capchas' do not work is a problem with "certain distros" installation
of php and certain features of GD. He does not elaborate. I have a out
of the box installation of mediawiki, php5, and everything I can find
that has 'gd' as part of it, all installed from testing and up to date.
The entire system seems to be working fine with no tweaking, except this
particular feature. Anyone here who knows php & gd or anyone with any
experience with getting this to work. BTW: When this was installed from
etch it all worked OK including the 'capchas' when I decided to set up a
newer system on testing it does not.
Thanks!!
Frosty


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



Re: Barcode scanner via USB

2008-01-10 Thread Douglas A. Tutty
On Thu, Jan 10, 2008 at 07:02:53PM -0500, steve wrote:

> you know ive been looking for something that I could use to input upc
> data to say kbarcode or something like that.  Have been trying to
> convince the company I work for to spring for handheld printers/scanner
> solution to no avail. (retail environment) not to hijack this thread
> but, any of you seen any open source solutions for say scanning a upc on
> a product, inputting a price, then printing a tag?
> 

When I worked at Radio Shack in 1996 (in Canada), they were just
switching their POS from a dos (on a Tandy 386) with terminals to a Unix
(SCO) system with the same serial terminal.  For barcode, they had a
device that went between the keyboard and the terminal.  Apparently,
that way there was no software difference between manually typing in the
barcode number and scanning it.  We just had to ensure that the cursor
was on the correct fiel; putting the UPC in the address field didn't
help; putting it in the VISA number field was a royal pain until they
put in valid number checking.

As for printing it out, sounds like a simple script issue.

Doug.


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



aptitute became non-working after installation of manual-compiled .deb Linux kernel

2008-01-10 Thread Ebanutiy Ebanatik Ebanatovich
I compiled Linux kernel package using make-kpkg --initrd
--revision=bitobor.1.1 kernel_image.
Then I succesfully installed it
(/usr/src/linux-image-2.6.23_bitobor.1.1_amd64.deb)
After that, synaptic & aptitude safe-upgrade became non-working:

E: I wasn't able to locate file for the linux-image-2.6.23 package.
This might mean you need to manually fix this package.

I tried to add the below to my sources.list but it wasn't helped so
I'm still unable to install any package. Could you help please?

deb file:/usr/src/ unstable main contrib non-free


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



Re: Barcode scanner via USB

2008-01-10 Thread steve

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


|>
|>
|
| It's a distinct device - you should be able to read directly from that
| /dev that's created when you plug it in. When in X it typically works
| like a second keyboard, inserting the text wherever a keyboard's entry
| would end up.
|
| Andy
|
| --
| Andrew J Perrin - andrew_perrin (at) unc.edu -
http://perrin.socsci.unc.edu
| Associate Professor of Sociology; Book Review Editor, _Social Forces_
| University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA
|
|
|
|
|
you know ive been looking for something that I could use to input upc
data to say kbarcode or something like that.  Have been trying to
convince the company I work for to spring for handheld printers/scanner
solution to no avail. (retail environment) not to hijack this thread
but, any of you seen any open source solutions for say scanning a upc on
a product, inputting a price, then printing a tag?



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

iD8DBQFHhrIt1L48K811Km0RAgaEAJ4sr/3g3pprVx/0qPutzA9f4eC+3wCeP0Ov
iRgkMDZROZkAwwfrzht0Adw=
=yJ0o
-END PGP SIGNATURE-


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




Re: Glibc? (SiS671/ SiS672 driver on Etch)

2008-01-10 Thread Kum Gabor
On Thursday 10 January 2008 22:04, Ron Johnson wrote:
> On 01/10/08 12:56, Kum Gabor wrote:
> > Hello All!
> >
> > I tried to set up my SiS672 video on my Fujitsu-Siemens Esprimo v5515
> > notebook. I found a driver for Ubuntu, but I have the following problem:
> >
> > dlopen: /lib/tls/i686/cmov/libc.so.6: version 'GLIBC_2.4' not found
> > (required by /usr/lib/xorg/modules/drivers/sis_drv.so)
> >
> > (Libc version on Etch is 2.3.6.)
> > How can I use this driver? There is no source available :(
>
> Upgrade to Lenny?

I need stable system. And in Lenny has no 2.4 Libc too. Or is newer version 
good too, what do you think?
Or upgrade only Libc? Is it possible?

-- 
Kum Gabor
Tel.(RU): +7 921 870 2505
Tel.(HU): +36 20 447 4401
Mail: [EMAIL PROTECTED]
Web: www.kumgabor.hu
ICQ: 312292075


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



Re: function of xorg.conf in sid?

2008-01-10 Thread Paul Scott

Kelly Clowers wrote:

On Jan 10, 2008 11:20 AM, Paul Scott <[EMAIL PROTECTED]> wrote:
  

I recently posted about not being able to get full resolution of my
Portege 4010 with dpkg-reconfigure.  I found an example of xorg.conf
sections which solved my resolution problem but:!!!

I still don't know why 'dpkg-reconfigure -p
xserver-org' gives me no opportunity to change any video parameters.  I
saw an Ubuntu post suggesting that xorg.conf wasn't completely necessary
and indeed I was able to run my system at default resolution without it.



Many answers can be found here:
http://gravityboy.livejournal.com/40620.html
  

That's fantastic!!

Is that what I was using in my sid install a couple of days ago?

Will there be a Debian solution eventually to allow manual intervention 
as seems to needed for devices like the Toshiba Portege 4010?



Thanks,

Paul


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




subversion/apache2 errors

2008-01-10 Thread michael
I've tried numerous variations for getting subversion working on apache2
but whatever I tried gave the "Could not open the requested SVN
filesystem" error. Does anybody have a simple guide to getting this
working on Debian etch? Particularly, I guess, the necessary permissions
for the repository (I'm using /usr/local/SUBVERSION for the root for
repositories eg /usr/local/SUBVERSION/repos1). Thanks, Michael


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



Re: Perl realted question..

2008-01-10 Thread Ken Irving
On Wed, Jan 09, 2008 at 10:04:19PM -0500, ISHWAR RATTAN wrote:
>
> Is there a way to place the last line read
> when reading from a file? My suspicion is there
> is no such thing but i do want to confirm..

Just another guess at what you're asking about; perhaps the word
"placed" was intended to be "replaced"; i.e., can you replace a
line that you've just read?

I think the general answer to that is "no", and the approach I've
always taken (using Perl) is to write a new file, copying the old
and adding new content, then rename and remove etc. when done.  I
haven't delved into the internals much, though, and maybe there's
a way it could be done, but it hasn't been worth my time to do it.

If you think about a file stored on disk, text files have an arbitrary
structure defined by the end-of-line character(s).  It seems like
it should be possible to swap out characters in a line, but the line
size would need to stay the same, perhaps using padding with spaces
or something.  Probably much more reasonably and conventionally doable
with fixed-sized records, but if the need was there I don't see why
it shouldn't be possible.

Ken

-- 
Ken Irving, [EMAIL PROTECTED]


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



Re: function of xorg.conf in sid?

2008-01-10 Thread Kelly Clowers
On Jan 10, 2008 11:20 AM, Paul Scott <[EMAIL PROTECTED]> wrote:
> I recently posted about not being able to get full resolution of my
> Portege 4010 with dpkg-reconfigure.  I found an example of xorg.conf
> sections which solved my resolution problem but:!!!
>
> I still don't know why 'dpkg-reconfigure -p
> xserver-org' gives me no opportunity to change any video parameters.  I
> saw an Ubuntu post suggesting that xorg.conf wasn't completely necessary
> and indeed I was able to run my system at default resolution without it.

Many answers can be found here:
http://gravityboy.livejournal.com/40620.html


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



Re: Perl realted question..

2008-01-10 Thread Scott Gifford
Dave Sherohman <[EMAIL PROTECTED]> writes:

> On Wed, Jan 09, 2008 at 09:45:15PM -0800, Sam wrote:
>> if i read you correctly, you can read the file into an array and use pop,
>> which will return the last element read.Or you could use @array[-1]
>
> That's rather wasteful of memory, which becomes a concern with larger
> files.  If the objective is indeed to get the last line in the file,
> then you only need a scalar to stick each line into and its final stored
> value will be the last line:

Or use File::ReadBackwards, which will generally do this in a much
more efficient way.  It's in Debian package libfile-readbackwards-perl.

Scott.


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



Re: [OT] mslinux

2008-01-10 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, David Baron wrote:
> On Tuesday 01 January 2008, [EMAIL PROTECTED] wrote:
>> i was browsing around and ran into the following
>>
>> http://www.mslinux.org/
>
> I do not know what this is about but it would be, of course  Microsoft 
> Lindows. Why do you think they hounded him until he gave up that name?

It's a joke.  See http://www.milliways.net/news.html 


Cameron


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



Re: Glibc? (SiS671/ SiS672 driver on Etch)

2008-01-10 Thread Ron Johnson

On 01/10/08 12:56, Kum Gabor wrote:

Hello All!

I tried to set up my SiS672 video on my Fujitsu-Siemens Esprimo v5515 
notebook. I found a driver for Ubuntu, but I have the following problem:


dlopen: /lib/tls/i686/cmov/libc.so.6: version 'GLIBC_2.4' not found (required
by /usr/lib/xorg/modules/drivers/sis_drv.so)

(Libc version on Etch is 2.3.6.)
How can I use this driver? There is no source available :(


Upgrade to Lenny?

--
Ron Johnson, Jr.
Jefferson LA  USA

"I'm not a vegetarian because I love animals, I'm a vegetarian
because I hate vegetables!"
unknown


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




zeroconf?

2008-01-10 Thread Dr. Harry Knitter
Hello,

after having got working my wlan-card with ndsiwrapper and WPA2  working I
have a problem.
After a while of working fine the wlan card disconnect from the network,
especially when working without access to the internet for a while. (The
card is used to connect to a DSL-router)

The card is still present with fixed IP and wpa_supplicant is still running.
The only difference I see is that route doesnt?t show the same things.
The default gateway is only shown by IP while before it was seen by name (a
DSL-Router). The logs do not show anything.
I presume that avahi-autoip daemon is respsonible for that situation. I
tried to swicht that off by disabling avahi-daemon at all. However, my eth0
(also present in the machine) still is configured by avahi-autoip (wlan0
doesn?t show autoconfiguration). I think this is the problem.
Now my question:
How can I switch off this dammed autoconfiguration of network cards in
Ubuntu 7.10 which always changes my manual settings.

Thanks for any help in advance

Harry


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



Unsubscribing from [EMAIL PROTECTED]

2008-01-10 Thread Culture Jammers Network
You have been unsubscribed from [EMAIL PROTECTED] Should you wish to subscribe 
again, simply send a message to [EMAIL PROTECTED]


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



Re: "Waiting for root file system" problem

2008-01-10 Thread cls
[This message has also been posted to linux.debian.user.]
This is becoming a FAQ.  There is a problem with udev.
Before udev, there was a strong association between
device names and devices.  With udev, that association
is much weaker.
There's new randomness in how partitions are named
during boot.
Debian and other installers have not
yet worked around this relatively new problem.

What you're seeing is an effect of that.
The udeb installer kernel got a different set of
device names than the installed kernel did, and the
root file system never appears where the installed
kernel has been told it would.

The workaround is to use file system labels or UUIDs
not device names in /etc/fstab and /boot/grub/menu.lst.
But the Debian 4.0 installer doesn't know that.

Please read the discussion at
http://www.debianhelp.org/node/11653


In article <[EMAIL PROTECTED]>, dave N wrote:
>
>   I've installed Etch r1 and the only real thing I've done to the
>system is updated the system, though during the update it updated the
>kernel to the same kernel that was installed during the installation
>(used the medium to try and get more control over Grub install).
>
>
>   During boot the system appears to find all the drives OK when I am
>reading as fast as I can, but then I get the following (from a photo of
>the screen messages)
>
>   Begin: Mounting root file system... ...
>   Begin: running /scripts/local-top ...
>   ide0: I/O resource 0x1F0-0x1F7 not free.
>   ide0: ports already in use, skipping probe
>   ide1: I/O resource 0x170-0x177 not free.
>   ide1: ports already in use, skipping probe
>   Done.
>   Begin: Waiting for root file system... ...
>
>   And it stops right there. 0's above may be 8's, can't tell from the picture.
>
>   I booted with Knoppix live and there is nothing in /var/log/messages,
>none of the logs appear to have changed since I last booted 2 days ago.
> I have not run fsck or anything else on this yet. 

Apparently Knoppix doesn't use udev.


Cameron


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



function of xorg.conf in sid?

2008-01-10 Thread Paul Scott
I recently posted about not being able to get full resolution of my 
Portege 4010 with dpkg-reconfigure.  I found an example of xorg.conf 
sections which solved my resolution problem but:!!!


I still don't know why 'dpkg-reconfigure -p 
xserver-org' gives me no opportunity to change any video parameters.  I 
saw an Ubuntu post suggesting that xorg.conf wasn't completely necessary 
and indeed I was able to run my system at default resolution without it.


TIA for any more information,

Paul Scott


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




Glibc? (SiS671/ SiS672 driver on Etch)

2008-01-10 Thread Kum Gabor
Hello All!

I tried to set up my SiS672 video on my Fujitsu-Siemens Esprimo v5515 
notebook. I found a driver for Ubuntu, but I have the following problem:

dlopen: /lib/tls/i686/cmov/libc.so.6: version 'GLIBC_2.4' not found (required
by /usr/lib/xorg/modules/drivers/sis_drv.so)

(Libc version on Etch is 2.3.6.)
How can I use this driver? There is no source available :(

Regards,

-- 
Kum Gabor
www.kumgabor.hu


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



Re: How to filter out mailing list spam with bogofilter

2008-01-10 Thread Nigel Henry
On Thursday 10 January 2008 03:22, Andrew Sackville-West wrote:
> On Wed, Jan 09, 2008 at 11:31:48PM +0100, Nigel Henry wrote:
> > On Wednesday 09 January 2008 22:03, John Hasler wrote:
> > > Nigel Henry writes:
> > > > I am genuinly trying to resolve the problem of filtering out spam,
> > > > that occasionally turns up on mailing lists. As I've said bogofilter
> > > > works fine with non mailing list spam, but something extra is needed
> > > > to deal with mailing list spam.
> > >
> > > I find that Spamassassin works fine on spam that comes via
> > > mailing-lists. Do you somehow have the lists whitelisted?
> > >
> > > --
> > > John Hasler
> >
> > No Whitelisting. Bogofilter was setup in it's default configuration with
> > Kmail, and has dealt with all the ordinary non mailing list spam with no
> > problems.
>
> I don't know much about bogofilter as I've only used it a little and
> never really touched its configuration, *but*, I have this little
> insight.
>
> My spamassassin setup does a pretty good job. I get a handful of
> regular spam per day (between say 2 and 5). On this list I might get
> one a week or so. Now, I'm not sure what my success rate is in terms
> of catching regular spam, but I think a little can be inferred.
>
> I think we get somewhere around 75 legit mails per day onthis
> list. (just guessing). The listmasters have claimed that something
> well over 99% of the mail that hits the servers is legit. Taking it at
> 99%, that's 7425 spam mails hitting the servers a day.
>
> For those few days we were getting (I think) a wide-open spam load. I
> saw about 30-40 per day for those couple of days. I would say, then,
> that spamassassin was doing a damn good job. Especially considering
> that d-u spam does have a slightly different flavor, and all d-u mail
> has quite a different header structure than a lot of the spam we see
> (probably making it harder to catch once it's been processed by the
> list). So how did your spam solution fair? How many did you see in
> your inbox compared to the potential amount?

Well I'm in still in the dark as to how to resolve this problem with spam from 
mailing lists. The flood of spam has stopped, but one spam message got 
through the Debian filters today, so I am likely to be able to continue 
trying to resolve the problem, with the odd spam getting through the Debian 
filters from time to time.

I have a separate mailbox for the Debian-user list, and when the spam flood 
was in full flow everything turned up in this mailbox, ham, and spam, so no 
spam from the Debian list was sent to the wastebin.

I'm still working on finding a fix though.

The way the ignorelist.db is supposed to work with bogofilter, is that you 
populate the ignorelist.db with headers from a genuine post from, for 
instance, the Debian list, then when you check your mail, bogofilter ignores 
the headers from mail sent from the Debian list, and turns it's attention to 
the body of the messages, and hopefully will separate the spam from the ham.

As I say, I'm still trying to resolve the problem. I'll post back when I've 
fixed it. After all, it must be possible.

Nigel.


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



Re: Perl realted..?

2008-01-10 Thread Arthur Furlan

ISHWAR RATTAN escreveu:

I am coming back to perl after a long time.

The sample code these days also uses variable attribute my as:

  my $inst = Extutils::Installed->new();
  my @modules = $inst->modules();

Can any demistify 'my' for me??


http://perldoc.perl.org/functions/my.html

--
Atenciosamente,

Arthur Furlan
[EMAIL PROTECTED]




-ishwar



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




Re: dpkg-reconfigure exim4-config: please help re interfaces to listen on

2008-01-10 Thread Bill Jones
The separator is a dot not a colon or double colon.

1.2.3.4.port  as in 123.123.123.123.2525

HTH/Sx


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



Re: Perl realted..?

2008-01-10 Thread Chris Howie
On Jan 10, 2008 1:11 PM, ISHWAR RATTAN <[EMAIL PROTECTED]> wrote:

> I am coming back to perl after a long time.
>
> The sample code these days also uses variable attribute my as:
>
>   my $inst = Extutils::Installed->new();
>   my @modules = $inst->modules();
>
> Can any demistify 'my' for me??
>
> -ishwar
>

"my" declares a variable that exists within the current scope and is
unreachable from outside the scope.  So a "my" declaration in one package
cannot be reached from another package.  "our" is identical to "my" except
that you *can* reach that variable from other packages.  A "my" declaration
inside of a function just limits the scope and lifetime of the variable to
that function.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


Re: emacs and svn

2008-01-10 Thread Peter Smerdon
Misko <[EMAIL PROTECTED]> writes:

> Does emacs support svn version control as it does with cvs? And
> how do I enable that feature.

>From the Emacs info page (I am using emacs-snapshot)

   The Emacs version control interface is called VC.  Its commands work
with different version control systems--currently, it supports CVS, GNU
Arch, RCS, Meta-CVS, Subversion, and SCCS.  Of these, the GNU project
distributes CVS, GNU Arch, and RCS.  We also have free software to
replace SCCS, known as CSSC; if you are using SCCS and don't want to
make the incompatible change to RCS or CVS, you can switch to CSSC.

It's enabled by default. Just open a file thats under version control
and you should have all the vc commands available to you.
-- 
Peter 


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



Perl realted..?

2008-01-10 Thread ISHWAR RATTAN

I am coming back to perl after a long time.

The sample code these days also uses variable attribute my as:

  my $inst = Extutils::Installed->new();
  my @modules = $inst->modules();

Can any demistify 'my' for me??

-ishwar


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




Re: ipw3945 takes a while to warm up???

2008-01-10 Thread Bjorn Wiren
Mark Fletcher <[EMAIL PROTECTED]> writes:

> Hi list
>
> I'm running etch on a Toshiba Satellite laptop I picked up about a year
> ago now in Hong Kong. It's on my home wireless LAN supported by a
> Buffalo Airstation 54G which I bought recently here in Japan. The
> wireless LAN card in the laptop is an inbuilt Intel ipw3945.
>
> If I configure my interfaces file to use WEP, and configure my wireless
> router accordingly, everything works perfectly.
>
> However, I recently made the switch to WPA. What I notice now is that
> when I boot up the initial attempt to get an IP address from the
> wireless router via DHCP USUALLY fails (very occasionally works first
> time, but hasn't for ages now) -- times out and eventually gives up. The
> boot then continues and I end up in gdm as normal. If I now log straight
> in I will find networking is not working.

I have the same problem with my HP Pavillion/etch/ipw3945, although I
have a Belkin N1 as access point.

I found that delaying the wlan set-up by moving it from
/etc/init.d/networking to /etc/rc.local is an improvement - now it
works at least 9 times out of 10.

> However, if I just leave it for a while and go make a coffee or
> something, when I come back and log in, networking will be
> working. So something is clearly trying again later and succeeding
> the second time.

I suppose you have network-manager or something similar installed?

Cheers
-- 
Björn Wirén


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



Re: emacs and svn

2008-01-10 Thread David Brodbeck


On Jan 8, 2008, at 11:16 PM, Misko wrote:


Does emacs support svn version control as it does with cvs? And
how do I enable that feature.


Emacs 22 automatically detects that it's in an svn working copy and  
does the right thing when I use the version control commands.  I've  
never gotten Emacs 21 to work with svn.



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




Re: new user question: debian on a Thinkpad T61

2008-01-10 Thread David Brodbeck


On Jan 9, 2008, at 5:27 PM, Mike Bird wrote:


On Wed January 9 2008 13:51:21 Jimmy Wu wrote:

The reasons I don't want Vista are as follows:
(1) Microsoft claims even the Home Basic needs "20 GB hard drive with
at least 15 GB of available space" (see
http://www.microsoft.com/windows/products/windowsvista/editions/systemrequi
rements.mspx)


You might want to make the recovery CDs and save the recovery  
partition.
In this sad world, being able to restore/reinstall Vista will  
dramatically

improve resale value when you replace the laptop in a few years.


Although maybe not as much as if it had XP. ;)


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




Re: apt-get stuck on libsane-extras

2008-01-10 Thread Anthony Campbell
On 10 Jan 2008, Florian Kulzer wrote:
> On Thu, Jan 10, 2008 at 09:18:44 +, Anthony Campbell wrote:
> > Apt-get is trying to install libsane-extras but it says:
> > 
> > npacking libsane-extras (from .../libsane-extras_1.0.18.15_i386.deb) ...
> > dpkg: error processing
> > /var/cache/apt/archives/libsane-extras_1.0.18.15_i386.deb (--unpack):
> > trying to overwrite `/usr/share/man/man5/sane-epkowa.5.gz', which is
> > also in package iscan dpkg-deb: subprocess paste killed by signal
> > (Broken pipe) Errors were encountered while processing:
> > /var/cache/apt/archives/libsane-extras_1.0.18.15_i386.deb E: Sub-process
> > /usr/bin/dpkg returned an error code (1)
> > 
> > 
> > I've tried apt-get -f install and I've manually deleted
> > /usr/share/mam/man5/sane-epkowa.5.gz but no improvement.
> > I don't want to try purging sane because I need to be able to send faxes
> > and if I can't reinstall it I shall be stuck.
> > 
> > Any suggestions of what to try? 
> 
> dpkg --force-overwrite -i 
> /var/cache/apt/archives/libsane-extras_1.0.18.15_i386.deb
> 
> apt-get install -f
> 

Thanks - that's fixed it!

Anthony

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


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



Re: Where to report a problem with new 4.0r2 DVD images?

2008-01-10 Thread Salvatore Bonaccorso
Hi

On Thu, Jan 10, 2008 at 02:21:54PM -0200, Marcello Di Marino Azevedo wrote:
> Please, give me some help here. Where is the correct way to report a
> problem with new 4.0r2 DVD images?

I could not answer to the rest of your post, but according to the list
of psuedo-packages [1], probably in such a case one should report it
to the cdimage pseudo-package? Is this correct?

[1] http://www.debian.org/Bugs/pseudo-packages

Best regards,
Salvatore


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



Re: ntpd restart on IP address change the Debian way

2008-01-10 Thread Douglas A. Tutty
On Thu, Jan 10, 2008 at 10:51:28AM +0800, Bob wrote:
> Bob wrote:
> >Cameron Hutchison wrote:
> >>Bob wrote:  
> >>>Bob wrote:
> >>>   
> Is there such a thing?
> 
> When my firewall / dhcp server / ntp server gets a fresh IP address 
> from my ISP the ntp daemon stops responding to requests.
>   
> >>>Is the silence because it's a stupid question or because there isn't 
> >>>a preferred work around for this?
> >>>
> >>
> >>How does your firewall get its IP address?
> >>If it is by PPP then you can scripts in /etc/ppp/ip-{up,down}.d to start
> >>and stop the ntp daemon.  This should get triggered when a new IP 
> >>address
> >>is negotiated.  
> >
> >Via DHCP, the ADSL 'modem' (D-link DSL-320T) passes it's wan IP 
> >address onto the client, and when it doesn't have one it gives you 
> >192.168.1.2 with a 30 second lease so you get connected within that 
> >time when the link coming up, and if the link doesn't come up then 
> >your logs fill up instead.
> >
> >>Check the man page for pppd(8) and search for ip-up to see the details
> >>of how it's used, but just dropping scripts in those directories should
> >>be sufficient.  
> >
> >I wonder if it's possible to persuade the dhcp client to run a script?
> 
> Sorry to resurrect such an old thread but this is really irritating me, 
> after reading through the Bug Reports it seems this has been fixed in 
> version 4.2.4 which is fine for Lenny but I don't want to run Lenny on 
> my firewall, it's very simple dedicated etch box with nothing other than 
> main and updates in its /etc/apt/sources.list so I don't want to start 
> messing around with apt pinning.
> 
> Is there a simple way to get the dhcp client to restart ntpd on IP 
> address change?

Not dhcp, but on my ppp dialup, here's the script with commets that I
have in ip-up.d:

8>--


#! /bin/sh
# ntp
# written by dtutty on 2007-01-19 since no default file is given

# ntp will continue to poll servers even when offline, increasing
# the delay to 1024 seconds.
# However, it doesn't have a way to know when the system is back on line.
# It will also only handle a large variance on initial start up.
# Therefore, whenever ppp goes online, ntp should be restarted.

/etc/init.d/ntp restart


## Note that there doesn't seem to be any reason to stop ntp when ppp goes
# down.

8>--

When dhcp gets a new IP, does it re-run pre-up and post-up commands
found in /etc/network/interfaces?  See man interfaces(5) to see what I
mean.  If so, put them there.

I don't use dhcp so I can't just read a man page to help further.

Doug.


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



Re: resize2fs

2008-01-10 Thread Douglas A. Tutty
On Wed, Jan 09, 2008 at 10:26:54PM -0500, Rick Pasotto wrote:
> I would like to increase the size of my /var partition. It is a logical
> volume so I made it bigger with lvexpand. I then ran resize2fs, which
> according to the man page works on mounted file systems with kernels
> after 2.6 and my kernel is 2.6.22-3-k7. However, this is the output of
> the command:
> 

If this is an old filesystem (with out the rsize bit [I forget what that
is called] set) and you may want to resize in the future and on-line
resizing is important to you, it may be better to recreate the
filesystem.

This is easy if you have enough free space.  Create a temporary LV the
same size the current one, put a new filesystem on it (with the correct
resize option if necessary), then copy the data over using a method that
doesn't change ownership, mtime, (and possibly atime if any scripts rely
on that re cleaning out or backing up stuff).  See the multi-disk HOWTO
for some options.  There's tar, rsync, cp -a (?).

Once this is done and the system is running on the new filesystem and
the old is unmounted, delete the old LV and extend the new one and
resize the filesystem.

Doug.


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



Re: re-using a damaged disk

2008-01-10 Thread Douglas A. Tutty
On Thu, Jan 10, 2008 at 04:33:54AM +0100, Ivan Savcic wrote:
> On Jan 7, 2008 5:15 PM, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:

> > With bad-block remapping, you don't really know where the "damaged part
> > of the drive" is. I would go with one whole partition and if after
> > fsck -c -c  there were still errors showing up in syslog, I'd ditch the
> > drive (after sanitizing it).  The fsck -c -c should make a manual md5
> > check redundant.
> 
> Do all drives have it? I am pretty sure I got a contiguous part of bad
> blocks on all drives that failed me so far.

Well, I'm not sure when that feature was added to drives, so no not
_all_ drives ever.  However, anything with S.M.A.R.T. certainly would,
and I would expect any drive over 1 GB to as well.

If you ever actually _see_ bad blocks on a newer drive, that means that
the drive has run out of spare blocks that it can remap.  This means
that the drive is toast.  The big thing that a badblocks check does is
it causes the drive to do a read/write attempt on every block.  If there
are badblocks and the drive remaps it, you won't see them.  If it
doesn't remap it, you may end up with a clean filesystem that you can
retreive your data off.  

Doug.


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



Re: OT: dying disk - data recovery recommendations

2008-01-10 Thread Douglas A. Tutty
On Wed, Jan 09, 2008 at 09:47:56PM -0500, KS wrote:
> Douglas A. Tutty wrote:
> > On Tue, Jan 08, 2008 at 05:19:54PM -0500, KS wrote:
> >> I have a friend's G4(PPC) which seems to have a dying disk. He had run
> >> the Apple disk utility and it reported and error with the IDE disk. The
> >> machine just halts sometimes, with the disk trying to read something and
> >> the only way to shut down the machine was the power button.
> >>
> >> I tried doing an rsync to a remote directory and it made the hard disk
> >> busy after sending about 350MB (total home data is around 6GB). I have
> >> shut down the machine and trying to list various options of salvaging
> >> the data from the HDD. I was reading up on dd_rescue (had tried it on a
> >> couple of CDs earlier), foremost, and Sleuthkit. Does anyone have any
> >> recommendations on how to proceed in this case? Any live CD(PPC) which
> >> will be more helpful than the systemrescueCD (0.2.0 PPC)?
> >>
> > 
> > Find a way to attach that drive to a functional system.  One way would
> > be to use a 2.5" portable USB enclosure.  Then see if the functional
> > system can dd it to an image file.  Then you can try fscking and
> > mounting the image.  Copy the image file at each step.
> 
> Got the enclosure but taking apart the G4 was a tough task. Could only
> accomplish it today. Will start working on the disk tomorrow. But
> wouldn't dd stall after some time as rsync did after transferring 350MB
> of data? Isn't dd_rescue a better choice in this case?

Perhaps, I've never needed to go that far.  The one time I thought I had
a hard drive go bad and put it into another computer, it didn't get any
errors on boot.  I just fsck'ed it and it was fine.  Turned out to be a
hardware problem on the origional computer.

My only experience with a laptop hard drive is on my IBM Thinkpad 600E.
On that, you don't have to tear apart the unit:  one screw releases a
cover and you slide out the hard drive.

So I've never actually needed dd_rescue so I don't know if it would be
better.  As long as its not worse, then just that.  The important thing
as I understand it is to get an image of the drive once then power off
the drive.  Do all your fixing on a copy of the filesystem image.  Once
you know what that needs, you can do it to the drive itself.

Doug.


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



Where to report a problem with new 4.0r2 DVD images?

2008-01-10 Thread Marcello Di Marino Azevedo
Hi people.

Please, give me some help here. Where is the correct way to report a
problem with new 4.0r2 DVD images?

Let me explain what I found. First, it is not big deal, but in my case
it is pretty annoing.

Usually I use DVD images as a local repository. It is simple, just mount
ISO DVD as loop device and offer contents using apache. It worked well
on previous releases for main and contrib.

But now images for DVD 2 and 3 have some missing files at
dists/etch/contrib/binary-i386. Currently we only have Release file at
DVD 2 and 3. Comparing with DVD 1 we have Release, Packages.gz and
Packages.

Because of that apt complains it cannot find Packages.gz for contrib and
then break update process.

Was that a fault or was intentional skip these files?

Let me know.

Thanks,
Marcello.


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



Re: Etch: emacs or emac21?

2008-01-10 Thread Chris Howie
(Resending to the list.  Sorry for the duplicate, Rodolfo.)

On Jan 10, 2008 11:18 AM, Chris Howie <[EMAIL PROTECTED]> wrote:

> On Jan 10, 2008 10:58 AM, Rodolfo Medina <[EMAIL PROTECTED]> wrote:
>
> > In Sarge there was only the package `emacs21'.  Now in Etch we have also
> > `emacs', but the difference between the two is not clear to me.  What
> > should I
> > install in order to use the Emacs editor, `emacs' or `emacs21'?
> >
>
> emacs is a metapackage that depends on the latest emacs.  In sarge, emacs
> depends on emacs21.  So you install emacs if you always want the latest
> version, and emacs21 if you want version 21.
>
> --
> Chris Howie
> http://www.chrishowie.com
> http://en.wikipedia.org/wiki/User:Crazycomputers


-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


Re: Etch: emacs or emac21?

2008-01-10 Thread Andrew Sackville-West
On Thu, Jan 10, 2008 at 04:58:38PM +0100, Rodolfo Medina wrote:
> Hi, Debian users.
> 
> In Sarge there was only the package `emacs21'.  Now in Etch we have also
> `emacs', but the difference between the two is not clear to me.  What should I
> install in order to use the Emacs editor, `emacs' or `emacs21'?

either one. emacs21 pulls in emacs version 21.x.x, emacs pulls in
emacs version 22.x.x 

A


signature.asc
Description: Digital signature


Etch: emacs or emac21?

2008-01-10 Thread Rodolfo Medina
Hi, Debian users.

In Sarge there was only the package `emacs21'.  Now in Etch we have also
`emacs', but the difference between the two is not clear to me.  What should I
install in order to use the Emacs editor, `emacs' or `emacs21'?

Thanks for any reply
Rodolfo


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



Re: kernel-source package in Etch?

2008-01-10 Thread Rodolfo Medina
On Mon, Dec 31, 2007 at 10:14:38PM +0100, Rodolfo Medina wrote:

>> In Sarge, in order to configure Debian for my modem, I started with:
>> 
>>  # apt-get install kernel-source-2.4.27
>> 
>> .  Now, in Etch, what should the package be in place of that?  I couldn't
>> find it!  I tried with ...2.6, ...2.6.18,... but none was the right one.


"Douglas A. Tutty" <[EMAIL PROTECTED]> writes:

> In Etch, the Linux kernels are called linux-.
>
> However, are you sure in Etch that you need a new kernel for your modem?


No, you are right, compiling the kernel was not necessary.  See report at:

 http://forums.debian.net/viewtopic.php?t=22706

Bye
Rodolfo


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



Weird keymapping going on with VNC

2008-01-10 Thread Chris Howie
I have a really weird issue going on with VNC.  I am running Xvnc on Debian
(provided by the vncserver package) and the RealVNC client on a Windows
box.  My X keymap is set to dvorak, as is my Windows one.

I wish it were as simple as a double/triple application of dvorak going on
(a problem that gets annoying enough as it is) but while that does appear to
be happening too, it gets more convoluted.

When I type "asdf" on the keyboard with both systems using dvorak, "azgm"
shows up.  If I switch to qwerty on the 'doze box I instead get "abfh."

Now for the real fun.  When I type "1234" in either case I get "90-=".
Other notable deviations are that 5 behaves like backspace, and enter
behaves like the spacebar.

I am at a complete loss how to even begin fixing this.  The numeric stuff
makes it seem like 8 is being added to the keyboard scancodes somewhere,
which would explain why 5 acts like backspace if keyboard scancodes are
based on position instead of the ASCII chart.  (I must admit my ignorance on
the topic.)  However, this idea does not make sense given that "a" registers
correctly in every situation I have tried.

Ideas?

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


Re: debian how-to

2008-01-10 Thread Chris Lale
Alan Chandler wrote:
> Chris Lale writes:
>> Daniel Burrows wrote:
>> [...]
>>>   For instance, today I wanted to read up on git hook scripts.  I
>>> checked the manual page git(1), and saw the note:
>>>  Read hooks[9] for more details about each hook.
>>>  ...
>>>  9. hooks
>>> hooks.html
>>>   Being an experienced Debian user, I knew that I needed to look in
>>> /usr/share/doc/git to find the rest of the documentation.  Except that's
>>> not right, because there is no "git" package.  
>> [...]
>> Does this documentation show up in dwww? I can't check this in Etch -
>> git-buildpackage will not install because of dependency problems.
> 
> 
> Its in package git-doc and is therefore in the /usr/share/doc/git-doc
> directory
> 

Thanks. hooks.html is exactly where you say after installing git-doc. It does
not show up in dwww though - presumably because its not registered with 
doc-base.

BTW, "dpkg -S $(which git)" does not work with only the git-doc package
installed. This works though (filtering a search for "git" to show the result of
"git" and "hooks"):

$ dpkg -S git | grep hooks
git-doc: /usr/share/doc/git-doc/hooks.html
git-doc: /usr/share/doc/git-doc/hooks.txt

Cheers,

-- 
Chris.


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



Re: What's your tools for C++ dev?

2008-01-10 Thread Daniel Burrows
On Thu, Jan 10, 2008 at 04:17:03AM +0100, Misko <[EMAIL PROTECTED]> was heard 
to say:
> On Tue, Jan 08, 2008 at 03:59:59PM -0200, Felix Cuello wrote:
> > *manpages-dev - Manual pages about using GNU/Linux for development
> > manpages-posix-dev - Manual pages about using a POSIX system for development
> > stl-manual - C++-STL documentation in HTML
> > libstdc++6-doc - The GNU Standard C++ Library v3 (documentation files)*
> 
> Why is there no documetation package for gdb, gcc, g++ on released
> etch DVDs? I find it too hard to use gdb without some kind of
> instructions. Same is when I want to use some advanced emacs
> feature - there is no info manual for it.

  Much of the GNU documentation is non-free, so it can't be distributed
with Debian.  You can find the documentation for gdb in gdb-doc, and for
libc in glibc-doc-reference.  gcc and g++ are documented in gcc-doc.

  Daniel


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



Re: "Waiting for root file system" problem

2008-01-10 Thread Per Tunedal Debian
Florian Kulzer skrev:
> On Thu, Jan 03, 2008 at 06:39:11 -0500, dave N wrote:
> 
> [...]
> 
>> Question: In the menu.lst grub file, how would I use
>> the label assignment in the line:
>>
>>  kernel  /vmlinuz-2.6.18-5-686 root=/dev/sdc2 ro
> 
> I think this should be OK:
> 
> kernel  /vmlinuz-2.6.18-5-686 root=LABEL=your_root_label ro
> 
> I have
> 
> # kopt=root=LABEL=my_root_label ro 
> 
> in my menu.lst and this works for all the auto-generated entries.
> 
Thanks for this very useful advice! I had the same problem and managed
to log in simply by entering "e" at the GRUB-menu for editing the
failing line. Afterwords I put a label on the partition with e2label and
 changed the reference in menu.lst
It works like a charm!
Per Tunedal


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



Re: resize2fs

2008-01-10 Thread Theodore Tso
On Wed, Jan 09, 2008 at 09:45:30PM -0800, Daniel Burrows wrote:
> > resize2fs: Filesystem does not support online resizing
> 
>   AIUI this means you didn't create the filesystem with "-O resize_inode",
> so you can't do online resizing.  Unfortunately there's no way to change
> this after the filesystem is created (see bug #351720), so you're stuck
> booting into single-user mode and unmounting /var, or making a boot disk
> and running resize2fs from there.

Well, there *is*, but you have to run an off-line program once
(ext2prepare, in the ext2resize package first).  The reason why that
program hasn't been integrated into e2fsprogs is because I looked at
the source code, and it was too scary for me to support.  I used to
tell people though that while *I* was too chicken to support it, as
far as I knew no one had ever reported data loss, they'd have to
decide on their own whether they felt comfortable using it.  

Unfortunately, a few months ago someone actually told me about
ext2prepare corrupting their filesystem, so I can't say that anymore.
I don't know whether the *single* report was due to hardware errors
(and the person getting unlucky), or filesystem corruption that had
been lurking on the filesystem that interacted extremely tragically
with ext2prepare.  So use ext2prepare at your own risk.  YMMV.  Past
results do not indicate future returns, etc.

If you only need to resize your filesystem once, you're better just
doing an offline resize.

- Ted

P.S.  New versions of e2fsprogs request the online resizing inode, so
you don't need to specify -O resize_inode.  In fact, which features
are enabled by default can be found in /etc/mke2fs.conf.






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



Re: debian how-to

2008-01-10 Thread Alan Chandler
Chris Lale writes: 


Daniel Burrows wrote:
[...]

  For instance, today I wanted to read up on git hook scripts.  I
checked the manual page git(1), and saw the note: 

 Read hooks[9] for more details about each hook. 

 ... 


 9. hooks
hooks.html 


  Being an experienced Debian user, I knew that I needed to look in
/usr/share/doc/git to find the rest of the documentation.  Except that's
not right, because there is no "git" package.  
[...] 


Does this documentation show up in dwww? I can't check this in Etch -
git-buildpackage will not install because of dependency problems.



Its in package git-doc and is therefore in the /usr/share/doc/git-doc 
directory 




--
Alan Chandler
[EMAIL PROTECTED]
(via webmail - normally means I am not at my computer)


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




Re: Converting 3gp to avi

2008-01-10 Thread Sabarish M Balagopal

Rico Secada wrote:

On Tue, 01 Jan 2008 18:35:14 +
Mark Clarkson <[EMAIL PROTECTED]> wrote:

  

On Mon, 2007-12-31 at 20:59 +, Mark Clarkson wrote:


On Mon, 2007-12-31 at 19:48 +0100, Rico Secada wrote:
  

Thanks, but this seems to need some unsupported codecs or
something?


I needed to do this the other way, avi to 3gp, and had to download
the latest ffmpeg from subversion as the debian-multimedia
repository didn't have 3gp compiled in. I used the following
configure line:

./configure --enable-libx264 --enable-gpl --enable-libfaac
--enable-libmp3lame --enable-libamr-nb --enable-libxvid

Hope this helps!
Mark.
  

After the build you could try this if you're using GNOME (it just came
up in my RSS feeds):

http://www.gnomefiles.org/app.php?soft_id=1885

Winff is a frontend for FFMPEG. It will convert most any video file
that FFmpeg will convert. WinFF does multiple files in multiple
formats at one time. You can for example convert mpeg's, flv's, and
mov's, all into avi's all at once. 


You need a fully enabled ffmpeg to make full use if winff.

The screenshot shows 3gp but I've not tried it. It would be good to
know how well it works...




Thanks Mark, I will look into it. Your reply has been very helpful.
 
  

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

[EMAIL PROTECTED]






  
You might need to get amrwb or amrnb or faac. I use aac codec to convert 
from avi to 3gp. So for reverse conversion you might need any one of these.



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




Dearest one,

2008-01-10 Thread Marry Akeem
  Dearest one,
   I am a flexible yourng girl my name is nafisat abudul i am 22 years of 
age, looking for a man i can love,and stay with  him for the rest of my life,so 
also a man that i can trust in my life, if you have inerest in me you can reply 
me to my privat box , so that we can talk very well my Email Address [EMAIL 
PROTECTED]
  Best regar
  nafisat


   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: What's your tools for C++ dev?

2008-01-10 Thread Misko
On Tue, Jan 08, 2008 at 03:59:59PM -0200, Felix Cuello wrote:
> *manpages-dev - Manual pages about using GNU/Linux for development
> manpages-posix-dev - Manual pages about using a POSIX system for development
> stl-manual - C++-STL documentation in HTML
> libstdc++6-doc - The GNU Standard C++ Library v3 (documentation files)*

Why is there no documetation package for gdb, gcc, g++ on released
etch DVDs? I find it too hard to use gdb without some kind of
instructions. Same is when I want to use some advanced emacs
feature - there is no info manual for it.


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



Re: debian how-to

2008-01-10 Thread Chris Lale
Daniel Burrows wrote:
[...]
>   For instance, today I wanted to read up on git hook scripts.  I
> checked the manual page git(1), and saw the note:
> 
>  Read hooks[9] for more details about each hook.
> 
>  ...
> 
>  9. hooks
> hooks.html
> 
>   Being an experienced Debian user, I knew that I needed to look in
> /usr/share/doc/git to find the rest of the documentation.  Except that's
> not right, because there is no "git" package.  
[...]

Does this documentation show up in dwww? I can't check this in Etch -
git-buildpackage will not install because of dependency problems.

-- 
Chris.


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



Problems scanning past LUN 7 during boot

2008-01-10 Thread Anders Nordby
Hi,

I have a QLA2432 dual path fibre channel adapter connected with two
links to a Hitachi SAN. I run Debian GNU/Linux 4.0 (etch) with 2.6.18
(64-bit) kernel. Firmware is firmware-qlogic 0.4 from Debian stable
repository (http://packages.debian.org/etch/firmware-qlogic). The driver
version in the kernel I use seems to be: QLogic Fibre Channel HBA
Driver: 8.01.07-k1.

Now, my problem is scanning past LUN 7. I can see disks with LUN up to 7
just fine. Also I can manually add LUNS with this command:

echo "scsi add-single-device 0 0 0 8" >/proc/scsi/scsi
echo "scsi add-single-device 0 0 1 8" >/proc/scsi/scsi

This adds LUN 8 on both links.

But how do I add scanning past LUN 7 in a proper way so that its done
during boot? I want to be able to reboot and get all LUNs scanned in
time for LVM to be able to use all disks without manual intervention.

I tried adding max_scsi_luns= as a kernel option in the grub setup,
but it did not help.

Any ideas?

Bye,

-- 
Anders.


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



Re: apt-get stuck on libsane-extras

2008-01-10 Thread Florian Kulzer
On Thu, Jan 10, 2008 at 09:18:44 +, Anthony Campbell wrote:
> Apt-get is trying to install libsane-extras but it says:
> 
> npacking libsane-extras (from .../libsane-extras_1.0.18.15_i386.deb) ...
> dpkg: error processing
> /var/cache/apt/archives/libsane-extras_1.0.18.15_i386.deb (--unpack):
> trying to overwrite `/usr/share/man/man5/sane-epkowa.5.gz', which is
> also in package iscan dpkg-deb: subprocess paste killed by signal
> (Broken pipe) Errors were encountered while processing:
> /var/cache/apt/archives/libsane-extras_1.0.18.15_i386.deb E: Sub-process
> /usr/bin/dpkg returned an error code (1)
> 
> 
> I've tried apt-get -f install and I've manually deleted
> /usr/share/mam/man5/sane-epkowa.5.gz but no improvement.
> I don't want to try purging sane because I need to be able to send faxes
> and if I can't reinstall it I shall be stuck.
> 
> Any suggestions of what to try? 

dpkg --force-overwrite -i 
/var/cache/apt/archives/libsane-extras_1.0.18.15_i386.deb

apt-get install -f

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


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



Re: ntpd restart on IP address change the Debian way

2008-01-10 Thread Martin Marcher
Bob wrote:
> Sorry to resurrect such an old thread but this is really irritating me,
> after reading through the Bug Reports it seems this has been fixed in
> version 4.2.4 which is fine for Lenny but I don't want to run Lenny on
> my firewall, it's very simple dedicated etch box with nothing other than
> main and updates in its /etc/apt/sources.list so I don't want to start
> messing around with apt pinning.
> 
> Is there a simple way to get the dhcp client to restart ntpd on IP
> address change?
> 
> Thank you.
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455717
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439734
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=231354


I'm on my ubuntu workstation right now, they seem to have incorporated that
thing already (which would work with any demon, i found at my workstation
at home that squid restarts whenever I fire up the VPN to the office):

/etc/dhcp3/dhclient-enter-hooks.d/ntpdate

/etc/dhcp3/dhclient-enter-hooks.d $ cat ntpdate
NTPDATE_CONF=/etc/default/ntpdate
NTPDATE_DHCP_CONF=/etc/default/ntpdate.dhcp

--snip--
ntp_servers_setup_remove() {
rm -f $NTPDATE_DHCP_CONF
}


ntp_servers_setup_add() {
if [ -e $NTPDATE_DHCP_CONF ] && [ "$new_ntp_servers"
= "$old_ntp_servers" ]; then
return
fi

if [ -z "$new_ntp_servers" ]; then
ntp_servers_setup_remove
return
fi

tmp=$(mktemp "$NTPDATE_DHCP_CONF.XX") || return
chmod --reference=$NTPDATE_CONF $tmp
chown --reference=$NTPDATE_CONF $tmp

(
  echo "# NTP server entries received from DHCP server"
  echo "NTPSERVERS='$new_ntp_servers'"
) >>$tmp

mv $tmp $NTPDATE_DHCP_CONF
}


ntp_servers_setup() {
case $reason in
BOUND|RENEW|REBIND|REBOOT)
ntp_servers_setup_add
;;
EXPIRE|FAIL)
ntp_servers_setup_remove
;;
esac
}


ntp_servers_setup
--snap--

-- 
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours

You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly. Thank you.


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



apt-get stuck on libsane-extras

2008-01-10 Thread Anthony Campbell
Apt-get is trying to install libsane-extras but it says:

npacking libsane-extras (from .../libsane-extras_1.0.18.15_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/libsane-extras_1.0.18.15_i386.deb (--unpack):
trying to overwrite `/usr/share/man/man5/sane-epkowa.5.gz', which is
also in package iscan dpkg-deb: subprocess paste killed by signal
(Broken pipe) Errors were encountered while processing:
/var/cache/apt/archives/libsane-extras_1.0.18.15_i386.deb E: Sub-process
/usr/bin/dpkg returned an error code (1)


I've tried apt-get -f install and I've manually deleted
/usr/share/mam/man5/sane-epkowa.5.gz but no improvement.
I don't want to try purging sane because I need to be able to send faxes
and if I can't reinstall it I shall be stuck.

Any suggestions of what to try? 

Anthony

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


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