zsh-workers
 help / color / mirror / code / Atom feed
* Zle bug
@ 1998-02-01  3:16 Wez Furlong
  1998-02-01 14:41 ` Thomas Köhler
  0 siblings, 1 reply; 5+ messages in thread
From: Wez Furlong @ 1998-02-01  3:16 UTC (permalink / raw)
  To: zsh-workers

Hi,

I am reporting a bug that is present in zsh 3.1.2 and also 3.1.2-zefram3.
I have mentioned it before (when 3.1.2 was first released) but it does not
appear to have been addressed.

Here's a demonstration:

% > zsh -f
% > echo $ZSH_VERSION
3.0.5
% > bindkey  '\e[A'   up-line-or-search
% > who
wez      tty3     Feb  1 00:37
root     tty4     Feb  1 00:42
root     tty2     Jan 31 16:51
wez      tty5     Feb  1 01:42
% > ls
Admin              Personal           UNI                root
Amiga              Povray             Wez-Crontab        spambounce.tar.gz
Dave               Src                mail.vim           tmp
PCMCIA             Stuff              mbox
% > w

At this point I press cursor up

% > who

This is correct.

And here is the bug, with 3.1.2:

% > zsh -f
% > echo $ZSH_VERSION
3.1.2
% > bindkey  '\e[A'   up-line-or-search
% > who
wez      tty3     Feb  1 00:37
root     tty4     Feb  1 00:42
root     tty2     Jan 31 16:51
wez      tty5     Feb  1 01:42
% > ls
Admin              Personal           UNI                root
Amiga              Povray             Wez-Crontab        spambounce.tar.gz
Dave               Src                mail.vim           tmp
PCMCIA             Stuff              mbox
% > w

Pressing cursor up produces a beep.

% > w


This is a feature which I use a lot, and it's a shame it is missing/broken. I
have tested this on the following:

Linux twinklestar 2.0.31 #4 Thu Dec 18 14:19:38 GMT 1997 m68k

And an SGI IRIX 5.3 system - we have had several older versions of zsh which
work correctly, but both builds of 3.1.2 and 3.1.2-zefram3 exhibit the broken
behaviour.

While on the subject of IRIX and zeframs baseline version, there were a couple
changes needed in order for the build to be successful. I had applied zeframs
diff, and the build diff to correct the bashisms (which failed on about 5
hunks - I tried the systems default patch, and the latest gnu patch - the gnu
version failed less hunks than the other).

After applying those hunks manually, I then had to edit Src/signames.awk and
Builtins/rlimits.awk and change the references to 034 to 042, as gawk (3.x)
was producing \^ (or something similar) instead of ". Note, however, that
042 is octal for 34 which is the ascii code for ". 034 is the ascii code for
FS, which is not really what is wanted. This could be a portability of
{g,m,n}awk issue - interpretation of different radices.

I hope you can sort out the zle thing, and also fix the build setup (I had to
get autoconf (for autoheader) which required gnu m4, and then apply patches by
hand etc. etc.) - the zefram version was very difficult to build on the
semi-stock IRIX setup.

I also hope this is a ``useful'' bug report. :-)

Thanks,

Wez.

--
Wez Furlong                        Undergrad - Electronic Systems Engineering
                                           http://www.twinklestar.demon.co.uk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Zle bug
@ 1998-02-02  2:58 Wez Furlong
  0 siblings, 0 replies; 5+ messages in thread
From: Wez Furlong @ 1998-02-02  2:58 UTC (permalink / raw)
  To: Thomas Köhler; +Cc: zsh-workers

On Feb 1,  3:41pm, =?iso-8859-1?Q?Thomas_K=F6hler?= wrote:
> On Feb 1, Wez Furlong wrote
> > I am reporting a bug that is present in zsh 3.1.2 and also 3.1.2-zefram3.
> > Here's a demonstration:
> > 
> > % > bindkey  '\e[A'   up-line-or-search
> > % > w
> > At this point I press cursor up
> > % > who
> > This is correct.

> I'd say "no, it's a bug" ;-)

> Looking at the manpages, I found this:
> 
>           up-line-or-search
>           Move  up a line in the buffer, or if already at the
>           top line, search backward in the history for a line
>           beginning with the first word in the buffer.

> Perhaps this can't be done in zsh-3.1.2 as it is now, we may need
> something like "up-line-or-history-beginning-search-backward". ;-)
[much snipping applied]

Hmm. I suppose you are right. I shall be changing to
history-beginning-search-backward (I don't often use multi-line editing).

The "up-line-or-history-beginning-search-backward" would be nice idea though.
__
Wez Furlong                        Undergrad - Electronic Systems Engineering
                                           http://www.twinklestar.demon.co.uk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <aheading@jpmorgan.com>]

end of thread, other threads:[~1998-02-09 13:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-01  3:16 Zle bug Wez Furlong
1998-02-01 14:41 ` Thomas Köhler
1998-02-09 12:57   ` Anthony JR Heading
1998-02-02  2:58 Wez Furlong
     [not found] <aheading@jpmorgan.com>
1998-02-09 13:23 ` Wez Furlong

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).