From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NlhNp-0005ag-Rp for garchives@archives.gentoo.org; Sun, 28 Feb 2010 11:32:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C987AE085D; Sun, 28 Feb 2010 11:31:28 +0000 (UTC) Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 8D1DEE085D for ; Sun, 28 Feb 2010 11:31:28 +0000 (UTC) Received: by pwi2 with SMTP id 2so930116pwi.40 for ; Sun, 28 Feb 2010 03:31:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Xs/h/eaLddhcWMqDNPoXk/Prfi13m6Z3y4KEuG6mzU8=; b=qNN1tRTZtEZuB4yUHAQdQoen8BtIepnt7ZHezYMMQTWKWc5Kuyw7N1MmtCXU5LkOns 7yptTK49bU5alLsEZIDRWNDcCZsDa41nOsTm9qBystdh0uUwoSUR76cv3DoI8dKD/p72 K0F9NuYC7lbL2oglR6HSeG+y+jsq3Owz71b+c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=dobuO8oVFKl1KuHw60ri58fg5B2NFRqIQE+siW0ldJTg6RVxxnmf4BmTMUvyQ3lwsu dZPyMvwvLVeXUpZNwTekMvYNygHXGVLnl6KCCMm+zBfEUca3tIoWpCArvwZk0/ll37BP YklL1STVKKLSpFohs/5lW2XV3Wxr2dbY0i9uk= Received: by 10.115.132.4 with SMTP id j4mr1015011wan.71.1267356688018; Sun, 28 Feb 2010 03:31:28 -0800 (PST) Received: from localhost.localdomain ([120.19.0.49]) by mx.google.com with ESMTPS id 23sm2398307pzk.6.2010.02.28.03.31.25 (version=SSLv3 cipher=RC4-MD5); Sun, 28 Feb 2010 03:31:27 -0800 (PST) Message-ID: <4B8A53BB.1090805@gmail.com> Date: Sun, 28 Feb 2010 19:30:03 +0800 From: ubiquitous1980 User-Agent: Thunderbird 2.0.0.23 (X11/20100223) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo. References: <4B89E9B0.3040505@gmail.com> <4B8A45D3.2040808@coolmail.se> In-Reply-To: <4B8A45D3.2040808@coolmail.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 2cef70e9-0ca5-4acd-9796-dc67fbea9952 X-Archives-Hash: 05e342a7af7fc52a51ae600947dd85df 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 "... su -" (the dash is important since it will read > the environment for root login otherwise the environment will be the > same as for current user). > > http://lists.debian.org/debian-security/2006/07/msg00059.html > > Best regards > > Peter K > > 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 - Thanks Damien