HyperTerminal ANSIW terminfo definition

  • Thread starter Christopher Conrade Zseleghovski
  • Start date
C

Christopher Conrade Zseleghovski

HyperTerminal is a small application distributed with Microsoft Windows
XP. It allows the user to connect to BBS servers via modem or TCP/IP.
By implementing correct behaviour in response to terminal escape
sequences, it allows character-mode full-screen applications like pine
or lynx to run in the terminal widnow.

It allows the user to choose a set of terminal capabilities for the
client programme to use; this set is called a terminal type. There are
several built in terminal types and this set is static --- it cannot be
expanded or corrected.

The problem is neither of them is implemented correctly. I have chosen
to use ANSIW terminal type because it is the only 8-bit transparent mode
(mode VT100 behaves better but it either does not pass extended
characters at all or translates them to semigraphic characters for US
ASCII DOS code page 437 (if I remeber the number correctly). It has
some problems though: scrolling does not work, character insertion does
not work, absolute positioning does not work unless both vertical and
horizontal at once. It causes some programmes, notably lynx and Emacs,
to behave strangely: the output is mostly unreadable and you have to
refresh the screen all the time. The remedy is to remove the
unimplemented capabilities from the terminal definition file and to
recompile it.

I enclose the source file for HyperTerminal ANSIW mode; I called it
ANSIW to make a difference with terminal type ansiw distributed with
Linux. Feel free to use it.

Chris


# Reconstructed via infocmp from file: /usr/share/terminfo/a/ansiw
ANSIW,
am, bce, bw, eo, msgr, npc,
colors#8, cols#80, it#8, lines#24, ncv#21, pairs#64,
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
cr=^M, cub=\E[%p1%dD, cub1=^H, 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,
dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L,
kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf13=\E[Y,
kf14=\E[Z, kf15=\E[a, kf16=\E[b, kf17=\E[c, kf18=\E[d,
kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, kf22=\E[h,
kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, kf27=\E[m,
kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, kf31=\E[q,
kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, kf36=\E[v,
kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, kf40=\E[z,
kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], kf45=\E[\^,
kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, kf6=\E[R,
kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, kich1=\E[L,
knp=\E[G, kpp=\E[I, op=\E[x, rev=\E[7m,
rmso=\E[m, rs2=\E[x\E[m\Ec,
setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
sgr=\E[0%?%p1%t;2;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;30;1%;%?%p6%t;1%;m,
sgr0=\E[m, smso=\E[7m,
 
M

Malke

Christopher said:
HyperTerminal is a small application distributed with Microsoft
Windows

(snip a whole lot of supposed program code the OP inexplicably thought
should be posted in a newsgroup about an operating system)

Yes, and HyperTerminal isn't written by Microsoft. If you have comments
about HyperTerminal you should contact the company that makes it.
Here's a link to their homepage:

http://www.hilgraeve.com/htpe/

Malke
 
G

Guest

„Malke†pisze:
(snip a whole lot of supposed program code the OP inexplicably thought
should be posted in a newsgroup about an operating system)

Not program code, terminal information code.
Yes, and HyperTerminal isn't written by Microsoft. If you have comments

Is that so? Look at the information window:
Microsoft ® HyperTerminal
Copyright © 1981-2001 Microsoft Corporation
about HyperTerminal you should contact the company that makes it.
Here's a link to their homepage:

http://www.hilgraeve.com/htpe/

HyperTerminal Personal Edition is a different product than HyperTerminal
bundled with Windows. They look very much alike but there are differences.

Chris
 
Y

Yves Leclerc

HyperTerminal was written, for Microsoft, by Hilgraeve. HpyerTerminal PE is
a more complete version.
 
G

Guest

Yves Leclerc said:
HyperTerminal was written, for Microsoft, by Hilgraeve. HpyerTerminal PE is
a more complete version.

So what? NTG? Virtual PC was not written by Microsoft either, nor was
Microsoft Backup. Nevertheless, there is a group dedicated to Virtual PC at
Microsoft. HyperTerminal does not have a dedicated newsgroup but it is
bundled with Microsoft Windows XP and therefore it can be discussed here.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top