fsetup command added to shell script aliases

This commit is contained in:
hsn 2005-07-26 20:30:27 +00:00
parent c1e5021c1a
commit 2164ffd631
3 changed files with 9 additions and 3 deletions

View File

@ -13,7 +13,10 @@ Version NEXT
MTU changed from 1500 to 1492 for better operation on pppOE networks MTU changed from 1500 to 1492 for better operation on pppOE networks
Max payload changed from 4096 to 4380 bytes (3 packets) Max payload changed from 4096 to 4380 bytes (3 packets)
fspd: command line argument now overrides config file 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 Version 2.8.1b24 - 19 Feb 2005
use getopt from stdio.h instead of getopt.h in fspscan.c use getopt from stdio.h instead of getopt.h in fspscan.c

View File

@ -22,5 +22,6 @@ alias fpro \(set noglob\; exec fprocmd \!\*\)
alias fpwd echo \$FSP_DIR on \$FSP_HOST port \$FSP_PORT alias fpwd echo \$FSP_DIR on \$FSP_HOST port \$FSP_PORT
alias frm \(set noglob\; exec frmcmd \!\*\) alias frm \(set noglob\; exec frmcmd \!\*\)
alias frmdir \(set noglob\; exec frmdircmd \!\*\) alias frmdir \(set noglob\; exec frmdircmd \!\*\)
alias fsetup 'eval `fsetupcmd \!*`'
alias fmv \(set noglob\; exec fmvcmd \!\*\) alias fmv \(set noglob\; exec fmvcmd \!\*\)
alias ftouch "touch \!:1;fput \!:1;rm \!:1" alias ftouch "touch \!:1;fput \!:1;rm \!:1"

View File

@ -24,8 +24,6 @@ fi
_fcat() { fcatcmd "$@" ;set +f;} _fcat() { fcatcmd "$@" ;set +f;}
alias fcat='set -f;_fcat' alias fcat='set -f;_fcat'
_fstat() { fstatcmd "$@" ;set +f;}
alias fstat='set -f;_fstat'
_fdu() { fducmd "$@" ; set +f;} _fdu() { fducmd "$@" ; set +f;}
alias fdu='set -f;_fdu' alias fdu='set -f;_fdu'
_ffind() { ffindcmd "$@" ; set +f;} _ffind() { ffindcmd "$@" ; set +f;}
@ -49,6 +47,10 @@ _frm() { frmcmd "$@"; set +f ;}
alias frm='set -f;_frm' alias frm='set -f;_frm'
_frmdir() { frmdircmd "$@"; set +f ;} _frmdir() { frmdircmd "$@"; set +f ;}
alias frmdir='set -f;_frmdir' 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" ;} ftouch() { touch "$1"; fput "$1"; rm "$1" ;}
_fcd() { export FSP_DIR=$(fcdcmd "$@"); set +f;} _fcd() { export FSP_DIR=$(fcdcmd "$@"); set +f;}
alias fcd='set -f;_fcd' alias fcd='set -f;_fcd'