delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/25/17:48:04

From: bms AT earthlink DOT net
Subject: Re: console support under win32
25 Jan 1997 17:48:04 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <1.5.4.32.19970126002129.006736f4.cygnus.gnu-win32@earthlink.net>
Mime-Version: 1.0
X-Sender: bms AT earthlink DOT net
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

At 09:32 PM 1/24/97 +0100, you wrote:
>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... :-)
>
How about this, is there some whay to write a TERMCAP.DLL or TERMLIB.DLL or
even incorporate some type of wrapper so that one could actually write/port
such things as less etc... without having to have huge chunks of specialized
i/o code in each program... Perhaps this has already been done....

Bradley

-
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