Re: Scrolling works in vim by default in gnome-terminal but not in mrxvt

2009-01-23 Thread Ron Johnson

On 01/24/2009 12:24 AM, Countable Infinity wrote:

Experiment 1
===
1. Open gnome-terminal
2. Run vim
3. Run command :help in vim
4. Use scroll wheel of the mouse to scroll
5. Scrolling happens successfully

Experiment 2
===
1. Open mrxvt
2. Run vim
3. Run command :help in vim
4. Use scroll wheel of the mouse to scroll
5. Scrolling does NOT happen successfully
6. Rn command :set mouse=a in vim
7. Scrolling happens successfully

Could you please tell me why this difference occurs?


The short (and possibly wrong) answer would be that rxvt is designed 
to be small and simple: gnome-terminal is a lot more featureful than 
rxvt, and a lot fatter, and this must be one of the extra things 
that g-t can do.


--
Ron Johnson, Jr.
Jefferson LA  USA

"I am not surprised, for we live long and are celebrated poopers."


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




Scrolling works in vim by default in gnome-terminal but not in mrxvt

2009-01-23 Thread Countable Infinity
Experiment 1
===
1. Open gnome-terminal
2. Run vim
3. Run command :help in vim
4. Use scroll wheel of the mouse to scroll
5. Scrolling happens successfully

Experiment 2
===
1. Open mrxvt
2. Run vim
3. Run command :help in vim
4. Use scroll wheel of the mouse to scroll
5. Scrolling does NOT happen successfully
6. Rn command :set mouse=a in vim
7. Scrolling happens successfully

Could you please tell me why this difference occurs?


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



Re: Can't start X after upgrade to Lenny

2009-01-23 Thread Marc Shapiro

Florian Kulzer wrote:

I would probably be tempted to buy an nvidia or ati card and dump the
sis driver.
I don't think that I have actually purchased a video card separate from 
the PC, or motherboard since my TRS-8- Model III died and I bought my 
first PC compatible.  That would have been about 26 years ago.  Getting 
a new board might not be that bad of an idea, but, as I have not 
recently had to make such a purchase I have not looked into what is god, 
bad, works with Linux, etc.  I am not looking to spend a lot of money 
and I don't need a fancy gamers board.  I just need something that does 
the job.  I noticed that Fry's has several inexpensive EVGA boards, 
specifically a 7200GS w/128MB or 256MB PCI-Express and an 8400GS w/512MB 
for only $10.00 more.  I don't mind the extra $10 for double to 
quadruple the memory and a faster core, but is this a good board with 
solid support?  With rebates, these boards are going for $29.99 to 
$39.99.  Are there better boards that can be had for similar prices?  Is 
there a different line that I should look into?  I don't want to start 
any religious wars over what is the best graphics card.  I just need a 
solid card that works and doesn't have issures like the onboard Sis 
chips seem to have.

*EVGA 8400GS Video Card (PCI-Express, 512MB)*
  


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




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




Re: portaudio2/device busy?

2009-01-23 Thread Tamas Hegedus

I have debian/lenny.

Tamas Hegedus wrote:

Hi,

I would like to use espeak (text to voice application).
I got error the error messages below.

It was reported that several years ago it was a segmentation fault of 
portaudio19 (segmentation fault if device is busy; espeak uses 
libportaudio2). Later on the same messages are emitted I get. But I can 
not find any solution for this (I goggled). Any idea?


Thanks in advance,
tamas

espeak "this is a test"
Expression 'parameters->channelCount <= maxChans' failed in 
'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi, 
StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', 
line: 1142
Expression 'parameters->channelCount <= maxChans' failed in 
'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi, 
StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', 
line: 1142

wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)





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




portaudio2/device busy?

2009-01-23 Thread Tamas Hegedus

Hi,

I would like to use espeak (text to voice application).
I got error the error messages below.

It was reported that several years ago it was a segmentation fault of 
portaudio19 (segmentation fault if device is busy; espeak uses 
libportaudio2). Later on the same messages are emitted I get. But I can 
not find any solution for this (I goggled). Any idea?


Thanks in advance,
tamas

espeak "this is a test"
Expression 'parameters->channelCount <= maxChans' failed in 
'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi, 
StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', 
line: 1142
Expression 'parameters->channelCount <= maxChans' failed in 
'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi, 
StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', 
line: 1142

wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)


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




Re: Ticketing system

2009-01-23 Thread Allan Wind
On 2009-01-24T11:30:45, Umarzuki Mochlis wrote:
> Recommend me a nice, easy to use free and open source software for support
> ticketing system on linux adn please tell me why do you like it :)

We use Request Tracker 3.6 at work.  It has a functional web interface, 
nice search capabilities, a couple of canned reports that I use, and 
can be extended via scripts as needed:

http://bestpractical.com/rt/

The relevant packages in Debian are:

rt3.6-apache2 (or rt3.6-apache)
rt3.6-clients


/Allan
-- 
Allan Wind
Life Integrity, LLC
http://lifeintegrity.com


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



Re: Possibly OT: Linux chat/desktop share client compatible with Windows NetMeeting?

2009-01-23 Thread Ron Johnson

On 01/23/2009 10:25 PM, Carl Fink wrote:

My company uses NetMeeting for a lot of collaboration between our quite
distant offices.  It's free, it works quite well, and it doesn't use much
bandwidth for what it does.  In order to use a Debian system when I work
from home, I would need three components to work:

1. Voice chat.
2. Text chat (used for passing URLs and such).
3. Desktop sharing.

Please don't suggest "Switch to something else."  I don't decide that, the
company has standardized on NetMeeting and will be sticking with it.

A few years ago I would have thought such a replacement unlikely, but when
rdesktop is so incredibly good at imitating Microsoft's Remote Desktop and
samba does SMB *better* than MS operating systems, anything is possible.

So: any suggestions?


"apt-cache search NetMeeting" indicates ekiga.  Don't know if it 
does desktop sharing, though.


(I'd go with the Experimental version, since it's at 3.0.1-1, but 
Sid is still back at 2.0.12-1+nmu1.)


--
Ron Johnson, Jr.
Jefferson LA  USA

"I am not surprised, for we live long and are celebrated poopers."


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




Possibly OT: Linux chat/desktop share client compatible with Windows NetMeeting?

2009-01-23 Thread Carl Fink
My company uses NetMeeting for a lot of collaboration between our quite
distant offices.  It's free, it works quite well, and it doesn't use much
bandwidth for what it does.  In order to use a Debian system when I work
from home, I would need three components to work:

1. Voice chat.
2. Text chat (used for passing URLs and such).
3. Desktop sharing.

Please don't suggest "Switch to something else."  I don't decide that, the
company has standardized on NetMeeting and will be sticking with it.

A few years ago I would have thought such a replacement unlikely, but when
rdesktop is so incredibly good at imitating Microsoft's Remote Desktop and
samba does SMB *better* than MS operating systems, anything is possible.

So: any suggestions?

Thanks.
-- 
Carl Fink   nitpick...@nitpicking.com 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


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



Re: Ticketing system

2009-01-23 Thread Ron Johnson

On 01/23/2009 09:30 PM, Umarzuki Mochlis wrote:
Recommend me a nice, easy to use free and open source software for 
support ticketing system on linux adn please tell me why do you like it :)


What kind of tickets?  Speeding tickets?

--
Ron Johnson, Jr.
Jefferson LA  USA

"I am not surprised, for we live long and are celebrated poopers."


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




Re: Scim does not work with openoffice

2009-01-23 Thread Joel Roth
On Fri, Jan 23, 2009 at 07:46:18PM +, Rodolfo Medina wrote:
> On Thu, Jan 22, 2009 at 04:07:37PM +, Rodolfo Medina wrote:
> 
> >> Any Scim users out there?  Scim does not work for me within Openoffice.  It
> >> works fine with gedit, just with the command
> >> 
> >>  $ GTK_IM_MODULE="scim" gedit
> >  
> >> .  Any help very much appreciated.
> 
> 
> 
> Joel Roth  writes:
> 
> > Sounds like you're close.
> > FWIW, I just typed some Japanese using SCIM/anthy into Openoffice.
> >
> > My environment includes
> >
> > GTK_IM_MODULE=scim
> > LC_CTYPE=ja_JP.utf8
> > LANG=ja_JP.utf8
> >
> > I was stymied in my new system because I'd forgotten
> > to install the necessary fonts.
> >
> > If you can't figure it out, I'd suggest posting on the Scim
> > mailing list, a very helpful group in my experience.
> 
> 
> Thanks for your reply.  I posted on the Scim mailing list but got no reply.
> Please, how do you launch Openoffice?  Do you do
> 
>  $ GTK_IM_MODULE="scim" openoffice
> 
> ?  Or maybe you start scim with `$ scim' and then in another terminal you
> launch Openoffice with `$ openoffice'?
> 
> Thanks, cheers
> Rodolfo

Rodolfo, 

Since we are talking about Debian, first you need to make
sure you have the correct packages installed.

Here is what I have.

ii  libscim8c2a  1.4.7-3 library 
for SCIM platform
ii  scim 1.4.7-3 smart 
common input method platform
ii  scim-anthy   1.2.4-1.1   SCIM 
IMEngine module for Anthy
ii  scim-gtk2-immodule   1.4.7-3 GTK+2 
input method module with SCIM as backend
ii  scim-modules-socket  1.4.7-3 socket 
modules for SCIM platform

Second, you have to have the correct locale and environment settings.
These are best set in $HOME/.xsession .

I have these settings:

export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
export LC_CTYPE=ja_JP.utf8
export LANG=ja_JP.utf8

Then when you start X, and you start a terminal,
you should type the command

$ env

and confirm that your environment is as it should be.

Then starting openoffice is just:

$ openoffice

Hope this helps,

Joel

> 

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

-- 
Joel Roth


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



Ticketing system

2009-01-23 Thread Umarzuki Mochlis
Recommend me a nice, easy to use free and open source software for support
ticketing system on linux adn please tell me why do you like it :)

-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


How to remove automatically installed packages when nothing depends on them?

2009-01-23 Thread Nuno Magalhães
Try deborphan or, better orphaner

Nuno Magalhães


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



Re: How to remove automatically installed packages when nothing depends on them?

2009-01-23 Thread Daniel Burrows
On Fri, Jan 23, 2009 at 08:42:30PM +, Countable Infinity 
 was heard to say:
> When I installed xfce4-terminal, it automatically installed
> libxfce4mcs-manager3, libxfce4util4, etc. But now if I do:
> 
> aptitude purge xfce4-terminal
> 
> it does not remove these libs that were installed automatically.
> 
> Is there a way to remove these automatically installed packages  when
> nothing depends on them any more?

  What does "aptitude why xfce4-terminal" print?

  Daniel


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



automatic and static dhcp lease on same interface

2009-01-23 Thread Felipe Gallois
Hello all,

I have a scenario where I need to use just one physical interface to make
two subnets. So far so good.
I'm stuck in the following.
I need that of the subnets have static ip with the dhcp server (binding the
mac addresses) and the other one automatically offer the IP addresses.
So, if the computer is 'known' to the server, it will give an IP and access
to a subnet where some services are available, if not, the computer will
fall to another subnet where it'll be only able to access the internet.

The static IP is not ultimatelly necessary, it was just something I thought
to bind via mac address a computer known (reliable) to the subnet.

Is it possible to do something like that with the dhcp3 server?
If so, where can I find some docs about it? I googled a lot and just found
the shared-networks stuff, but it will not solve my problem as is (or as far
as I could grasp it ;)

I know some cisco routers can do the static/automatic stuff, but doing so
with a computer would be better to me for now!

Thanks in advance

cheers

-- 
gallois
aka Felipe Gallois
blog: www.gallois.com.br/blog
fanglib homepage: www.gallois.com.br/fanglib


Re: laptop lenny + TV

2009-01-23 Thread consultores1
El jue, 22-01-2009 a las 21:32 -0800, Alan Ianson escribió:
> > Experimenting, i downloded slax iso, burned it, and copied back to my
> > HD; then i added NVIDIA-Linux-x86_64-173.14.12, burned the .iso again,
> > and it is working correctly!
> >
> > With Lenny, it can not be installed because no one version of gcc is
> > coincident with the drivers, or the link is missed. How can i identify
> > the correct drivers version plus the gcc version to compile it?
> 
> 
> There are nvidia-kernel packages in non-free for lenny. I use those with good 
> results.
> 

Is it possible that you mention the steps or the place to find
information?

I installed, nvidia-glx, nvidia-kernel-2.6-amd64,
nvidia-kernel-2.6.26-1-amd64, and nvidia-kernel-common; but nothing
happened.

> I don't have the whole thread to go back and read so I don't know if there is 
> some reason why you don't use them. Give them a try if you haven't already.
> 

Really, my problem is what i do not know or understand exactly, what and
how install to connect my laptop Compaq Presario v3000, amd Turion 64x2,
Nvidia Ge Force 6150 Go to a generic tv by the way of s-video or another
form to see videos.


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



Re: Problem with printer Canon iP1800

2009-01-23 Thread Clifford W. Hansen
On Friday 23 January 2009 23:46:49 Сергей Овчар wrote:
> Can anyone help me adjust the printer?
>
> I use files:
> cnijfilter-common_2.70-3_i386.deb
> cnijfilter-ip1800series_2.70-3_i386.deb
> and after my attempt to install the, I've got this error
>
> --
> invoke-rc.d: unknown initscript, /etc/init.d/cupsys not found.
> dpkg: error processing cnijfilter-ip1800series (--install):
>  subprocess post-installation script returned error exit status 100
> Errors were encountered while processing:
>  cnijfilter-ip1800series
> --
>
> How can I solve the problem?

I wrote a post[1] about getting this printer setup

sorry for the shameless plug ;)

[1] http://nighthawk.co.za/2008/07/canon-ip1800/
-- 
Thank you,

Clifford W. Hansen
PHP Developer / Linux Administrator

(Mobile/SMS)  +27 82 883 8677
(Fax) +27 86 503 0634
(E-Mail/Jabber/GMail) cliff...@nighthawk.co.za
(GPG) 0x936D6C19
(Web) http://nighthawk.co.za/

"We have seen strange things today!"

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


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



Re: Problem with printer Canon iP1800

2009-01-23 Thread Eugene V. Lyubimkin
Сергей Овчар wrote:
> Can anyone help me adjust the printer?
> 
> I use files:
> cnijfilter-common_2.70-3_i386.deb
> cnijfilter-ip1800series_2.70-3_i386.deb
> and after my attempt to install the, I've got this error
> 
> --
> invoke-rc.d: unknown initscript, /etc/init.d/cupsys not found.
> dpkg: error processing cnijfilter-ip1800series (--install):
>  subprocess post-installation script returned error exit status 100
> Errors were encountered while processing:
>  cnijfilter-ip1800series
> --
> 
> How can I solve the problem?
It seems that that debs are not from Debian archive, and they don't know about 
latest
changes in Debian, so request third-party packagers to upgrade their packages. 
Debian
Lenny has /etc/init.d/cups, not /etc/init.d/cupsys.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ developer, Debian Maintainer, APT contributor



signature.asc
Description: OpenPGP digital signature


Problem with printer Canon iP1800

2009-01-23 Thread Сергей Овчар
Can anyone help me adjust the printer?

I use files:
cnijfilter-common_2.70-3_i386.deb
cnijfilter-ip1800series_2.70-3_i386.deb
and after my attempt to install the, I've got this error

--
invoke-rc.d: unknown initscript, /etc/init.d/cupsys not found.
dpkg: error processing cnijfilter-ip1800series (--install):
 subprocess post-installation script returned error exit status 100
Errors were encountered while processing:
 cnijfilter-ip1800series
--

How can I solve the problem?


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



Re: questions about lvm2

2009-01-23 Thread Ron Johnson

On 01/23/2009 11:28 AM, Mike Castle wrote:

On Wed, Jan 21, 2009 at 8:13 PM, Ron Johnson  wrote:

If I have lots of existing data in JBODs, would I create a PV and VG on the
new drive, mv all the data from the existing drives to the new VG, then add
my existing drives (while also enlarging the fs) to the one-drive VG, thus
making an uber-device?



That is how I started and how I've been, more or less, running with
LVM for years, though I think I'm about to change.


Over an 8 hour period, I grew my lv from one device to 4, resizing 
an ext4 fs each time.


Note that I'm running 2.6.28 from:
deb http://kernel-archive.buildserver.net/debian-kernel trunk main

[snip]


One pain point I have is this:  In order to run resize2fs(8), you have
to fsck the FS first.  As they grow larger and larger, this takes
longer and longer.  I have a 2TB FS now that I really don't want to
grow any more because of that.

Ext4 may solve the fscking issue, but in the one article I've read so


Yup, it does!!!  (The required version of e2fsprogs is in Sid, 
probably in Lenny, and probably isn't in Etch.)


# df -TH /data/big
FilesystemType Size   Used  Avail Use% Mounted on
/dev/dm-0 ext4 3.0T   1.4T   1.5T  48% /data/big

# umount -v /data/big
/dev/dm-0 umounted

# time e2fsck -pfC0 /dev/main_huge_vg/main_huge_lv
/dev/main_huge_vg/main_huge_lv: 515937/180412416 files
(1.9% non-contiguous), 333951921/721649664 blocks

real3m10.506s
user2m21.589s
sys 0m4.020s


far, resizing wasn't mentioned in it.  (I'm also considering ext4 for
other reasons.)
One thing I do tend to do with every disk is this:

I put a small swap partition on each disk, then the rest is an LVM


Stuffing your mobo with *dirt-cheap* RAM is the other way to solve 
this particular problem!!!


[big snip]

--
Ron Johnson, Jr.
Jefferson LA  USA

"I am not surprised, for we live long and are celebrated poopers."


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




Re: How to remove automatically installed packages when nothing depends on them?

2009-01-23 Thread Alan Ianson
On Fri January 23 2009 01:08:49 pm Countable Infinity wrote:
> On Fri, Jan 23, 2009 at 9:02 PM, Alan Ianson  wrote:
> > On Fri January 23 2009 12:42:30 pm Countable Infinity wrote:
> >> When I installed xfce4-terminal, it automatically installed
> >> libxfce4mcs-manager3, libxfce4util4, etc. But now if I do:
> >>
> >> aptitude purge xfce4-terminal
> >>
> >> it does not remove these libs that were installed automatically.
> >>
> >> Is there a way to remove these automatically installed packages  when
> >> nothing depends on them any more?
> >
> > There is a setting in aptitude -> options -> preferences to remove unused
> > packages automatically. Is it switched on?
>
> Can't find any such thing. Could you please check your aptitude >
> options > preferences and confirm which option it is?

It's under dependency handling.

In aptitude press F10, then goto options, then in the preferences..


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



Re: How to remove automatically installed packages when nothing depends on them?

2009-01-23 Thread Countable Infinity
On Fri, Jan 23, 2009 at 9:02 PM, Alan Ianson  wrote:
> On Fri January 23 2009 12:42:30 pm Countable Infinity wrote:
>> When I installed xfce4-terminal, it automatically installed
>> libxfce4mcs-manager3, libxfce4util4, etc. But now if I do:
>>
>> aptitude purge xfce4-terminal
>>
>> it does not remove these libs that were installed automatically.
>>
>> Is there a way to remove these automatically installed packages  when
>> nothing depends on them any more?
>
> There is a setting in aptitude -> options -> preferences to remove unused
> packages automatically. Is it switched on?

Can't find any such thing. Could you please check your aptitude >
options > preferences and confirm which option it is?


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



Re: How to remove automatically installed packages when nothing depends on them?

2009-01-23 Thread Eugene V. Lyubimkin
Countable Infinity wrote:
> When I installed xfce4-terminal, it automatically installed
> libxfce4mcs-manager3, libxfce4util4, etc. But now if I do:
> 
> aptitude purge xfce4-terminal
> 
> it does not remove these libs that were installed automatically.
> 
> Is there a way to remove these automatically installed packages  when
> nothing depends on them any more?
Try running 'aptitude purge'.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ developer, Debian Maintainer, APT contributor



signature.asc
Description: OpenPGP digital signature


Re: How to remove automatically installed packages when nothing depends on them?

2009-01-23 Thread Boyd Stephen Smith Jr.
On Friday 2009 January 23 14:42:30 Countable Infinity wrote:
>When I installed xfce4-terminal, it automatically installed
>libxfce4mcs-manager3, libxfce4util4, etc. But now if I do:
>
>aptitude purge xfce4-terminal
>
>it does not remove these libs that were installed automatically.
>
>Is there a way to remove these automatically installed packages  when
>nothing depends on them any more?

Aptitude should automatically do that.  It's possible that it thinks these 
packages are "manually" installed.  To fix that:
aptitude markauto libxfce4mcs-manager3 libxfce4util4 $etc

If that doesn't suggest packages to be removed, perhaps those packages are 
actually depended on.  You might try:
aptitude search '~Rlibxfce4mcs-manager3'
to see what packages depend on libxfce4mcs-manager3, but the CUI for aptitude 
will probably be more useful if you have to hunt down many dependencies.

Finally, you can always:
aptitude purge libxfce4mcs-manager3 libxfce4util4 $etc
and aptitude will inform you if other packages will need to be removed due to 
missing dependencies.
-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.net/  \_/ 


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


Re: 'who am i' command does not produce output in 'mrxvt'

2009-01-23 Thread Alan Ianson
On Fri January 23 2009 12:56:49 pm Countable Infinity wrote:
> No,I am looking for the command 'who' with two arguments. The command
> 'whoami' prints only the user name. However, I want the tty and the
> time stamp too. As per the man page of 'who':
>
> "If  ARG1  ARG2  given, -m presumed: 'am i' or 'mom likes' are usual."
>
> "-m only hostname and user associated with stdin"
>
> So, 'who am i' is what I need. However, my question was a little
> different. When 'who am i' is producing output in gnome-terminal, why
> isn't it doing so in 'mrxvt' ?

konsole also gives nothing.. I dunno why.


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



Re: 'who am i' command does not produce output in 'mrxvt'

2009-01-23 Thread Steve Kemp
On Fri Jan 23, 2009 at 20:44:42 +, Countable Infinity wrote:

> hum...@nifty:~$ who am i
> humptypts/22009-01-24 02:12 (:0.0)
> 
> However, in mrxvt, it does not produce any output.
> 
> hum...@nifty:~$ who am i
> hum...@nifty:~$
> 
> What could be the reason for this? Is this a bug?

  Probably means that mrxvt doesn't create/record an entry in
 the wtmp database when a new session is started.

  Its not a bug as such, just an omission.  I guess if you
 run "ssh localhost" you'd suddenly see yourself listed.

Steve
-- 
Managed Anti-Spam Service
http://mail-scanning.com/


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



Re: How to remove automatically installed packages when nothing depends on them?

2009-01-23 Thread Alan Ianson
On Fri January 23 2009 12:42:30 pm Countable Infinity wrote:
> When I installed xfce4-terminal, it automatically installed
> libxfce4mcs-manager3, libxfce4util4, etc. But now if I do:
>
> aptitude purge xfce4-terminal
>
> it does not remove these libs that were installed automatically.
>
> Is there a way to remove these automatically installed packages  when
> nothing depends on them any more?

There is a setting in aptitude -> options -> preferences to remove unused 
packages automatically. Is it switched on?


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



Re: 'who am i' command does not produce output in 'mrxvt'

2009-01-23 Thread Ron Johnson

On 01/23/2009 02:52 PM, subscriptions wrote:

On Fri, 2009-01-23 at 21:44 +0100, Countable Infinity wrote:

'who am i' produces the following output in gnome-terminal:

hum...@nifty:~$ who am i
humptypts/22009-01-24 02:12 (:0.0)

However, in mrxvt, it does not produce any output.

hum...@nifty:~$ who am i
hum...@nifty:~$

What could be the reason for this? Is this a bug?


:) You did the command 'who' with parameters 'am' and 'i'.

The command you are looking for is 'whoami'.


Pay closer attention:

GNOME TERMINAL:
$ who am i
me   pts/32009-01-23 14:58 (:0.0)
$ whoami
me

RXVT:
$ who am i
$ whoami
me

--
Ron Johnson, Jr.
Jefferson LA  USA

"I am not surprised, for we live long and are celebrated poopers."


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




Re: 'who am i' command does not produce output in 'mrxvt'

2009-01-23 Thread Countable Infinity
How can I check for utmp entry?

Also, if the UTMP entry doesn't exist why does it work in
gnome-terminal and while logging in through tty1, tty2, etc.?

On Fri, Jan 23, 2009 at 8:55 PM, Tzafrir Cohen  wrote:
> On Fri, Jan 23, 2009 at 08:44:42PM +, Countable Infinity wrote:
>> 'who am i' produces the following output in gnome-terminal:
>>
>> hum...@nifty:~$ who am i
>> humptypts/22009-01-24 02:12 (:0.0)
>>
>> However, in mrxvt, it does not produce any output.
>>
>> hum...@nifty:~$ who am i
>> hum...@nifty:~$
>>
>> What could be the reason for this? Is this a bug?
>
> No utmp entry?
>
> xterm is setuid root, and 'who mom likes' works there. mlterm is not and
> 'who -m' prints nothing.
>
> --
> Tzafrir Cohen | tzaf...@jabber.org | VIM is
> http://tzafrir.org.il || a Mutt's
> tzaf...@cohens.org.il ||  best
> ICQ# 16849754 || friend
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


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



Re: Serious aptitude upgrade problem

2009-01-23 Thread Jörg-Volker Peetz
Flo wrote:
>>
>>   I don't know the timing, but I wonder if it could be as simple as
>> mirror skew.
>>
> 
> Probably you are right. I did the right thing at the wrong time. And
> spent hours on searching a problem which didn't exist.
> 
> Nevertheless, thank you for your help.
> 
> Flo.
> 
> 

Also take a look into directory /var/lib/apt/lists/partial. There may be left
some files. I had to remove them by hand.
-- 
Regards,
Jörg-Volker.


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



Re: 'who am i' command does not produce output in 'mrxvt'

2009-01-23 Thread Countable Infinity
No,I am looking for the command 'who' with two arguments. The command
'whoami' prints only the user name. However, I want the tty and the
time stamp too. As per the man page of 'who':

"If  ARG1  ARG2  given, -m presumed: 'am i' or 'mom likes' are usual."

"-m only hostname and user associated with stdin"

So, 'who am i' is what I need. However, my question was a little
different. When 'who am i' is producing output in gnome-terminal, why
isn't it doing so in 'mrxvt' ?


On Fri, Jan 23, 2009 at 8:52 PM, subscriptions
 wrote:
> On Fri, 2009-01-23 at 21:44 +0100, Countable Infinity wrote:
>> 'who am i' produces the following output in gnome-terminal:
>>
>> hum...@nifty:~$ who am i
>> humptypts/22009-01-24 02:12 (:0.0)
>>
>> However, in mrxvt, it does not produce any output.
>>
>> hum...@nifty:~$ who am i
>> hum...@nifty:~$
>>
>> What could be the reason for this? Is this a bug?
>
> :) You did the command 'who' with parameters 'am' and 'i'.
>
> The command you are looking for is 'whoami'.
>
> Best,
>
> Rob
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


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



Re: 'who am i' command does not produce output in 'mrxvt'

2009-01-23 Thread Tzafrir Cohen
On Fri, Jan 23, 2009 at 08:44:42PM +, Countable Infinity wrote:
> 'who am i' produces the following output in gnome-terminal:
> 
> hum...@nifty:~$ who am i
> humptypts/22009-01-24 02:12 (:0.0)
> 
> However, in mrxvt, it does not produce any output.
> 
> hum...@nifty:~$ who am i
> hum...@nifty:~$
> 
> What could be the reason for this? Is this a bug?

No utmp entry?

xterm is setuid root, and 'who mom likes' works there. mlterm is not and
'who -m' prints nothing.

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


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



Re: 'who am i' command does not produce output in 'mrxvt'

2009-01-23 Thread Countable Infinity
Yes. I am executing the 'who am i' command (not 'whoami' command). So,
yes, I am putting space between them.

On Fri, Jan 23, 2009 at 8:51 PM, Frank McCormick
 wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Countable Infinity wrote:
>> 'who am i' produces the following output in gnome-terminal:
>>
>> hum...@nifty:~$ who am i
>> humptypts/22009-01-24 02:12 (:0.0)
>>
>> However, in mrxvt, it does not produce any output.
>>
>> hum...@nifty:~$ who am i
>> hum...@nifty:~$
>>
>> What could be the reason for this? Is this a bug?
>>
>>
>
>
>   whoami works in every terminal on my machine - are you putting in a
> space between who and ami ??
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkl6LcEACgkQnQV1aTcQlJucKQCffRb0RN+gDo6DEuODchHzXqSi
> BqYAn2z30fuvzxIxF1LHp2r6TT/nB7Kl
> =cjT1
> -END PGP SIGNATURE-
>


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



Re: 'who am i' command does not produce output in 'mrxvt'

2009-01-23 Thread subscriptions
On Fri, 2009-01-23 at 21:44 +0100, Countable Infinity wrote:
> 'who am i' produces the following output in gnome-terminal:
> 
> hum...@nifty:~$ who am i
> humptypts/22009-01-24 02:12 (:0.0)
> 
> However, in mrxvt, it does not produce any output.
> 
> hum...@nifty:~$ who am i
> hum...@nifty:~$
> 
> What could be the reason for this? Is this a bug?

:) You did the command 'who' with parameters 'am' and 'i'.

The command you are looking for is 'whoami'.

Best,

Rob


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



Re: 'who am i' command does not produce output in 'mrxvt'

2009-01-23 Thread Frank McCormick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Countable Infinity wrote:
> 'who am i' produces the following output in gnome-terminal:
> 
> hum...@nifty:~$ who am i
> humptypts/22009-01-24 02:12 (:0.0)
> 
> However, in mrxvt, it does not produce any output.
> 
> hum...@nifty:~$ who am i
> hum...@nifty:~$
> 
> What could be the reason for this? Is this a bug?
> 
> 


   whoami works in every terminal on my machine - are you putting in a
space between who and ami ??


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

iEYEARECAAYFAkl6LcEACgkQnQV1aTcQlJucKQCffRb0RN+gDo6DEuODchHzXqSi
BqYAn2z30fuvzxIxF1LHp2r6TT/nB7Kl
=cjT1
-END PGP SIGNATURE-


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



Re: [medium OT]

2009-01-23 Thread Tzafrir Cohen
On Fri, Jan 23, 2009 at 05:34:12PM +0100, Listas wrote:

> I am looking for a system to web version control, for ASP web. From  
> this, I am looking for the best solution in Windows, Debian... but I  
> need the server of version control. My web is in ASP and a web needs a  
> lot of test, how could I install a version control server to commit  
> changes and then test with a web browser ? The server should be on the  
> same machine where is the web server ? Could I use a Debian server and  
> then copy the files when I am doing a commit ?

As for the version control system: the younger and far more capable
systeer of CVS is Subversion (SVN). Like CVS, Subversion sticks with the
same model of a central server that holds everything, and from which you
check out a local working copy that has the parts you want to look at
right now.

Subversion is at this point mature and well-integrated into third-party
tools.


A whole different approach is "distributed version contorl systems". In
those systems every local copy contains the whole repository.

I assume that your workflow is relatively simple: minimal branching (if
at all). An occasional tag. If so, "distributed" version control systems
might actually simplify things: no need to define a separate version
control server. The whole history is here.

If you're actually working with someone else and merging changes, then
what I wrote above may not really apply, and refer to the general flames
on this subject.


BTW: if you work with svn: apt-get install trac. While debatable as a
bug tracker, it has a really nice SVN browser. An alternative SVN
browser is git/git-svn, once you get to know it ;-)

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


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



'who am i' command does not produce output in 'mrxvt'

2009-01-23 Thread Countable Infinity
'who am i' produces the following output in gnome-terminal:

hum...@nifty:~$ who am i
humptypts/22009-01-24 02:12 (:0.0)

However, in mrxvt, it does not produce any output.

hum...@nifty:~$ who am i
hum...@nifty:~$

What could be the reason for this? Is this a bug?


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



How to remove automatically installed packages when nothing depends on them?

2009-01-23 Thread Countable Infinity
When I installed xfce4-terminal, it automatically installed
libxfce4mcs-manager3, libxfce4util4, etc. But now if I do:

aptitude purge xfce4-terminal

it does not remove these libs that were installed automatically.

Is there a way to remove these automatically installed packages  when
nothing depends on them any more?


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



Re: Serious aptitude upgrade problem

2009-01-23 Thread Flo Debian
> >No, nothing special. I just have different sources in the menu.lst.
> 
> Your GRUB configuration (/boot/grub/menu.lst) is an odd place to store apt
> sources.  Don't you think the normal place (/etc/apt/sources.list) would 
> be better?  :)
> 

Sorry, I was too stupid. I just had to edit menu.lst before und so it wrote it 
at the reply.

Of course, my sources are in sources.list.

Flo

-- 
NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a


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



Re: [medium OT]

2009-01-23 Thread Kelly Clowers
On Fri, Jan 23, 2009 at 08:34, Listas  wrote:
> Tzafrir Cohen escribió:
>>
>> On Fri, Jan 23, 2009 at 04:52:17PM +0100, Adrian Chapela wrote:
>>
>>>
>>> Hello again!
>>>
>>> I am looking for a good cvs, control version for web developing. Some of
>>>  my web developments was in ASP and because that I need some cvs for use
>>>  with it, on windows or in Debian.
>>>
>>> Do  you know a good version to use with web development ?
>>>
>>
>> Are you looking at setting up a CVS server on Debian? Using Debian as a
>> CVS client? Or just looking for CVS hosting?
>>
>> And is CVS your preffered version control system (if so: why??) or are
>> you looking for alternatives?
>>
>
> Yes, I think the same... my mail needs a bit of explanation.
>
> I am looking for a system to web version control, for ASP web. From this, I
> am looking for the best solution in Windows, Debian... but I need the server
> of version control. My web is in ASP and a web needs a lot of test, how
> could I install a version control server to commit changes and then test
> with a web browser ? The server should be on the same machine where is the
> web server ? Could I use a Debian server and then copy the files when I am
> doing a commit ?
>
> All options will be welcome!

I think Git, Mercurial (hg), or Bazaar (bzr) would be the best possibilities.

Git has the most mindshare in the Open Source community, but it is
somewhat harder to learn (though not as bad as it used to be) and I
think it still has the worst Windows support (again, not as bad as it
used to be). Git is often considered the most powerful/flexible but
hg advocates say hg  is just as powerful.

Hg is a lot like git in many ways, but it may be a little easier to learn,
and it has better windows support.

Bzr may be the easiest to pick up, and it may still be the slowest. As
far as I know, its Windows support is fine.

Subversion (svn) is a possibility, but nowadays it doesn't really gain
you anything. It used to have the Windows advantage of TortoiseSVN,
(right click Explorer integration), but TortoiseHg seems pretty mature,
and TortoiseBZR is not far behind. TortoiseGit is just getting started,
at version 0.1, released December 12, 2008.

If this was for an OSS project, I would recommend git (unless you wanted
to work closely with Canonical/Ubuntu (bzr) or Mozilla (hg)) but for an
internal, non-shared project like this it doesn't really matter.

As far as structure, I would have one repo on the dev server and
one repo on each dev workstation, that pulls from and pushes to
the dev server. Then finally a repo on the production server that
pulls from the dev server, but never pushes anywhere.

Some adjustment to this basic plan might be needed, e.g. in git, on
the dev server, there should probably be a bare repo that you
push and pull from and a second, non-bare repo that is what that
dev server actually runs from. I don't know if hg and bzr need this
kind of setup or not.


Cheers,
Kelly Clowers


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



Re: reinserting USB plug via software

2009-01-23 Thread Boyd Stephen Smith Jr.
On Friday 2009 January 23 12:55:23 jida...@jidanni.org wrote:
>I have perfected:

Bold claim!

>$ cat usb-reset
>#!/bin/sh
>mount|grep /dev/sd && { echo 1>&2 $0: umount it first, Holmes; exit 55;}

It will always error on both of my systems, having /dev/sda1 (internal SATA 
drive) mounted as /boot.

>grep uhci_hcd /proc/modules > /dev/null
>case $? in 0) m=u;; 1) m=o;; esac

How about:
m=o; grep -q uhci_hcd /proc/modules && m=u
which does mostly the same thing.

Also, this falls apart on my desktop that needs all *three* usb modules loaded 
for all the ports to work.  (Yes, this did cause me no end to trouble as uhci 
and ohci have not always played as well together as they do now.)

Not perfect, but quite usable.
-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.net/  \_/ 


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


Re: reinserting USB plug via software

