⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config

📁 Calc Software Package for Number Calc
💻
📖 第 1 页 / 共 3 页
字号:
    use particular bits for special purposes as with "calc_debug", or    they may use it to indicate a debug level with larger values    indicating more stringent and more informative tests with presumably    slower operation or more memory usage, and a particular value (like    -1 or 0) corresponding to "no tests".    By default, "user_debug" is 0.  The initial value may be overridden    by the -D command line option.    =-=    config("verbose_quit", boolean)    The "verbose_quit" controls the print of the message:	quit or abort executed    when a non-interactive quit or abort without an argument is encountered.    A quit of abort without an argument does not display a message when    invoked at the interactive level.    By default, "verbose_quit" is false.    =-=    config("ctrl_d", "ctrl_d_string")    For calc that is using the calc binding (not GNU-readline) facility:	The "ctrl_d" controls the interactive meaning of ^D (Control D):	    "virgin_eof"  If ^D is the only character that has been typed	    "virgineof"	  on a line, then calc will exit.  Otherwise ^D	    "virgin"	  will act according to the calc binding, which	    "default"	  by default is a Emacs-style delete-char.	    "never_eof"	  The ^D never exits calc and only acts according	    "nevereof"	  calc binding, which by default is a Emacs-style	    "never"	  delete-char.	    "empty_eof"	  The ^D always exits calc if typed on an empty line.	    "emptyeof"	  This condition occurs when ^D either the first	    "empty"	  character typed, or when all other characters on			  the line have been removed (say by deleting them).	Where multiple strings are given, the first string listed is what	config("ctrl_d") will return.	Note that config("ctrl_d") actually controls each and every character	that is bound to ``delete_char''.  By default, ``delete_char'' is	Control D.  Any character(s) bound to ``delete_char'' will cause calc	to exit (or not exit) as directed by config("ctrl_d").	See the ``binding'' help for information on the default calc bindings.	The default "ctrl_d", without GNU-readline is "virgin_eof".    For calc that was compiled with the GNU-readline facility:	The "ctrl_d" controls the interactive meaning of ^D (Control D):	    "virgin_eof"  Same as "empty_eof"	    "virgineof"	    "virgin"	    "default"	    "never_eof"	  The ^D never exits calc and only acts according	    "nevereof"	  calc binding, which by default is a Emacs-style	    "never"	  delete-char.	    "empty_eof"	  The ^D always exits calc if typed on an empty line.	    "emptyeof"	  This condition occurs when ^D either the first	    "empty"	  character typed, or when all other characters on	Where multiple strings are given, the first string listed is what	config("ctrl_d") will return.	The default "ctrl_d", with GNU-readline is effectively "empty_eof".	Literally it is "virgin_eof", but since "virgin_eof" is the	same as "empty_eof", the default is effectively "empty_eof".    Emacs users may find the default behavior objectionable, particularly    when using the GNU-readline facility.  Such users may want to add the line:	config("ctrl_d", "never_eof"),;    to their ~/.calcrc startup file to prevent ^D from causing calc to exit.    =-=    config("program")		<== NOTE: This is a read-only config value    The full path to the calc program, or the calc shell script can be    obtained by:	config("program")    This config parameter is read-only and cannot be set.    =-=    config("basename")		<== NOTE: This is a read-only config value    The calc program, or the calc shell script basename can be obtained by:	config("basename")    The config("basename") is the config("program") without any leading    path.  If config("program") has a / in it, config("basename") is    everything after the last /, otherwise config("basename") is the    same as config("program").    This config parameter is read-only and cannot be set.    =-=    config("windows")		<== NOTE: This is a read-only config value    Returns TRUE if you are running on a MS windows system, false if you    are running on an operating system that does not hate you.    This config parameter is read-only and cannot be set.    =-=    config("cygwin")		<== NOTE: This is a read-only config value    Returns TRUE if you calc was compiled with cygwin, false otherwise.    This config parameter is read-only and cannot be set.    =-=    config("compile_custom")	<== NOTE: This is a read-only config value    Returns TRUE if you calc was compiled with -DCUSTOM.  By default,    the calc Makefile uses ALLOW_CUSTOM= -DCUSTOM so by default    config("compile_custom") is TRUE.  If, however, calc is compiled    without -DCUSTOM, then config("compile_custom") will be FALSE.    The config("compile_custom") value is only affected by compile    flags.   The calc -D runtime command line option does not change    the config("compile_custom") value.    See also config("allow_custom").    This config parameter is read-only and cannot be set.    =-=    config("allow_custom")	<== NOTE: This is a read-only config value    Returns TRUE if you custom functions are enabled.  To allow the use    of custom functions, calc must be compiled with -DCUSTOM (which it    is by default) AND calc run be run with the -D runtime command line    option (which it is not by default).    If config("allow_custom") is TRUE, then custom functions are allowed.    If config("allow_custom") is FALSE, then custom functions are not    allowed.    See also config("compile_custom").    This config parameter is read-only and cannot be set.    =-=    config("version")		<== NOTE: This is a read-only config value    The version string of the calc program can be obtained by:	config("version")    This config parameter is read-only and cannot be set.    =-=    config("baseb")		<== NOTE: This is a read-only config value    Returns the number of bits in the fundamental base in which    internal calculations are performed.  For example, a value of    32 means that calc will perform many internal calculations in    base 2^32 with digits that are 32 bits in length.    For libcalc programmers, this is the value of BASEB as defined    in the zmath.h header file.    This config parameter is read-only and cannot be set.    =-=    config("redecl_warn", boolean)    Config("redecl_warn") controls whether or not a warning is issued    when redeclaring variables.    The initial "redecl_warn" value is 1.    =-=    config("dupvar_warn", boolean)    Config("dupvar_warn") controls whether or not a warning is issued    when a variable name collides with an exist name of a higher scope.    Examples of collisions are when:    	* both local and static variables have the same name    	* both local and global variables have the same name    	* both function parameter and local variables have the same name    	* both function parameter and global variables have the same name    The initial "redecl_warn" value is 1.    =-=    config("hz")		<== NOTE: This is a read-only config value    Returns the rate at which the operating system advances the clock    on POSIX based systems.  Returns 0 on non-POSIX based systems.    The non-zero value returned is in Hetrz.    This config parameter is read-only and cannot be set.EXAMPLE    ; current_cfg = config("all");    ; config("tilde", off),;    ; config("calc_debug", 15),;    ; config("all") == current_cfg	0    ; config("all", current_cfg),;    ; config("all") == current_cfg	1    ; config("version")    		"2.12.0"    ; config("all")	mode            "real"	mode2           "off"	display         20	epsilon         0.00000000000000000001	trace           0	maxprint        16	mul2            20	sq2             20	pow2            40	redc2           50	tilde           1	tab             1	quomod          0	quo             2	mod             0	sqrt            24	appr            24	cfappr          0	cfsim           8	outround        24	round           24	leadzero        1	fullzero        0	maxscan         20	prompt          "; "	more            ";; "	blkmaxprint     256	blkverbose      0	blkbase         "hexadecimal"	blkfmt          "hd_style"	resource_debug  3	lib_debug       3	calc_debug      0	user_debug      0	verbose_quit    0	ctrl_d          "virgin_eof"	program         "calc"	basename        "calc"	windows         0	cygwin          0	compile_custom  1	allow_custom    0	version         "2.12.0"	baseb		32	redecl_warn	1	dupvar_warn	1	hz		100    ; display()	20    ; config("display", 50),;    ; display()	50LIMITS    noneLINK LIBRARY     n/aSEE ALSO     usage, custom, custom_cal, usage, epsilon, display## Copyright (C) 1999-2006  Landon Curt Noll#### Calc is open software; you can redistribute it and/or modify it under## the terms of the version 2.1 of the GNU Lesser General Public License## as published by the Free Software Foundation.#### Calc is distributed in the hope that it will be useful, but WITHOUT## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY## or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU Lesser General## Public License for more details.#### A copy of version 2.1 of the GNU Lesser General Public License is## distributed with calc under the filename COPYING-LGPL.  You should have## received a copy with calc; if not, write to Free Software Foundation, Inc.## 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.#### @(#) $Revision: 29.18 $## @(#) $Id: config,v 29.18 2006/12/16 11:14:28 chongo Exp $## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/config,v $#### Under source code control:	1991/07/21 04:37:17## File existed as early as:	1991#### chongo <was here> /\oo/\	http://www.isthe.com/chongo/## Share and enjoy!  :-)	http://www.isthe.com/chongo/tech/comp/calc/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -