* 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; 4+ 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] 4+ messages in thread
* Re: Unix/DOS text mode?
@ 2001-11-14 5:50 Corinna Vinschen
2001-11-14 9:27 ` SSH & Editing in a Basic Shell, etc Peter M Boyd
0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2001-11-14 5:50 UTC (permalink / raw)
To: cygwin
On Wed, Nov 21, 2001 at 10:43:29AM +0100, Bjoern Kahl AG Resy wrote:
>
> Hallo !
>
> On Wed, 21 Nov 2001, Corinna Vinschen wrote:
>
> On Tue, Nov 20, 2001 at 07:54:47PM -0600, Joshua wrote:
> > > 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,
>
> > Nothing. It should work automagically. Which it does on my system.
> > I've just tested it explicitely since your postings made me nervous.
>
> Hmm. At least for the version I installed last friday (using
> "install now" (aka setup) on the cygwin site) did *not* work.
> I have had to copy "/usr/share/vimv/im60/vimrc_example" as
> ".vimrc" to my $HOME and add the line "set fileformats=unix,dos"
> under the line "set nocompatible".
Interesting. I have no such option set explicitely. When opening
vi and then call `:set fileformats', the output is
fileformats=unix,dos
And this is the default setting on Unix systems. Cygwin is treated as
a Unix system by vim.
> > However, the unix/dos file recognition works based on examining only
> > the first line, AFAIK, so if the first line has only a LF instead of
> > an CRLF for some reason, vim treats the file as unixy. Then you see
> > the ^M beginning with line 2.
>
> My english is somewhat limited, but as I understand the "options.txt"
> in vim doc-folder, vim reads the whole file dicides on how many <CR>,
> <CR><NL> and >NL> it found. (However, that chapter in the docs is not
> really clear to me).
You're right. It examines the whole file but the notes are clear:
- If _all_ lines end in CRLF, it's treated as dos file.
- If _one_ line is found with only a LF, unix is preferred over dos.
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* SSH & Editing in a Basic Shell, etc
2001-11-14 5:50 Unix/DOS text mode? Corinna Vinschen
@ 2001-11-14 9:27 ` Peter M Boyd
2001-11-21 5:44 ` Peter M Boyd
0 siblings, 1 reply; 4+ messages in thread
From: Peter M Boyd @ 2001-11-14 9:27 UTC (permalink / raw)
To: cygwin
I am having difficulty trying to use CYGWIN SSH to
connect from Windows NT Client to Windows NT Server
and run only a SHELL environment and NOT a Windows GUI
environment. Any shell will do if it can support my
further requirements, which are to be able:
(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 editor
may need)
(3) to interrupt a long running function
(4) to run programs that can be run from DOS CMD.EXE
I have the latest (as of 15 Nov 2001) CYQWIN & CYGWIN
SSH installed.
I have been advised to use the Âbash shell and would
be happy to use something else if known to satisfy the
above.
Connection is working fine; (4) is working fine
I canÂt get anything to work for (1) to (3).
Can you suggest what can be used to achieve these.
I have already had quite a lot of advice that is
either imprecise or that the advisors havenÂt tried
for themselves.
IÂve recently tried Âvim for (1) and (2), but ÂvimÂ
just Âhangs when invoked.
Âvim works fine in a local shell shell environment
My current SSH environments is:
----------------------
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="05" [2]="0" [3]="8"
[4]="release" [5]="i686-pc-cygwin")
BASH_VERSION=$'2.05.0(8)-release'
COLUMNS=80
COMPUTERNAME=NOADP_NT
COMSPEC=$'C:\\WINNT\\system32\\cmd.exe'
CYGWIN=$'binmode ntsec tty'
DIRSTACK=()
EUID=513
GROUPS=()
HISTFILE=/cygdrive/d/temp/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/cygdrive/d/temp
HOMEDRIVE=d:
HOMEPATH=$'\\temp'
HOSTNAME=NOADP_NT
HOSTTYPE=i686
IFS=$' \t\n'
INCLUDE=$'C:\\Program Files\\Mts\\Include'
LIB=$'C:\\Program Files\\Mts\\Lib'
LINES=60
LOGNAME=ratest
MACHTYPE=i686-pc-cygwin
MAIL=/var/spool/mail/ratest
MAILCHECK=60
MAKE_MODE=unix
NTRESKIT=$'C:\\Program Files\\rksupport'
NUMBER_OF_PROCESSORS=1
OLDPWD=/cygdrive/d/temp
OPTERR=1
OPTIND=1
OS=Windows_NT
OS2LIBPATH=$'C:\\WINNT\\system32\\os2\\dll;'
OSTYPE=cygwin
PATH=$'/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/Win32App/PVCS/DIMENS~1/5.0/PROG:/cygdrive/c/Win32App/PVCS/DIMENS~1/ORANT/BIN:/cygdrive/c/orawinnt/BIN:.:/cygdrive/c/WINNT/System32/WBEM:/cygdrive/c/Program
Files/Mts:/cygdrive/c/Program Files/rksupport:/bin'
PATHEXT=$'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PIPESTATUS=([0]="0")
PPID=306
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=$'x86 Family 6 Model 5 Stepping
2, GenuineIntel'
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0502
PS1=$'\\[\\033]0;\\w\\007\n\\033[32m\\]\\u@\\h
\\[\\033[33m\\w\\033[0m\\]\n$ '
PS2=$'> '
PS4=$'+ '
PWD=/cygdrive/d/temp
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs
SHLVL=1
SSH_CLIENT=$'127.0.0.1 2934 22'
SSH_TTY=/dev/tty1
SYSTEMDRIVE=C:
SYSTEMROOT=$'C:\\WINNT'
TERM=cygwin
TZ=GMTST0GMTDT-1,M3.5.0/2,M10.5.0/3
UID=513
USER=ratest
USERPROFILE=$'C:\\WINNT\\Profiles\\ratest'
WINDIR=$'C:\\WINNT'
_=pwd
i=$'/etc/profile.d/*.sh'
--------------
__________________________________________________
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] 4+ messages in thread
* SSH & Editing in a Basic Shell, etc
2001-11-14 9:27 ` SSH & Editing in a Basic Shell, etc Peter M Boyd
@ 2001-11-21 5:44 ` Peter M Boyd
0 siblings, 0 replies; 4+ messages in thread
From: Peter M Boyd @ 2001-11-21 5:44 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3414 bytes --]
I am having difficulty trying to use CYGWIN SSH to
connect from Windows NT Client to Windows NT Server
and run only a SHELL environment and NOT a Windows GUI
environment. Any shell will do if it can support my
further requirements, which are to be able:
(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 editor
may need)
(3) to interrupt a long running function
(4) to run programs that can be run from DOS CMD.EXE
I have the latest (as of 15 Nov 2001) CYQWIN & CYGWIN
SSH installed.
I have been advised to use the Âbash shell and would
be happy to use something else if known to satisfy the
above.
Connection is working fine; (4) is working fine
I canÂt get anything to work for (1) to (3).
Can you suggest what can be used to achieve these.
I have already had quite a lot of advice that is
either imprecise or that the advisors havenÂt tried
for themselves.
IÂve recently tried Âvim for (1) and (2), but ÂvimÂ
just Âhangs when invoked.
Âvim works fine in a local shell shell environment
My current SSH environments is:
----------------------
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="05" [2]="0" [3]="8"
[4]="release" [5]="i686-pc-cygwin")
BASH_VERSION=$'2.05.0(8)-release'
COLUMNS=80
COMPUTERNAME=NOADP_NT
COMSPEC=$'C:\\WINNT\\system32\\cmd.exe'
CYGWIN=$'binmode ntsec tty'
DIRSTACK=()
EUID=513
GROUPS=()
HISTFILE=/cygdrive/d/temp/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/cygdrive/d/temp
HOMEDRIVE=d:
HOMEPATH=$'\\temp'
HOSTNAME=NOADP_NT
HOSTTYPE=i686
IFS=$' \t\n'
INCLUDE=$'C:\\Program Files\\Mts\\Include'
LIB=$'C:\\Program Files\\Mts\\Lib'
LINES=60
LOGNAME=ratest
MACHTYPE=i686-pc-cygwin
MAIL=/var/spool/mail/ratest
MAILCHECK=60
MAKE_MODE=unix
NTRESKIT=$'C:\\Program Files\\rksupport'
NUMBER_OF_PROCESSORS=1
OLDPWD=/cygdrive/d/temp
OPTERR=1
OPTIND=1
OS=Windows_NT
OS2LIBPATH=$'C:\\WINNT\\system32\\os2\\dll;'
OSTYPE=cygwin
PATH=$'/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/Win32App/PVCS/DIMENS~1/5.0/PROG:/cygdrive/c/Win32App/PVCS/DIMENS~1/ORANT/BIN:/cygdrive/c/orawinnt/BIN:.:/cygdrive/c/WINNT/System32/WBEM:/cygdrive/c/Program
Files/Mts:/cygdrive/c/Program Files/rksupport:/bin'
PATHEXT=$'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PIPESTATUS=([0]="0")
PPID=306
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=$'x86 Family 6 Model 5 Stepping
2, GenuineIntel'
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0502
PS1=$'\\[\\033]0;\\w\\007\n\\033[32m\\]\\u@\\h
\\[\\033[33m\\w\\033[0m\\]\n$ '
PS2=$'> '
PS4=$'+ '
PWD=/cygdrive/d/temp
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs
SHLVL=1
SSH_CLIENT=$'127.0.0.1 2934 22'
SSH_TTY=/dev/tty1
SYSTEMDRIVE=C:
SYSTEMROOT=$'C:\\WINNT'
TERM=cygwin
TZ=GMTST0GMTDT-1,M3.5.0/2,M10.5.0/3
UID=513
USER=ratest
USERPROFILE=$'C:\\WINNT\\Profiles\\ratest'
WINDIR=$'C:\\WINNT'
_=pwd
i=$'/etc/profile.d/*.sh'
--------------
__________________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2001-11-29 16:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-20 3:05 SSH & Editing in a Basic Shell, etc Peter M Boyd
2001-11-29 8:12 ` Peter M Boyd
-- strict thread matches above, loose matches on Subject: below --
2001-11-14 5:50 Unix/DOS text mode? 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
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).