Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

histchars



This disables the resetting of HISTCHARS/histchars in zsh 3.0.5.


*** Src/hashtable.h.old	Fri Nov 28 12:37:13 1997
--- Src/hashtable.h	Fri Nov 28 00:28:46 1997
***************
*** 106,112 ****
  #define IPDEF2(A,B,C,D) {NULL,A,PM_SCALAR|PM_SPECIAL|D,BR(NULL),BR(C),BR(B),0,NULL,NULL,NULL,NULL,0}
  IPDEF2("USERNAME", usernamegetfn, usernamesetfn, PM_DONTIMPORT),
  IPDEF2("-", dashgetfn, nullsetfn, PM_READONLY),
! IPDEF2("histchars", histcharsgetfn, histcharssetfn, PM_DONTIMPORT),
  IPDEF2("HOME", homegetfn, homesetfn, 0),
  IPDEF2("TERM", termgetfn, termsetfn, 0),
  IPDEF2("WORDCHARS", wordcharsgetfn, wordcharssetfn, 0),
--- 106,112 ----
  #define IPDEF2(A,B,C,D) {NULL,A,PM_SCALAR|PM_SPECIAL|D,BR(NULL),BR(C),BR(B),0,NULL,NULL,NULL,NULL,0}
  IPDEF2("USERNAME", usernamegetfn, usernamesetfn, PM_DONTIMPORT),
  IPDEF2("-", dashgetfn, nullsetfn, PM_READONLY),
! IPDEF2("histchars", histcharsgetfn, histcharssetfn, 0),
  IPDEF2("HOME", homegetfn, homesetfn, 0),
  IPDEF2("TERM", termgetfn, termsetfn, 0),
  IPDEF2("WORDCHARS", wordcharsgetfn, wordcharssetfn, 0),
***************
*** 179,185 ****
  /* The following parameters are not avaible in sh/ksh compatibility *
   * mode. All of these has sh compatible equivalents.                */
  IPDEF1("ARGC", poundgetfn, nullsetfn, PM_READONLY),
! IPDEF2("HISTCHARS", histcharsgetfn, histcharssetfn, PM_DONTIMPORT),
  IPDEF4("status", &lastval),
  IPDEF7("prompt", &prompt),
  IPDEF7("PROMPT", &prompt),
--- 179,185 ----
  /* The following parameters are not avaible in sh/ksh compatibility *
   * mode. All of these has sh compatible equivalents.                */
  IPDEF1("ARGC", poundgetfn, nullsetfn, PM_READONLY),
! IPDEF2("HISTCHARS", histcharsgetfn, histcharssetfn, 0),
  IPDEF4("status", &lastval),
  IPDEF7("prompt", &prompt),
  IPDEF7("PROMPT", &prompt),




Messages sorted by: Reverse Date, Date, Thread, Author