Documented SysV-like prompt width in source.
This commit is contained in:
@ -51,6 +51,7 @@ switch( $CSHENV_SYSTEM )
|
|||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
|
|
||||||
|
# SysV variants:
|
||||||
|
|
||||||
# Linux breaks the typical behavior, and makes the 7th entry be stty
|
# Linux breaks the typical behavior, and makes the 7th entry be stty
|
||||||
case Cygwin:
|
case Cygwin:
|
||||||
@ -58,6 +59,7 @@ switch( $CSHENV_SYSTEM )
|
|||||||
if( $?CSHENV_DEBUG ) then
|
if( $?CSHENV_DEBUG ) then
|
||||||
echo "Linux prompt width for stty blows..."
|
echo "Linux prompt width for stty blows..."
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#Some cshes don't like the split line here!
|
#Some cshes don't like the split line here!
|
||||||
set screen_offset_count=`stty -a | head -1 | sed -e 's/;//g' | awk '{print $7}' | sed -e 's/;//g'`
|
set screen_offset_count=`stty -a | head -1 | sed -e 's/;//g' | awk '{print $7}' | sed -e 's/;//g'`
|
||||||
breaksw
|
breaksw
|
||||||
|
|||||||
Reference in New Issue
Block a user