aix - tput: unknown terminal -


I'm on AX 6.1 and I'm trying to use tput inside my $ PS1. I have confirmed that I can not even play sutra from the command line. My session is after:

  # tput unknown terminal "term" #buzz $ duration term # tput -i ANSI unknown terminal "ANSI"  

actually ...

  Term-vi x1720 xtalk term + pcf0 term # ls / usr / lib / terminfo / x x1700 xl83 term + pcc3 term + pcfkeys term-88 color term-hp term term + Pcfn term-8 bit term-ic term-r5 term-vt220 x1750 term term + pcf1 term -16 color term-basic term-mono term-r6 term-vt52 x820 term + pcc0 term + pcf2 term -24 term-bold term new term Representative Term-XFree86 xdku term + pcc1 term + pcf3 term -256 color term-boldso term-noapp term-SCO term-XMC Xitex term + pcc2 term + pcfN term -65 term color term -nrc term-sun xterms # ls / usr / Lib / terminfo / x | For words in Wc -l 48 # $ (ls / usr / lib / terminfo / x); T tuta-t $ word; 2 & gt; And 1. Grep 'Unknown Terminal' | WC-L48 # for the period in $ (ls / usr / lib / terminfo / x); TERM = $ word TT; 2 & gt; And 1. Grep 'Unknown Terminal' | WC-L 48  

Any ideas? thank you in advanced.

Is your TERMINFO variable set? Without it, I believe that the system will not be able to find your Terminology file or maybe it is set up incorrectly?

If you are running sh, ksh, bash or similar, then try:

export TERMINFO = / usr / lib / terminfo

If you are not sure which shell you are using (I'm sure you do this, but others can also read it), type:

$ SHELL echo

If you are using csh, tcsh or similar, you should type instead: < / P>

setenv TERMINFO / usr / lib / terminfo

After that, refund Try.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -