zsh-users
 help / color / mirror / code / Atom feed
From: "Luciano ES" <lucianoav@gmx.net>
To: zsh-users@sunsite.dk
Subject: ZSH on Dos/Windows
Date: Sat, 05 Apr 2003 10:59:20 -0300	[thread overview]
Message-ID: <200304051059200520.000D11E0@127.0.0.1> (raw)
In-Reply-To: <200304050139220710.001E4844@127.0.0.1>

	Hi, everyone. I have been using zsh for only a couple of weeks and
haven’t had much time to work with it. So I am a newbie. I've read a lot
of the manual, but have found it difficult to find the following info:

	- I am using zsh under Win/DOS. How can I launch zsh with an argument to
determine the startup directory? I thought I could run zsh -c "cd
c:/some/dir", but then the shell is not interactive. It runs and closes
right away. Calling zsh -ic "... didn't make any difference. My specific
need is to call zsh and open a command line session from another program,
with possibly a different working directory every time it is called. My
current workaround is to have that program set the desired working
directory as the value of the $ZSHSTARTDIR environment var *then* call zsh.
Then one line in .zshrc cd’s to $ZSHSTARTDIR. Well, it works, but I find
it a little clumsy and would like to know if there is another way.

	- BTW, running zsh not interactively often doesn't work because stupid DOS
changes all the path forward slashes that there may in the command argument
into backward slashes, even though the path is inside the quotes of an
argument. By the time the argument reaches zsh, zsh cannot find the path
with backward slashes. Does anyone know how to bypass that?

	- Is it at all possible to use colors in Win/DOS? I followed all those
instructions found on the manual, but I think they only apply to Unix. I
know colors are possible in DOS, I have seen ports of GNU tools that even
change the color of the background of the DOS shell, but I have been unable
to use any color with zsh.

	- Where can I find binaries for Windows?
	I see a new version has just been released and had a look-see at the FTP
site. There are no Windows binaries there. I am using a binary distribution
I got at this site <ftp://ftp.blarg.net/users/amol/zsh>, $ZSH_VERSION tells
me it is version 3.0.5-nt-beta-0.75 and I find it a bit too old...

	Thank you very much for any input.

--
	Luciano Espirito Santo
	Santos, SP - Brasil



       reply	other threads:[~2003-04-05 13:54 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 ` Luciano ES [this message]
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
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=200304051059200520.000D11E0@127.0.0.1 \
    --to=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).