|
发表于 2007-10-29 15:53:11
|
显示全部楼层
# @(#)B.11.11_LR
# Default user .profile file (/usr/bin/sh initialization).
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs
LANG=chinese-s
LC_ALL=chinese-s
LC_MESSAGES=chinese-s
export LC_ALL LANG LC_MESSAGES
stty cs8
stty -istrip
stty -parenb
# Set up the search paths:
PATH=$PATH:.:/mfgpro/qadeb2
# Set up the shell environment:
set -u
trap "echo 'logout'" 0
# Set up the shell variables:
EDITOR=vi
export EDITOR
# Set up the QAD character menu:
while
true
do
clear
echo "** WELCOME TO SVW JIT BARCODE **"
echo Pls select the job :
echo 1-采购收货
echo 2-采购退货
echo 3-采购上架
# echo 4-非正常移库
# echo 5-计划外出库
echo 6-看板领料
echo 7-实际盘点
echo 8-移库及周期盘点
echo 9-成品发运
echo 11-IMS正式库
echo 20-IMS培训库
echo 21-IMS测试库
echo 0-退出条码系统
read choice
case $choice in
1 ) /ims/scripts/I1.live
break ;;
2 ) /ims/scripts/I2.live
break ;;
3 ) /ims/scripts/I3.live
break ;;
# 4 ) /ims/scripts/I4.live
# break ;;
# 5 ) /ims/scripts/I5.live
# break ;;
6 ) /ims/scripts/I6.live
break ;;
7 ) /ims/scripts/I7.live
break ;;
8 ) /ims/scripts/I8.live
break ;;
9 ) /ims/scripts/I9.live
break ;;
11) /ims/scripts/client.init
break ;;
20) /ims/scripts/client.train
break ;;
21) /ims/scripts/client.demo
break ;;
0 ) exit
break ;;
* ) echo invalid selection ;;
esac
done
.profile
什么地方有错误啊 |
|