X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Flegacy_coding.3x;h=ff951d67b6ad6675417edabe6961d1b65e1f2641;hp=fabb607a572ea511a688d1dc7e46b04761b15f6e;hb=349761f30e7fc0b4bf2718f7fc3da34e09ea6735;hpb=96d6b16de0d487e5d3aed0302a179dbce11b5d96 diff --git a/man/legacy_coding.3x b/man/legacy_coding.3x index fabb607a..ff951d67 100644 --- a/man/legacy_coding.3x +++ b/man/legacy_coding.3x @@ -1,5 +1,6 @@ .\"*************************************************************************** -.\" Copyright (c) 2005-2006,2010 Free Software Foundation, Inc. * +.\" Copyright 2020 Thomas E. Dickey * +.\" Copyright 2005-2016,2017 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -28,18 +29,16 @@ .\" .\" Author: Thomas E. Dickey .\" -.\" $Id: legacy_coding.3x,v 1.4 2010/12/04 18:49:20 tom Exp $ +.\" $Id: legacy_coding.3x,v 1.7 2020/02/02 23:34:34 tom Exp $ .TH legacy_coding 3X "" .SH NAME -\fBuse_legacy_coding\fR \- use terminal's default colors +\fBuse_legacy_coding\fR \- override locale-encoding checks .SH SYNOPSIS \fB#include \fP .sp \fBint use_legacy_coding(int level);\fP .SH DESCRIPTION -The -.I use_legacy_coding() -function is an extension to the curses library. +The \fBuse_legacy_coding\fP function is an extension to the curses library. It allows the caller to change the result of \fBunctrl\fP, and suppress related checks within the library that would normally cause nonprinting characters to be rendered in visible form.