[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] system-mapped-chars
From: |
Thomas Dickey |
Subject: |
Re: [vile] system-mapped-chars |
Date: |
Sat, 27 Dec 2014 16:57:31 -0500 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sat, Dec 27, 2014 at 02:43:13PM -0500, Wayne Cuddy wrote:
...
> > > Vile is linked with HP's OEM curses (xcurses) library. Surprisingly the
> > > HOME/END keys work as expected in rxvt. In Xterm, either running locally
> > > on Linux while ssh'd into an HP host or running HP's xterm via X when
> > > the HOME/END keys are used they produce ^[OH and ^[OE respectively.
> >
> > Short: the problem can be fixed by correcting the terminal description on
> > the HP-UX machine. I still have access to at least one HP-UX server, and
> > can see this description running "infocmp xterm":
> >
> > # Reconstructed via infocmp from file: /usr/share/lib/terminfo/x/xterm
> > xterm|vs100|xterm terminal emulator,
> > am, km, xenl,
> > cols#80, lines#65,
> > bel=^G, blink=@, bold=\E[1m, civis=\E[?25I,
> > clear=\E[H\E[2J, cnorm=\E[?25h, cr=\r,
> > csr=\E[%i%p1%d;%p2%dr, 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, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
> > dl1=\E[M, ed=\E[J, el=\E[K, home=\E[1;1H, ht=\t,
> > hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
> > il1=\E[L, ind=\n, kbs=\177, kcub1=\EOD, kcud1=\EOB,
> > kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf10=\E[21~,
> > kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR,
> > kf4=\EOS, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
> > kf8=\E[19~, kf9=\E[20~, knp=\E[6~, kpp=\E[5~, rc=\E8,
> > rev=\E[7m, ri=\EM, rmkx=\E[?1l, rmso=\E[m,
> > rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, rs2=@,
> > sc=\E7,
> > sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
> > sgr0=\E[m, smkx=\E[?1h, smso=\E[7m, tbc=\E[3g,
> >
> > I'd fix that by
> > infocmp xterm >foo
> > --edit foo, adding (a line with a tab at the front):
> > khome=\EOH, kend=\EOE,
> > sudo tic foo
>
> Our HP-UX release is quite old.. 11.23 and 'xterm -v' produces XFree86
> 4.3.99.15(180). Ha, I see your site and name referenced in the manual
> page. I updated the terminfo database using your suggestion above and it
> partially fixed the problem. The home key now produces #H but the END
> key still produces ^[OF. I removed the khome entry and just added the
sorry - I misread something along the way.
kend should be \EOF, which corresponds to the ^[OF which you are reporting
here. If the terminfo is correct, you shouldn't see ^[OF literally (except
with "cat -v" or something similar).
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature