Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread Dan Johansson
On Sunday 28 February 2010 04.57:36 ubiquitous1980 wrote: If I have logged in through sudo such as $ sudo su, when I then use man pages, they are covered in ESC. This does not occur when using normal user accounts or the root account through su. Wondering what is going on. Thanks. And I

Re: [gentoo-user] Is there a lock daemon for managing file locking on an NFS server? [SOLVED]

2010-02-28 Thread Amit Dor-Shifer
Neil Walker wrote: Amit Dor-Shifer wrote: e.g. 'lockd'? If so, which ebuild installs it? I abandoned nfs quite a while ago but, afaik, file locking is handled internally by the kernel. Be lucky, Neil http://www.neiljw.com rpc.lockd was removed starting of nfs-utils-1.1.0

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread pk
ubiquitous1980 wrote: If I have logged in through sudo such as $ sudo su, when I then use man pages, they are covered in ESC. This does not occur when using normal user accounts or the root account through su. Wondering what is going on. Thanks. Q: Have you tried ... su - (the dash is

Re: [gentoo-user] Re: Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread Neil Bothwick
On Sun, 28 Feb 2010 13:06:43 +0800, ubiquitous1980 wrote: Some ENV variables are unset by sudo. You can alter that behaviour in /etc/sudoers. I have Defaults:%wheel !env_reset and don't see this. But anyway, sudo su makes zero sense :P sudo su makes sense if you want to use the root

Re: [gentoo-user] Re: Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread ubiquitous1980
Neil Bothwick wrote: On Sun, 28 Feb 2010 13:06:43 +0800, ubiquitous1980 wrote: Some ENV variables are unset by sudo. You can alter that behaviour in /etc/sudoers. I have Defaults:%wheel !env_reset and don't see this. But anyway, sudo su makes zero sense :P

Re: [gentoo-user] Re: Who believes in cylinders?

2010-02-28 Thread Mick
On Saturday 27 February 2010 18:20:24 Etaoin Shrdlu wrote: On Saturday 27 February 2010, BRM wrote: Stage 1 focuses solely on loading Stage 2, and has historically been limited to a total size[1] to 512 bytes, It's actually less than that, because the first 64 bytes of sector 0 contain

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread ubiquitous1980
pk wrote: ubiquitous1980 wrote: If I have logged in through sudo such as $ sudo su, when I then use man pages, they are covered in ESC. This does not occur when using normal user accounts or the root account through su. Wondering what is going on. Thanks. Q: Have you tried ...

Re: [gentoo-user] Re: dev-libs/libgamin-0.1.10-r2 fails to emerge on a multilib profile

2010-02-28 Thread Mick
On Saturday 27 February 2010 21:45:13 Arttu V. wrote: On 2/27/10, Mick michaelkintz...@gmail.com wrote: On Saturday 27 February 2010 19:04:09 walt wrote: On 02/27/2010 10:04 AM, Mick wrote: Hi All, I am trying to install Gentoo on a i7 x86_64 arch machine and libgamin fails when I

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread pk
ubiquitous1980 wrote: http://lists.debian.org/debian-security/2006/07/msg00059.html With sudo su - the man pages do not have ESC throughout. I have learned sudo su from my ubuntu days and I am only guessing that this is bad practice and that the correct command is $ sudo su - No need to

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread ubiquitous1980
pk wrote: ubiquitous1980 wrote: http://lists.debian.org/debian-security/2006/07/msg00059.html With sudo su - the man pages do not have ESC throughout. I have learned sudo su from my ubuntu days and I am only guessing that this is bad practice and that the correct command

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread ubiquitous1980
pk wrote: ubiquitous1980 wrote: http://lists.debian.org/debian-security/2006/07/msg00059.html With sudo su - the man pages do not have ESC throughout. I have learned sudo su from my ubuntu days and I am only guessing that this is bad practice and that the correct command

Re: [gentoo-user] power management cannot change LCD brightness

2010-02-28 Thread Frank Steinmetzger
Am Sonntag 28 Februar 2010 schrieb Xi Shen: hi, my system is gentoo amd64, kde 4.3. my laptop is thinkpad t61. after some configure in the kernel, and reboot with the new kernel, i can use the Fn+Home, and Fn+End to change the brightness of my lcd. but when i tried to change the lcd

Re: [gentoo-user] Re: Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread Neil Bothwick
On Sun, 28 Feb 2010 18:48:56 +0800, ubiquitous1980 wrote: The root account is hardly locked if you can log into it with sudo su (or sudo screen) but sudo -s or sudo -i make more sense in this situation. localhost ubiquitous1980 # passwd -l root Password changed. localhost ubiquitous1980

Re: [gentoo-user] Re: KDE4 applications are spamming stderr to death

2010-02-28 Thread Neil Bothwick
On Sun, 28 Feb 2010 01:11:31 +0100, Volker Armin Hemmann wrote: The same annoying thing. What is doing `kdebugdialog`? you can turn messages on and off. Turn all of them off (there is a switch for that) you are are spared all the crap. Maybe some of the crap, you still get QT messages.

Re: [gentoo-user] power management cannot change LCD brightness

2010-02-28 Thread roundyz
Frank Steinmetzger wrote: Am Sonntag 28 Februar 2010 schrieb Xi Shen: hi, my system is gentoo amd64, kde 4.3. my laptop is thinkpad t61. after some configure in the kernel, and reboot with the new kernel, i can use the Fn+Home, and Fn+End to change the brightness of my lcd. but when

Re: [gentoo-user] [SOLVED] Re: dev-libs/libgamin-0.1.10-r2 fails to emerge on a multilib profile

2010-02-28 Thread Mick
On Saturday 27 February 2010 21:45:13 Arttu V. wrote: On 2/27/10, Mick michaelkintz...@gmail.com wrote: On Saturday 27 February 2010 19:04:09 walt wrote: On 02/27/2010 10:04 AM, Mick wrote: Hi All, I am trying to install Gentoo on a i7 x86_64 arch machine and libgamin fails when I

Re: [gentoo-user] Re: FreeNX password vs. ssh-key

2010-02-28 Thread Amit Dor-Shifer
u can use nxclient w/VNC protocol. The server shall then invoke a local vnc server, log into it with a local nx client, and let you log into the local client. That way you get nx's performance over a VNC connection (sort-of). Amit I'm just wandering if it is possible to connect to existing

Re: [gentoo-user] Re: Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread ubiquitous1980
Neil Bothwick wrote: On Sun, 28 Feb 2010 18:48:56 +0800, ubiquitous1980 wrote: The root account is hardly locked if you can log into it with sudo su (or sudo screen) but sudo -s or sudo -i make more sense in this situation. localhost ubiquitous1980 # passwd -l root Password

[gentoo-user] How to get KMS to set the screen resolution to that of the external monitor attached to the laptop.

2010-02-28 Thread ubiquitous1980
Is there a way to get KMS to set the resolution to 1680 x 1050 so that I have more real estate on my external monitor. At present, the external monitor is not getting full use with parts of it blacked out to make the resolution of the laptop's screen. Thanks, Damien

Re: [gentoo-user] Re: Who believes in cylinders?

2010-02-28 Thread David W Noon
On Sun, 28 Feb 2010 13:10:02 +0100, Mick wrote about Re: [gentoo-user] Re: Who believes in cylinders?: On Saturday 27 February 2010 18:20:24 Etaoin Shrdlu wrote: On Saturday 27 February 2010, BRM wrote: Stage 1 focuses solely on loading Stage 2, and has historically been limited to a total

Re: [gentoo-user] Re: FreeNX password vs. ssh-key

2010-02-28 Thread Amit Dor-Shifer
BTW, am I the only-one who can't get x2go to build? amit0 ~ # emerge -av x2goserver These are the packages that would be merged, in order: Calculating dependencies / * Please fix your package (net-misc/x2gosessionadministration-2.0.1.10) to not use kde.eclass

Re: [gentoo-user] Re: Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread Neil Bothwick
On Sun, 28 Feb 2010 22:03:36 +0800, ubiquitous1980 wrote: That you stated that the root account was hardly locked if I can sudo su into it. If you take me as truthful, then you can see that I have done exactly that: locked the account and sudo su'ed into it. I think you already knew that

[gentoo-user] Re: Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread walt
On 02/27/2010 08:32 PM, Dan Cowsill wrote: On Sat, Feb 27, 2010 at 10:57 PM, ubiquitous1980nixuser1...@gmail.com wrote: If I have logged in through sudo such as $ sudo su, when I then use man pages, they are covered in ESC. This does not occur when using normal user accounts or the root

[gentoo-user] segfault on startup scripts with new install

2010-02-28 Thread Mick
I am booting into a new system and this is what I'm getting: :-( = * Remounting root filesystem read/write ... [OK] /sbin/rc: line 385: 1515 Segmentation fault ( local retval=; local myservice=${service}; profiling name

Re: [gentoo-user] How to get KMS to set the screen resolution to that of the external monitor attached to the laptop.

2010-02-28 Thread Sebastian Beßler
Am 28.02.2010 15:05, schrieb ubiquitous1980: Is there a way to get KMS to set the resolution to 1680 x 1050 so that I have more real estate on my external monitor. At present, the external monitor is not getting full use with parts of it blacked out to make the resolution of the laptop's

Re: [gentoo-user] Re: Who believes in cylinders?

2010-02-28 Thread Andrea Conti
Many years ago I wrote an OS/2 program to handle all of this. Perhaps I should blow the dust off it, convert it to use POSIX functions and publish it as FOSS. Why reinvent the wheel? Just use 'sfdisk -d'. andrea

Re: [gentoo-user] Is cpufrequtils needed these days?

2010-02-28 Thread Volker Armin Hemmann
On Sonntag 28 Februar 2010, Mick wrote: As I am working my way through this new box I am not sure if cpufrequtils is necessary for the kernel to manage the CPU. Is this still necessary, no. I have never needed it. or is the kernel itself clever enough to manage the hardware directly these

[gentoo-user] Multi-file search replace of text

2010-02-28 Thread Stroller
Hi there, If I want to automagically replace text in a file, I can use `sed`. I don't believe that `sed` can be invoked in such a way to change the file in place, therefore two commands are necessary: $ sed 's/Project Gutenberg/Wordsworth Classics/' foo bar $ mv bar foo $ Using

Re: [gentoo-user] Multi-file search replace of text

2010-02-28 Thread Etaoin Shrdlu
On Sunday 28 February 2010, Stroller wrote: If I want to automagically replace text in a file, I can use `sed`. I don't believe that `sed` can be invoked in such a way to change the file in place, therefore two commands are necessary: $ sed 's/Project Gutenberg/Wordsworth Classics/'

Re: [gentoo-user] Is cpufrequtils needed these days?

2010-02-28 Thread Mick
On Sunday 28 February 2010 18:52:02 Volker Armin Hemmann wrote: On Sonntag 28 Februar 2010, Mick wrote: As I am working my way through this new box I am not sure if cpufrequtils is necessary for the kernel to manage the CPU. Is this still necessary, no. I have never needed it. or is

Re: [gentoo-user] Re: Who believes in cylinders?

2010-02-28 Thread David W Noon
On Sun, 28 Feb 2010 20:10:02 +0100, Andrea Conti wrote about Re: [gentoo-user] Re: Who believes in cylinders?: Many years ago I wrote an OS/2 program to handle all of this. Perhaps I should blow the dust off it, convert it to use POSIX functions and publish it as FOSS. Why reinvent the wheel?

Re: [gentoo-user] How to get KMS to set the screen resolution to that of the external monitor attached to the laptop.

2010-02-28 Thread stosss
On Sun, Feb 28, 2010 at 9:05 AM, ubiquitous1980 nixuser1...@gmail.com wrote: Is there a way to get KMS to set the resolution to 1680 x 1050 so that I have more real estate on my external monitor.  At present, the external monitor is not getting full use with parts of it blacked out to make the

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread stosss
On Sun, Feb 28, 2010 at 7:28 AM, pk pete...@coolmail.se wrote: ubiquitous1980 wrote: http://lists.debian.org/debian-security/2006/07/msg00059.html With sudo su - the man pages do not have ESC throughout.  I have learned sudo su from my ubuntu days and I am only guessing that this is bad

Re: [gentoo-user] Multi-file search replace of text

2010-02-28 Thread Stroller
On 28 Feb 2010, at 19:06, Etaoin Shrdlu wrote: On Sunday 28 February 2010, Stroller wrote: ... $ sed 's/Project Gutenberg/Wordsworth Classics/' foo bar $ mv bar foo $ Have a look at sed's -i option. Using `grep` I can search *recursively* through directories to find the text I'm

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread William Hubbs
On Sun, Feb 28, 2010 at 03:56:13PM -0500, stosss wrote: On Sun, Feb 28, 2010 at 7:28 AM, pk pete...@coolmail.se wrote: ubiquitous1980 wrote: http://lists.debian.org/debian-security/2006/07/msg00059.html With sudo su - the man pages do not have ESC throughout. ?I have learned sudo su

Re: [gentoo-user] Re: Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread Alan McKinnon
On Sunday 28 February 2010 07:06:43 ubiquitous1980 wrote: Nikos Chantziaras wrote: On 02/28/2010 05:57 AM, ubiquitous1980 wrote: If I have logged in through sudo such as $ sudo su, when I then use man pages, they are covered in ESC. This does not occur when using normal user accounts or

Re: [gentoo-user] Multi-file search replace of text

2010-02-28 Thread Etaoin Shrdlu
On Sunday 28 February 2010, Stroller wrote: A starting point could be (after you make a backup of the whole tree) find /basedir -type f -exec sed -i 's/foo/bar/g' {} + Many thanks - that looks great! My only concern is that it is unreliable enough that you state the need to backup

Re: [gentoo-user] Re: [OT] attach a perl script to daemon services

2010-02-28 Thread Alan McKinnon
On Saturday 27 February 2010 20:40:17 Harry Putnam wrote: In the back of my mind there was a reason on opensolaris, that the script would fail if the fifo was empty... Then once data comes the script isn't listening. Or syslog won't write or something similar. I also have an opensolaris box

Re: [gentoo-user] Multi-file search replace of text

2010-02-28 Thread stosss
On Sun, Feb 28, 2010 at 4:41 PM, Stroller strol...@stellar.eclipse.co.uk wrote: On 28 Feb 2010, at 19:06, Etaoin Shrdlu wrote: On Sunday 28 February 2010, Stroller wrote: ...  $ sed 's/Project Gutenberg/Wordsworth Classics/' foo bar  $ mv bar foo  $ Have a look at sed's -i option.

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread William Hubbs
On Mon, Mar 01, 2010 at 12:16:14AM +0200, Alan McKinnon wrote: sudo su and su have a fundamental difference, vital in corporate networks: The former uses the user's password for authentication and sudoers for authorization. The latter uses knowledge of the root password for authorization

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread Alan McKinnon
On Sunday 28 February 2010 23:27:57 William Hubbs wrote: 7 years ago a veteran Linux user taught me to always use su - for the very reason you stated. Actually, you are safe with either su - (without sudo) or sudo -i. sudo su - is chaining su - on top of sudo, and is redundant because

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread Alan McKinnon
On Monday 01 March 2010 00:57:17 William Hubbs wrote: On Mon, Mar 01, 2010 at 12:16:14AM +0200, Alan McKinnon wrote: sudo su and su have a fundamental difference, vital in corporate networks: The former uses the user's password for authentication and sudoers for authorization. The

[gentoo-user] Re: segfault on startup scripts with new install

2010-02-28 Thread walt
On 02/28/2010 07:56 AM, Mick wrote: I am booting into a new system and this is what I'm getting: :-( * Failed to start /etc/init.d/checkroot This is on a multi-reiser4 partition installation. What has gone wrong with it? Just a guess, but have you installed sys-fs/reiser4progs or

Re: [gentoo-user] Dual booting Dell with Windows 7

2010-02-28 Thread Mick
On 17 February 2010 10:31, Willie Wong ww...@math.princeton.edu wrote: On Wed, Feb 17, 2010 at 06:58:16AM +, Mick wrote: On Wednesday 17 February 2010 01:12:08 Peter Humphrey wrote: On Monday 15 February 2010 23:45:23 Mick wrote: If I were to [tell] GRUB to chainload W7 [which} should I

Re: [gentoo-user] Dual booting Dell with Windows 7

2010-02-28 Thread Willie Wong
On Sun, Feb 28, 2010 at 11:51:21PM +, Mick wrote: Please do write a page on the Wiki (or at least a summary of what you did to this mailing list). This will be some handy information to have. I have now succeeded at achieving what I wanted: to use the Windows 7 boot manager

Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-28 Thread Neil Bothwick
On Mon, 1 Mar 2010 01:07:21 +0200, Alan McKinnon wrote: Don't read my post as literally meaning they must type the 7 characters sudo su. Read it more as use any feature of sudo you feel like to get a root shell, but you must use sudo. As opposed to using su alone. The problem with this in

[gentoo-user] Re: [OT] attach a perl script to daemon services

2010-02-28 Thread Harry Putnam
Alan McKinnon alan.mckin...@gmail.com writes: FWIW, Solaris syslogd is like other basic tools on Solaris: standards compliant in that it caters for the lowest common denominator that comprises Unix. Which is to say, almost always useless for real work. A little turn towards OT: so what are