From brad.beveridge at gmail.com Mon Oct 3 04:09:40 2005 From: brad.beveridge at gmail.com (Brad Beveridge) Date: Sun, 2 Oct 2005 21:09:40 -0700 Subject: [cl-ncurses-devel] Problems with getyx macros Message-ID: Hi all, I am trying to use the getyx macro, and get the error ; Warning: This function is undefined: ; WRAP-GETYX ; Error in KERNEL:%COERCE-TO-FUNCTION: the function WRAP-GETYX is undefined. My program does basically ... (asdf:operate 'asdf:load-op 'cl-ncurses) (in-package :cl-ncurses) (let (x y) (getyx stdscr y x) (mvaddstr 20 0 (format nil "~a ~a" x y))) I am new to Lisp in general, so I don't really know how to go about fixing this... Any help is much appreciated. Thanks Brad From brad.beveridge at gmail.com Mon Oct 3 15:47:12 2005 From: brad.beveridge at gmail.com (Brad Beveridge) Date: Mon, 3 Oct 2005 08:47:12 -0700 Subject: [cl-ncurses-devel] Problems with getyx macros In-Reply-To: <20051003174531.7fdf1017@localhost> References: <20051003155719.6db59e93@localhost> <20051003174531.7fdf1017@localhost> Message-ID: Thanks for the info Brad On 10/3/05, Julian Stecklina wrote: > On Mon, 3 Oct 2005 08:21:57 -0700 > Brad Beveridge wrote: > > > Those patches look good - similar in spirit to what I have done - so > > it is good that I wasn't too far off :) > > :-) > > > It is a shame that the package is unmaintained - are there more active > > alternates? > > I have written some cl-ncurses code a while ago and it seems to be > pretty useable. The only problem is that potential bugs in > cl-ncurses will only be fixed by yourself. ;) > > As alternative you might try clisp's SCREEN code. Your code would only > run on clisp, though. If you do not want to stick to console UIs, you > might try one or the other GTK binding from www.common-lisp.net. > > The newsgroup comp.lang.lisp is a very nice resource for informations > of that kind. > > Have fun, > -- > Julian Stecklina > > When someone says "I want a programming language in which I > need only say what I wish done," give him a lollipop. - Alan Perlis > From brad.beveridge at gmail.com Mon Oct 3 15:21:57 2005 From: brad.beveridge at gmail.com (Brad Beveridge) Date: Mon, 3 Oct 2005 08:21:57 -0700 Subject: [cl-ncurses-devel] Problems with getyx macros In-Reply-To: <20051003155719.6db59e93@localhost> References: <20051003155719.6db59e93@localhost> Message-ID: Those patches look good - similar in spirit to what I have done - so it is good that I wasn't too far off :) It is a shame that the package is unmaintained - are there more active alternates? Thanks Brad On 10/3/05, Julian Stecklina wrote: > On Sun, 2 Oct 2005 21:09:40 -0700 > Brad Beveridge wrote: > > > Hi all, I am trying to use the getyx macro, and get the error > > ; Warning: This function is undefined: > > ; WRAP-GETYX > > ; Error in KERNEL:%COERCE-TO-FUNCTION: the function WRAP-GETYX is > > undefined. > > > > My program does basically ... > > (asdf:operate 'asdf:load-op 'cl-ncurses) > > (in-package :cl-ncurses) > > (let (x y) > > (getyx stdscr y x) > > (mvaddstr 20 0 (format nil "~a ~a" x y))) > > > > I am new to Lisp in general, so I don't really know how to go about > > fixing this... > > Any help is much appreciated. > > I made some fairly broad patches to cl-ncurses a while ago, but it > seems that no one is listening on this mailing list with commit rights. > > It addresses the problems you mention, but cl-ncurses is quite > abandoned on the other hand, so you might use some alternative. > > Regards, > -- > Julian Stecklina > > When someone says "I want a programming language in which I > need only say what I wish done," give him a lollipop. - Alan Perlis > > > From der_julian at web.de Mon Oct 3 15:45:31 2005 From: der_julian at web.de (Julian Stecklina) Date: Mon, 3 Oct 2005 17:45:31 +0200 Subject: [cl-ncurses-devel] Problems with getyx macros In-Reply-To: References: <20051003155719.6db59e93@localhost> Message-ID: <20051003174531.7fdf1017@localhost> On Mon, 3 Oct 2005 08:21:57 -0700 Brad Beveridge wrote: > Those patches look good - similar in spirit to what I have done - so > it is good that I wasn't too far off :) :-) > It is a shame that the package is unmaintained - are there more active > alternates? I have written some cl-ncurses code a while ago and it seems to be pretty useable. The only problem is that potential bugs in cl-ncurses will only be fixed by yourself. ;) As alternative you might try clisp's SCREEN code. Your code would only run on clisp, though. If you do not want to stick to console UIs, you might try one or the other GTK binding from www.common-lisp.net. The newsgroup comp.lang.lisp is a very nice resource for informations of that kind. Have fun, -- Julian Stecklina When someone says "I want a programming language in which I need only say what I wish done," give him a lollipop. - Alan Perlis