atarijookie / ce-atari

Official repository for Cosmos Ex software
http://joo.kie.sk/?page_id=384
34 stars 9 forks source link

VT-52 support in CE_CONF console #148

Open miniupnp opened 7 years ago

miniupnp commented 7 years ago

I'm playing a bit with the linux console in CE_CONF and noticed issues when editing the command line. using left arrow then backspace produce strange things

I then noticed that TERM env variable is set to "linux" and not "vt-52" is that a reason for that ?

once TERM is set to vt-52, things works better !

miniupnp commented 7 years ago

according to https://en.wikipedia.org/wiki/VT52 the Atari terminal support extensions However no extended "st" or "tw52" are in the terminfo db of my Yocto RPi. On my FreeBSD, there is "ST" in termcap ;)

# From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
ST|atari st:\
        :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:li#25:nd=\EC:\
        :pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:\
        :do=\EB:\
        :so=\Ep:se=\Eq:dl=\EM:al=\EL:am:
mikrosk commented 7 years ago

Great catch! "tw52" (and "tw100") are TosWin2 extensions (terminal emulation app for the ST/Falcon on FreeMiNT).

miniupnp commented 7 years ago

I've added terminfo files for atari and atari-color to my yocto /etc/terminfo

miniupnp commented 7 years ago

Still some issues with colors, b&w is working better :) vim vim-bw

miniupnp commented 7 years ago

is there /etc/termcap in raspbian ?