X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Flegacy_coding.3x;h=b3d7b41e7526fd11fda0784ea3b5846e940b0b3d;hp=b8b0561072a65219574c36c56f016f9917f6f518;hb=97cb42f22c43eb31a4bf11475bd73ab0e0b10923;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/man/legacy_coding.3x b/man/legacy_coding.3x index b8b05610..b3d7b41e 100644 --- a/man/legacy_coding.3x +++ b/man/legacy_coding.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 2005,2006 Free Software Foundation, Inc. * +.\" Copyright (c) 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 +28,16 @@ .\" .\" Author: Thomas E. Dickey .\" -.\" $Id: legacy_coding.3x,v 1.2 2006/02/25 21:50:01 tom Exp $ +.\" $Id: legacy_coding.3x,v 1.6 2017/03/15 08:14:25 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. @@ -50,7 +48,7 @@ The \fIlevel\fP parameter controls the result: .TP 5 0 the library functions normally, -rendering nonprinting characters as described in \fBunctrl\fP(3X). +rendering nonprinting characters as described in \fBunctrl\fP. .TP 1 the library ignores \fBisprintf\fP for codes in the range 160-255. @@ -74,9 +72,3 @@ be conditioned using NCURSES_VERSION. \fBunctrl\fR. .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: