+ case "${answer:-g}" in
+ c*|C*)
+ if [ "$drive" != "C" ]; then
+ echo "Cannot change directory: not reading from MS-DOS drive C:"
+ else
+ echo
+ echo -n "Read from which MS-DOS drive C: directory? [/${subdir}] "
+ read resp junk
+ [ ! "$resp" ] && resp="/$subdir"
+ absolute=`expr X"$resp" : 'X[Cc]*:*\([/\]\)'`
+ subsub=$(echo "${resp}" | \
+ awk '{ sub(/^[Cc]*:*/, ""); gsub(/\\/, "/"); gsub(/^\/*/, ""); gsub(/\/*$/, ""); print $0 }')
+ if [ "$absolute" -o ! "$subdir" ]; then
+ newsub=$subsub
+ else
+ newsub=$subdir/$subsub
+ fi
+ if [ -d ${dir}/${newsub} ]; then
+ subdir=$newsub
+ else
+ echo "C:/${newsub}: No such directory"
+ fi
+ fi
+ ;;
+ g*|G*)
+ sync
+ if [ "$drive" = "C" ]; then
+ [ "$verbose" ] &&
+ { echo; echo "Please wait. Copying files from MS-DOS C:/${subdir}"; }
+ cp ${msdos_dir}/${subdir}/* .
+ sync
+ elif mount -t pcfs $verbose $device $dir; then