home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 262,166 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to Lawrence D'Oliveiro   
   Re: Screen management in C   
   30 Dec 24 23:06:10   
   
   From: arne@vajhoej.dk   
      
   On 12/30/2024 10:38 PM, Lawrence D'Oliveiro wrote:   
   > On Mon, 30 Dec 2024 21:31:41 -0500, Arne Vajhøj wrote:   
   >>           while(smg.GetKey() != SMG$K_TRM_PF1);   
   >   
   > Is it possible to hook this kind of thing into an event loop? Some   
   > equivalent of select/poll?   
   >   
   > That would make it easier to do things like handle multiple terminals at   
   > once.   
      
   I think that would be using a screwdriver to hammer a nail in with.   
      
   One could create a loop around smg$read_keystroke, replace   
   all smg$read_string call with lots of application code,   
   open multiple virtual keyboards to multiple terminals   
   (input device is an argument), use smg$read_keystroke   
   with a timeout and try multiple virtual keyboards.   
      
   It would require lots of code and perform poorly. And   
   I don't really see the use case.   
      
   Arne   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca