Magellan Linux

Diff of /trunk/initscripts/sysvinit/rc/functions

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1892 by niro, Thu Apr 19 15:20:43 2012 UTC revision 1893 by niro, Wed Aug 22 17:57:39 2012 UTC
# Line 17  KILLDELAY=3 Line 17  KILLDELAY=3
17    
18  COLUMNS=$(stty size)  COLUMNS=$(stty size)
19  COLUMNS=${COLUMNS##* }  COLUMNS=${COLUMNS##* }
20    if [[ -z ${COLUMNS} ]] || [[ ${COLUMNS} = 0 ]]
21    then
22     COLUMNS=80
23    fi
24  COL=$[ $COLUMNS - 10 ]  COL=$[ $COLUMNS - 10 ]
25  WCOL=$[ $COLUMNS - 30 ]  WCOL=$[ $COLUMNS - 30 ]
26  WWCOL=$[ $COLUMNS - 40 ]  WWCOL=$[ $COLUMNS - 40 ]

Legend:
Removed from v.1892  
changed lines
  Added in v.1893