public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Unix/DOS text mode?
@ 2001-11-13 12:13 Joshua
  2001-11-14  1:10 ` Corinna Vinschen
  0 siblings, 1 reply; 10+ messages in thread
From: Joshua @ 2001-11-13 12:13 UTC (permalink / raw)
  To: cygwin

    I think I'm being a bit dense on this issue for which I apologize.  What
option needs to be set to have the Cygwin-packaged vim autodetect
binary/text files and edit/save accordingly?  My .vimrc is a binary file,
BTW.  Thanks and BCNU//jle

From: Corinna Vinschen <cygwin at cygwin dot com>
To: cygwin at cygwin dot com
Date: Tue, 20 Nov 2001 16:29:20 +0100
Subject: Re: Unix/DOS text mode?
References: <000b01c171d5$8a3b4f40$2ae61718@bdfrd1.tx.home.com>

----------------------------------------------------------------------------
----

On Tue, Nov 20, 2001 at 09:10:48AM -0600, Joshua wrote:
>     Corinna,
>
>     Thanks for the enlightenment.  Regarding your statement, 'These files
> must be in binary mode on Cygwin regardless of the bin/textmode of the
> underlying mount point.', what files are you referring to?  I would
> understand if the Cygwin files, ie config files in /etc need to be binary,
> but are you saying that Cygwin needs to deal with all files (like
> /cygwin/c/autoexec.bat) in a binary mode?  Or could the vim packaged with
> Cygwin be set to autodetect the binary/text type?  My understanding of how
> vim/gvim worked was that it would detect the binary/text type and preserve
> the type when you edit save the file.  BCNU//jle

It does recognize bin/text, just not for script files as .vimrc.
These must be binmode (LF, not CRLF lineending).

Corinna

> From: Corinna Vinschen <cygwin at cygwin dot com>
> To: cygwin at cygwin dot com
> Date: Tue, 20 Nov 2001 10:28:25 +0100
> Subject: Re: Unix/DOS text mode?
> References: <000f01c17193$e7b4c6c0$2ae61718@bdfrd1.tx.home.com>
>
> --------------------------------------------------------------------------
--
> ----
>
> On Tue, Nov 20, 2001 at 01:20:59AM -0600, Joshua wrote:
> >     Hmm, I've noticed this difference between the PC version of vim/gvim
> > versus the vim that comes with cygwin.  Using the PC version, vim/gvim
> seems
> > to be able to tell whether you're opening a unix file or a PC file and
> > display/edit appropriately.
> >
> >     I tried copying my _vimrc from my PC installation to .vimrc in my
home
> > directory, but that doesn't do the trick.  I figured it was either a
> switch
> > in vimrc or something to do with the mounts themselves.  BCNU//jle
>
> The Cygwin vim has the same ability to recognize Unix/DOS files
> as the Windows native version.  After a discussion with Bram Moolenaar
> he decided not to add that recognition to the vim script files
> as .vimrc.  These files must be in binary mode on Cygwin regardless
> of the bin/textmode of the underlying mount point.
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.
>
> --
>
>
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: SSH & Editing in a Basic Shell, etc
@ 2001-11-20  3:05 Peter M Boyd
  2001-11-29  8:12 ` Peter M Boyd
  0 siblings, 1 reply; 10+ messages in thread
From: Peter M Boyd @ 2001-11-20  3:05 UTC (permalink / raw)
  To: cygwin

CYGWIN SSHD does NOT support connection from Windows
NT Client to Windows NT Server and run only a SHELL
environment and NOT a Windows GUI environment AND
support the follwing requirements:

(1)	to page or browse through text files

(2) to use an edit program to edit text files (and
support the CTRL& functions that the editormay need)

(3)	to interrupt a long running function

BUT -- Vshell 1.2 from www.vandyke.com does do all of
these

Peter M Boyd

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-11-29 16:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-13 12:13 Unix/DOS text mode? Joshua
2001-11-14  1:10 ` Corinna Vinschen
2001-11-14  4:35   ` Bjoern Kahl AG Resy
2001-11-14  5:50     ` Corinna Vinschen
2001-11-14  9:27       ` SSH & Editing in a Basic Shell, etc Peter M Boyd
2001-11-21  5:44         ` Peter M Boyd
2001-11-21  2:17       ` Unix/DOS text mode? Corinna Vinschen
2001-11-21  1:43     ` Bjoern Kahl AG Resy
2001-11-20  3:05 SSH & Editing in a Basic Shell, etc Peter M Boyd
2001-11-29  8:12 ` Peter M Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).