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

search text in:





Poll
Which screen resolution do you use?










poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

101569

userrating:

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


May 25th. 2007:
Words

486

Views

216547

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:

97389

userrating:

average rating: 1.3 (28 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


Please read "Why adblockers are bad".



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2017 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
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: 3.8 ms