plush + ghci

30 views
Skip to first unread message

miguel.ne...@friendlyvirus.org

unread,
Mar 15, 2013, 6:50:16 AM3/15/13
to thecom...@googlegroups.com
Hi

I saw about plush on BayHac2013, I've installed it and my mind is blown ! What an amazing piece of software ! This will revolutionize shells !

Everything seems to be working great here except that I can't seem to use ghci. when I type ghci it doesn't go into interactive prompt mode for that job, I don't get the line at then end of the job to enter commands and I don't get the icons for EOF, kill, quit, etc. Running "scala" I go the scala REPL which works fine, I can enter commands and I see the icons. Is this a known bug ?

It would be really cool to be able to open a file by clicking in the ls window. Would also be great to edit a text file right in plush, but with mouse support (no nano please !!). Right now on the mac I do "open -e filename.txt" which open TextEditor, but would be cool to keep the workflow inside plush.  It would be cool to have mini gui programs running inside plush, so that you could get for instance a nice git rebase interactive gui, and stuff like that. The possibilities are mind boggling !

Anyway, great work !!!!

best,
Miguel Negrão

Mark Lentczner

unread,
Mar 15, 2013, 10:16:09 AM3/15/13
to thecom...@googlegroups.com
On Friday, March 15, 2013 3:50:16 AM UTC-7, miguel.ne...@friendlyvirus.org wrote:
Everything seems to be working great here except that I can't seem to use ghci. when I type ghci it doesn't go into interactive prompt mode for that job, I don't get the line at then end of the job to enter commands and I don't get the icons for EOF, kill, quit, etc.

Do you have ghci configured, as some do, to use color-ized output? If so, it is likely that plush is entering "full screen mode" for that job - and a known current bug is that it show the job control icons in that mode (but the keyboard shortcuts work). Does a medium-ish white area open up under the ghci command? If so, click there and just start typing.

It would be really cool to be able to open a file by clicking in the ls window. Would also be great to edit a text file right in plush, but with mouse support (no nano please !!). Right now on the mac I do "open -e filename.txt" which open TextEditor, but would be cool to keep the workflow inside plush. 

That's a nice idea - for small / medium editing jobs, editing just inside plush sounds great - just like for simple directory navigation we do it within plush. We are about to totally revamp the "status" system - the thing that puts information in the right hand and header areas. The new system will allow many more kinds of status "in-plush" information displays (including editors), and the text editor could easily be added.

It would be cool to have mini gui programs running inside plush, so that you could get for instance a nice git rebase interactive gui, and stuff like that. The possibilities are mind boggling !

I hope plush will be a reasonable vehicle for shell / command / UI innovation.
 
Anyway, great work !!!!

Thank you. Will we see you at BayHac?

- Mark

miguel.ne...@friendlyvirus.org

unread,
Mar 15, 2013, 8:04:37 PM3/15/13
to thecom...@googlegroups.com


Sexta-feira, 15 de Março de 2013 14:16:09 UTC, Mark Lentczner escreveu:
On Friday, March 15, 2013 3:50:16 AM UTC-7, miguel.ne...@friendlyvirus.org wrote:
Everything seems to be working great here except that I can't seem to use ghci. when I type ghci it doesn't go into interactive prompt mode for that job, I don't get the line at then end of the job to enter commands and I don't get the icons for EOF, kill, quit, etc.

Do you have ghci configured, as some do, to use color-ized output? If so, it is likely that plush is entering "full screen mode" for that job - and a known current bug is that it show the job control icons in that mode (but the keyboard shortcuts work). Does a medium-ish white area open up under the ghci command? If so, click there and just start typing.

No, no color in ghci, just whatever is installed with the haskell platform. You can see an image of what it looks like :

http://miguel.negrao.trovebox.com/p/8/token-c154e28e23

It hangs in "Loading package base ...". I don't get any white are under the ghci command, and I can't type anything on that job.
 
Some other commands that don't seem to work are "ccmake" the graphical command of cmake, "vim", "emacs", "nano", "man", so basically almost anything which is interactive. The scala repl is the only interactive thing I got to work...

 
Anyway, great work !!!!

Thank you. Will we see you at BayHac?

Ah, no. I live in Belfast, so quite far from where BayHac will take place. Also, my Haskell skills are quite rudimentary, not sure I could help much.

best,
Miguel
Reply all
Reply to author
Forward
0 new messages