Thread View: comp.sys.next.misc
4 messages
4 total messages
Started by Joseph R. Grace
Wed, 22 Jul 1992 07:24
zsh help --- 2 "quirks"
Author: Joseph R. Grace
Date: Wed, 22 Jul 1992 07:24
Date: Wed, 22 Jul 1992 07:24
22 lines
1309 bytes
1309 bytes
Hi, I've installed zsh on my NeXT but have 2 problems I'd like to eliminate. Presumably, some zsh NeXT user has already fixed these so, please contact me with fixes if you have fixes (or can point me to them). My zsh is 2.2.0. 1. When I make zsh my Terminal:Preferences:Expert shell, it comes up fine multiple times. BUT if I close the window on the *first* Terminal window, *all* the zsh windows die (and disappear). Killing any other zsh window (but the first) seems to have no effect! Any tips, fixes or pointers would be appreciated. (What signal (?) could do this and how?) 2. (Relatively minor but important.) How do I get ^S/^Q to work as command characters with zsh. Apparently, they are flow control'ling still --- which I don't need. Thanks very much! = Joe = -- Joe Grace <jgrace@TetraSoft.com> TetraSoft International Business and Personal Productivity Tools for NeXTSTEP
Re: zsh help --- 2 "quirks"
Author: John McCracken
Date: Thu, 23 Jul 1992 06:41
Date: Thu, 23 Jul 1992 06:41
38 lines
2077 bytes
2077 bytes
In article <1992Jul22.072454.11849@tetrasoft.com> Joseph R. Grace
<jgrace@TetraSoft.com> writes:
> Hi,
>
> I've installed zsh on my NeXT but have 2 problems I'd like to eliminate.
> Presumably, some zsh NeXT user has already fixed these so, please contact me
> with fixes if you have fixes (or can point me to them). My zsh is 2.2.0.
>
> 1. When I make zsh my Terminal:Preferences:Expert shell, it comes up fine
> multiple times. BUT if I close the window on the *first* Terminal window,
> *all* the zsh windows die (and disappear). Killing any other zsh window (but
> the first) seems to have no effect! Any tips, fixes or pointers would be
> appreciated. (What signal (?) could do this and how?)
>
> 2. (Relatively minor but important.) How do I get ^S/^Q to work as command
> characters with zsh. Apparently, they are flow control'ling still --- which
> I don't need.
>
Well, my zsh (2.2.0) exhibits neither of these quirks. It does, however,
have a very irritating problem.
If I su root (or any user, for that matter), and then change directories
and try to edit a file using emacs, emacs DOESN'T FIND THE FILE! If I do
a pwd, it tells me that my default directory is where I think I am, but
emacs tries to open the file in the directory I was in when I "su'd"!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Everything works fine if I use vi, however.
Has anybody seen (and hopefully solved) this one?
Thanks.
--
John McCracken White Computers
john@nextdoor.com Can't Jump
NeXTMail welcome
Re: zsh help --- 2 "quirks"
Author: Thomas Funke
Date: Thu, 23 Jul 1992 11:24
Date: Thu, 23 Jul 1992 11:24
20 lines
1228 bytes
1228 bytes
In article <1992Jul22.072454.11849@tetrasoft.com> jgrace@TetraSoft.com (Joseph R. Grace) writes: > 1. When I make zsh my Terminal:Preferences:Expert shell, it comes up fine > multiple times. BUT if I close the window on the *first* Terminal window, > *all* the zsh windows die (and disappear). Killing any other zsh window (but Strange, someone has reported this bug (?) already to the zsh-mailing-list. But I can't confirm it. I'm running zsh2.2.0 and it works fine! Did you update /etc/shells ? -- ------------------------------------------------------------------ Thomas Funke ** E-mail: thf@zelator.in-berlin.de NeXT-Developer * Unix-Consultant ------------------------------------------------------------------
Re: zsh help --- 2 "quirks"
Author: Marcel Waldvogel
Date: Fri, 31 Jul 1992 14:41
Date: Fri, 31 Jul 1992 14:41
26 lines
1760 bytes
1760 bytes
In article <1992Jul23.064130.5317@nextdoor.com> john@nextdoor.com writes: >Well, my zsh (2.2.0) exhibits neither of these quirks. It does, however, >have a very irritating problem. > >If I su root (or any user, for that matter), and then change directories >and try to edit a file using emacs, emacs DOESN'T FIND THE FILE! If I do >a pwd, it tells me that my default directory is where I think I am, but >emacs tries to open the file in the directory I was in when I "su'd"! > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The same happens with tcsh. New shells such as tcsh (and presumably zsh) set the environment variable PWD to the current directory. This is a nice feature if you got to the current directory by traversing a symbolic link (which is the case if the directory has been automounted). Old-fashioned shells, such as /bin/sh and /bin/csh don't know about this feature and don't neither change nor remove the variable. Good programs such as emacs honor the contents of PWD (but they should probably make some sanity checks on the contents). The easiest way to solve it is to put the line unsetenv PWD in the .cshrcs of the accounts you /bin/su to. -Marcel
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads