Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   Commands by Topic
      . . .
      Changing Text
         Inserting and Deleting
         Killing Text
         Clipboard Access
         . . .
         Hex Mode
      Language Modes
         . . .
         PostScript Mode
         Python Mode
         Shell Mode
         Tcl Mode
         TeX and LaTeX Modes
         . . .
      More Programming Features
         Navigating in Source Code
         Pulling Words
         Accessing Help
         Context-Sensitive Help
         Commenting Commands
      . . .

Previous   Up    Next
Python Mode  Commands by Topic   Tcl Mode


Epsilon User's Manual and Reference > Commands by Topic > Language Modes >

Shell Mode

Epsilon automatically enters shell mode when you read a file with an extension of .sh, .csh, .ksh, .bash, .tcsh, or .zsh, or a name (or extension) of .bashrc, .cshrc, .tcshrc, .bash_profile, .bash_logout, .login, or .logout, or when you read a file with no extension that starts with a #! line and uses one of these shell names. In Shell mode, Epsilon does appropriate syntax highlighting, recognizing comments, variables and strings.

In Shell mode, Epsilon uses a tab size setting specified by the shell-tab-override variable.

When the cursor is on a brace, bracket, or parenthesis, Epsilon will try to locate its matching brace, bracket, or parenthesis, and highlight them both. If the current character has no match, Epsilon will not highlight it. Set the variable auto-show-shell-delimiters to zero to disable this feature.

A here document can indicate that its contents should be syntax highlighted in a different language, by specifying a terminating string with an extension. At the moment the extensions .tex and .html are recognized. So for example a here document that begins with <<"end.html" will be colored as HTML. See the shell-heredoc-syntax variable.

Standard bindings:

    shell-mode
 



Previous   Up    Next
Python Mode  Commands by Topic   Tcl Mode


Lugaru Copyright (C) 1984, 2020 by Lugaru Software Ltd. All rights reserved.