Clear Screen function in C++

Giorgos Keramidas keramida at hades.hell.gr
Thu Sep 9 05:04:09 EEST 1999


On Thu, Sep 09, 1999 at 01:30:12AM +0300, Bassoukos Tassos wrote:
| On Wed, 8 Sep 1999, Giorgos Keramidas wrote:
| 
| [snip]
| > stn Fortran (theos fulaksoi), arkei va steilei kapws sto termatiko tou to
| > string me ta escapes pou faivetai parakato:
| > 
| > 	"\033[0m\033[2J\033[H"
| ...., kati to opoio den prokeitaio na doulepsei se ola ta termatika.[0]
| 
| Tassos
| [0] yparxei logos pou to /usr/share/terminfo einai toso megalo....


Nai, panta uparxei kapoios logos.  Alla to protimnsa apo to na tou po estw
kai me duo grammes source parapano na treksei kati grammeno me curses, giati
uparxoun xilia kai duo escape sequences, alla uparxoun episns kai xilies kai
treis ekdoseis tns curses, bl. XSI curses, SysV curses, ncurses, ktl.

Bebaia akoma kai to <ncurses.h> na xrnsimopoinsei, mporei na einai eite sto
/usr/include/ncurses.h, eite sto /usr/include/ncurses/ncurses.h, eite akoma
kai sto /usr/include/ncurses/curses.h ... gia na min milisoume gia ta
directories tupou /usr/local/ncurses/ncurses-3.14/include/ncurses... 'n
akoma kai gia ta /usr/local/include/ncurses.h ... katara dnladn!

Panta uparxoun luseis tupou GNU automake kai autoconf, opws kai to pio
agapnmevo mou Imake twv X11, alla auta einai allounou papa euaggelio.

Na proteino tin xrisi tis libtermcap 'n 0a ksekinisei kanena teratwdes
thread me ta pleonektimata tis Curses enanti tis Termcap, tou terminfo
enanti tou /etc/termcap ki alla tetoia xaza?  Ase kalutera... eksallou ena
clrscr() epsaxne o anthropos kai pnre ndn kamposa :P

-- 
Giorgos Keramidas, <keramida at ceid.upatras.gr>
Public PGP key at finger://keramida@diogenis.ceid.upatras.gr/
"Today is not yesterday's tomorrow, but tomorrow's yesterday."
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
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