× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: tn5250 0.15.7 problem?
  • From: "Jason M. Felice" <jasonf@xxxxxxxxxxxxxx>
  • Date: Sat, 19 Feb 2000 01:48:16 -0500

On Fri, Feb 18, 2000 at 06:36:22PM -0800, Jose S. wrote:
> The funny thing is that if I go to a shell prompt through one of the 3151
> terminals, I'm able to see the underlining and highlighting used by some
> man pages. I will try your recommendation in regard to the 'tput init'
> command, see if that makes a difference.

If you have features the dumb terminal supports and your termcap entry doesn't
you will most likely need to hand-craft your own termcap or terminfo entry
for the device to get those features to work properly.  I just checked on
this box (redhat 6.1), and there is an ibm3151 terminfo entry.  You should be
able to do:

TERM=ibm3151
export TERM
tput init

and rock and roll.  Attached is a dump of the ibm3151 terminfo entry in case
you don't have it.  Save it to a file of any name then run, as root:

tic ibm3151

That should compile and install it.

-Jay 'Eraserhead' Felice
#       Reconstructed via infocmp from file: /usr/share/terminfo/i/ibm3151
ibm3151|IBM 3151 display, 
        am, mir, msgr, 
        cols#80, it#8, lines#24, 
        acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370, 
        bel=^G, blink=\E4$a, bold=\E4(a, clear=\EH\EJ, cr=^M, 
        cub1=\ED, cud1=\EB, cuf1=\EC, 
        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
        dl1=\EO, ed=\EJ, el=\EI, home=\EH, il1=\EN, ind=^J, 
        invis=\E40a, is2=\E S, kbs=^H, kcbt=\E2, kclr=\EL\r, 
        kctab=\E1, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
        kdch1=\EQ, kdl1=\EO, ked=\EJ, kel=\EI, kend=\E2, kf1=\Ea\r, 
        kf10=\Ej\r, kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, 
        kf14=\E!b\r, kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, 
        kf18=\E!f\r, kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, 
        kf21=\E!i\r, kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, 
        kf3=\Ec\r, kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, 
        kf8=\Eh\r, kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, 
        kil1=\EN, knp=\EI, kpp=\EL, ktbc=\E 1, mc4=^P^T, mc5=^P^R, 
        rev=\E4!a, rmacs=\E>B, rmcup=\E>B, rmso=\E4>b, rmul=\E4=b, 
        rs2=\E S, s0ds=\E>B, s1ds=\E>A, 
        
sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;,
 
        sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, smso=\E4!a, 
        smul=\E4"a, 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.