Menu

#141 strange screen:window-size behavior

lisp error
closed-invalid
clisp (524)
5
2002-12-20
2002-12-20
No

To my understanding, screen:make-window should return a
list containing two values: (height width). Here's how
to reproduce the bug:

[1]> (progn (setq scr (screen:make-window)) (setq dim
(screen:window-size scr)) (close scr))
[the window get's wiped]
T
[2]> dim
30

My platform is MacOSX, clisp --version says:
GNU CLISP 2.29 (released 2002-07-25) (built on
ua201d14.elisa.omakaista.fi [80.186.14.201])
Features:
(CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL
INTERPRETER SOCKETS GENERIC-STREAMS
LOGICAL-PATHNAMES SCREEN GETTEXT UNICODE
BASE-CHAR=CHARACTER UNIX)

I'm using Fink, compiling from source.

/Kasper

Discussion

  • Sam Steingold

    Sam Steingold - 2002-12-20

    Logged In: YES
    user_id=5735

    screen:window-size returns 2 values, not a list:
    (let ((scr (screen:make-window)))
    (multiple-value-bind (lines cols)
    (screen:window-size scr)
    (close scr)
    (values scr lines cols)))
    #<closed window-stream> ;
    53 ;
    80

     
  • Sam Steingold

    Sam Steingold - 2002-12-20
    • status: open --> closed-invalid
     

Log in to post a comment.