Re: patch.termcap

From: Thomas Dickey <dickey_at_his.com>
Date: Tue, 7 Jun 2016 04:49:08 -0400
On Mon, Jun 06, 2016 at 10:12:14PM -0700, Tim Rice wrote:
> 
> Would someone please commit the attached termcap patch for Altos V
> terminals.
> Granted I may be the only person still using one but it'll save
> continual patching.
> Thanks for your consideration.
> 
> -- 
> Tim Rice
> tim_at_xinuos.com

ncurses has this:

#	Reconstructed via infocmp from file: /usr/local/ncurses/share/terminfo/a/altos5
altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
	:co#80:it#8:li#24:sg#0:ug#0:\
	:*5=^Am\r:*8=^An\r:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:FP=^Ac\r:\
	:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:FV=^Ai\r:\
	:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:\
	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
	:dl=\E[M:do=\E[1B:ei=:ho=\E[H:ic=\E[_at_:\
	:if=/usr/local/ncurses/share/tabset/vt100:im=:\
	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
	:k1=^A_at_\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
	:kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5p:me=\E[p:nd=\E[1C:nw=^M^J:\
	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[1A:\
	:us=\E[4m:

Any clue what these capabilities are?

	c0: -, '^A`\r'.
	c1: -, '^Aa\r'.
	c2: -, '^Ab\r'.
	c3: -, '^Ac\r'.
	c4: -, '^Ad\r'.
	c5: -, '^Ae\r'.
	c6: -, '^Af\r'.
	c7: -, '^Ag\r'.
	c8: -, '^Ah\r'.
	c9: -, '^Ai\r'.
	cA: -, '^Aj\r'.
	cB: -, '^Ak\r'.
	cC: -, '^Al\r'.
	cD: -, '^Am\r'.
	cE: -, '^An\r'.
	cF: -, '^Ao\r'.
 
> 

> Index: share/termcap/termcap
> ===================================================================
> --- share/termcap/termcap	(revision 301538)
> +++ share/termcap/termcap	(working copy)
> _at__at_ -521,6 +521,30 _at__at_
>  #
>  # M: MISCELLANEOUS TERMINALS
>  #
> +#
> +#  Termcap for Altos V terminal
> +a5|altos5|alt5|altos 5|Altos V:\
> +	:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
> +	:up=\E[1A:do=\E[1B:nd=\E[1C:bc=\E[1D:cm=\E[%i%d;%dH:ho=\E[H:\
> +	:al=\E[L:dl=\E[M:ic=\E[_at_:dc=\E[P:im=:ei=:SP=\E[i:\
> +	:co#80:li#24:ug#0:sg#0:bs:pt:sr=\EM:\
> +	:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:mb=\E[5p:me=\E[p:\
> +	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:if=/usr/share/lib/tabset/vt100:\
> +	:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kh=\E[f:kb=^H:cr=^M:\
> +	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
> +	:HL=^AP\r:\
> +	:IS=\E[_at_:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
> +	:k1=^A_at_\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
> +	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
> +	:k9=^AH\r:k0=^AI\r:kA=^AJ\r:kB=^AK\r:\
> +	:kC=^AL\r:kD=^AM\r:kE=^AN\r:kF=^AO\r:\
> +	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
> +	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
> +	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
> +	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:\
> +	:po=\E[5i:pf=\E[4i:
> +# end altos5 termcap
> +#
>  # The tab 132 uses xon/xoff, so no padding needed.
>  # ks/ke have nothing to do with arrow keys.
>  # is sets 80 col mode, normal video, autowrap on (for am).

> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


-- 
Thomas E. Dickey <dickey_at_invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Received on Tue Jun 07 2016 - 06:49:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC