https://bugzilla.novell.com/show_bug.cgi?id=398537
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=398537#c8
Dr. Werner Fink changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mfabian@novell.com
AssignedTo|werner@novell.com |mls@novell.com
--- Comment #8 from Dr. Werner Fink 2008-07-01 06:24:14 MDT ---
OK ... /usr/bin/perldoc is not `man' nor `groff':
/suse/werner> ps ut pts/27
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
werner 11468 0.2 0.1 14812 2908 pts/27 Ss 13:44 0:00 -tcsh
root 11647 0.0 0.0 45940 1588 pts/27 S 13:45 0:00 su -s /bin/sh
-- root -c exec -a bash /bin/bash --rc
root 11689 0.0 0.2 26664 4656 pts/27 S 13:45 0:00 bash --rcfile
/suse/werner/.bashrc.root
root 11937 0.0 0.2 17224 4932 pts/27 S+ 13:45 0:00 perl
bug-398537_test.pl
nobody 11938 0.0 0.3 35148 6588 pts/27 S+ 13:45 0:00 /usr/bin/perl
/usr/bin/perldoc bug-398537_test.pl
nobody 11955 0.0 0.0 8396 900 pts/27 S+ 13:45 0:00 /usr/bin/less
/tmp/Gdnz10rvsL
beside this I see for real us without sudo:
BUG-398537_TEST(1) User Contributed Perl Documentation BUG-398537_TEST(1)
NAME
Test
perl v5.10.0 2008-07-01 BUG-398537_TEST(1)
.. nothing which would be surprising. After an `sudo su' a simple diff
over both file produced by /usr/bin/perldoc results into:
--- /tmp/Pyh28JkDhv 2008-07-01 13:58:11.000000000 +0200
+++ /tmp/gT57NScRta 2008-07-01 13:57:37.000000000 +0200
@@ -2,7 +2,7 @@
-NAME
+ESC[1mNAMEESC[0m
Test
in other words /usr/bin/perldoc has a problem, back to real maintainer.
IMHO this could be a problem with the GROFF_NO_SGR environment variable
as this is the only real difference between `su' and `sudo su' ...
beside many LESS variables.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.