From: notsaying@invalid.org   
      
   On Tue, 12 Jun 2018 04:35:56 GMT, Grant Taylor   
    wrote:   
      
   > How do I hide choice.com's cursor?   
   >   
   > I'm creating an old school DOS Batch file based menuing system in   
   DOSBox   
   > and I want to hide the blinking cursor that choice.com provides:   
   >   
   > The following hides everything except the blinking underscore that is   
   > the cursor.   
   >   
   > CHOICE /N /C:KEYS > NUL   
   >   
   > I've tried using ANSI escape sequence [30;40m to set both the   
   > foreground and background to black. But that doesn't have any effect   
   on   
   > the cursor. In fact, the text that is displayed after choice finishes   
   > is black on black.   
   >   
   > Thank you in advance.   
   >   
   >   
   >   
      
   On a pure olde monochrome PC in text mode you can't, it's a hardware   
   blinkin' cursor. But in graphics mode there are a heap of "cursor off"   
   type programs. Also Blink.   
      
   chgcsr.asm   
   org 0x100   
    mov ah,03   
    xor bx,bx   
    int 0x10 ; q csr shape (to ch)   
    or ch,0x20 ; bit 5 csr off   
    mov ah,01   
    int 0x10   
    ret   
      
   May or may not work! (probably not, in a cmd window)   
      
   --   
   Bah, and indeed, Humbug.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|