Re: OSR6 Console emulation woes

From: Dan Sadaka (SLEELS_at_DD.COM)
Date: 09/30/05


Date: Fri, 30 Sep 2005 12:12:50 -0400

jboland@sco.com wrote:

> dsSDF AEW wrote:
>
>>Hello everyone,
>>
>>As we all know by now, OSR6 went and changed the emulation at the
>>console in OSR6. We lost our scoansi.
>
>
> Dan,
>
> Yes, the console behaviour has changed. No, scoansi as a TERM type is
> still offered but not for the OSR6 console. You can still login from
> any scoansi based terminal or emulator (scoterm on OSR6, OSR5 console
> etc) and use scoansi.
>
>
>>We also lost our ability to print line draw graphics characters. I have
>>a client runnning a filepro app. The app was about 50% usable with the
>>AT386-ie emulation so we set the TERM variable to ansi.
>
>
> Please note that this is down to a badly behaved application. The
> application is hardwired to scoansi from your description.
>
>
>>Things improved quite a bit however we still get the foreign diacritical
>>chars where nice lines are supposed to appear. On 5.0.x we always did a
>>mapchan -n to fix this, which no longer works.
>>
>>Suggestions anyone?
>
>
> Try the following script (written by Doug Ritchie) to switch to/from
> ansi on the console to see if this helps.
>
> John
>
> #!/bin/sh
> # Switch the terminal emulation for the console from the default
> # "at386-ie" to "ansi", or vice versa
> #
> # NOTE: not for use with non-US keyboards!
>
> case "$1" in
> ansi)
> # change console term type
> defadm coterm TERM=ansi
> sed -e 's/^at386-ie/ansi/' < /etc/ttytype > /etc/ttytype.$$
> cp /etc/ttytype.$$ /etc/ttytype
> rm -f /etc/ttytype.$$
>
> # change console font
> defadm cofont COFONT=pc850
>
> # remap function keys
> [ -f /usr/lib/keyboard/strings.d/at386-ie ] || \
> cp /usr/lib/keyboard/strings
> /usr/lib/keyboard/strings.d/at386-ie
> cp -f /usr/lib/keyboard/strings.d/ansi /usr/lib/keyboard/strings
> ;;
>
> at386*)
> # change console term type
> defadm coterm TERM=at386-ie
> sed -e 's/^ansi/at386-ie/' < /etc/ttytype > /etc/ttytype.$$
> cp /etc/ttytype.$$ /etc/ttytype
> rm -f /etc/ttytype.$$
>
> # change console font
> defadm cofont COFONT=8859-1
>
> # remap function keys
> cp -f /usr/lib/keyboard/strings.d/at386-ie
> /usr/lib/keyboard/strings
> ;;
> esac
>
> /sbin/loadfont
> mapstr
>

Thanks-a-lot, John. That worked, once we figured out we had to run
mapstr on each terminal.

-D



Relevant Pages

  • Re: OSR6 Console emulation woes
    ... We lost our scoansi. ... | AT386-ie emulation so we set the TERM variable to ansi. ... FilePro works perfectly well on the console virtual ... I the case of X or anincom ing TCP connection, scoansi is used just as ...
    (comp.unix.sco.misc)
  • Re: OSR6 Console emulation woes
    ... > console in OSR6. ... the console behaviour has changed. ... scoansi as a TERM type is ... > AT386-ie emulation so we set the TERM variable to ansi. ...
    (comp.unix.sco.misc)
  • Re: Redirection2
    ... in reply of the original "Redirection" thread which I lost it: ... The console API is rather large. ... No No I don't want to create the console app. ...
    (microsoft.public.vb.general.discussion)
  • Re: Display Problems
    ... > Ctrl-Alt-Fwill get a console. ... Log in as root, give the root password, ... > "Lost? ... now im having trouble with the configuration utilities. ...
    (alt.os.linux.suse)
  • Re: Display Problems
    ... There is no need to reboot to get to init 3. ... Ctrl-Alt-Fwill get a console. ... Log in as root, give the root password, ... "Lost? ...
    (alt.os.linux.suse)