Olaf Dabrunz napsal(a): > On 25-Mar-08, Martin Vidner wrote: >> On Tue, Mar 25, 2008 at 10:56:37AM -0400, Patrick Shanahan wrote: >>> * Johannes Meixner <[EMAIL PROTECTED]> [03-25-08 10:50]: >>>> If it runs in text-only mode, how can I determine its current >>>> screen size (i.e. how many lines and characters per line)? >>>> >>> bash has env vars, $LINES and $COLUMNS, that will give screen size. >> The variables are there, but they are not exported: >> >> $ echo $LINES,$COLUMNS; env | grep LINES; env | grep COLUMNS >> 60,178 >> $ > > Using "stty size" sounds better to me. Maybe sh@ knows a wrapper for > this in YaST.
Use our documentation, please :) http://forgeftp.novell.com/yast/doc/SL11.0/tdg/Book-UIReference.html http://forgeftp.novell.com/yast/doc/SL11.0/tdg/YUI_builtins_GetDisplayInfo.html Bye Lukas -- Lukas Ocilka, YaST Developer (xn--luk-gla45d) ----------------------------------------------------------------- Ano, ano. Moudry rozkaz. Sam jsem nemel v tech gratulacich jasno.
signature.asc
Description: OpenPGP digital signature
