delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/24/21:52:01

From: root AT jacob DOT remcomp DOT fr (root)
Subject: console support under win32
24 Jan 1997 21:52:01 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <m0vnsIA-000APzC.cygnus.gnu-win32@jacob.remcomp.fr>
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

bms AT earthlink DOT net writes:
> 2. I have seen people mention compiling with "internal or default"
> console/terminal support, I am assuming that this is a common thing, can
> anyone tell me how exactly it is done?
> 

Look at the 'Consoles and Character-Mode Support' in the SDK documentation.
This is the 'curses' equivalent of Win95: you use high level functions to
access the text screen like WriteConsole, ReadConsole etc. They use a 
'CHAR_INFO' structure, and you can set colors, highlight, etc. You can
write at specific screen positions using WriteConsoleOutput specifying the
coordinates in a COORD structure. But I think a full blown explanation
would be too much for this mailing list... :-)

-- 
Jacob Navia	Logiciels/Informatique
41 rue Maurice Ravel			Tel 01 48.23.51.44
93430 Villetaneuse 			Fax 01 48.23.95.39
France
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019