Subject: | Failed to Setup CLI Programs with Arguments |
Dear all,
Hi. This is imacat from Taiwan. I'm running Debian and hence using
'nano -w' as my EDITOR. I set it so in my environment. However,
CPANPLUS seems too smart to accept it.
I cannot run without the '-w' argument. It kills me. Could you
please fix it? Thank you.
The error is below. Hope this helps. Please tell me if there is
any problem. Thank you.
root@rinse:~# cpanp
CPANPLUS::Shell::Default -- CPAN exploration and module installation
(v0.072)
*** Please report bugs to <bug-cpanplus@rt.cpan.org>.
*** Using CPANPLUS::Backend v0.072. ReadLine support enabled.
CPAN Terminal> s reconfigure
=================> MAIN MENU <=================
Welcome to the CPANPLUS configuration. Please select which
parts you wish to configure
Defaults are taken from your current configuration.
If you would save now, your settings would be written to:
CPANPLUS::Config::User
Show quoted text
1> Select Configuration file
Show quoted text 2> Setup CLI Programs
Show quoted text 3> Setup CPANPLUS Home directory
Show quoted text 4> Setup FTP/Email settings
Show quoted text 5> Setup basic preferences
Show quoted text 6> Setup installer settings
Show quoted text 7> Select mirrors
Show quoted text 8> Edit configuration file
Show quoted text 9> Save & exit
Show quoted text 10> Quit without saving
Section to configure: [1]: 2
CPANPLUS can use command line utilities to do certain
tasks, rather than use perl modules.
If you wish to use a certain command utility, just enter
the full path (or accept the default). If you do not wish
to use it, enter a single space.
Note that the paths you provide should not contain spaces, which is
needed to make a distinction between program name and options to that
program. For Win32 machines, you can use the short name for a path,
like 'c:\Progra~1\prog.exe'.
Where can I find your 'editor' utility? (Enter a single space to
disable)
Path to your 'editor' [nano -w]:
Can not find the binary 'nano -w' in your path!Where can I find your
'editor' utility? (Enter a single space to disable)
Path to your 'editor' [nano -w]: /usr/bin/nano -w
Can not find the binary '/usr/bin/nano -w' in your path!Where can I find
your 'editor' utility? (Enter a single space to disable)
Path to your 'editor' [nano -w]:
Caught SIGINT
Path to your 'editor' [nano -w]: Got another SIGINT
[ERROR] Died at /usr/lib/perl5/site_perl/5.8.8/CPANPLUS/Shell.pm line 150.
CPAN Terminal> q
Exiting CPANPLUS shell
root@rinse:~#