Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120506 - DRI Howto contains editor specific reference
Summary: DRI Howto contains editor specific reference
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Xavier Neys (RETIRED)
URL: http://www.gentoo.org/doc/en/dri-howt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 20:58 UTC by Chris White (RETIRED)
Modified: 2006-02-01 03:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris White (RETIRED) gentoo-dev 2006-01-26 20:58:54 UTC
The DRI Howto contains the following:

Code Listing 3.2: Rebuilding xorg-x11
# vim /etc/portage/package.use

However, after this it says:

Open /etc/X11/xorg.conf with your favorite text editor and edit it to enable DRI and GLX.

While I do worship vim with my entire existance, I think something along the lines of:

Code Listing 3.2: Rebuilding xorg-x11
# $EDITOR /etc/portage/package.use

would be somewhat more prefered.  This will use the system variable "$EDITOR" (generally declared in /etc/profile) to edit the file.
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2006-01-27 02:47:10 UTC
If you've set the EDITOR var, you already know what editor you need and you won't type $EDITOR foo. If you haven't, you'll end up in nano anyway.
Comment 2 Chris White (RETIRED) gentoo-dev 2006-01-27 07:08:06 UTC
Actually:

# vim /etc/portage/package.use
(Add the following line if you use one of the abovementioned chipsets)
x11-base/xorg-x11 insecure-drivers

to

# echo "x11-base/xorg-x11 insecure-drivers" >> /etc/portage/package.use

No need to pull open an editor for that much.
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2006-02-01 03:58:44 UTC
Good point.
In CVS. Thanks.