confused by ANSI color escape sequences and suchlike. Often, shell init
files conditionalize this setup based on the TERM environment variable."
:group 'tramp
- :type 'string)
+ :type 'string
+ :require 'tramp)
;;;###tramp-autoload
- (defcustom tramp-histfile-override ".tramp_history"
+ (defcustom tramp-histfile-override "~/.tramp_history"
"When invoking a shell, override the HISTFILE with this value.
When setting to a string, it redirects the shell history to that
file. Be careful when setting to \"/dev/null\"; this might
result in undesired results when using \"bash\" as shell.
- The value t, the default value, unsets any setting of HISTFILE,
- and sets both HISTFILESIZE and HISTSIZE to 0. If you set this
- variable to nil, however, the *override* is disabled, so the
- history will go to the default storage location,
- e.g. \"$HOME/.sh_history\"."
+ The value t unsets any setting of HISTFILE, and sets both
+ HISTFILESIZE and HISTSIZE to 0. If you set this variable to nil,
+ however, the *override* is disabled, so the history will go to
+ the default storage location, e.g. \"$HOME/.sh_history\"."
:group 'tramp
- :version "25.1"
+ :version "25.2"
:type '(choice (const :tag "Do not override HISTFILE" nil)
(const :tag "Unset HISTFILE" t)
- (string :tag "Redirect to a file")))
+ (string :tag "Redirect to a file"))
+ :require 'tramp)
;;;###tramp-autoload
-(defconst tramp-color-escape-sequence-regexp "\e[[;0-9]+m"
- "Escape sequences produced by the \"ls\" command.")
+(defconst tramp-display-escape-sequence-regexp "\e[[;0-9]+m"
+ "Terminal control escape sequences for display attributes.")
+
+;;;###tramp-autoload
+(defconst tramp-device-escape-sequence-regexp "\e[[0-9]+n"
+ "Terminal control escape sequences for device status.")
;; ksh on OpenBSD 4.5 requires that $PS1 contains a `#' character for
;; root users. It uses the `$' character for other users. In order