AIX systems need to use the SYSV stty(1) variant.

In generating CSHENV prompts, I used stty(1) to find the width
of the current terminal, at sourcing time.  SYSV and BSD use
different output formats.  Presently I have tcshrc.prompt.defs
default to 80 columns when I don't know how to parse stty(1)'s
output.  AIX is known to be a SYSV variant, and I've added a
case to handle this.
This commit is contained in:
2014-04-08 14:54:38 -04:00
parent d16e201cbe
commit 6eca81da3d

View File

@ -58,6 +58,7 @@ switch( $CSHENV_SYSTEM )
case Linux:
# SYSV type systems seem to be settling on this as the common mechanism.
case AIX:
case SunOS:
if( $?CSHENV_DEBUG ) then
echo "Linux prompt width for stty blows..."