* zsh v 2.6-beta13 bug
@ 1996-03-31 23:40 Huy Le
1996-04-29 8:03 ` Peter Stephenson
0 siblings, 1 reply; 2+ messages in thread
From: Huy Le @ 1996-03-31 23:40 UTC (permalink / raw)
To: zsh-workers
On:
HP-UX A.09.01 A 9000/715
IRIX 5.3 IP22 mips
SunOS 5.4 sun4d sparc
In 'bindkey -v' mode, if I do the '~' command on an empty line,
the cursor moves up to the first cursor of the line before the current
line. Instead, nothing should happen.
Additionally, on HP, after doing that, I can sometimes crash zsh, if I do:
1. '~' (as described above)
2. 'j' 'k' 'j' 'k'... (until there's a beep)
3. 'a' (add) ' ' (any character) (a '^Q' suddenly appears on the command line)
4. <CTRL>-'c' (break)
zsh: 13975 bus error zsh -f
On SunOS, after step 4, the shell doesn't crash but instead freezes.
- Huy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: zsh v 2.6-beta13 bug
1996-03-31 23:40 zsh v 2.6-beta13 bug Huy Le
@ 1996-04-29 8:03 ` Peter Stephenson
0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 1996-04-29 8:03 UTC (permalink / raw)
To: Zsh hackers list
huyle@bradbert.ugcs.caltech.edu wrote:
> In 'bindkey -v' mode, if I do the '~' command on an empty line,
> the cursor moves up to the first cursor of the line before the current
> line. Instead, nothing should happen.
I didn't see a patch for this; maybe I was asleep.
*** Src/zle_vi.c.swp Mon Apr 15 07:33:47 1996
--- Src/zle_vi.c Mon Apr 29 09:59:59 1996
***************
*** 742,748 ****
line[cs] = tulower(line[cs]);
cs++;
}
! if (cs == eol)
cs--;
}
--- 742,748 ----
line[cs] = tulower(line[cs]);
cs++;
}
! if (cs == eol && cs)
cs--;
}
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-04-29 8:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-03-31 23:40 zsh v 2.6-beta13 bug Huy Le
1996-04-29 8:03 ` Peter Stephenson
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).