Kolik radku ma terminal
Jan Kasprzak
kas na informatics.muni.cz
Sobota Březen 14 14:28:19 CET 1998
Pavel Machek pise:
: > je mozny nejak jednoduse zjistit [subj] ??? Jednoduse znamena, ze nechci
: > pouzivat [n]curses (jenom kvuli tyhle informaci). Slo by to prez
: > getenv("LINES"), ale jak je to spolehlivy? (kdo to nastavuje a podle
: > ceho?)
:
: Myslim ze bash. Mohlo by to chodit :-). A nebo trivialni program ktery
: si prilinkuje curses, zepta se jich na to a vysledek napise na stdout.
:
Takovy uz existuje - zkuste eval `resize`.
-Yenya
--
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz> http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz 0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\ Czech Linux Homepage: http://www.linux.cz/ ///
/// The people who deserve to be flamed are digital who on the altavista \\\
//news page claim the entire project ran on 200 Alphas running NT, welcome\\
/ to the world of lies, half truths and microsoft. --Alan Cox \
Další informace o konferenci Linux