Obnoveni zobrazovani na konzoli
Michal Weinfurtner
weinfurt na securities.cz
Čtvrtek Říjen 19 09:21:19 CEST 2000
Pavel Kankovsky wrote:
> On Wed, 18 Oct 2000, Jan Marek wrote:
>
> > podarilo se mi progrepovat na konzoli binarni soubor a ziskal
> > jsem tim to, ze se mi pismenka zobrazuji jako rozsypany caj.
>
> Uplny seznam toho, co znam je:
>
> stty sane . . . opravi nastaveni terminaloveho zarizeni
> na nejake rozumne defaultni hodnoty
>
> reset . . . udela neco z toho, co stty sane (nebo mozna vsechno)
> a navic do terminalu posle inicializacni stringy, co najde
> v terminfo (jsou tam tri, is1-3, ale mozna posle jen neco)
>
tput init nebo tput reset
man tput
init If the terminfo database is present and an entry for the user's
terminal exists (see -Ttype, above),
the following will occur: (1) if present, the terminal's
initialization strings will be output (is1,
is2, is3, if, iprog), (2) any delays (e.g., newline) specified
in the entry will be set in the tty
driver, (3) tabs expansion will be turned on or off according to
the specification in the entry, and
(4) if tabs are not expanded, standard tabs will be set (every 8
spaces). If an entry does not con<AD>
tain the information needed for any of the four above
activities, that activity will silently be
skipped.
reset Instead of putting out initialization strings, the terminal's
reset strings will be output if pre<AD>
sent (rs1, rs2, rs3, rf). If the reset strings are not present,
but initialization strings are, the
initialization strings will be output. Otherwise, reset acts
identically to init.
--
Michal Weinfurtner
Systems Administrator
Internet Securities, Prague
A Euromoney Institutional Investor Company
Vinohradska 37 , 120 00 Praha 2, Czech republic
Voice: (+420 2) 22 25 43 45; Fax: (+420 2) 22 25 43 44
http://www.securities.cz
Další informace o konferenci Linux