[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses 5.7 set_field_back problem
From: |
Thomas Dickey |
Subject: |
Re: ncurses 5.7 set_field_back problem |
Date: |
Mon, 05 Dec 2011 05:56:32 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Dec 05, 2011 at 10:45:17AM +0000, Pablo Cazallas Gonzÿffffe1lez wrote:
> Hi Thomas,
>
> thanks again for your quickly replies.
>
> I was reading about terminfo capabilities and related and, after some
> readings, I was able to obtain the terminal type I am using and its
> description. That is "vt220" (value of $TERM), and his description file shows
> the following (Attached it as well, to avoid possible mail formatting):
>
> # Reconstructed via infocmp from file: /usr/share/lib/terminfo/v/vt220
> vt220|Digital Equipment Co VT220,
> eo, km, msgr,
> cols#80, it#8, lines#24,
> batt1=f1, batt2=f1md, bel=^G, blink=\E[5m, bold=\E[1m,
> box1=lqkxjmwuvtn, box2=lqkxjmwuvtn, civis=\E[?25l,
> clear=\E[H\E[2J, cnorm=\E[?25h, cr=\r, cub=\E[%p1%dD,
> cub1=\b, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
> cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
> cuu1=\E[A, cvvis=\E[?25h, dl1=\E[M, ech=\E[%p1%dX,
> ed=\E[J, el=\E[K, font0=\E(B, font1=\E(0, home=\E[H,
> il1=\E[L, ind=\n, kbs=\b, kcub1=\E[D, kcud1=\E[B,
> kcuf1=\E[C, kcuu1=\E[A, kdo=\E[29~, kf1=\EOP,
> kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
> kf14=\E[26~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
> kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
> kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khlp=\E[28~,
> kich1=\E[2~, knl=\r, knp=\E[6~, kpp=\E[5~, ktab=\t,
> mc4=\E[4i, mc5=\E[5i, rev=\E[7m, rmcup=\E[?7h,
> rmso=\E[0m, rmul=\E[0m,
>
> sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E
> (0%e\E(B%;,
> sgr0=\E[0m\E(B, smcup=\E[?7l\E[?1l\E(B, smso=\E[7m,
> smul=\E[4m,
>
>
> I have no way to change it, since I'm not the admin neither have root access
> (and I guess I'll never have in the future). Is there any manner to set that
> "ech" capability inside my .profile file that loads on startup (or another
> way)?
But you can do this - you can always set the TERMINFO environment variable to
your own
directory. Also ncurses has a feature (usually configured) to write terminfo
entries
to your $HOME/.terminfo directory.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature