Charles to the rescue! Problem solved. Happy holidays.
:Max
On Sun, 26 Dec 2004, Charles Steinkuehler wrote:
rawdata wrote:
Hello, all!
I would like to change the default editor used by the lrcfg menu to nano. I have the lrps setup correctly, but I cannot seem to find the proper config file to make the change. Does anyone have experience with this?
:Max
PS: Yes, ae is adequate, but I'm used to the pine keystrokes.
Take a look at /bin/edit, the default editor used by the lrcfg menu.
You're supposed to be able to set the EDITOR environemnt variable to select your preferred editor, but it looks like /bin/edit doesn't pay attention to any pre-existing value for this variable.
You can either:
- Hack /bin/edit to launch your editor of choice
- Fix /bin/edit to use a pre-existing EDITOR variable and set up your preference elsewhere (ie: /etc/profile, ~/.profile, ~/.bashrc (for bash users), etc). The fix to /bin/edit is a simple one, just change:
# Set editor to use: EDITOR=/bin/e3ne
# Launch the desired editor: eval $EDITOR "$@"
...to...
# Launch the desired editor, or e3ne if undefined: eval ${EDITOR:-/bin/e3ne} "$@"
Which will default ot /bin/e3ne if EDITOR isn't defined...
-- Charles Steinkuehler [EMAIL PROTECTED]
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html