zsh-workers
 help / color / mirror / code / Atom feed
* zsh-3.0.2 core'ing + a small feature request
@ 1997-02-18  7:44 Carl Johnson
  1997-02-18  8:56 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Carl Johnson @ 1997-02-18  7:44 UTC (permalink / raw)
  To: zsh-workers

hi,
i am not on any of the zsh lists so please cc me on any replies.

zsh-3.0.2 and solaris 2.5.1
when i do....

1> ls -al
2> vared -h 1
3> <esc>k
which gets me the ls -al line again, then hit return and it cores, every time.

and whilst i'm here :)
when i have command spelling correction on, make a mistake and hit e to edit
the line, is/would it be possible to have it put me in vi command mode
instead of vi insert mode?  as i find that 90% of the time i have to hit
escape first anyway before i can do any editing,
cheers,
c

ps if you need any more info on the core feel free to email me.
pps great shell btw, keep up the good work :-)


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

* Re: zsh-3.0.2 core'ing + a small feature request
  1997-02-18  7:44 zsh-3.0.2 core'ing + a small feature request Carl Johnson
@ 1997-02-18  8:56 ` Peter Stephenson
  1997-02-18  9:47   ` Bart Schaefer
  1997-02-18  9:52   ` Bart Schaefer
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Stephenson @ 1997-02-18  8:56 UTC (permalink / raw)
  To: Carl Johnson, Zsh hackers list

Carl Johnson wrote:
> hi,
> i am not on any of the zsh lists so please cc me on any replies.
> 
> zsh-3.0.2 and solaris 2.5.1
> when i do....
> 
> 1> ls -al
> 2> vared -h 1
> 3> <esc>k
> which gets me the ls -al line again, then hit return and it cores, every time
> .

The fix seems to be fairly simple.  (I didn't even know this was
supported, but looking at the code it certainly should be.)

*** Src/Zle/zle_main.c.vn	Sun Jan 12 01:46:43 1997
--- Src/Zle/zle_main.c	Tue Feb 18 09:39:53 1997
***************
*** 613,619 ****
  	t[strlen(t) - 1] = '\0';
      /* final assignment of parameter value */
      pm = (Param) paramtab->getnode(paramtab, args[0]);
!     if (PM_TYPE(pm->flags) == PM_ARRAY) {
  	PERMALLOC {
  	    setaparam(args[0], spacesplit(t, 1));
  	} LASTALLOC;
--- 613,619 ----
  	t[strlen(t) - 1] = '\0';
      /* final assignment of parameter value */
      pm = (Param) paramtab->getnode(paramtab, args[0]);
!     if (pm && PM_TYPE(pm->flags) == PM_ARRAY) {
  	PERMALLOC {
  	    setaparam(args[0], spacesplit(t, 1));
  	} LASTALLOC;

-- 
Peter Stephenson <pws@ifh.de>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.


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

* Re: zsh-3.0.2 core'ing + a small feature request
  1997-02-18  8:56 ` Peter Stephenson
@ 1997-02-18  9:47   ` Bart Schaefer
  1997-02-18  9:52   ` Bart Schaefer
  1 sibling, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 1997-02-18  9:47 UTC (permalink / raw)
  To: Peter Stephenson, Zsh hackers list

On Feb 18,  9:56am, Peter Stephenson wrote:
} Subject: Re: zsh-3.0.2 core'ing + a small feature request
}
} The fix seems to be fairly simple.  (I didn't even know this was
} supported, but looking at the code it certainly should be.)
} 
} *** Src/Zle/zle_main.c.vn	Sun Jan 12 01:46:43 1997
} --- Src/Zle/zle_main.c	Tue Feb 18 09:39:53 1997

Any chance of an equivalent patch for 3.0.3-test4?

-- 
Bart Schaefer                             Brass Lantern Enterprises
http://www.well.com/user/barts            http://www.nbn.com/people/lantern


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

* Re: zsh-3.0.2 core'ing + a small feature request
  1997-02-18  8:56 ` Peter Stephenson
  1997-02-18  9:47   ` Bart Schaefer
@ 1997-02-18  9:52   ` Bart Schaefer
  1 sibling, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 1997-02-18  9:52 UTC (permalink / raw)
  To: Peter Stephenson, Carl Johnson, Zsh hackers list

On Feb 18,  9:56am, Peter Stephenson wrote:
} Subject: Re: zsh-3.0.2 core'ing + a small feature request
}
} The fix seems to be fairly simple.

I asked for a 3.0.3 patch; never mind.  Just apply Peter's patch to
builtin.c in the 3.0.3-test4 source.

-- 
Bart Schaefer                             Brass Lantern Enterprises
http://www.well.com/user/barts            http://www.nbn.com/people/lantern


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

end of thread, other threads:[~1997-02-18  9:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-02-18  7:44 zsh-3.0.2 core'ing + a small feature request Carl Johnson
1997-02-18  8:56 ` Peter Stephenson
1997-02-18  9:47   ` Bart Schaefer
1997-02-18  9:52   ` Bart Schaefer

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