HPUX终端不能输入@字符问题解决

修改环境变量文件.profile。在文件开始地方加入如下部分。

##############解决hpux终端上不能输入@字符######begin######
# Default (example of) super-user's .profile file


# Do not put "." in PATH; it is a potential security breach.
# Do not put "/usr/local/bin" in PATH; it is a potential security breach.
# Example assumes /home/root exists.
        set +u
# Be sure that VUE does not invoke tty commands

   if [ ! "$VUE" ]; then

   # 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

        echo
        echo "Value of TERM has been set to \"$TERM\". "
        export TERM

        EDITOR=vi
        export EDITOR

   fi          # if !VUE

  
# Set up shell environment:

        set -u                                  # error if undefined variable.
        trap "echo 'logout root'" 0             # what to do on exit.


# Set up shell variables:

# don't export, so only login shell checks.
###########################end#####################

你可能感兴趣的:(HPUX终端不能输入@字符问题解决)