亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
12下一頁
最近訪問板塊 發(fā)新帖
查看: 5140 | 回復(fù): 11
打印 上一主題 下一主題

HP UNIX如何設(shè)置默認(rèn)terminal [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2009-08-21 10:13 |只看該作者 |倒序?yàn)g覽
每次登錄主機(jī),總是要設(shè)置terminal,請(qǐng)問應(yīng)該怎么設(shè)置才能把默認(rèn)terminal設(shè)為VT100?非常感謝!

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2009-08-21 10:24 |只看該作者
/etc/profile

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2009-08-21 10:39 |只看該作者
登錄用戶的.profile中設(shè)置

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2009-08-21 10:39 |只看該作者
.profile中的設(shè)置如下:
# 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

請(qǐng)問需要怎樣修改?

[ 本帖最后由 xjzcz 于 2009-8-21 10:42 編輯 ]

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2009-08-21 10:47 |只看該作者
bash-2.04# man profile

profile(4)                                                       profile(4)

NAME
      profile - set up user's environment at login time

DESCRIPTION
      If the file /etc/profile exists, it is executed by the shell for every
      user who logs in.  The file /etc/profile should be set up to do only
      those things that are desirable for every user on the system, or to
      set reasonable defaults.  If a user's login (home) directory contains
      a file named .profile, that file is executed (via the shell's exec
      .profile) before the session begins.  .profile files are useful for
      setting various environment parameters, setting terminal modes, or
      overriding some or all of the results of executing /etc/profile.

EXAMPLES
      The following example is typical (except for the comments):

           #  Make some environment variables global
               export MAIL PATH TERM
           #  Set file creation mask
               umask 22
           #  Tell me when new mail comes in
               MAIL=/var/mail/myname
           #  Add my /bin directory to the shell search sequence
               PATH=$PATHHOME/bin
           # Set terminal type
               echo "terminal: \c"
               read TERM
               case $TERM in
                   300)      stty cr2 nl0 tabs; tabs;;
                   300s)     stty cr2 nl0 tabs; tabs;;
                   450)      stty cr2 nl0 tabs; tabs;;
                   hp)       stty cr0 nl0 tabs; tabs;;
                   745|735)  stty cr1 nl] -tabs; TERM=745;;
                   43)       stty cr1 nl0 -tabs;;
                   *)        echo "$TERM unknown";;
               esac

      A more complete model .profile can be found in /etc/skel/.profile.

FILES
      $HOME/.profile
      /etc/profile

SEE ALSO
      env(1), login(1), mail(1), sh(1), stty(1), su(1), environ(5), term(5).

Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2009-08-21 10:54 |只看該作者
非常感謝yuio654 ,看來還是有事找男人。。。

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2009-08-21 12:13 |只看該作者

回復(fù) #6 xjzcz 的帖子

呵~,得分什么事

論壇徽章:
3
丑牛
日期:2014-02-25 15:19:10金牛座
日期:2014-02-28 19:01:322015亞冠之西悉尼流浪者
日期:2015-06-10 15:01:09
8 [報(bào)告]
發(fā)表于 2009-09-28 15:35 |只看該作者
原帖由 smart_zhaozf 于 2009-8-21 12:13 發(fā)表
呵~,得分什么事

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2009-12-31 10:44 |只看該作者

回復(fù) #1 xjzcz 的帖子

可以在 跟下的 .profile  添加一行 export TERM=vt100
或者在/etc/profile里添加,這個(gè)是對(duì)于所有用戶有效的。

論壇徽章:
0
10 [報(bào)告]
發(fā)表于 2009-12-31 11:02 |只看該作者
基本上就這些 你做下實(shí)驗(yàn)看看
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP