Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setlocale(3v)

ctype(3)

install_ctable(1)  —  USER COMMANDS

NAME

install_ctable − utility to fix broken "C" locale file. 

SYNOPSIS

install_ctable

DESCRIPTION

The file /usr/share/lib/locale/LC_CTYPE/C is broken on SunOS4.1 and SunOS4.1.1, which will prevent setlocale(3v) and the ctype(3) functions from working properly. When a user switches from a non "C" locale back to the "C" locale, certain ctype(3) functions will behave in a wrong fashion.  To fix this problem, run the install_ctable script in $OPENWINHOME/bin.  This script saves the broken C locale file in C.broken, and installs a ’fixed’ C file (using an ASCII character definition table) in it’s place. This script requires OpenWindows to be installed in the directory pointed to by $OPENWINHOME, and has to be run in superuser mode. 

FILES

/usr/share/lib/locale/LC_CTYPE/C
The broken "C" locale file on SunOS4.1 and SunOS4.1.1

/usr/share/lib/locale/LC_CTYPE/C.broken
Where the broken "C" locale file is saved upon running install_ctable

SEE ALSO

setlocale(3v), ctype(3). 

NOTES

Because OpenWindows and the operating system software have different schedule/delivery dates, this fix is not from the OS group but from the OpenWindows team.  As such, the future fix/patch for SunOS4.1 or SunOS4.1.1, if any, might not be identical to the fix provided with OpenWindows. 

Sun Release 4.1  —  Last change: 24 July 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026