Ti einai to echo -e "\033(K"

Giorgos Keramidas keramida at ceid.upatras.gr
Thu May 18 23:14:24 EEST 2006


On 2006-05-18 22:52, Nikos Skalkotos <skalkoto at hellug.gr> wrote:
> Ayti tin aporia tin exw edw kai xronia kai ipa na tin rotiso
> Gia na leitoyrgisoun ta ellhnika stin konsola vazoume:
> echo -e "\033(K"
>
> Giati to vazoume akribws auto.
> Oloi oi arithmoi sto bash poy arxizoun apo 0 aposo ksero einai 8dikoi.
> To 033 einai h ascii anaparastasi tou ESC sto oktadiko systima.
> Exei sxesh ayto?

Nai exei sxesh.  To `ESC' ksekina synh8ws terminal escape sequences.

> Yparxei kapoio link gia olous tous idikous charactires stin konsola?

Den einai panta oi idioi.  Den paizoun oloi se ola ta terminals.
Den exoun nohma oloi se ola ta leitoyrgika.

> Ksero na alazo xrwmata me entoles tou stil:
>
> echo -e "\033[1;31m"
>
> Alla tha ithela na to psakso perisotero. me ta escape sequencies.

Psakse tote gia "termcap", "terminfo", " kai "termios".  Ayto mporei na
se odhghsei ston periergo kosmo twn terminal line disciplines, twn
pseudo-ttys, kai twn filwn toys, alla exei plaka pou kai poy :P




More information about the Linux-greek-users mailing list