APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > FAQ > scoansi emulation SCO 5.0.6 and 5.0.7
Printer Friendly Version




SCO Unix ® FAQ section

Unix, Xenix and ODT General FAQ



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 Desktop or Openserver.

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 "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:


ansic:CT:tc=ansi:
ln|ansi-nam|ansinam|Ansi standard crt without automargin:\
	:al=\E[L:bs:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:co#80:\
	:dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ei=:ho=\E[H:ic=\E[@:im=:li#25:\
	:nd=\E[C:pt:so=\E[7m:se=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=\E[S:PE=\E[T:PG=^Z:PH=\E[U:PJ=\E[V:
 
If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?




More Articles by Tony Lawrence - Find me on Google+



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Auto FTP Manager

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

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. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




 I sell and support
 Kerio Mail server
pavatar.jpg

This post tagged:

       - SCO_OSR5
       - Terminals




Unix/Linux Consultants

Skills Tests

Guest Post Here