Release Fish - the Friendly Interactive SHell

Discussion in 'Software Releases' started by ptitSeb, Oct 31, 2013.

  1. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,363
    Location:
    France, near Lyon
    Here is Fish, an alternate and colorfull alternative shell.

    [​IMG]
    Working fine on the Pandora, except the help, that fails to start a browser by itself (doc is still available in /mnt/utmp/fishshell/share/doc/fish/index.html )

    History log

    ========

    Build 02

    -----------

    • Callable from inside codeblocks build 12 and later (just type fish from codeblocks command line)
     

    Build 01

    -----------

    • Initial release
     
    Last edited by a moderator: Jan 18, 2015
    Tags:
  2. EssoAir

    EssoAir Well-Known Member

    Joined:
    Dec 13, 2012
    Messages:
    1,829
    Location:
    Knoxville/Seattle
    Nicely Done, guy


    Maybe Linux_SWAT can replace the default Terminal in SL4P with this?
     
  3. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,996
    Location:
    Somewhere off the coast of the EU
    Sorry, what does this give us over bash? No criticism of the port at all - anything that adds more options is good. But as for replacing the shell in SL4P it would need to be significantly more friendly without being much less powerful, I'd have thought.
     
  4. ekianjo

    ekianjo Hardcore Member

    Joined:
    May 7, 2012
    Messages:
    8,261
    Location:
    神戸市、日本 (Japan)
    It has many features such as autocompletion, colored display, etc...
     
  5. Holliefant

    Holliefant Member

    Joined:
    Dec 9, 2008
    Messages:
    221
    Fish is nice, but when I tested it, ok that was about 4 years ago, it was not usable as standard shell in a Linux. But I will certainly try it :D
     
  6. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,996
    Location:
    Somewhere off the coast of the EU
    Bash has autocompletion on Pandora, and can be trivially configured to have a coloured prompt and output. Anything else?

    Edit: Although as far as I know, bash can't be configured to colour stuff in as you type, which could be useful.
     
    Last edited by a moderator: Oct 31, 2013
  7. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,363
    Location:
    France, near Lyon
    Fish as more interactive things happening when typing things. And it's still more colorfull than bash. But fish is not 100% compatible sh or bash from the test I have done. So, that's an interesting alternative, especialy for those not 100% confident in their shell skill. But I don't think it can replace bash. Anyway, it's a small PND (and it's a PND, not a NAND addon), so just grab-it and try it. If not satisfied by it, you just delete it, no big deal.
     
    levi likes this.
  8. EssoAir

    EssoAir Well-Known Member

    Joined:
    Dec 13, 2012
    Messages:
    1,829
    Location:
    Knoxville/Seattle
    Can something be done to fix the incompatabilities?
     
  9. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,363
    Location:
    France, near Lyon
    I have note (it's in the FAQ), that you cannot use things like "LIBFB_GL=1 ./myglsoftware" for example, you have to use "env LIBFB_GL=1 ./myglsoftware". Or also there is no "$?" but "$status" instead.

    Fish is not designed to be an enhancement of bash, but an alternative. But you can ask the original author of Fish.

    *EDIT*

    But you should notes also that thoses "incompatibilites" are relevent only on command line, not on script, because (usualy) you fix the shell to use in a script with the first line (the "#!/bin/bash" or "#!/bin/sh"). So Fish is perfectly useable.

    I'm poundering on using Fish as default shell for the the code::blocks command line (either inside C::B as it small anyway, or a autodetect and automount and autouse the fishshell PND).
     
    Last edited by a moderator: Oct 31, 2013
  10. EssoAir

    EssoAir Well-Known Member

    Joined:
    Dec 13, 2012
    Messages:
    1,829
    Location:
    Knoxville/Seattle
    could you somehow add an option to make it automatically assume all commands are using "#!/bin/bash" ?
     
  11. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,996
    Location:
    Somewhere off the coast of the EU
    That would make it a terminal, not a shell. Or something half-way in between.
     
  12. EssoAir

    EssoAir Well-Known Member

    Joined:
    Dec 13, 2012
    Messages:
    1,829
    Location:
    Knoxville/Seattle
    Oh.. I guess I misunderstood what this was. I was unaware that there was a difference between Shell and Terminal.


    ....to google I must go!
     
  13. EssoAir

    EssoAir Well-Known Member

    Joined:
    Dec 13, 2012
    Messages:
    1,829
    Location:
    Knoxville/Seattle
  14. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,363
    Location:
    France, near Lyon
    Last edited by a moderator: Oct 31, 2013
  15. EssoAir

    EssoAir Well-Known Member

    Joined:
    Dec 13, 2012
    Messages:
    1,829
    Location:
    Knoxville/Seattle
    Cool. At school right now and dont have my P. I plan to install SL4P over the weekend so Ill download it after I can boot Slack fine
     
  16. lunixbochs

    lunixbochs Moderator Staff Member

    Joined:
    Sep 18, 2011
    Messages:
    742
    Fish is a shell, not a terminal. Think of a terminal as a display and input mechanism (like your monitor/keyboard), while a shell is the underlying software that allows you to navigate files and run programs.

    I personally use Fish as my main shell (and I've contributed to the codebase), but I don't think you should set it as default when people are probably expecting a Bourne-compatible shell.

    ZSH is a pretty nice (and compatible) bash alternative.
     
    Last edited by a moderator: Nov 3, 2013
    FBnil likes this.
  17. comradekingu

    comradekingu Glowing ember

    Joined:
    Apr 15, 2011
    Messages:
    4,957
    Shell with helpfile in a browser? Looks nice though
     
  18. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,363
    Location:
    France, near Lyon
    New build, that integrate with latest codeblocks PND release.

    Build 02

    -----------

    • Callable from inside codeblocks build 12 and later (just type fish from codeblocks command line)
     
    klapse likes this.

Share This Page

Loading...