X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fncurses.3x;h=df709418e64e3aeaa5f7cfd45bc208652a53b550;hp=0c0c2ef39747762071c7600f03e82c282b6ed6e4;hb=0948e2c7ac34642a1f8a3a85000933bcbb258cff;hpb=ef2d99350e0d3e4606171b5b1466ab92ec440205 diff --git a/man/ncurses.3x b/man/ncurses.3x index 0c0c2ef3..df709418 100644 --- a/man/ncurses.3x +++ b/man/ncurses.3x @@ -1,6 +1,6 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1998-2012,2013 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2013,2014 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 * @@ -27,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: ncurses.3x,v 1.115 2014/03/08 22:07:02 tom Exp $ +.\" $Id: ncurses.3x,v 1.119 2014/08/09 20:54:30 tom Exp $ .hy 0 .TH ncurses 3X "" .ie \n(.g .ds `` \(lq @@ -898,7 +898,7 @@ your terminal driver may not handle these properly. Set this environment variable to disable the feature. You can also adjust your \fBstty\fP settings to avoid the problem. .TP 5 -NCURSES_NO_MAGIC_COOKIES +NCURSES_NO_MAGIC_COOKIE Some terminals use a magic-cookie feature which requires special handling to make highlighting and other video attributes display properly. You can suppress the highlighting entirely for these terminals by @@ -1021,6 +1021,21 @@ file \fBtrace\fR to the current directory. TERM Denotes your terminal type. Each terminal type is distinct, though many are similar. +.IP +\fBTERM\fP is commonly set by terminal emulators to help +applications find a workable terminal description. +Some of those choose a popular approximation, e.g., +\*(``ansi\*('', \*(``vt100\*('', \*(``xterm\*('' rather than an exact fit. +Not infrequently, your application will have problems with that approach, +e.g., incorrect function-key definitions. +.IP +If you set \fBTERM\fP in your environment, +it has no effect on the operation of the terminal emulator. +It only affects the way applications work within the terminal. +Likewise, as a general rule (\fBxterm\fP being a rare exception), +terminal emulators which allow you to +specify \fBTERM\fP as a parameter or configuration value do +not change their behavior to match that setting. .TP 5 TERMCAP If the \fBncurses\fR library has been configured with \fItermcap\fR