zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: lucianoav@gmx.net
Cc: zsh-users@sunsite.dk
Subject: Re: ZSH on Dos/Windows (long)
Date: Sun, 6 Apr 2003 17:16:06 +0000	[thread overview]
Message-ID: <1030406171606.ZM7653@candle.brasslantern.com> (raw)
In-Reply-To: <200304061248380080.0081454B@127.0.0.1>

On Apr 6, 12:48pm, Luciano ES wrote:
}
} When I run that 3.05 port of ZSH to Windows, you won't believe what
} happens when I press the Home key. The cursor jumps to the beginning
} of the line!!!! Have you ever seen that? And the best part: when I
} press the End key, it jumps to the end!! Amazing!!!! OK, seriously,
} ZSH under Cygwin imposes those stinky Emacs or Vi bindings, I don't
} know which one, I hate both.

Amol's 3.0.5 port actually carries around an implementation of a WinNT
console with it, and a special version of termcap that has built in to
it all the key bindings for that internal console terminal.  It doesn't
(as far as I can tell) actually change the default set of bindings for
zsh; that is, you ARE using the stinky Emacs bindings when you run that
3.0.5 port, it just happens that home/end/etc. are attached to the right
Emacs movement commands by virtue of the built-in terminal definition.

} So I spent another hour reading the same chapter over and over and
} trying to make ZSH convert the Delete key into... the Delete command!
} No success.

I don't suppose that zsh for cygwin comes with the "zkbd" function that
should be described in the "User Contributions" section of the manual,
under "Keyboard Definition"?

} Colors didn't work either. They work in Bash, but not in ZSH. I
} followed the manual instructions, but trying to colorize a prompt
} never worked, I get the color formatting sequences in my prompt
} instead of actual colors.

Zsh color support assumes an ANSI-compliant terminal.  I really don't
know what the cygwin console is emulating, terminal-wise.  The escapes
that zsh uses are in the "color" function, which should be somewhere
in the directories named in the $fpath array.

} I scanned and indexed the C: drive and it took over 2 minutes! ZSH
} 3.0.5 for Windows only took 15 seconds! I immediately thought: it
} must be Cygwin. It added so many new files that reindexing now takes
} longer...

You may have the right culprit but the wrong reason.  When compiled with
cygwin, zsh uses the cygwin library's emulations of the unix file and
directory access routines.  Amol's port has its own implementation of
the WinNT directory access routines.


  reply	other threads:[~2003-04-06 17:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200304050139220710.001E4844@127.0.0.1>
2003-04-05 13:59 ` ZSH on Dos/Windows Luciano ES
2003-04-05 15:06   ` Thorsten Kampe
2003-04-05 16:53     ` Luciano ES
2003-04-05 17:52       ` Thorsten Kampe
2003-04-06 15:48         ` ZSH on Dos/Windows (long) Luciano ES
2003-04-06 17:16           ` Bart Schaefer [this message]
2003-04-06 19:19           ` Thorsten Kampe
2003-04-06 20:41             ` ZSH on Dos/Windows (short) Luciano ES
2003-04-06 23:01               ` Thorsten Kampe
2003-04-06 20:45             ` ZSH on Dos/Windows (long) Bart Schaefer
2003-04-06 23:58               ` Thorsten Kampe
2003-04-14  0:40             ` ZSH on Dos/Windows - the end Luciano ES
2003-04-14  6:59               ` Thorsten Kampe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1030406171606.ZM7653@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=lucianoav@gmx.net \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).