TUI Emulation

Started by Gary C., August 16, 2011, 09:11:55 PM

Previous topic - Next topic

Gary C.

Hi

I have a requirement to deploy some Genero applications in TUI mode. The users will be warehouse operatives using handheld mobile wireless devices running Windows CE and a copy of the emulator TTWin CE will be used to create a telnet session to a Linux server to run the applications.

Historically we have used Wyse emulation (we used to use the physical terminals) but I cannot get this to work satisfactorily with Genero. No matter what type of emulation I choose (Wyse, VT100/220, Linux) I have issues around padding, the borders and function keys - the only one I have not tried is xterm as the emulator does not provide it. On the Linux side I am setting the TERM variable as required.

I was just wondering if anyone else has had any experience of a similar set up and could offer any advice.

Thanks

Gary






Dave T.

Hi Gary,

We have used Genero in TUI mode for years. Xterm emulation with Putty running on AIX Servers.

I'll sent you our termcap/terminfo files, drop me an email (dave.tobin@reece.com.au)

Cheers

Dave


Stephen M.

Hello Gary

We have recently upgraded a Four J's text based application that runs on RF PDE/PDT's to Genero using TUI mode.
I have no idea what the make/model of the RF devices are, the Unix servers are Solaris 8 / 10 boxes, the TERM=wang.
The termcap entry is

s3|wang|televideo-910|wangq| standard set-up:\
         al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:mb=\E[5m:md=\E1m:\
        :co#80:li#24:cl=\E[;H\E[2J:bs:cm=\E[%i%2;%2f:nd=\E[C:up=\E[A:\
        :do=\E[B:ce=\E[K:cd=\E[J:so=\E[7;1m:se=\E[m:us=\E[4m:ue=\E[m:\
        :is=\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
        :if=/usr/lib/tabset/vt100:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
        :GS=:GE=:GH=-:GV=|:G1=+:G2=+:G3=+:G4=+:\
        :NM=\E[1m:AL=\E[22m:\
        :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\
        :k4=\E[16~:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
        :k9=\E[21~:kA=\E[23~:kB=\E[24~:\
        :kZ=':\
        :gs=:ge=:gb=++++-|:\
        :pt:sr=\EM:\
        :l1=<F2>:l2=<F3>:l3=<F4>:l4=<F5>:l5=<F6>:\
        :kh=\E[H:\
        :ZA=\E[0;%?%p1%{0}%=%t1%e%p1%{1}%=%t1%e%p1%{2}%=%t1%e%p1%{3}%=%t1%e%p1%{4}%=%t22%e%p1%{5}%=%t22%e%p1%{6}%=%t22%e%p
1%{7}%=%t22%;%?%p2%t;7;1%e;27%;%?%p3%t;5%e;25%;%?%p4%t;4%e;24%;m


Regards
Stephen

Stephen Manga
Dimension Data

Gary C.

Hi

Thanks for the feedback. I have managed to find a workable solution by setting the emulator to "Linux" and the TERM variable to xterm. Using the standard termcap this seems to work fine.

Regards

Gary