I'm trying out Rackterm for the purpose of running commands put together from a 
GUI but it looks like the thread is crashing as soon as I try to create a 
terminal canvas.  Is it something I am not doing right or is there a bug?  I am 
able to run rackterm/xterm without error and that contains very similar code.  

Here's my code:

#lang racket

(require racket/gui
         rackterm/private/terminal-canvas
         )

(define frame (new frame% [label "Example"]
                   (width 800)
                   (height 800)
                   ))

(send frame show #t)

(define my-term (new terminal-canvas%
                    [parent frame]
                    [font-size 14]
                    [font-name "Courier"]
                    [term-var "rackterm"]
                    [command-and-args '("ls -lh")]
                    [set-title-callback (lambda (title) (send frame set-label 
title))]
                    [horiz-margin 2]
                    [vert-margin 2]
                     ))


The terminal window appears and then immediately closes with the following 
error message:

"The evaluation thread is no longer running, so no evaluation can take place 
until the next execution.

Exited successfully."

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