Philip Ganchev wrote:
> On Fri, May 30, 2008 at 9:52 AM, Isaac Dupree <[EMAIL PROTECTED]> wrote:
>> I hate it!  Frequently when I'm using fish and editing something e.g.
>> from my history, it will disappear and I can't get it back!  Sometimes
>> it will mysteriously turn purple and then I have no choice but to keep
> 
> What disappears?  What turns purple?  The history?  The Fish prompt?
> The fish process?

Everything or a part of what I've typed on the command-line.
The behaviour is described, I think, on 
http://www.fishshell.org/user_doc/index.html#editor and 
http://www.fishshell.org/user_doc/index.html#history , though not 
clearly.  I think it's searching in the history for only things matching 
the purple string.  However, this is inconsistent.  Namely: If I hit 
"up" once from an empty prompt, then the prompt is filled up with a 
command.  Then, guess what:
- I can hit "up" again and get expected history behavior like bash etc.
- I can delete a word and re-type it, so everything looks exactly the 
same as before (Any typing or deletion, intentional or not, is all it 
takes.).  I then hit "up" again, and instead of what I expected, the 
command there turns purple -- and of course it probably can't find any 
different previous commands that look quite like that whole command. 
Now, if there was a quick way to restore it to going up and down in the 
history from where I left off (i.e. without any filtering restrictions), 
I would be relatively happy.  But I don't know of one, and if there was, 
Fish should have been friendly and told me already. (e.g. every time 
that it uses the "purple text" history feature that is triggered by mere 
typing and arrow keys).

The problem is possibly compounded by the occasions on which I 
accidentally typed "alt" for a moment at the same time as something else.

^U, I didn't know that, but it does clear the prompt in a way that's not 
particularly useful to me... is it any different from ^C, when you are 
editing at the prompt?

> 
>> hitting random keys until it's all deleted and normal again, because
>> using the arrow keys for history fails to work how it's normally
>> supposed to anymore!
> [...]
> Have you tried hitting ^U and typing "reset"?
> 
> What version of fish?  What kind of terminal? What operating system?
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to