APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

SCO `Unix, Xenix and ODT General FAQ

© December 2003 Tony Lawrence

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

I have one application that doesn't work with SCO Unix "scoansi"; how can I fix that?

It may use its own termcap or terminfo file, or it may just need to see the terminal as ansi. This trick might work if it has a shell script to start it, add this line to the top:

 [ "$TERM" = "scoansi" ] && TERM="ansi"

That changes TERM to ansi but only if it was set to "scoansi", so it won't affect wyse terminals, etc.

But it may also be that SCO changed the definition between releases - As of 5.0.6, you also change the console driver configuration with "mkdev scoansi".

You can configure the terminal types to revert to their former behavior, allowing remote logins to use the scoansi type for old behavior or scoansi-new for the new.

The options are:

Use new (5.0.6 and later) terminal database entries
Use old (pre 5.0.6) terminal database entries
Use new (5.0.6 and later) in-kernel scoansi emulator
Use old (pre 5.0.6) in-kernel scoansi emulator (backwards compatibility mode)

Before 5.0.6, "scoansi" and "ansi" were the same. In 5.0.6 and later, they are not.

You might fix this with "mapchan" also; see Graphical characters don't work

See My ANSI terminal emulator doesn't work correctly and Where can I get a Linux terminfo for "scoansi" or vice-versa ?.

See the article here on Termcap and Terminfo also.

Filepro: add " -m scoansi:ansi" to the tset line in .profile files.

Here is "ansi" from a working Filepro SCO 5.0.7 system:

ln|ansi-nam|ansinam|Ansi standard crt without automargin:\

This is the filepro /app/fp/termcap for ansi

li|ansi|Ansi standard crt (Unix/Xenix 286/386 console):\
	:L0=F1:L1=F2:L2=F3:L3=F4:L4=ESC ESC:L5=F5:\

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> scoansi emulation SCO Unix 5.0.6 and 5.0.7

More Articles by © Tony Lawrence

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

While modern technology has given people powerful new communication tools, it apparently can do nothing to alter the fact that many people have nothing useful to say. (Leo Gomes)



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode