Re: Telnet from Linux to SCO OpenServer 5.0.6

From: pierreforget (member28669_at_dbforums.com)
Date: 04/30/03


Date: Wed, 30 Apr 2003 00:39:30 +0000


Hi,

I tred echo -e "\033(U" on the Linux box. Once telnetted to the SCO box,
I tried mapchan -n. Then I tried ech0 "\033" and it gave me a U instead
of a top left corner.

By the way, I am working in a text console. I could not try the
application from there, because I was logged as root. To get the
application running, I have to logon with an automated script which
doesn't ask for a password. It jumps directly to the application, so I
can't use mapchan -n from there.

I will look in the login scripts to see how I can bypass it.

I found another application (which is not used, but with a similar
config) init file, and here is an excerpt:

case $TERM in

    vt* ) mapchan -f ${LOCAL}/etc/francais.dec # french accents

           stty erase '^?' # fix backspace
           stty intr '^X' # fix interrupt

           alias e32=${SYNEDT}/e32.syn
           alias ked=e32
           alias KED=e32

           PATH=$PATH:${SYNEDT}

           export SNHDIR E32CMD
           SNHDIR=${SYNEDT}
           E32CMD=/border
# programme cle SHIFT-F6 pour SOPA_
           cat /u/vigie/exe/KEYF6
           ;;

   ansi ) mapchan -f ${LOCAL}/etc/francais.ibm
           mapstr ${LOCAL}/etc/strings.ibm
                setcolor cyan
           stty erase '^H' # fix backspace
           stty intr '^X' # fix interrupt
        setkey 18 SOPA_
           ;;
esac

Thanks for the help!

Pierre Forget

--
Posted via http://dbforums.com