[BACK]Return to cmd.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/cmd.h between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 1996/09/21 05:39:44 version 1.1.1.2, 2003/04/13 18:21:21
Line 1 
Line 1 
 /*  /*
  * Copyright (c) 1984,1985,1989,1994,1995  Mark Nudelman   * Copyright (C) 1984-2002  Mark Nudelman
  * All rights reserved.  
  *   *
  * Redistribution and use in source and binary forms, with or without   * You may distribute under the terms of either the GNU General Public
  * modification, are permitted provided that the following conditions   * License or the Less License, as specified in the README file.
  * are met:  
  * 1. Redistributions of source code must retain the above copyright  
  *    notice, this list of conditions and the following disclaimer.  
  * 2. Redistributions in binary form must reproduce the above copyright  
  *    notice in the documentation and/or other materials provided with  
  *    the distribution.  
  *   *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY   * For more information about less, or for information on how to
  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE   * contact the author, see the README file.
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR  
  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE  
  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR  
  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT  
  * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR  
  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,  
  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE  
  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN  
  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
  */   */
   
   
Line 66 
Line 50 
 #define A_PIPE                  37  #define A_PIPE                  37
 #define A_INDEX_FILE            38  #define A_INDEX_FILE            38
 #define A_UNDO_SEARCH           39  #define A_UNDO_SEARCH           39
   #define A_FF_SCREEN             40
   #define A_LSHIFT                41
   #define A_RSHIFT                42
 #define A_AGAIN_SEARCH          43  #define A_AGAIN_SEARCH          43
 #define A_T_AGAIN_SEARCH        44  #define A_T_AGAIN_SEARCH        44
 #define A_REVERSE_SEARCH        45  #define A_REVERSE_SEARCH        45
Line 78 
Line 62 
 #define A_OPT_UNSET             49  #define A_OPT_UNSET             49
 #define A_F_FOREVER             50  #define A_F_FOREVER             50
 #define A_GOPOS                 51  #define A_GOPOS                 51
   #define A_REMOVE_FILE           52
   #define A_NEXT_TAG              53
   #define A_PREV_TAG              54
   
 #define A_INVALID               100  #define A_INVALID               100
 #define A_NOACTION              101  #define A_NOACTION              101
 #define A_UINVALID              102  #define A_UINVALID              102
 #define A_END_LIST              103  #define A_END_LIST              103
   #define A_SPECIAL_KEY           104
   
   #define A_SKIP                  127
   
 #define A_EXTRA                 0200  #define A_EXTRA                 0200
   
   
Line 108 
Line 98 
 #define EC_B_COMPLETE   18  #define EC_B_COMPLETE   18
 #define EC_LITERAL      19  #define EC_LITERAL      19
   
   #define EC_NOACTION     101
 #define EC_UINVALID     102  #define EC_UINVALID     102
   
 /* Flags for editchar() */  /* Flags for editchar() */
 #define EC_PEEK         01  #define EC_PEEK         01
 #define EC_NOHISTORY    02  #define EC_NOHISTORY    02
 #define EC_NOCOMPLETE   04  #define EC_NOCOMPLETE   04
   #define EC_NORIGHTLEFT  010
   
   /* Environment variable stuff */
   #define EV_OK           01
   
   /* Special keys (keys which output different strings on different terminals) */
   #define SK_SPECIAL_KEY          CONTROL('K')
   #define SK_RIGHT_ARROW          1
   #define SK_LEFT_ARROW           2
   #define SK_UP_ARROW             3
   #define SK_DOWN_ARROW           4
   #define SK_PAGE_UP              5
   #define SK_PAGE_DOWN            6
   #define SK_HOME                 7
   #define SK_END                  8
   #define SK_DELETE               9
   #define SK_INSERT               10
   #define SK_CTL_LEFT_ARROW       11
   #define SK_CTL_RIGHT_ARROW      12
   #define SK_CTL_DELETE           13
   #define SK_F1                   14
   #define SK_BACKTAB              15
   #define SK_CTL_BACKSPACE        16
   #define SK_CONTROL_K            40

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2