From 2164ffd631a2b2151cd670e9a4d543d515388a3b Mon Sep 17 00:00:00 2001 From: hsn <> Date: Tue, 26 Jul 2005 20:30:27 +0000 Subject: [PATCH] fsetup command added to shell script aliases --- ChangeLog | 5 ++++- setup.csh | 1 + setup.sh | 6 ++++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fc6a9c9..653ac7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,7 +13,10 @@ Version NEXT MTU changed from 1500 to 1492 for better operation on pppOE networks Max payload changed from 4096 to 4380 bytes (3 packets) fspd: command line argument now overrides config file - updated year in copyright + updated year in copyright (todo!!) + fsetup command added to setup.sh + fsetup command added to setup.csh + Version 2.8.1b24 - 19 Feb 2005 use getopt from stdio.h instead of getopt.h in fspscan.c diff --git a/setup.csh b/setup.csh index 7361889..511d15c 100644 --- a/setup.csh +++ b/setup.csh @@ -22,5 +22,6 @@ alias fpro \(set noglob\; exec fprocmd \!\*\) alias fpwd echo \$FSP_DIR on \$FSP_HOST port \$FSP_PORT alias frm \(set noglob\; exec frmcmd \!\*\) alias frmdir \(set noglob\; exec frmdircmd \!\*\) +alias fsetup 'eval `fsetupcmd \!*`' alias fmv \(set noglob\; exec fmvcmd \!\*\) alias ftouch "touch \!:1;fput \!:1;rm \!:1" diff --git a/setup.sh b/setup.sh index 7fc0565..5cc9107 100644 --- a/setup.sh +++ b/setup.sh @@ -24,8 +24,6 @@ fi _fcat() { fcatcmd "$@" ;set +f;} alias fcat='set -f;_fcat' -_fstat() { fstatcmd "$@" ;set +f;} -alias fstat='set -f;_fstat' _fdu() { fducmd "$@" ; set +f;} alias fdu='set -f;_fdu' _ffind() { ffindcmd "$@" ; set +f;} @@ -49,6 +47,10 @@ _frm() { frmcmd "$@"; set +f ;} alias frm='set -f;_frm' _frmdir() { frmdircmd "$@"; set +f ;} alias frmdir='set -f;_frmdir' +_fsetup() { eval $(fsetupcmd "$@") ; set +f;} +alias fsetup='set -f;_fsetup' +_fstat() { fstatcmd "$@" ;set +f;} +alias fstat='set -f;_fstat' ftouch() { touch "$1"; fput "$1"; rm "$1" ;} _fcd() { export FSP_DIR=$(fcdcmd "$@"); set +f;} alias fcd='set -f;_fcd'