光速 发表于 2010-07-28 18:36

安装informix for sco过程中执行onmonitor出现的问题

以informix用户登录:
$ cat .profile
INFORMIXDIR=/usr/informix
INFORMIXSERVER=infoserver
PATH=$INFORMIXDIR/bin:$PATH
export INFORMIXDIR INFORMIXSERVER PATH

$ onmonitor
Termcap entry too long
Termcap entry too long
Bad termcap entry
Termcap entry too long
Termcap entry too long
Bad termcap entry
Program stopped at "tb4_main.4gl",line number 71.
FORMS statement error number -1170
The type of your terminal is unknow to the system

然后在.profile中添加了:
export TERMCAP=$INFORMIXDIR/etc/termcap
重新以informix用户进入:
# su - informix
Last successful real login for informix:NEVER
-su TERMCAP=/usr/informix/etc/termcap:is not an identifier
$ onmonitor
Termcap entry too long
Termcap entry too long
Bad termcap entry
Termcap entry too long
Termcap entry too long
Bad termcap entry
Program stopped at "tb4_main.4gl",line number 71.
FORMS statement error number -1170
The type of your terminal is unknow to the system

请问这是怎么回事?如何修改?谢谢!

liaosnet 发表于 2010-07-28 18:53

Last successful real login for informix:NEVER
-su TERMCAP=/usr/informix/etc/termcap:is not an identifier

--->


TERMCAP=${INFORMIXDIR}/etc/termcap
export TERMCAP

光速 发表于 2010-07-28 19:16

回复 2# liaosnet


    谢谢!:D
页: [1]
查看完整版本: 安装informix for sco过程中执行onmonitor出现的问题