zsh-workers
 help / color / mirror / code / Atom feed
* up-line-or-search
@ 1998-06-01 12:13 Andy Wick
  1998-06-01 13:27 ` up-line-or-search Louis-David Mitterrand
  1998-06-01 16:29 ` up-line-or-search Bart Schaefer
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Wick @ 1998-06-01 12:13 UTC (permalink / raw)
  To: zsh-workers

I guess I am the only one who uses up-line-or-search, since it
is still broken in 3.1.4.  I did a little bit of debugging, but
since I have no clue what is going on, I am really not much help.
If you comment out line 376 of Zle/zle_hist.c
    iblank(s[histmpos] == Meta ? s[histmpos+1]^32 : s[histmpos]) &&
up-line-or-search will kind of work, which is better then not
working.  What it still does with that line commented out is forget
the orginal string typed in, and uses the last string found each
time you hit up arrow.

Example:
(Previous Commands)
%lss -d
%ls -l
%lss
%ls

Now if I do 
   l<uparrow>
it finds "ls" if I hit up arrow again it finds "lss", one more
up arrow skips the "ls -l" and finds the "lss -d".

I'll buy someone a pizza if they just fix this for me, I really
want to upgrade to 3.1.x, but can't without my favorite feature.

Thanks,
Andy
-- 
awick@vt.edu                                    Andy Wick
awick@purple.org                              Virginia Tech


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

end of thread, other threads:[~1998-06-01 18:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-01 12:13 up-line-or-search Andy Wick
1998-06-01 13:27 ` up-line-or-search Louis-David Mitterrand
1998-06-01 16:29 ` up-line-or-search Bart Schaefer
1998-06-01 16:51   ` up-line-or-search Andy Wick
1998-06-01 18:02     ` up-line-or-search 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).