shell.cfg

Package: WA2L/edrc 1.5.57
Section: Configuration Files (4)
Updated: 09 June 2024
Index Return to Main Contents

 

NAME

shell.cfg - user configuration file for shell

 

SYNOPSIS

edrc/etc/shell.cfg

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

This is the configuration file for the shell, eshell and edrc shell commands.

This file can be edited (the etc/kshrc file shouldn't.).

 

FILEFORMAT

The fileformat is OPTION=VALUE

Between the OPTION, the = and the VALUE are no spaces.

Rows starting with a # are considered as comments.

You should not comment out any OPTION If you like to use default settings simply do not specify a VALUE.

 

OPTIONS

LOG
Log output dir of edrc. If you specify a relative path name the path is relative to the root of the EDRC installation.

Example: LOG=var/log

Default: LOG=var/log

BACKUP_DIR
Backup directory of scriptextract. Here all script files are backuped, ahead of installing the new ones.

This setting is used when the cdbkp command is used.

Example: BACKUP_DIR=var/backup

Default: BACKUP_DIR=var/backup

EDRC_DIST_USER
This is the user used to connect to remote hosts with remote_shell.

Example: EDRC_DIST_USER=${EDRC_DIST_USER:=edrc}

Default: EDRC_DIST_USER

USER_DROPBOX_DIR
User's Dropbox directory.

This setting is used when the cdbx [ subdir ] command is used.

Example: USER_DROPBOX_DIR=~fred/var/dropbox

Default: USER_DROPBOX_DIR=

LC_TIME
Language specific settings.

Example: LC_TIME=C

Default: LC_TIME=

ADDITIONAL_SHELL_PATH
Additional $PATH settings. This setting are applied to $PATH when you invoke the ap command in the shell.

Example: ADDITIONAL_SHELL_PATH=~EDS/sh:~tools-eds/bin:~tools-eds/lib:/usr/local/bin:/usr/ccs/bin

Default: ADDITIONAL_SHELL_PATH=

SHELL_BANNER
Banner that is displayed when shell is executed outside of edrc.

Hint: When using commands to generate the banner, use the construct: "`[ ${EDRC_ENV} ] || command`" to speed up the shell execution when called within edrc.

Example: SHELL_BANNER="`[ ${EDRC_ENV} ] || whereami 2>/dev/null`"

Default: SHELL_BANNER=

README_DISPLAY
Display the README file (to stderr) that is present in a directory when changing the working directory to it using cd.

Example: README_DISPLAY=False

Default: README_DISPLAY=True

README_COLOR
Color (RED, GREEN, BLUE, MAGENTA, CYAN, WHITE or YELLOW) of the displayed README file.

Example: README_COLOR=RED

Default: README_COLOR=YELLOW

TPL_CFG
Additional config file for the tpl(1) command to add additional template locations beside the configurations in etc/tpl.cfg and $EDRC_SCRIPTS_BASEDIR/tpl.cfg.

Example: TPL_CFG=/etc/system_templates.cfg

Default: TPL_CFG=$HOME/etc/tpl.cfg

EDRC_SW_PATH
Path to WA2L/edrc software.

This path is resolved when invoking cdsw [ subdir ].

Example:
          . `approot`/etc/edrcrevision.cfg
          EDRC_SW_PATH="
            `approot`/var/sw/edrc-$VERSION.$PATCHLEVEL
            /dat/sw/Generic/apps/edrc-patch
            /dat/sw/apps/edrc-patch
            /dat/sw/apps/edrc-$VERSION.$PATCHLEVEL
            /software/tools/edrc-$VERSION.$PATCHLEVEL
            /export/dat/sw/edrc-$VERSION.$PATCHLEVEL
            /export/dat/sw
            `approot`/var/sw
          "

Default: EDRC_SW_PATH=var/sw

 

SEE ALSO

edrcintro(1), edrc(1m), eshell(1), shell(1)

 

NOTES

-

 

BUGS

-

 

AUTHOR

shell.cfg was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2021 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
FILEFORMAT
OPTIONS
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 00:14:24 GMT, March 08, 2025