2009-01-23 Thread jidanni
Gentlemen, thank you for your answers. I have perfected:
$ cat usb-reset
#!/bin/sh
mount|grep /dev/sd && { echo 1>&2 $0: umount it first, Holmes; exit 55;}
grep uhci_hcd /proc/modules > /dev/null
case $? in 0) m=u;; 1) m=o;; esac
set -e
for i in rmmod modprobe
do for j in ${m?}hci-hcd ehci-hcd
do $i $j
done
sleep 1
done


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



Re: Scim does not work with openoffice

2009-01-23 Thread Rodolfo Medina
On Thu, Jan 22, 2009 at 04:07:37PM +, Rodolfo Medina wrote:

>> Any Scim users out there?  Scim does not work for me within Openoffice.  It
>> works fine with gedit, just with the command
>> 
>>  $ GTK_IM_MODULE="scim" gedit
>  
>> .  Any help very much appreciated.



Joel Roth  writes:

> Sounds like you're close.
> FWIW, I just typed some Japanese using SCIM/anthy into Openoffice.
>
> My environment includes
>
> GTK_IM_MODULE=scim
> LC_CTYPE=ja_JP.utf8
> LANG=ja_JP.utf8
>
> I was stymied in my new system because I'd forgotten
> to install the necessary fonts.
>
> If you can't figure it out, I'd suggest posting on the Scim
> mailing list, a very helpful group in my experience.


Thanks for your reply.  I posted on the Scim mailing list but got no reply.
Please, how do you launch Openoffice?  Do you do

 $ GTK_IM_MODULE="scim" openoffice

?  Or maybe you start scim with `$ scim' and then in another terminal you
launch Openoffice with `$ openoffice'?

Thanks, cheers
Rodolfo


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



Re: [medium OT]

2009-01-23 Thread Boyd Stephen Smith Jr.
On Friday 2009 January 23 10:26:19 Tzafrir Cohen wrote:
>On Fri, Jan 23, 2009 at 04:52:17PM +0100, Adrian Chapela wrote:
>> Hello again!
>>
>> I am looking for a good cvs, control version for web developing. Some of
>> my web developments was in ASP and because that I need some cvs for use
>> with it, on windows or in Debian.
>>
>> Do  you know a good version to use with web development ?
>
>Are you looking at setting up a CVS server on Debian? Using Debian as a
>CVS client? Or just looking for CVS hosting?
>
>And is CVS your preffered version control system (if so: why??) or are
>you looking for alternatives?

All good questions.  VCS (Version Control System) and SCM (Source Code 
Management) are usually the generic terms, but I have seen cvs used 
generically, usually by people that doesn't really know what they want.

I suggest using Mercurial/Git/Bazaar/DARCS for this task, forgetting about the 
bad-old-days of SVN and the dark ages of CVS just like many do not recall the 
time before time of RCS and SCCS.

I'd recommend Git, but that's because I use it.  Any of them should meet your 
needs technically, so I'd find the one whose community of support most 
closely matches your needs.

If you *need* CVS in specific, I'm pretty sure Debian has GNU CVS server and 
clients available in main.
-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.net/  \_/ 


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


Re: questions about lvm2

2009-01-23 Thread Mike Castle
On Wed, Jan 21, 2009 at 8:13 PM, Ron Johnson  wrote:
>
> If I have lots of existing data in JBODs, would I create a PV and VG on the
> new drive, mv all the data from the existing drives to the new VG, then add
> my existing drives (while also enlarging the fs) to the one-drive VG, thus
> making an uber-device?


That is how I started and how I've been, more or less, running with
LVM for years, though I think I'm about to change.

First, I've actually had different FS with different settings for
different purposes.  Mostly different bytes-per-inode for file system
that have lots of big or lots of small files.  Some have ext2 vs ext3
differences.  Some are backups of retired windows machines that are
just readonly.  And i'd do the occasional snapshot to do backups from.

As each FS would fill up, I would extend that particular FS.  Some
would reach a steady state.  One interesting side affect of this is
the fact that I would fragmentation at the filesystem level, as
opposed to the file level.  Every once in a while, I'd move LVs around
to defrag (usually as part of adding a newer larger harddrive, and
retiring the smaller one).

One pain point I have is this:  In order to run resize2fs(8), you have
to fsck the FS first.  As they grow larger and larger, this takes
longer and longer.  I have a 2TB FS now that I really don't want to
grow any more because of that.

Ext4 may solve the fscking issue, but in the one article I've read so
far, resizing wasn't mentioned in it.  (I'm also considering ext4 for
other reasons.)

One thing I do tend to do with every disk is this:

I put a small swap partition on each disk, then the rest is an LVM
partition.  Depending on the machine, it could be 128M to 256M; I try
to stay consistent across disks.  I then set up each swap partition
with the same priority.  That way I get more spindles in action for
swap.  I have really no idea if it makes a difference or not, but it's
something I do.  It may very well actually cause more contention
because if I'm doing something that is causing me to page, then I'm
probably processing data on all of those disks anyway.

Anyway, that's my experience with LVM.  I like it, I've used it for,
... I'm not sure how long I've used it... has it been around for
10 years?  I can't remember when I switched to it, but I'm pretty sure
it was before I moved to the South Bay Area.  It took for years of
lobbying to get folks to start using it at work for one service I'm
responsible for; down time for backups dropped from one hour to one
minute, since they can now do LVM based snapshots and bring the
service right back up.

mrc


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



Re: weird paper size

2009-01-23 Thread Área Selección de Familias
check this:
http://www.velug.org.ve/archivo/l-linux-2007-September/062503.html


Re: [medium OT]

2009-01-23 Thread Listas

Tzafrir Cohen escribió:

On Fri, Jan 23, 2009 at 04:52:17PM +0100, Adrian Chapela wrote:
  

Hello again!

I am looking for a good cvs, control version for web developing. Some of  
my web developments was in ASP and because that I need some cvs for use  
with it, on windows or in Debian.


Do  you know a good version to use with web development ?



Are you looking at setting up a CVS server on Debian? Using Debian as a
CVS client? Or just looking for CVS hosting?

And is CVS your preffered version control system (if so: why??) or are
you looking for alternatives?
  

Yes, I think the same... my mail needs a bit of explanation.

I am looking for a system to web version control, for ASP web. From 
this, I am looking for the best solution in Windows, Debian... but I 
need the server of version control. My web is in ASP and a web needs a 
lot of test, how could I install a version control server to commit 
changes and then test with a web browser ? The server should be on the 
same machine where is the web server ? Could I use a Debian server and 
then copy the files when I am doing a commit ?


All options will be welcome!

Thank you!


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




black screen after "Log Out" from X using the xfsm-shutdown-helper.

2009-01-23 Thread Peter Crawford

Last week I installed Lenny on an IBM ThinkPad 240X.

After "Log Out" from X using the xfsm-shutdown-helper
the screen is black.  Appears that the console is left 
in a bad configuration.  

There is no obviously pertinent complaint in dmesg, 
in syslog or in Xorg.0.log.old.

Any ideas?

Thanks,  ... p. crawford


_
So many new options, so little time. Windows Live Messenger.
http://www.microsoft.com/windows/windowslive/messenger.aspx

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



Re: [medium OT]

2009-01-23 Thread Jeff D
On Fri, 23 Jan 2009, Adrian Chapela wrote:

> Hello again!
>
> I am looking for a good cvs, control version for web developing. Some of my
> web developments was in ASP and because that I need some cvs for use with it,
> on windows or in Debian.
>
> Do  you know a good version to use with web development ?
>
> Thank you!
>

