X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Flegacy_coding.3x;h=42c3dd6469e48c2c402525487c400e48da7a663f;hp=42c49fe5e96c546cf563430b5d42cf4166ef9a73;hb=493e2f7b3fc309879f561a094fdfc15e5304b3d6;hpb=f70db18a0c3c6a828d8a5999be37239f01c9d98a diff --git a/man/legacy_coding.3x b/man/legacy_coding.3x index 42c49fe5..42c3dd64 100644 --- a/man/legacy_coding.3x +++ b/man/legacy_coding.3x @@ -1,5 +1,6 @@ .\"*************************************************************************** -.\" Copyright (c) 2005,2006 Free Software Foundation, Inc. * +.\" Copyright 2020,2021 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.3 2006/12/24 15:12:55 tom Exp $ +.\" $Id: legacy_coding.3x,v 1.9 2021/08/15 19:32:05 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 +\fBint use_legacy_coding(int \fP\fIlevel\fP\fB);\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. @@ -71,12 +70,6 @@ It was not supported on Version 7, BSD or System V implementations. It is recommended that any code depending on ncurses extensions be conditioned using NCURSES_VERSION. .SH SEE ALSO -\fBunctrl\fR. +\fBunctrl\fR(3X). .SH AUTHOR Thomas Dickey (to support lynx's font-switching feature). -.\"# -.\"# The following sets edit modes for GNU EMACS -.\"# Local Variables: -.\"# mode:nroff -.\"# fill-column:79 -.\"# End: