On 9/1/06, Martin Baehr <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 01, 2006 at 05:06:59PM +0200, Axel Liljencrantz wrote:
> > I think a lot of the little in fish are like that - they're very
> > useful, but you don't notice them, because they're not 'showy'. They
> > simply take a way an annoyance. :-)
>
> yup, though sometimes they are so well hidden that you believe the
> annoyance is still there by assumption.

Not much I can do about that, unless you'd want fish to become 'ADD
software' and nag you every time it does something even remotely
clever. ;-)

>
> > I'm sure there are lots of situations where what you really need is a
> > simply overview of possible completions. The thing is, it's kind of
> > hard for the pager to know when this would make sense and when it
> > wouldn't.
>
> maybe with a different key (ctrl-tab if that works) that runs a function
> which starts the pager with a different commandline option.
> or inside the pager a key to switch modes (i am just brainstorming)

The problem I see with that is that is very rarely get used - you
don't want to have to remember what mode to show the completions in.
I'd much rather have a system that figures out what you actually want
and automatically does the right thing (almost) all of the time.

>
> > Few people know how primitive the terminal interface really is.
>
> i knew it was promitive, but reading those details is nice, thanks.
>
> > Shortcuts using the Alt key are usually handled by prepending the
> > regular character with an escape character.
>
> ah, those work...
>
> > > would not help. most window managers use alt for themselves.
> > > any alt-key combo does not work in my terminal.
> > Bummer. I'm open to suggestions.
>
> well, esc-space might be usable (maybe even better than alt because
> there is a larger distance and i don't have to deform my hand to have
> the thumb on space and a finger on alt.

Ugh - that way lies trouble. Remember how I said fish, emacs and vi
use timing information to detect if an escape character comes from the
escape key or from pressing alt-Some key? As a side effect of that,
pressing escape and then space will always get interpreted as two
separate key strokes, not a combination. There might be ways to work
around that, but I fear the possible side effects and corner cases.

Are you sure your window manager steals _all_ Alt-sequences? Does, for
example Alt-p do nothing inside fish? Ctrl-Up/Down work in some
terminals.

If you have the fish source, you can always use the command 'make
key_reader' to compile a trivial command that tells you what it finds
on stdin. Start it and press e.g. Ctrl-Up and see what sequence gets
generated, if any.

>
> > > if you could shorten the pager by one line so that the commandline is
> > > always visible then going on typing would feel more natural
> > That should be possible. I'll test it and see how it works.
>
> thanks.
>
> 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/
>


-- 
Axel

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

Reply via email to