from small one page howto to huge articles all in one place
 

search text in:





Poll
Which kernel version do you use?





poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

196714

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252324

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

141294

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





legacy_coding

Section: Miscellaneous Library Functions (3X)
Updated:
Index Return to Main Contents
 

NAME

use_legacy_coding - use terminal's default colors  

SYNOPSIS

#include <curses.h>

int use_legacy_coding(int level);  

DESCRIPTION

The use_legacy_coding() function is an extension to the curses library. It allows the caller to change the result of unctrl, and suppress related checks within the library that would normally cause nonprinting characters to be rendered in visible form. This affects only 8-bit characters.

The level parameter controls the result:

0
the library functions normally, rendering nonprinting characters as described in unctrl.
1
the library ignores isprintf for codes in the range 160-255.
2
the library ignores isprintf for codes in the range 128-255. It also modifies the output of unctrl, showing codes in the range 128-159 as is.
 

RETURN VALUE

If the screen has not been initialized, or the level parameter is out of range, the function returns ERR. Otherwise, it returns the previous level: 0, 1 or 2.  

PORTABILITY

This routine is specific to ncurses. 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.  

SEE ALSO

unctrl.  

AUTHOR

Thomas Dickey (to support lynx's font-switching feature).


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
PORTABILITY
SEE ALSO
AUTHOR





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 28.1 ms