Re: Telnet from Linux to SCO OpenServer 5.0.6
From: Brian K. White (brian_at_aljex.com)
Date: 04/30/03
- Previous message: Brian K. White: "Re: Telnet from Linux to SCO OpenServer 5.0.6"
- In reply to: pierreforget: "Re: Telnet from Linux to SCO OpenServer 5.0.6"
- Next in thread: pierreforget: "Re: Telnet from Linux to SCO OpenServer 5.0.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 30 Apr 2003 00:17:24 -0400
"pierreforget" <member28669@dbforums.com> wrote in message
news:2822750.1051663170@dbforums.com...
>
> 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.
echo "\033" (number zero, not letter "Oh")
should have only sent a single <esc> (escape) character.
\0332 should have sent some character, mayeb you really did 0332 and only
mis-typed it here?
> 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
ok, the script will detect any $TERM that starts with "vt" and do some
stuff.
as it happens, the linux console is almost just like a "vt220"
so try this for starters, and we'll do something more exact and better
later if this looks encouraging.
since you can't get a chance to execute commands on the sco box when
testing the app, do this on the linux box, before telnetting to sco:
export TERM=vt220
then telnet to sco and try the application.
this should at least behave different if not look & work a lot better.
as I said, more exact steps can follow this one if it looks promising.
-- Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/ +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
- Previous message: Brian K. White: "Re: Telnet from Linux to SCO OpenServer 5.0.6"
- In reply to: pierreforget: "Re: Telnet from Linux to SCO OpenServer 5.0.6"
- Next in thread: pierreforget: "Re: Telnet from Linux to SCO OpenServer 5.0.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|