This too.  I meant this to go to the list.

Begin forwarded message:

> From: James <jbiomant...@gmail.com>
> Date: August 30, 2017 4:29:39 PM EDT
> To: William G Hatch <will...@hatch.uno>
> Subject: Re: [racket-users] GUI for ffmpeg and mrlib/terminal
> 
> 
> On Aug 30, 2017, at 12:24 PM, William G Hatch wrote:
> 
>> On Wed, Aug 30, 2017 at 09:57:01AM -0400, David Storrs wrote:
>>> Still, I'm also interested in the original question:  if I wanted an
>>> interactive GUI terminal in Racket, what's the best way to do it?
>> 
>> Another thing you can look at is my Rackterm package[1].  It is currently an 
>> undocumented mess (and the first Racket project I made over a couple hundred 
>> lines), but it is also a reasonably compliant xterm that handles 
>> colors/styles, curses applications (eg. emacs and vim work fine in it), etc. 
>>  I've always intended to clean up the parser and make it available as a 
>> library for applications that want to parse and use input with ANSI control 
>> characters in it, make the various pieces available as stable interfaces for 
>> embedding terminals into applications, etc.  I haven't gotten around to 
>> doing that, but there is an unstable terminal-canvas.rkt that provides the 
>> terminal gui widget.
>> 
>> [1] https://github.com/willghatch/rackterm
> 
> This sounds good.  Besides ffmpeg, there are many other situations where it 
> would be good to have a combination of a GUI and interactive terminal.  In 
> the past, I have created quite a few AppleScript droplets which you drag 
> files onto and it loops through them, running a command on each one in a 
> Terminal window.  Sometimes, it's useful to hit the up arrow in Terminal 
> after a command is done, edit and rerun it, as a one-off thing, rather than 
> having to edit the AppleScript.  
> 
> Ffmpeg gives both warnings and error messages.  MrLib Terminal just displays 
> all text in red.  In the macOS Terminal, ffmpeg highlights different warnings 
> and errors in different colors.  One error that I am running into, since I am 
> testing repeatedly, is "Output file already exists.  Overwrite? y/N."  At 
> that point, there is no way to respond and i just have to cancel and try 
> again.  I suppose that I can catch that specific situation in my Racket code 
> and handle it but it would still be nice to be able to respond to other 
> unanticipated prompts.
> 
> James  

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to