home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1564 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: sn.no!not-for-mail
  2. From: ilan@sn.no (Ilan Sharoni)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: console.device
  5. Date: 21 Jan 1996 01:10:27 +0100
  6. Organization: SN Internett
  7. Message-ID: <4ds09k$1gn@sinsen.sn.no>
  8. NNTP-Posting-Host: sinsen.sn.no
  9. X-Newsreader: THOR 2.0 (SOUP) *UNREGISTERED*
  10.  
  11.  
  12. I need to have independent key-converssion for every window. This windows
  13. are using graphics for display, they are not console windows.
  14.  
  15. I have some questions concerning the console.device (type CONU_LIBRARY):
  16.  
  17. * CreatePort():
  18.   Can I use a global port for all the consoles? Can it be the message port
  19.   of the windows?
  20.   Why do I need it anyway if I don't expect a message from the console?
  21.  
  22. * CreateExtIO():
  23.   Can I use a global request, changing the ->io_Device when switching
  24.   windows?
  25.   or a local request, preserving the ->io_Device with the window?
  26.  
  27. * Should I attach the console to the window the way it is done with a
  28.   CONU_STANDARD window?
  29.  
  30.   ioreq->io_Data = (APTR)window_p;
  31.   ioreq->io_Length = sizeof(struct Window);
  32.   error = OpenDevice(....,ioreq...
  33.  
  34. * Command CD_ASKDEFAULTKEYMAP:
  35.   Does it return a *copy* of the whole keymap structure in a given buffer,
  36.   or a *pointer* to an existing structure?
  37.   What is sizeof(*KeyMap)? Does it mean the size of the pointer? Shouldn't
  38.   it be sizeof(struct KeyMap *)?
  39.  
  40.  
  41.  
  42.  
  43. ilan
  44.