]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/legacy_coding.3x
ncurses 6.4 - patch 20230918
[ncurses.git] / man / legacy_coding.3x
index 32ff783b690b7c1a11e20c74f1da012c7aea59fe..6dfe1bb8c5d400b5fcfa1b8a96faff9bf742a2cb 100644 (file)
@@ -1,5 +1,6 @@
 .\"***************************************************************************
-.\" Copyright (c) 2005-2010,2016 Free Software Foundation, Inc.              *
+.\" Copyright 2020-2022,2023 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            *
 .\"
 .\" Author: Thomas E. Dickey
 .\"
-.\" $Id: legacy_coding.3x,v 1.5 2016/10/15 17:02:31 tom Exp $
-.TH legacy_coding 3X ""
+.\" $Id: legacy_coding.3x,v 1.17 2023/09/16 23:38:39 tom Exp $
+.TH legacy_coding 3X 2023-09-16 "ncurses 6.4" "Library calls"
 .SH NAME
-\fBuse_legacy_coding\fR \- use terminal's default colors
+\fB\%use_legacy_coding\fP \-
+override \fIcurses\fR locale encoding checks
 .SH SYNOPSIS
 \fB#include <curses.h>\fP
 .sp
-\fBint use_legacy_coding(int level);\fP
+\fBint use_legacy_coding(int \fIlevel\fB);\fR
 .SH DESCRIPTION
 The \fBuse_legacy_coding\fP function is an extension to the curses library.
 It allows the caller to change the result of \fBunctrl\fP,
@@ -69,6 +71,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\fP(3X).
 .SH AUTHOR
 Thomas Dickey (to support lynx's font-switching feature).