[LDAPsh-cvs] ldapsh ldapsh,1.17,1.17.2.1
Status: Beta
Brought to you by:
rcorvalan
From: <j-d...@us...> - 2003-07-27 06:10:03
|
Update of /cvsroot/ldapsh/ldapsh In directory sc8-pr-cvs1:/tmp/cvs-serv25191 Modified Files: Tag: PATCH-778341 ldapsh Log Message: Honour the environment variables $VISUAL and $EDITOR for the "vi" command (patch 778341). Index: ldapsh =================================================================== RCS file: /cvsroot/ldapsh/ldapsh/ldapsh,v retrieving revision 1.17 retrieving revision 1.17.2.1 diff -C2 -d -r1.17 -r1.17.2.1 *** ldapsh 27 Jul 2003 05:20:40 -0000 1.17 --- ldapsh 27 Jul 2003 06:10:00 -0000 1.17.2.1 *************** *** 219,223 **** ENTRIES => {VALUE => [], RIGHTS => 'RW'}, PROMPT => {VALUE => '${APP}\[LDAP @ $CONNPARAMS->{SERVER}] $CWD > ', RIGHTS => 'RWL'}, ! EDITOR => {VALUE => 'vi', RIGHTS => 'RWL'}, G => {VALUE => undef, RIGHTS => 'RWL'}, _APPENDRESULTS => {VALUE => 0, RIGHTS => ''}, --- 219,223 ---- ENTRIES => {VALUE => [], RIGHTS => 'RW'}, PROMPT => {VALUE => '${APP}\[LDAP @ $CONNPARAMS->{SERVER}] $CWD > ', RIGHTS => 'RWL'}, ! EDITOR => {VALUE => $ENV{VISUAL} ? $ENV{VISUAL} : ($ENV{EDITOR} ? $ENV{EDITOR} : 'vi'), RIGHTS => 'RWL'}, G => {VALUE => undef, RIGHTS => 'RWL'}, _APPENDRESULTS => {VALUE => 0, RIGHTS => ''}, *************** *** 1979,1983 **** =head2 $EDITOR ! The default editor used when the L<vi|vi> command is called. By default this is "vi". =head2 $G --- 1979,1984 ---- =head2 $EDITOR ! The default editor used when the L<vi|vi> command is called. By default, this is obtained ! from the environment variable $VISUAL (if set) or $EDITOR (if set) or otherwise "vi". =head2 $G |