[comp.lang.lisp] Wanted: Windows & Graphics for Franz Lisp

danher@mimsy.UUCP (Daniel Hernandez) (09/28/87)

Hi,
   has anyone already done the following and be willing to share her/his
code with me (or has any idea what would be to best way to do it),
so as to save me the troble of reinventing the wheel?:
 *** In Franz Lisp Opus 43 running on the Sun Workstations:
    * In order to have an application read from and write to different
      WINDOWS (after having created them somehow), do I have to write
      the corresponding functions in C containing the calls described
      in the SunView Manual and then "cfasl" them in?

    * Would it be better to use X windows instead?

    *[In other Lisps -for example TLC-Lisp and I think CommonLisp, too-
      one can create arbitrary "streams"  (not only for I/O!) that can 
      be given as the optional argument to reads and writes -similar
      to the "ports" in Franz, but not limited to files and not limited in
      number to 20-. Is there something like that "hidden" somewhere in
      Franz?]

    * A related question is how to provide a simple graphics capability
      (basically labelled boxes and their connections) that can be 
      operated from the Franz Lisp system. 
      - some undocumented files in the lisp library suggest using SunCore
        to do the job, but it is not quite clear to me from the files
        alone how it works (it DOES, however -there is a simple demo)
        and how to control in what window it draws
      - it seems like one could do the same using CANVAS subwindows in
        SunView
      If these are indeed alternatives, which one is better?

I'll really appreciate any responses...

-Daniel