Mail Archives: cygwin/2010/12/03/12:37:20
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=-0.8 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL
|
X-Spam-Check-By: | sourceware.org
|
Date: | Fri, 3 Dec 2010 18:36:46 +0100
|
From: | David Sastre <d DOT sastre DOT medina AT gmail DOT com>
|
To: | cygwin AT cygwin DOT com
|
Subject: | Re: Problem with lls command in nccftp
|
Message-ID: | <20101203173645.GA7175@jethro.local.lan>
|
References: | <id8rn0$s94$1 AT dough DOT gmane DOT org> <id97uo$bga$1 AT dough DOT gmane DOT org>
|
MIME-Version: | 1.0
|
In-Reply-To: | <id97uo$bga$1@dough.gmane.org>
|
User-Agent: | Mutt/1.5.20 (2009-06-14)
|
X-IsSubscribed: | yes
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Dec 02, 2010 at 11:51:25PM +0100, gialloporpora wrote:
> Risposta al messaggio di gialloporpora :
>=20
> >I am using the ncftp (version 3.2.1) client installed with the Cygwin
> >environment and I have this problem.
> >
> >The FTP client works nice for me, I have only this little issue. When I
> >try to use the lls command (it launch the ls command in my local
> >directory) this message appears:
> >
> >ncftp> lls
> >/bin/sh: more: command not found
> >Canceled.
>=20
> I have another question, the command edit should be download in a
> temp directory the file and open it in an editor, if I launch it
> this is the message that appears:
>=20
> Set your EDITOR environment variable prior to running ncftp.
> Example for /bin/sh:
>=20
> EDITOR=3D"/usr/bin/vi" ; export EDITOR
>=20
> Where I configure this variable? I could use an editor not included
> in the cygwin package (for example I use Crimson Editor to edit all
> my files)
Hello,
The "more" pager is included in util-linux:
$ cygcheck -f $(which more) $(which ncftp)
ncftp-3.2.1-1
util-linux-2.17.2-1
To configure the EDITOR enviroment variable, do as the message says:
$ EDITOR=3D"/usr/bin/vi" ; export EDITOR
or, simply:
$ export EDITOR=3D"/usr/bin/vi"
You can also set it in your shell startup file at=20
${HOME}/.bashrc if you are using bash.
Regarding the last question, my advice would be to use an editor that
can be launched within the shell (vi, nano, ed, ...), but you could try to=
=20
export EDITOR=3D"/cygdrive/c/Program Files/path/to/editor", for example, an=
d=20
see what happens. You probably won't go back to ncftp after editing the
file, but I haven't actually checked that.
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
--=20
Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B 31EB
--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkz5Kq0ACgkQYX05bESLMesF6QCgjLbyyrQo4N0NT+DAiv1zJcmv
NikAoJtJ7xP9Z7+PuxpyN8oexQpmAFuP
=+y6Y
-----END PGP SIGNATURE-----
--MGYHOYXEY6WxJCY8--
- Raw text -