On Tue, 8 Mar 2005 08:56:33 -0800 (PST)
"Richard S. Crawford" <[EMAIL PROTECTED]> wrote:

> I love using Cygwin; it's a great tool, since I find that manipulating
> files is much easier for me from the CLI than with a GUI.
> 
> This morning I SSH'ed into a remote box, though, and executed Vi;
> instead of pulling up the editor, though, I got this message:
> 
> I don't know what kind of terminal you are on - all I have is
> 'cygwin'.[Using open mode]
> 
> I can run Vi through PuTTY on the same remote computer, but it feels
> inelegant to have two separate tools that can do the same thing.  Is
> there a way to make Cygwin deliver a different terminal type, or to
> get the remote machine to understand Cygwin?

Now that I know this is not a linux box, I'm going to assume the problem
is that you simply don't have a terminfo file for cygwin, but that the
Solaris box knows where its terminfo files are and vi can find them. (If
that's not the case, see my other post).

On the local cygwin, run
$ infocmp cygwin > readable_file
this will decompile the terminfo file from cygwin
now copy readable_file to the solaris box
now, on the solaris box, as root run
# tic readable_file
this will compile the decompiled file and put the compiled file in the
appropriate directory.

--Ken Bloom

-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.

Attachment: pgpzYlhoIfxAn.pgp
Description: PGP signature

_______________________________________________
vox-tech mailing list
[email protected]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to