[Harbour-users] SetBlink() and Linux Terminals

Agustianes Umbara Suwardi anezch at gmail.com
Wed Dec 16 21:44:56 EST 2009


Hi,

I wrote this code:

function main()
	*- Bright background
	SetBlink(.f.)

	clear

	*- Fore: white, back: bright blue
	SetColor('W*/B')
	? 'Text 1'

	*- Fore: white, back: blue
	SetColor('W/B')
	? 'Text2'
return nil

When I run it on Linux, the asterisk ('*') doesn't give any effect. I
read on xHarbour guide that when we SetBlink() to .f. the asterisk
effect is bright background. I tried the code on several terminal
emulators, and the result is:

Terminal Emulator       SetBlink(.t.)        SetBlink(.f.)
----------------------------------------------------------
gnome-terminal          no-effect            no-effect
xterm                   blinking             no-effect
rxvt                    bright-background &  no-effect
                        bright-text
linux-console           blinking             no-effect

I'm using Harbour 1.1.0-dev-nightlybuild. Is there any workaround on the
code or settings on the terminal to have a bright background?

Thanks,
(Sorry for my English)



More information about the Harbour-users mailing list