I always use a mix of trac[1] and svn[2]; both are packaged in debian as
well. I there are clients for svn for windows and OSX as well if you need
them.

[1] http://trac.edgewall.org/
[2] http://subversion.tigris.org/

-- 
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.


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



Re: [medium OT]

2009-01-23 Thread Tzafrir Cohen
On Fri, Jan 23, 2009 at 04:52:17PM +0100, Adrian Chapela wrote:
> Hello again!
>
> I am looking for a good cvs, control version for web developing. Some of  
> my web developments was in ASP and because that I need some cvs for use  
> with it, on windows or in Debian.
>
> Do  you know a good version to use with web development ?

Are you looking at setting up a CVS server on Debian? Using Debian as a
CVS client? Or just looking for CVS hosting?

And is CVS your preffered version control system (if so: why??) or are
you looking for alternatives?

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


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



Re: [medium OT] CVS repository server

2009-01-23 Thread Adrian Chapela


Adrian Chapela escribió:

Hello again!

I am looking for a good cvs, control version for web developing. Some 
of my web developments was in ASP and because that I need some cvs for 
use with it, on windows or in Debian.


Do  you know a good version to use with web development ?

Thank you!


Excuse me, I forgot the subject...






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




Re: dialing modem as normal user

2009-01-23 Thread Eugene V. Lyubimkin
Peter Crawford wrote:
>> Date: Fri, 23 Jan 2009 09:15:37 -0600
>> From: mich...@pbandjelly.org
>> Subject: Re: dialing modem as normal user
>> ... executable by the 'dip' group - 'ls -l /usr/sbin/pppd'
> 
> For sake of interest, does anyone know the etymology 
> of dip?
Dynamic IP? DIal-uP? :)

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian Maintainer, APT contributor



signature.asc
Description: OpenPGP digital signature


[medium OT]

2009-01-23 Thread Adrian Chapela

Hello again!

I am looking for a good cvs, control version for web developing. Some of 
my web developments was in ASP and because that I need some cvs for use 
with it, on windows or in Debian.


Do  you know a good version to use with web development ?

Thank you!


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




RE: dialing modem as normal user

2009-01-23 Thread Peter Crawford

> Date: Fri, 23 Jan 2009 09:15:37 -0600
> From: mich...@pbandjelly.org
> Subject: Re: dialing modem as normal user
> ... executable by the 'dip' group - 'ls -l /usr/sbin/pppd'

For sake of interest, does anyone know the etymology 
of dip?
... p. crawford


_
How fun is this? IMing with Windows Live Messenger just got better.
http://www.microsoft.com/windows/windowslive/messenger.aspx

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



Re: Waiting for root file system...

2009-01-23 Thread Boyd Stephen Smith Jr.
On Friday 2009 January 23 01:38:57 lovecreatesbeauty.g-mail.c0m wrote:
>I updated kernel on debian-40r6 (2.6.18) to 2.6.28 from kernel.org,
>and got the error* "Waiting for root file system..." when booting the
>new kernel.

Ah, I've seen that a few times, myself.

>The linux's hosted in VMware Workstation 6.0. The commands I issued
>were: make defconfig, make, make modules_install install, update-
>initramfs -c -k 2.6.28.

I don't use VMWare, so I'm just going to ignore that specific piece of 
information, assuming it is irrelevant.

So, I guess not a Debian kernel then.  Have you tried this setup with the 
kernel packages available in Lenny/Sid?  Most likely, you are missing the 
module for the virtual disk.  "make defconfig" is something I've never used, 
but it is certainly possible that the kernel configuration that it generated 
is missing something you need to access your drives.  If you need a more 
recent kernel than is currently packaged by Debian, you might try using "make 
menuconfig" *after* "make defconfig" and enabling more options. 

>The /etc/fstab contains:
>/dev/sda1   /   ext3defaults,errors=remount-ro
>0   1
>/dev/sda5   noneswapsw  0   0

Simple enough.

>The /boot/grub/menu.lst contains:
>root(hd0,0)
>kernel  /boot/vmlinuz-2.6.18-6-686 root=/dev/sda1 ro
>initrd  /boot/initrd.img-2.6.18-6-686
>
>root(hd0,0)
>kernel  /boot/vmlinuz-2.6.28.1 root=/dev/sda1 ro
>initrd  /boot/initrd.img-2.6.28.1

So, 2.6.18-6-686 is your Debian kernel I guess.  Still Etch from the looks of 
it.  Does that GRUB option work, or does it also leave you at "Waiting for 
root file system..."?  If it works you might try taking the 
config-2.6.18-6-686 from /boot and using it as a basis for "make oldconfig" 
on the new kernel.  No guarantees though, "make oldconfig" is not necessarily 
robust when making such large changes (.18 -> .28).

>Some said that** there will be no /dev/sda1 for the new kernel, but
>how can i know the replacement for it in new kernel? After the message
>"Waiting for root file system...", the new kernel dropped into BusyBox
>ash:

Well, that's most likely the issue.  In your specific setup (virtualized 
single disk) though, the name is probably the same (/dev/sda1) its just that 
you have to make sure the correct driver is loaded.  You could be missing 
your filesystem driver as well, but ext3 is included in "make defconfig", 
AFAIK.

>(initramfs) cat /etc/fstab
>cat: /etc/fstab: No such file or directory

Yeah, the initramfs doesn't use an fstab.  The /etc/fstab you are familiar 
with resides on /dev/sda1 and that is not mounted yet.  Busybox is invoked 
when the "Waiting..." times out.

>(initramfs) cat /proc/partitions
>major minor  #blocks  name

That's not good, and does seem to indicate that the driver for your disk is 
not being loaded.

>Right now, I don't know how to apply volume label or UUID to solve
>this problem. Thanks for your time and help.

From within the initramfs, try:
ls -l /dev/[shm]d* /dev/mapper /dev/disk/by-*

That should list most of the block devices available to the initramfs.  If 
yours in not there, you either missed a driver using the kernel configuration 
process (most likely), it didn't get placed into the initramfs (possible), or 
the initramfs did not load it for some unknown reason (probably not).
-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.net/  \_/ 


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


Re: dialing modem as normal user

2009-01-23 Thread Michael Shuler
On 01/23/2009 08:53 AM, Eugene V. Lyubimkin wrote:
> Umarzuki Mochlis wrote:
>> How do i give permission to normal user to dial my 3g modem since wvdial can
>> only be invoked by root. correct me if I'm wrong.

Incorrect - 'ls -l /usr/bin/wvdial' - exec by all.

> Add yourself to 'dip' group?

Correct, but just to help the OP understand why this works - wvdial is
executable by all, but it's just a wrapper around pppd.  pppd is setuid
root and executable by the 'dip' group - 'ls -l /usr/sbin/pppd'

-- 
Kind Regards,
Michael Shuler


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



Re: dialing modem as normal user

2009-01-23 Thread Eugene V. Lyubimkin
Umarzuki Mochlis wrote:
> How do i give permission to normal user to dial my 3g modem since wvdial can
> only be invoked by root. correct me if I'm wrong.
> 
Add yourself to 'dip' group?

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian Maintainer, APT contributor



signature.asc
Description: OpenPGP digital signature


Re: dialing modem as normal user

2009-01-23 Thread Umarzuki Mochlis
2009/1/23 Eugene V. Lyubimkin 

> Umarzuki Mochlis wrote:
> > How do i give permission to normal user to dial my 3g modem since wvdial
> can
> > only be invoked by root. correct me if I'm wrong.
> >
> Add yourself to 'dip' group


thanks for the info, I'll try that out.

>
> --
> Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
> Ukrainian C++ Developer, Debian Maintainer, APT contributor
>
>


-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


Re: dialing modem as normal user

2009-01-23 Thread Ron Johnson

On 01/23/2009 08:21 AM, Umarzuki Mochlis wrote:
How do i give permission to normal user to dial my 3g modem since wvdial 
can only be invoked by root. correct me if I'm wrong.


What group owns the relevant serial port?

--
Ron Johnson, Jr.
Jefferson LA  USA

"I am not surprised, for we live long and are celebrated poopers."


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




Re: Serious aptitude upgrade problem

2009-01-23 Thread Boyd Stephen Smith Jr.
On Friday 23 January 2009, Flo  wrote about 'Re: Serious 
aptitude upgrade problem':
>No, nothing special. I just have different sources in the menu.lst.

Your GRUB configuration (/boot/grub/menu.lst) is an odd place to store apt 
sources.  Don't you think the normal place (/etc/apt/sources.list) would 
be better?  :)

;)
-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.net/  \_/ 


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


dialing modem as normal user

2009-01-23 Thread Umarzuki Mochlis
How do i give permission to normal user to dial my 3g modem since wvdial can
only be invoked by root. correct me if I'm wrong.

-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


Re: dhclient not updating /etc/resolv.conf

2009-01-23 Thread tyler
Stefan Monnier  writes:

>
> I recommend you install resolvconf (maybe it's installed already) and
> then you can place a script in /etc/resolvconf/update-libc.d which
> will be run whenever your resolv.conf file is modified (by getting
> some data from DHCP typically). I use this to automatically switch my
> Postfix smarthost depending on where I am.

Thanks, I'll look into this.

>
>> Even after I explicitly call dhclient ath0 the contents of
>> /etc/resolv.conf stay pointed at the dns servers for my work server.
>> Any tips as to why this doesn't work anymore? I've posted my dhclient
>> config below, in case that's helpful.
>
> No idea, have you changed dhclient's config from the stock Debian
> config? Do you get an IP address via your ath0 interface?
>

I don't think I changed the defaults, and I do get an IP address on
ath0, but it doesn't do me any good until I manually correct the
resolv.conf file to point at the dns server on my router. The strange
thing is, dhclient *does* modify resolv.conf, changing the search line
from

search SMUNET.SMU.CA

to

search SMUNET.SMU.CA, no-domain-set.aliant

which is, it adds my home domain, but doesn't delete my work domain, and
it leaves the nameserver lines pointing at my work dns.

??

Thanks,

Tyler


-- 
Research is what I'm doing when I don't know what I'm doing.
   --Wernher von Braun


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



lvm volume doesn't appear on (Nautilus) desktop?

2009-01-23 Thread Ron Johnson

Hi,

Am I missing something?  (Researching this on Google seems to 
indicate that others are having the same trouble, but no solutions 
seem forthcoming.


TIA
--
Ron Johnson, Jr.
Jefferson LA  USA

"I am not surprised, for we live long and are celebrated poopers."


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




Re: Scim does not work with openoffice

2009-01-23 Thread Joel Roth
On Thu, Jan 22, 2009 at 04:07:37PM +, Rodolfo Medina wrote:
> Hi.
> 
> Any Scim users out there?  Scim does not work for me within Openoffice.  It
> works fine with gedit, just with the command
> 
>  $ GTK_IM_MODULE="scim" gedit
 
> .  Any help very much appreciated.

Sounds like you're close.
FWIW, I just typed some Japanese using SCIM/anthy into Openoffice.

My environment includes

GTK_IM_MODULE=scim
LC_CTYPE=ja_JP.utf8
LANG=ja_JP.utf8

I was stymied in my new system because I'd forgotten
to install the necessary fonts.

If you can't figure it out, I'd suggest posting on the Scim
mailing list, a very helpful group in my experience.

Hope this helps,

Joel

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

-- 
Joel Roth


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



Metadata eraser

2009-01-23 Thread Adrian Chapela

Hello,

Does someone know one application to erase metadata on PDF, DOC, ODT ?

I am trying to find some but I only found applications to see metadata 
like extract.


Do you know some app?

Thank you!


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




wlan0 eth0 bridging problem

2009-01-23 Thread Deephay
Greetings all,

  I have two NICs on my laptop: eth0 and wlan0, I tried to bridge them
and use a ad-hoc connection with my cellphone to share the internet
connection, everythings seems OK, but if you tried to ping the
cellphone from the laptop, ARP requests will not get any answer:

# ifconfig br0
br0  Link encap:Ethernet  HWaddr 00:16:d3:f5:85:9f
  inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:5729 errors:0 dropped:0 overruns:0 frame:0
  TX packets:7999 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:3693622 (3.5 MiB)  TX bytes:1154223 (1.1 MiB)


# brctl show
bridge name bridge id   STP enabled interfaces
br0 8000.0016d3f5859f   no  eth0
wlan0
tcpdump will show the ARP request message again and again, this
behavior is different from MS Windows bridging. Could anyone tell me
why?

Deephay


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



Re: Waiting for root file system...

2009-01-23 Thread lovecreatesbea...@gmail.c0m
On Jan 23, 4:00 pm, "lovecreatesbeauty.g-mail.c0m"
 wrote:
> kernel  /boot/vmlinuz-2.6.28.1 root=/dev/sda1 ro
> initrd  /boot/initrd.img-2.6.28.1
>

sorry the occurences of "28.1" above should be "28" .


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



Re: Reality of SATA hotplug?

2009-01-23 Thread Stefan Monnier
> It is the reverse with external.  You can plug IN safely, but UNplugging may
> toastify the drive, or at least, the file system.  Or so I've been told.

AFAIk eSata can be unplugged safely in terms of electrical issues (i.e.,
you won't fry your drive).  But of course, if you unplug while you still
have data waiting to be written to the drive, you may lose data or even
your whole filesystem.  This is just inherent in unplugging and the same
thing can happen if you turn off the power at the wrong time.


Stefan


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



Re: dhclient not updating /etc/resolv.conf

2009-01-23 Thread Stefan Monnier
> The script to switch to wireless is (run as root):

> --8<---cut here---start->8---
> #! /bin/bash

> cd /etc/exim4/
> rm /etc/exim4/update-exim4.conf.conf
> ln -s sympatico.conf.conf update-exim4.conf.conf
> dpkg-reconfigure -u exim4-config
> --8<---cut here---end--->8---

I recommend you install resolvconf (maybe it's installed already) and
then you can place a script in /etc/resolvconf/update-libc.d which will
be run whenever your resolv.conf file is modified (by getting some data
from DHCP typically).  I use this to automatically switch my Postfix
smarthost depending on where I am.

This way I don't need to run any script: ifplugd automatically runs
dhclient when I plug in an ethernet cable which then causes my postfix
script to be run when dhclient gets an answer.
Similarly I use wpa-roam (in /etc/network/interfaces) so the wireless
network is automatically selected whenever it's available, at which
point dhclient is run etc...

> Even after I explicitly call dhclient ath0 the contents of
> /etc/resolv.conf stay pointed at the dns servers for my work server. Any
> tips as to why this doesn't work anymore? I've posted my dhclient config
> below, in case that's helpful.

No idea, have you changed dhclient's config from the stock
Debian config?  Do you get an IP address via your ath0 interface?


Stefan


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