On Tue, Aug 22, 2006 at 01:54:11AM +0200, Axel Liljencrantz wrote: > 1) Up/down arrows to move in the history > 2) Incremental search > 3) !-commands, like !1, etc. > Hence, all 3 are kind of lame.
agreed > * You can start the search halfway into entering a command, when you > realize that you've written this command before. I do this all the > time. my commands are usually so similar to each other that this does not gain me much, i still have to use up-arrow a lot to find the one i am looking for. that is also made less practical because the commandline is not wrapped, which means ihave to scroll left/right to see the full command. with 80 columns in the terminal this is not very convenient. that said, half of the time i find myself trying to use fish style history in a bash. > I am not really interested in 'easy, temprorary fixes', since these > tend to become permanent. I think the current functionality is good > enough that we can take the time to get history access right if we are > to change it. > I don't want 3 differnent history access systems. I'd like having only > 1 the best, but absolutely not more than 2. i fully agree. > The current up/down arrow system is, in my experience, very > discoverable. If the fish history mechanism is changed, this property > must be retained. indeed. you didn't address my two (hidden) questions: namely for a command that just prints the history to stdout, and a way for the commandline function to just return the token under the curser (that may be there, but then i can't figure it out) the latter may not be necessary, but the history command would allow it to write functions that manipulate the history in interresting ways which would allow to experiment with different ways to access the history, without making those functions part of the release of fish. that way, if someone really insisted on getting their !style (which i never used, because i find it just way to obscure, it is probably from the days when ed was state of the art for text editing) they could just implement their own function to do it without bothering the rest of us who want something different. greetings, martin. -- cooperative communication with sTeam - caudium, pike, roxen and unix offering: programming, training and administration - anywhere in the world -- pike programmer travelling and working in europe open-steam.org unix system- bahai.or.at iaeste.(tuwien.ac|or).at administrator (caudium|gotpike).org is.schon.org Martin Bähr http://www.iaeste.or.at/~mbaehr/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
