Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Making the prompting work in sbcl and qi-tk
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
snorgers  
View profile   Translate to Translated (View Original)
 More options 9 June, 20:18
From: snorgers <stefan.ta...@spray.se>
Date: Tue, 9 Jun 2009 12:18:58 -0700 (PDT)
Local: Tues 9 June 2009 20:18
Subject: Making the prompting work in sbcl and qi-tk
Hi,

I was reading the source code of the slime development environment.

This suggested that we should use a finish-output after every prompt
invocation
actually we should probably insert this in the qi-source code at
qi::prompt locations,

(qi::prompt)
(FINISH-OUTPUT)

Anyway using this addition fixed my sbcl version of qi-tk.

Threading or not this or similar things has to go in

Cheers
Stefan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
snorgers  
View profile   Translate to Translated (View Original)
 More options 27 June, 13:45
From: snorgers <stefan.ta...@spray.se>
Date: Sat, 27 Jun 2009 05:45:54 -0700 (PDT)
Local: Sat 27 June 2009 13:45
Subject: Re: Making the prompting work in sbcl and qi-tk
Mark have you tried this?

/Stefan

On 9 June, 21:18, snorgers <stefan.ta...@spray.se> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Tarver  
View profile   Translate to Translated (View Original)
 More options 27 June, 16:32
From: Mark Tarver <dr.mtar...@ukonline.co.uk>
Date: Sat, 27 Jun 2009 08:32:10 -0700 (PDT)
Local: Sat 27 June 2009 16:32
Subject: Re: Making the prompting work in sbcl and qi-tk
Remind me what that was about again.

Btw

(DEFUN system (Command)
  #+CLISP (LET ((File (gensym "F")))
               (EXT:RUN-PROGRAM Command :INDIRECTP T :OUTPUT File)
               (LET ((Output (COERCE (read-file-as-charlist File)
'STRING)))
                    (DELETE-FILE File)
                    Output)))

lets you call the OS in Qi/tk.  Do you know what the SBCL equivalent
is?

Mark

On 27 June, 13:45, snorgers <stefan.ta...@spray.se> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
snorgers  
View profile   Translate to Translated (View Original)
 More options 27 June, 19:17
From: snorgers <stefan.ta...@spray.se>
Date: Sat, 27 Jun 2009 11:17:44 -0700 (PDT)
Local: Sat 27 June 2009 19:17
Subject: Re: Making the prompting work in sbcl and qi-tk
It's the prompt in Qi-Tk that dosn't disply correctly, due to the
buffers
not emptying for the standard output. By adding (FINISH-OUTPUT)
after (qi::prompt) The problem dissapeared for me.

In sbcl you probably use EXT::RUN-PROGRAM.
I would guess something like this is needed!

Maybe something like

#+SBCL (LET ((File (gensym "F")))
               (EXT:RUN-PROGRAM Command NIL :OUTPUT File)
               (LET ((Output (COERCE (read-file-as-charlist File)
'STRING)))
                    (DELETE-FILE File)
                    Output)))

But you will not have the indirect feature.

/Stefan

On 27 June, 17:32, Mark Tarver <dr.mtar...@ukonline.co.uk> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Tarver  
View profile   Translate to Translated (View Original)
 More options 27 June, 20:35
From: Mark Tarver <dr.mtar...@ukonline.co.uk>
Date: Sat, 27 Jun 2009 12:35:40 -0700 (PDT)
Local: Sat 27 June 2009 20:35
Subject: Re: Making the prompting work in sbcl and qi-tk
No EXT: is not an SBCL package.

Mark

On 27 June, 19:17, snorgers <stefan.ta...@spray.se> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
snorgers  
View profile   Translate to Translated (View Original)
 More options 27 June, 21:27
From: snorgers <stefan.ta...@spray.se>
Date: Sat, 27 Jun 2009 13:27:57 -0700 (PDT)
Local: Sat 27 June 2009 21:27
Subject: Re: Making the prompting work in sbcl and qi-tk

SB-EXT::RUN-PROGRAM is

sorry

On 27 June, 21:35, Mark Tarver <dr.mtar...@ukonline.co.uk> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google