#!/bin/sh
################### Start of $RCSfile: serverconfig.in,v $ ##################
#
# $Source: /home/alb/afbackup/afbackup-3.3.6/RCS/serverconfig.in,v $
# $Id: serverconfig.in,v 1.2 2002/02/27 10:17:11 alb Exp alb $
# $Date: 2002/02/27 10:17:11 $
# $Author: alb $
#
#
####### description ################################################
#
#
#
####################################################################

#
# 2 configurable parts
#

if [ $# -gt 1 ] ; then
  echo `T_ "Usage"`": `basename $0` [ <configfile> ]"
  exit 2
fi

cleantmp(){
  exit 3
}

echo_n(){
  echo "$@" | $AWK '{printf "%s",$0}'
}

matches(){
  N=`echo "$1" | egrep -i "$2" | wc -l`

  echo $N

  if [ $N -lt 1 ] ; then
    return 1
  fi

  return 0
}

find_program(){
  for dir in `echo $PATH | tr : " "` ; do
    if [ -x "$dir"/"$1" ] ; then
      echo "$dir"/"$1"
      return 0
    fi
  done

  return 1
}

T_(){
  if [ _"$HAVE_GETTEXT" = _ ] ; then
    GETTEXT=`find_program gettext`

    if [ _"$GETTEXT" = _ ] ; then
      HAVE_GETTEXT=no
    else
      HAVE_GETTEXT=yes

      TEXTDOMAIN="afbackup"
      TEXTDOMAINDIR="/usr/lib/afbackup/share/locale"
      export TEXTDOMAIN TEXTDOMAINDIR
    fi
  fi

  if [ $HAVE_GETTEXT = yes ] ; then
    $GETTEXT "$1"
    return $?
  fi

  echo "$1"
}

TN_(){
  echo "$1"
}

repl_backsl_seq(){
  $AWK '{a = "";while(a != $0){a=$0;sub("\\\\n","\n");sub("\\\\t","\t");}; print}'
}

fmt_output(){
  $AWK '{printf "%s\n.br\n",$0}' | nroff | $AWK '{a[NR] = $0;n = NR;}END{while(n > 1 && match(a[n], "^[ 	]*$")) n--; for(i = 1; i <= n; i++) printf "%s\n",a[i];}'
}

spcext(){
  echo "$1" | awk '{n = '"$2"'; printf "%s",$0; while(length($0) < n) { printf " "; n-- }}'
}

resolvepath(){
  oldpath="$1"

  newpath="$oldpath"_
  while [ _"$newpath" != _"$oldpath" ] ; do
    newpath="$oldpath"

    oldpath=`echo "$oldpath"|sed 's#/\./#/#g;s#/\.$##g;s#//*#/#g;s#^\./##g;s#^/\.\./#/#g'`

    if [ "$oldpath" != '/' ] ; then
      set oldpath=`echo "$oldpath"|sed 's#/*$##g'`
    fi
  done

  if [ _`echo "$oldpath"|cut -c1` = _"/" ] ; then
    oldhead="/"`echo "$oldpath"|cut -c2-|sed 's#/.*$##g'`
    oldtail=`echo "$oldpath"|cut -c2-|sed 's#^[^/]*/##'`
  else
    oldhead=`echo "$oldpath"|sed 's#/.*$##g'`
    oldtail=`echo "$oldpath"|sed 's#^[^/]*/##'`
  fi
  if [ _"$oldpath" = _"$oldhead" ] ; then
    oldtail=""
  fi

  while true ; do
    if [ _"$oldhead" = _ ] ; then
      oldhead="."
    fi
    if [ ! -f "$oldhead" -a ! -d "$oldhead" ] ; then
      echo ""
      return 0
    fi

    linkchar=`ls -ld "$oldhead"|cut -c1`
    if [ $linkchar = 'l' ] ; then
      points_to=`ls -ld "$oldhead"|sed 's#^.*->[ 	]*##g'`

      if [ `echo "$points_to"|cut -c1` = '/' ] ; then
        newpath="$points_to"/"$oldtail"
      else
        newpath=`dirname "$oldhead"`/"$points_to"/"$oldtail"
      fi

      echo `resolvepath "$newpath"`
      return $?
    fi

    if [ _"$oldtail" = _ ] ; then
      oldpath="$oldhead"
      break
    fi

    oldhead="$oldhead"/`echo "$oldtail"|sed 's#/.*$##g'`
    if [ `echo "$oldtail"|grep /|wc -l` -lt 1 ] ; then
      oldtail=''
    else
      oldtail=`echo "$oldtail"|sed 's#^[^/]*/##g'`
    fi
  done

  newpath="$oldpath"_
  while [ _"$newpath" != _"$oldpath" ] ; do
    newpath="$oldpath"

    oldpath=`echo $oldpath|sed 's#[^/][^/]*/\.\./##g;s#[^/][^/]*/\.\.$##g;s#/\./#/#g;s#/\.$##g;s#//*#/#g;s#^\./##g;s#^/\.\./#/#g'`

    if [ "$oldpath" != '/' ] ; then
      oldpath=`echo "$oldpath"|sed 's#/*$##g'`
    fi
  done

  echo "$newpath"
  return 0
}

set_var_params(){
  if [ $num_var_sp_idx -gt 0 ] ; then
    eval num_var_params='"$'values__$num_var_sp_idx'"'

    if [ _"$num_var_params" = _ ] ; then
      num_var_params=1
    fi
  else
    num_var_params=0
  fi

  num_total_params=`expr $num_fix_params + $num_var_params`
  first_var_param=`expr $num_fix_params + 1`
}

if [ _"$BACKUP_HOME" = _ ] ; then
  p="$0"
  pnam=$p
  pnam=`basename $pnam`
  if [ "$pnam" = "$0" ] ; then
    p=`find_program "$pnam"`
  fi
  if [ _`echo "$p"|cut -c1` != "_/" ] ; then
    p="`pwd`/$p"
  fi

  BACKUP_HOME=`resolvepath "$p"`
  BINDIR=`dirname "$BACKUP_HOME"`
  SBINDIR="$BINDIR"
  BACKUP_HOME="$BINDIR"
  if [ `basename "$BACKUP_HOME"` = bin -o `basename "$BACKUP_HOME"` = sbin ] ; then
    BACKUP_HOME=`dirname "$BACKUP_HOME"`
  fi
  export BACKUP_HOME
fi

if [ _"$BINDIR" = _ ] ; then
  BINDIR="$BACKUP_HOME/bin"
fi
if [ _"$SBINDIR" = _ ] ; then
  SBINDIR="$BACKUP_HOME/sbin"
fi

PATH="$BINDIR":"$SBINDIR":"$PATH"
export PATH

unset AWK

# the solaris' awk is a piece of shit
for awk in nawk gawk awk ; do
  AWK=`find_program $awk`
  if [ _"$AWK" != _ ] ; then
    break
  fi
done

if [ _"$AWK" = _ ] ; then
  echo `T_ "No awk ? Is this really a lovely UNIX ?"`
  echo `T_ "Sorry. I have to exit."`
  exit 1
fi

if [ _"$PAGER" = _ ] ; then
  PAGER=`find_program less`
  if [ _"$PAGER" = _ ] ; then
    PAGER=more
  else
    PAGER="$PAGER -eX"
  fi
fi

if [ $# -eq 1 ] ; then
  configfile="$1"
else
  found=0

#
# configurable part: configuration files to look for
#
  configfiles="$BACKUP_HOME/etc/backup.conf $BACKUP_HOME/lib/backup.conf /etc/buserver.conf /etc/afbuserver.conf /etc/afserver.conf /etc/afbackup/server.conf /usr/local/server/lib/server.conf"
#
# end configurable part
#

  for configfile in $configfiles ; do
    if [ -r $configfile ] ; then
      found=1
      break
    fi
  done
  if [ $found -eq 0 ] ; then
    echo `T_ "No configuration file found. Exiting."`
    exit 2
  fi
fi

configfile=`resolvepath $configfile`

if [ ! -r $configfile ] ; then
  echo `T_ "Error: Cannot read configuration file"`" $configfile. "`T_ "Exiting."`
  exit 3
fi

configlines="`cat $configfile`"

getparam(){
  if [ _"$configlines" = _ ] ; then
    configlines="`cat $configfile`"
  fi

  echo "$configlines" | $AWK '/^[ 	]*'"$1"'/{sub("'"$1"'[ 	]*",""); print}'
}

promptlen=32

#
# configurable part: the parameter values
#

num_fix_params=36
num_var_sp_idx=0

comments__1=`TN_ "\nSERVER SPECIFICATION\n\nThe identifier for the server"`
comments__2=`TN_ "\nDEVICE SPECIFICATION\n\nThe device name (No-Rewind-Version !)"`
comments__3=`TN_ "\nThe blocksize of the device"`
comments__4=`TN_ "\nFlag, whether the device is a robot / cartridge handling system (0 or 1)"`
comments__5=`TN_ "\nInsert your number of cartridges, whether you have a robot or not"`
comments__6=`TN_ "\nThe specifiers of different cartridge sets, if requested.\nDefault is 1 set with cartridges ranging from 1 up to the\nprevious parameter. Specifiers of cartridge sets must be\nseparated by whitespace and may contain digits, commas and\ndashes. Examples: 1-3 4,8-10 6,7"`
comments__7=`TN_ "\nThe maximum number of bytes per file on tape"`
comments__8=`TN_ "\nThe maximum number of bytes per tape"`
comments__9=`TN_ "\nAppend also to explicitly deselected cartridges"`
comments__10=`TN_ "\nWrite to any supplied cartridge, that has space"`
comments__11=`TN_ "\nRefuse to write to tapes, that do not have a valid label"`
comments__12=`TN_ "\nPrefer writable cartridges available in a changer"`
comments__13=`TN_ "\nTime to wait from the moment, a new cartridge has been inserted\nuntil a new action is attempted on the tape device"`
comments__14=`TN_ "\nTime to wait while the device is unavailable until a mail is\nsent to the user in charge"`
comments__15=`TN_ "\nTime to wait while the device is unavailable until abort"`
comments__16=`TN_ "\nThe interval in seconds for probing, if device is ready, when\ninserting another cartridge is requested. 0 for no probing."`
comments__17=`TN_ "\nConfiguration file for a media changer"`
comments__18=`TN_ "\n\nSHELL-COMMANDS FOR TAPE HANDLING\n\nIn these commands %d is replaced by the device name,\n%n by the number, if within the command the count starts with 1,\n%m by the number, if the count starts with 0.\n\nCommand to set the file # on tape"`
comments__19=`TN_ "\nCommand to skip to the next %n-th file on tape"`
comments__20=`TN_ "\nIf there is a command to set the cartridge directly, supply it here"`
comments__21=`TN_ "\nIf the cartridges can only by changed successively, insert the\ncommand to change them here. This is also the command, that unloads\nthe tape, if you have no cartridge handler."`
comments__22=`TN_ "\nIf the media must be prepared for access in some way,\nthe appropriate command can be supplied here."`
comments__23=`TN_ "\nThe command to erase the tape. This is necessary on some systems."`
comments__24=`TN_ "\nCommand, that is called, when a tape is full."`
comments__25=`TN_ "\n\nCONFIGURATION FOR NON-EXISTING CARTRIDGE HANDLING SYSTEM\n\nThe user to inform, if a cartridge should be changed manually"`
comments__26=`TN_ "\nThe mail-program to use.\n\nInsert %u for the position, where the username has to appear,\n%U for the remote user, %H for the remote client host."`
comments__27=`TN_ "\n\nFILES TO SAVE THE STATE AND LOGGINGS\n\nDirectory for changing and persistent files"`
comments__28=`TN_ "\nFilename to save the current tape position"`
comments__29=`TN_ "\nFilename for error loggings etc."`
comments__30=`TN_ "\nFilename to write the current server status to"`
comments__31=`TN_ "\nLocking file to prevent several server starts"`
comments__32=`TN_ "\nLockfile for accessing a media changer"`
comments__33=`TN_ "\nThe file with the authentication encryption key"`
comments__34=`TN_ "\n\nCONFIGURATION FOR REMOTE_EXECUTION\n\nDirectory, where remotely started programs must reside"`
comments__35=`TN_ "\n\nSERVER-STARTUP AND SHUTDOWN ACTIONS\n\nshell-command to perform, when the server starts"`
comments__36=`TN_ "\nshell-command to perform, when the server exits"`

names__1='ServerIdentifier'
names__2='Backup-Device'
names__3='Tape-Blocksize'
names__4='Cartridge-Handler'
names__5='Number Of Cartridges'
names__6='Cartridge-Sets'
names__7='Max Bytes Per File'
names__8='Max Bytes Per Tape'
names__9='Full Append Mode'
names__10='Variable Append Mode'
names__11='Reject Unlabeled Tapes'
names__12='Prefer Cartridge in Changer'
names__13='Cart-Insert-Gracetime'
names__14='Device Unavail Send mail after min'
names__15='Device Unavail give up after min'
names__16='Device-Probe Interval'
names__17='Changer-Configuration-File'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
names__25='User To Inform'
names__26e'
nFile'
names__18='SetFile-Command'
names__19='SkipFiles-Command'
names__20='Set-Cart-Command'
names__21='Change-Cart-Command'
names__22='Init-Media-Command'
names__23='Erase-Tape-Command'
names__24='Tape-Full-Command'
nam