# vi132 # # # (c) Copyright 1987-1992, 1993 VERSYSS Incorporated. All Rights Reserved. # # This computer program and its accompanying documentation are owned # by VERSYSS Incorporated and contain confidential information and trade # secrets. They may only be used under a VERSYSS License Agreement. Any # unauthorized use, reproduction, transfer or disclosure is prohibited. # # # Name: vi132 # # Author: Kerry Zimmerman # # Purpose: calls vi and, if the terminal is a c332, in 132 column mode # # Related Documentation: # # Inputs: # # Outputs: # # # # Change History: # 1.1 09/02/92 kaz SPR 8611,8628 -- more132 for 'i'nteractive devices # 1.2 09/04/92 kaz don't catch death of child # 1.3 04/01/93 kaz SPR 9069 -- add '-f' option for 132 columns # #ident "(1.3)@(#)vi132 1.3 - 93/04/13" # restore orignal 80 columns and terminal modes exit_prog() { [ "$TERM" = "c332" ] && echo "\033[?3l" stty $save /versyss/tmp/junk$$ view /versyss/tmp/junk$$ /versyss/tmp/junk$$ view /versyss/tmp/junk$$ /versyss/tmp/junk$$ view /versyss/tmp/junk$$