gpt4 book ai didi

input - 调用(读取)函数时 Allegro CL 卡住

转载 作者:行者123 更新时间:2023-12-05 01:25:57 25 4
gpt4 key购买 nike

每当我在 Allegro Common Lisp 9.0 中调用 (read) 函数时,调试窗口就会“中断”(抱歉,我想不出更明确的术语):鼠标变成旋转的蓝色死亡之轮,窗口拒绝评估任何新的输入,尽管它仍然可以输入。 IDE 的其他部分不受影响。屏幕看起来像这样:

International Allegro CL Free Express Edition
9.0 [Windows] (Jan 8, 2013 8:45)
Copyright (C) 1985-2012, Franz Inc., Oakland, CA, USA. All Rights Reserved.

This development copy of Allegro CL is licensed to:
Allegro CL 9.0 Express user

CG version 9.0 / IDE version 9.0
Loaded options from C:\Users\Noah Dove\Documents\allegro-prefs-9-0-express.cl.

;; Optimization settings: safety 1, space 1, speed 1, debug 2.
;; For a complete description of all compiler switches given the current
;; optimization settings evaluate (EXPLAIN-COMPILER-SETTINGS).

[changing package from "COMMON-LISP-USER" to "COMMON-GRAPHICS-USER"]
CG-USER(1): (read) ; <--- causes window to malfunction.
; any further input is not evaluated.

窗口底部的状态文本卡在:

"reading and evaluating 'read'..."

知道发生了什么事吗?我想做的只是基本的控制台 io。

最佳答案

这个问题似乎可以通过补丁 cg_cg-text-edit-pane_001 解决:

Date posted: Mon Jan 28 09:26:04 PST 2013
Patch names: code/cg-text-edit-pane.001,
update/pjk001.001,
update/pjl002.001
Description: The code for doing lisp reading in text-edit-pane windows and
widgets was out-of-date with the conversion of Common Graphics
to the Unicode version of the Windows API.
fresh-line erroneously printed a newline just after a blocking
read.
Lisp reading was broken in IDE listeners.
Impact: recommended

下载并安装新补丁:

  • 选择菜单“安装”->“新补丁”
  • 点击“列出新补丁”
    确保您看到这些补丁
  • 选中“下载所有新补丁和更新补丁”单选按钮
    我推荐这个,这样你就可以获得所有当前的修复和改进
    或者,您可以:
    • 只检查这些补丁
    • 选中“仅下载选定的补丁(上面选中的那些)”单选按钮
  • 点击“下载”

出现一条消息,说明该过程尚未结束:

  • 关闭所有 Allegro CL 实例
  • 运行 update.exe
    它将使用下载的补丁重建官方镜像

现在,(read) 在 IDE 监听器中工作。

关于input - 调用(读取)函数时 Allegro CL 卡住,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14288789/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com