/usr/local/jetapps/usr/share/rear/lib
# Use the original STDIN STDOUT and STDERR when rear was launched by the user # to get input from the user and to show output to the user (cf. _input-output-functions.sh). ####################### BEGIN Progress Indicator # Call StartProgressSubsystem to get more detailed progress reports: if tty -s <&7 ; then # There is a tty on the original STDOUT. if test "plain" = "$PROGRESS_MODE" ; then # The 'plain' progress mode outputs the same content # as below but without ANSI escape sequences: function ProgressStart () { echo "${MESSAGE_PREFIX}$*" 1>&7 } function ProgressStop () { echo "${MESSAGE_PREFIX}OK" 1>&7 } function ProgressError () { echo "${MESSAGE_PREFIX}FAILED" 1>&7 } function ProgressInfo () { echo "${MESSAGE_PREFIX}$*" 1>&7 } else # If the 'plain' progress mode is not explicitly requested # (default/fallback behaviour when there is a tty on stdout) # do progress animated display via ANSI escape sequences, # see http://ascii-table.com/ansi-escape-sequences-vt-100.php # for the ANSI escape sequences as they appear below: # Esc[2K : Clear entire line # Esc7 : Save cursor position and attributes # Esc8 : Restore cursor position and attributes # Esc[K : Clear line from cursor right function ProgressStart () { echo -en "\e[2K\r${MESSAGE_PREFIX}$*\e7" 1>&7 } function ProgressStop () { echo -e "\e8\e[K${MESSAGE_PREFIX}OK" 1>&7 } function ProgressError () { echo -e "\e8\e[K${MESSAGE_PREFIX}FAILED" 1>&7 } function ProgressInfo () { echo -en "\e[2K\r${MESSAGE_PREFIX}$*\e7" 1>&7 } fi else # No tty on the original STDOUT, disable progress animated display altogether. # The main difference to the 'plain' progress mode above is that # there is no ProgressInfo when there is no tty the original STDOUT: function ProgressStart () { echo -n "${MESSAGE_PREFIX}$*" 1>&7 } function ProgressStop () { echo -e "${MESSAGE_PREFIX}OK" 1>&7 } function ProgressError () { echo -e "${MESSAGE_PREFIX}FAILED" 1>&7 } fi ####################### END Progress Indicator
.
Edit
..
Edit
.shellcheckrc
Edit
_input-output-functions.sh
Edit
array-functions.sh
Edit
authtoken-functions.sh
Edit
bareos-functions.sh
Edit
bootloader-functions.sh
Edit
borg-functions.sh
Edit
checklayout-workflow.sh
Edit
columns-functions.sh
Edit
config-functions.sh
Edit
drlm-functions.sh
Edit
dump-workflow.sh
Edit
filesystems-functions.sh
Edit
finalizeonly-workflow.sh
Edit
format-workflow.sh
Edit
framework-functions.sh
Edit
global-functions.sh
Edit
help-workflow.sh
Edit
hp_raid-functions.sh
Edit
layout-functions.sh
Edit
layoutonly-workflow.sh
Edit
linux-functions.sh
Edit
mail-functions.sh
Edit
mkbackup-workflow.sh
Edit
mkbackuponly-workflow.sh
Edit
mkboot-workflow.sh
Edit
mkopalpba-workflow.sh
Edit
mkrescue-functions.sh
Edit
mkrescue-workflow.sh
Edit
mountonly-workflow.sh
Edit
network-functions.sh
Edit
opal-functions.sh
Edit
opaladmin-workflow.sh
Edit
output-functions.sh
Edit
progresssubsystem.nosh
Edit
rear-shell.bashrc
Edit
recover-workflow.sh
Edit
restoreonly-workflow.sh
Edit
rsync-functions.sh
Edit
savelayout-workflow.sh
Edit
serial-functions.sh
Edit
sesam-functions.sh
Edit
shell-workflow.sh
Edit
udev-workflow.sh
Edit
uefi-functions.sh
Edit
validate-workflow.sh
Edit
validated
Edit
write-protect-functions.sh
Edit