zsh-workers
 help / color / mirror / code / Atom feed
* forwarded mail
@ 1996-09-03 15:39 Richard Coleman
  1996-09-03 18:54 ` bugs found Geoff Wing
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Coleman @ 1996-09-03 15:39 UTC (permalink / raw)
  To: zsh-workers


------- Forwarded Message

From: hoh@approve.se (Goran Larsson)
Subject: Bugs in 3.0.0
To: zsh-workers-request@math.gatech.edu

Hello.

I've found the following bugs in 3.0.0:

1)
	$ asdf
	zsh: correct 'asdf' to 'adb' [nyae]? _

	If a key other than nyae is pressed then a beep is
	heard and the key is erased. This, however, is broken
	when a control key or DEL is used, they leave a ^
	for each key pressed, like so:

	zsh: correct 'asdf' to 'adb' [nyae]? ^^^^^

	This simple patch fixes this:

- ---->8-------->8-------->8-------->8-------->8-------->8-------->8----
*** utils.c,DIST	Wed Aug 14 18:18:34 1996
- --- utils.c	Sun Sep  1 22:55:08 1996
***************
*** 1150,1155 ****
- --- 1150,1157 ----
  	    break;
  	}
  	feep();
+ 	if (icntrl(c))
+ 	    write(2, "\b \b", 3);
  	write(2, "\b \b", 3);
      }
      if (isem) {
- ---->8-------->8-------->8-------->8-------->8-------->8-------->8----

2)
	$ PROMPT=AAA
	AAA_
	AAAPROMPT=AA
	AA_
	AAPROMPT=A
	 _
	 APROMPT='$'
	 APROMPT='$ '
	$ _

	Note that any one character prompt is replaced by a space.

3)
	Sometimes filename completion acts up. It is kind of hard
	to reproduce, but it goes something like this:

	$ setopt menu_complete
	$ setopt markdirs
	$ unsetopt autolist
	$ cd /a/path/x		(press TAB)
	$ cd /a/path/x1/	(notice beep, press ^D)
	x1 x2
	$ cd /a/path/x1/	(press space and ^H)
				(press TAB)
	$ cd /a/paty1		(press RETURN)
	cd: no such file or directory: /a/paty1
	$ 

	The first file in x1 overwrote part of the already
	completed path, the expected result should have been
	 cd /a/path/x1/y1
	but the result is
	 cd /a/paty1
	I have been unable to create a testcase, but if the info
	hear is not enough to find the problem, I'll try harder.

- -- 
 Goran Larsson                        mailto:hoh@approve.se
 I was an atheist,                    http://home1.swipnet.se/%7Ew-12153
 until I found out I was God.


------- End of Forwarded Message


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bugs found
  1996-09-03 15:39 forwarded mail Richard Coleman
@ 1996-09-03 18:54 ` Geoff Wing
  0 siblings, 0 replies; 2+ messages in thread
From: Geoff Wing @ 1996-09-03 18:54 UTC (permalink / raw)
  To: zsh-workers

:From: hoh@approve.se (Goran Larsson)
:Subject: Bugs in 3.0.0
[... first bug deleted ...]
:2)
:	$ PROMPT=AAA
:	AAA_
:	AAAPROMPT=AA
:	AA_
:	AAPROMPT=A
:	 _
:	 APROMPT='$'
:	 APROMPT='$ '
:	$ _
:
:	Note that any one character prompt is replaced by a space.

OK. I've found the problem (and another smaller one - the code gets to a 
place I commented as 'shouldn't happen' - now I've got to remember why :-)).
Patch in a day or so.

:3)
:	Sometimes filename completion acts up. It is kind of hard
:	to reproduce, but it goes something like this:

I've had hard to reproduce problems with this too, but I assumed it was
my compctl stuff which I really haven't checked properly.  When I get
time....

-- 
Geoff Wing [mason@primenet.com.au]   PrimeNet - Internet Consultancy
  Web: http://www.primenet.com.au/   Facsimile: +61-3-9819 3788


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-09-03 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-03 15:39 forwarded mail Richard Coleman
1996-09-03 18:54 ` bugs found Geoff Wing

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