On 8/22/06, Martin Baehr <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 22, 2006 at 04:20:58PM +0200, Axel Liljencrantz wrote:
> > Try to use the fish_pager command and see if you can reproduce the
> > behaviour when invoking it manually:
> > fish_pager 0 "" foo bar baz
>
> running
> fish_pager 0 "foo" (ls)
> i get
> <ls output>
> fish: Job 1, #fish_pager 0 "foo" (ls)# terminated by signal SIGINT (Quit
> request from job control (^C))
>
> and then nothing, so this works correctly.

And if you try to enter the completions that originally caused the
scrolling? You can get these using 'complete -C', e.g. to get the
completions printed when entering 'ls -<TAB>', use 'complete -C "ls
-"'.

>
> > Fish doesn't use the readline library, it only understands readline
> > files.
>
> ah, so maybe fish could support a path for those files?
> i don't think includes should cause a problem with that.

No, that should work. What would you suggest the path should contain?
@sysconfdir@ and $HOME?

>
> > Compare the editing facilities you get in fish vs. bash when doing
> > 'read foo'.
>
> indeed, nice.

Though it is a bit of a violation of the rule to include as little as
possible in the shell - the interactive part could be split of into a
separate program, so you'd do something like

interactive-read | read foo

But that would be silly in many ways, since _all_ the functionality
already lives inside fish, it's just reusing the same code.

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