zsh-workers
 help / color / mirror / code / Atom feed
From: P.Stephenson@swansea.ac.uk
To: gene@sapience.com (Gene Cohler)
Cc: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: 2.6beta10 - a users comment.
Date: Mon, 17 Jul 95 18:01:13 +0100	[thread overview]
Message-ID: <3160.9507171701@pyro.swan.ac.uk> (raw)
In-Reply-To: "gene@sapience.com"'s message of "Mon, 17 Jul 95 11:54:33 EDT." <9507171154.ZM3324@cogent.sapience.com>

gene@sapience.com wrote:
>   o When I now 'su user' command line editing ceases to work.
>     No amount of 'bindkey -v' gets it back.  Control chars print nothing
>     when typed but hitting return causes an execution attempt. For example:
>     ESC k prints nothing but after a return:

My fault: I hadn't realised that opening the tty for writing would
fail in this case.  The patch I submitted a week or two ago should fix
this (at the expense of an extra fd and file in the case that fd 0 is
not writable --- it is by default, but an exec would change that;
Zoltan has suggested an alternative fix based on using just /dev/tty
which I haven't tried out yet).

>   o Split man pages. I know this is religious but the multiple sections
>     are not convenient (for me) to use at all. In days of yore i could simply
>     'man zsh' and then search back and forward for what I needed to my
>     little heart's content. Now I need to first remember the name of
>     the 5 sections and work with them all.

Richard: could we supply the something like the following zshall page
as well?  That would fix the problem without keeping multiple copies.
It's just the zsh page with some .so's added:  unfortunately, .so
appears to be botched so that you have to specify the full pathname,
so that the /usr/local's I've put in should really be whatever
--prefix is given to configure.  (You can only put man1/zshmisc.1
etc. in the first line of a manual entry, it seems.  This is
typical of nroff which is surely the product of a deranged mind.)

(I'd just finished this when I got the followup with exactly the same
idea, even the same name.)

(Also, putting a note about this in the main zsh page would be a good idea.)

pws

.\"
.TH ZSHALL 1 "March 2, 1995" "zsh version 2.7"
.SH NAME
zsh \- the Z shell
.SH SYNOPSIS
.\" \fBzsh\fP [ \(+-\fIoptions\fP ] [ \(+-\fBo\fP \fIoption\fP ] ...  [ \-\fBc\fP \fIstring\fP ] [ \fIarg\fP ... ]

.SH "DESCRIPTION"
Zsh is a UNIX command interpreter (shell) usable as an interactive
login shell and as a shell script command processor.  Of the standard shells,
zsh most closely resembles \fIksh\fR but includes many enhancements.  Zsh
has comand line editing, builtin spelling correction, programmable
command completion, shell functions (with autoloading), a history
mechanism, and a host of other features.
.sp
This manual page includes all the separate manual pages in the
following order:  zshmisc (general information), zshexpn (command and
parameter expansion), zshbuiltins (built-in functions), zshcompctl
(completion control via the \fBcompctl\fP built-in), zshparam
(shell parameters), zshzle (command line editing) and zshoptions
(shell options).
.so /usr/local/man/man1/zshmisc.1
.so /usr/local/man/man1/zshexpn.1
.so /usr/local/man/man1/zshbuiltins.1
.so /usr/local/man/man1/zshcompctl.1
.so /usr/local/man/man1/zshparam.1
.so /usr/local/man/man1/zshzle.1
.so /usr/local/man/man1/zshoptions.1
.SH "INVOCATION OPTIONS"
If the \-\fBs\fP flag is not present and an argument is given,
the first argument is taken to be the pathname of a script to
execute.  The remaining arguments are assigned to the positional
parameters.  The following flags are interpreted by the shell
when invoked:
.TP
.PD 0
\-\fBc\fP \fIstring\fP
Read commands from \fIstring\fP.
.TP
\-\fBi\fP
Force shell to be interactive.
.TP
\-\fBs\fP
Read command from the standard input.
.SH STARTUP/SHUTDOWN FILES
Commands are first read from /etc/zshenv.
If the \-\fBf\fP flag is present or if the \fBNO_RCS\fP option is set
within /etc/zshenv, all other
initialization files are skipped.
Otherwise, commands are read
from $ZDOTDIR/.zshenv.
(If \fBZDOTDIR\fP is unset, \fBHOME\fP is used instead).
If the first character of argument zero passed to the shell
is \-, or if the \-\fBl\fP flag is present, then the shell is
assumed to be a login shell, and commands
are read from /etc/zprofile and then $ZDOTDIR/.zprofile.
Then, if the shell is interactive,
commands are read from /etc/zshrc and then $ZDOTDIR/.zshrc.
Finally, if the shell is a login shell, /etc/zlogin and $ZDOTDIR/.zlogin
are read.
.SH FILES
$ZDOTDIR/.zshenv
.br
$ZDOTDIR/.zprofile
.br
$ZDOTDIR/.zshrc
.br
$ZDOTDIR/.zlogin
.br
$ZDOTDIR/.zlogout
.br
/tmp/zsh*
.br
/etc/zshenv
.br
/etc/zprofile
.br
/etc/zshrc
.br
/etc/zlogin
.br
/etc/zlogout
.SH AUTHOR
Zsh was originally written by Paul Falstad <pf@z-code.com>.
.br
Programmable completion was implemented by Sven
Wischnowsky <oberon@cs.tu-berlin.de> and Peter Stephenson
<P.Stephenson@swansea.ac.uk>.  Zsh is currently maintained by the
members of the zsh workers mailing list zsh-workers@math.gatech.edu and
coordinated by Richard Coleman <zsh@math.gatech.edu>.
.SH SEE ALSO
sh(1),
csh(1),
tcsh(1),
rc(1),
bash(1),
ksh(1),


  parent reply	other threads:[~1995-07-17 17:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-17 15:54 Gene Cohler
1995-07-17 16:39 ` Gene Cohler
1995-07-17 17:01 ` P.Stephenson [this message]
1995-07-17 18:52   ` Richard Coleman

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=3160.9507171701@pyro.swan.ac.uk \
    --to=p.stephenson@swansea.ac.uk \
    --cc=gene@sapience.com \
    --cc=zsh-workers@math.gatech.edu \
    /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).