comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not>
Subject: Re: Bold text (in terminal) from Ada?
Date: Tue, 11 Oct 2022 10:43:31 +0200	[thread overview]
Message-ID: <ti3abj$11edh$1@dont-email.me> (raw)
In-Reply-To: <77f28b34-63ef-4903-a111-026968c0918dn@googlegroups.com>

On 2022-10-11 10:06, reinert wrote:
> Any simple way to print out bold text from an Ada program?
> In case, how?
> 
> Assume linux.

Looking at PragmARC.Ansi_Tty_Control 
(https://github.com/jrcarter/PragmARC/blob/Ada-12/pragmarc-ansi_tty_control.ads) 
we can see that sending

PragmARC.Ansi_Tty_Control.Bold_Mode

to most Linux terminal emulators initiates bold mode.

-- 
Jeff Carter
"Simplicity and elegance are unpopular because
they require hard work and discipline to
achieve and education to be appreciated."
Edsger Dijkstra
170


  reply	other threads:[~2022-10-11  8:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-11  8:06 Bold text (in terminal) from Ada? reinert
2022-10-11  8:43 ` Jeffrey R.Carter [this message]
2022-10-11  8:49 ` Niklas Holsti
2022-10-12  0:11 ` Stephen Leake
2022-10-12  4:36   ` reinert
2022-10-12  6:17     ` Emmanuel Briot
2022-10-14  2:46       ` onox
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox