home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / programm / 13199 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.1 KB

  1. Path: sparky!uunet!cbmvax!bj
  2. From: bj@cbmvax.commodore.com (Brian Jackson - Amiga Networking)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Console Device problems
  5. Message-ID: <34946@cbmvax.commodore.com>
  6. Date: 9 Sep 92 04:01:52 GMT
  7. References: <1992Sep8.113732.3126@ucc.su.OZ.AU>
  8. Reply-To: bj@cbmvax.commodore.com (Brian Jackson - Amiga Networking)
  9. Organization: Commodore, West Chester, PA
  10. Lines: 26
  11.  
  12. In article <1992Sep8.113732.3126@ucc.su.OZ.AU> willw@extro.ucc.su.OZ.AU (William Waring) writes:
  13. >Hi,
  14. >    I have been having a major problem with the console device in my program. I need some serious help on this!. 
  15. >
  16. >I open the console.device for output on my main window. I output to it using CMD_WRITE, and I read keypressed using IDCMP_RAWKEY events (That is using the IDCMP Port of the window, not using RAW events from console). I am trying to open the console.device with charcter mapping and copy/pasyte support. The problem is, I can open the device alright and cursor appears fine, but as soon as I go to drag the mouse over some text and copy it, nothing happens.
  17. >
  18. >    I have tried fiddling with IDCMP events, messages etc. I have tried sendoing off a fake read request to see if that is it, I have tried turning off the cursor etc, but I can't figure out why it won't let me snap charcters from the window.
  19. >
  20. >    Does anyone have experience with opening console.device with copy/paste support. If you do could you PLEASE help. It's very important. Thanx in advance.
  21. >
  22.  
  23. I'll assume that you are using V37 (2.04).  You need to specify a unit
  24. number of '1' if you want character mapped display or a unit number of
  25. '3' if you want both character mapped display and cut&paste.
  26.  
  27. OpenDevice("console.device", 3L, IOStdReq, flags)
  28.                              ^^
  29.  
  30. Brian
  31.  
  32.        +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +
  33.        Brian Jackson    Amiga Networking Group, Commodore-Amiga Inc.
  34.                         bj@cbmvax.commodore.com
  35.      {uunet|rutgers}!cbmvax!bj    or   networking@cbmvax.commodore.com
  36.  "Pennsylvania - Land of (really) Bad Drivers."   Uva uvam vivendo varia fit 
  37.  
  38.