colors

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Mar 14 09:54:20 EET 2000


On Tue, Mar 14, 2000 at 04:40:27AM +0200, Olga +Natalia wrote:
> 
> pos mporw na grapso se BASH shell me xrwmata? p.x an po
>
>	% echo "hello word"
>	hello world (...na to grapsei me kokkina grammata)

Auto sinithos to kaneis me escape-sequences, opws:

	% echo '^[[31mhello world^[[0m'

opou ta esc-sequences einai ta ^[[31m kai ^[[0m pou jekinane me to
xarakthra ASCII #27 (Escape).

An exeis DOS, mporeis na diabaseis pio polla gia ta ESC sequences stnv
bon8eia tou ANSI.SYS.  Apo to prompt tou DOS sou dwse:

	C:\> HELP ANSI.SYS

kai 8a deis ki alla escape sequences, pos kanei kaneis `bold', h
`italics', h `reverse video' klp.

-- 
Giorgos Keramidas, < keramida @ ceid . upatras . gr >
For my public PGP key: finger keramida at diogenis.ceid.upatras.gr
PGP fingerprint, phone and address in the headers of this message.
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/lgu.html
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list