nanogui: Thread: SetBackground/GetBackground


[<<] [<] Page 1 of 1 [>] [>>]
Subject: SetBackground/GetBackground
From: "Darran D. Rimron" ####@####.####
Date: 4 Jan 2000 15:30:41 -0000
Message-Id: <NCBBLCEDENCINNMFNPBCAEDODJAA.darran@getreal.co.uk>

Is there any functionality already in nanox for Getting the currently
active Foreground and Background colours in a Graphic Portal(eg, gc1) --
I've written some for my own use but are reluctant to use/abuse/submit
them if there's already better ones in place...

	-Darran
--
 Darran D. Rimron            European Research & Development Manager
Real Data Services, 117-119 Marlborough Road, Romford, Essex, RM7 8AR
 ####@####.####                      http://www.getreal.co.uk/
 Phone:44-1708-70-44-33 Fax:44-1708-74-88-59 Mobile:44-7931-37-59-39

Subject: RE: SetBackground/GetBackground
From: Greg Haerr ####@####.####
Date: 4 Jan 2000 17:36:03 -0000
Message-Id: <C1962B36D9BBD311B0F80060083DFEFBEFE6@NBA-SLAM.CenSoft.COM>

: Is there any functionality already in nanox for Getting the currently
: active Foreground and Background colours in a Graphic Portal(eg, gc1) --
: I've written some for my own use but are reluctant to use/abuse/submit
: them if there's already better ones in place...

GrGetGCInfo performs this function.  It returns all settings in the passed
gc, including draw mode, font, fg and bg color, and usebg.

Greg

Subject: RE: SetBackground/GetBackground
From: "Darran D. Rimron" ####@####.####
Date: 4 Jan 2000 17:41:52 -0000
Message-Id: <NCBBLCEDENCINNMFNPBCAEEHDJAA.darran@getreal.co.uk>

> -----Original Message-----
>
>> [how do I get current gc info?]
>
> GrGetGCInfo performs this function.  It returns all settings
> in the passed gc, including draw mode, font, fg and bg color,
> and usebg.

Perfect. Thanks!

nterm now runs vi!

v0.0.2 released before the end of the week, I promise :) All changes are
in a sperate include so other applications can call the ESC/CSI handler
stuff should they want terminal emulation -- we're a long way from
VT102/Linux Console compliance, but it's slowly coming along. Colours
and Scrolling for v0.0.3.

	-Darran
--
 Darran D. Rimron            European Research & Development Manager
Real Data Services, 117-119 Marlborough Road, Romford, Essex, RM7 8AR
 ####@####.####                      http://www.getreal.co.uk/
 Phone:44-1708-70-44-33 Fax:44-1708-74-88-59 Mobile:44-7931-37-59-39

Subject: RE: SetBackground/GetBackground
From: Greg Haerr ####@####.####
Date: 4 Jan 2000 18:01:07 -0000
Message-Id: <C1962B36D9BBD311B0F80060083DFEFBF003@NBA-SLAM.CenSoft.COM>

: nterm now runs vi!

Great

:-- we're a long way from
: VT102/Linux Console compliance, but it's slowly coming along.

I write terminal emulators for a living, so it would be easy to beef
it up heavily.  The hard part is the scroll back buffer and the 
graphics refresh of terminal data.

Regards,

Greg

Subject: Re: SetBackground/GetBackground
From: Alan Cox ####@####.####
Date: 4 Jan 2000 18:26:02 -0000
Message-Id: <E125YSp-00035d-00@the-village.bc.nu>

> I write terminal emulators for a living, so it would be easy to beef
> it up heavily.  The hard part is the scroll back buffer and the 
> graphics refresh of terminal data.

If people want a _small_ terminal emulation rather than a Vt100 sized one
the Linux 8086 kernel tree has a VT52 console  (again because Linux 8086
wanted someting smaller than Vt1xx)

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.