📄 nutmeg.0
字号:
alias [word] [text ...] Causes word to be aliased to text. History substitu- tions may be used, as in C-shell aliases. unalias [word ...] Removes any aliases present for the words. history [number] Print out the history, or the last number commands typed at the keyboard. _N_o_t_e: in version 3a7 and ear- lier, all commands (including ones read from files) were saved. set [word] [word = value] ... Set the value of word to be value, if it is present. You can set any word to be any value, numeric or string. If no value is given then the value is the boolean 'true'. The value of _w_o_r_d may be inserted into a command by writing $_w_o_r_d. If a variable is set to a list of values that are enclosed in parentheses (which must be seperated from their values by white space), the value of the variable is the list. The variables meaningful to nutmeg (of which there are too many) are: abstol The absolute tolerance used by the diff com- mand. appendwrite Append to the file when a write command is issued, if one already exists. color_N These variables determine the colors used, if X is being run on a color display. _N may 7NUTMEG(1) 27 April 1987 be between 0 and 15. Color 0 is the back- ground, color 1 is the grid and text color, and colors 2 through 15 are used in order for vectors plotted. The value of the color variables should be names of colors, which may be found in the file /usr/lib/rgb.txt. combplot Plot vectors by drawing a vertical line from each point to the X-axis, as opposed to joining the points. Note that this option is subsumed in the _p_l_o_t_t_y_p_e option, below. cpdebug Print _c_s_h_p_a_r debugging information. (Must be complied with the -DCPDEBUG flag.) debug If set then a lot of debugging information is printed. (Must be compiled with the -DFTEDEBUG flag.) device The name (/dev/tty??) of the graphics dev- ice. If this variable isn't set then the user's terminal is used. To do plotting on another monitor you will probably have to set both the device and term variables. (If device is set to the name of a file, nutmeg will dump the graphics control codes into this file -- this is useful for saving plots.) echo Print out each command before it is exe- cuted. filetype This can be either ascii or binary, and determines what the format of _r_a_w_f_i_l_e_s will be. The default is ascii. fourgridsize How many points to use for interpolating into when doing fourier analysis. gridsize If this variable is set to an integer, this number will be used as the number of equally spaced points to use for the Y-axis when plotting. Otherwise the current scale will be used (which may not have equally spaced827 April 1987 NUTMEG(1) points). If the current scale isn't strictly monotonic, then this option will have no effect. hcopydev If this is set, when the hardcopy command is run the resulting file is automatically printed on the printer named hcopydev with the command _l_p_r -_Phcopydev -_g file. hcopydevtype This variable specifies the type of the printer output to use in the hardcopy com- mand. If hcopydevtype is not set, plot (5) format is assumed. The standard distribu- tion currently recognizes postscript as an alternative output format. When used in conjunction with hcopydev, hcopydevtype should specify a format supported by the printer. height The length of the page for asciiplot and print col. history The number of events to save in the history list. nfreqs The number of frequencies to compute in the fourier command. (Defaults to 10.) nobreak Don't have asciiplot and print col break between pages. noasciiplotvalue Don't print the first vector plotted to the left when doing an asciiplot. noclobber Don't overwrite existing files when doing IO redirection. noglob Don't expand the global characters `*', `?', `[', and `]'. This is the default. nogrid Don't plot a grid when graphing curves (but do label the axes). 9NUTMEG(1) 27 April 1987 nomoremode If nomoremode is not set, whenever a large amount of data is being printed to the screen (e.g, the print or asciiplot com- mands), the output will be stopped every screenful and will continue when a carriage return is typed. If nomoremode is set then data will scroll off the screen without hesitation. nonomatch If noglob is unset and a global expression cannot be matched, use the global characters literally instead of complaining. nosort Don't have display sort the variable names. noprintscale Don't print the scale in the leftmost column when a print col command is given. numdgt The number of digits to print when printing tables of data (fourier, print col). The default precision is 6 digits. On the VAX, approximately 16 decimal digits are avail- able using double precision, so numdgt should not be more than 16. If the number is negative, one fewer digit is printed to ensure constant widths in tables. plottype This should be one of _n_o_r_m_a_l, _c_o_m_b, or _p_o_i_n_t:chars. _n_o_r_m_a_l, the default, causes points to be plotted as parts of connected lines. _c_o_m_b causes a comb plot to be done (see the description of the _c_o_m_b_p_l_o_t vari- able above). _p_o_i_n_t causes each point to be plotted seperately - the chars are a list of characters that will be used for each vector plotted. If they are omitted then a default set is used. polydegree The degree of the polynomial that the plot command should fit to the data. If _p_o_l_y_d_e_- _g_r_e_e is N, then nutmeg will fit a degree N polynomial to every set of N points and draw 10 intermediate points in between each end- point. If the points aren't monotonic, then it will try rotating the curve and reducing1027 April 1987 NUTMEG(1) the degree until a fit is achieved. polysteps The number of points to interpolate between every pair of points available when doing curve fitting. The default is 10. (This should really be done automatically.) program The name of the current program (_a_r_g_v[_0]). prompt The prompt, with the character `!' replaced by the current event number. rawfile The default name for rawfiles created. reltol The relative tolerance used by the diff com- mand. rhost The machine to use for remote SPICE-3 runs, instead of the default one. (See the description of the rspice command, below.) rprogram The name of the remote program to use in the rspice command. slowplot Stop between each graph plotted and wait for the user to type return before continuing. sourcepath A list of the directories to search when a source command is given. The default is the current directory and the standard spice library (/_u_s_r/_l_o_c_a_l/_l_i_b/_s_p_i_c_e, or whatever LIBPATH is #defined to in the source. spicepath The program to use for the aspice command. The default is /cad/bin/spice. term The _m_f_b name of the current terminal. units If this is degrees, then all the trig func- tions will use degrees instead of radians. 11NUTMEG(1) 27 April 1987 unixcom If a command isn't defined, try to execute it as a UNIX command. Setting this option has the effect of giving a rehash command, below. This is useful for people who want to use nutmeg as a login shell. verbose Be verbose. This is midway between echo and debug / cpdebug. vntol The absolute voltage tolerance used by the diff command. width The width of the page for asciiplot and print col. xbrushheight The height of the brush to use if X is being run. xbrushwidth The width of the brush to use if X is being run. xfont The name of the X font to use when plotting data and entering labels. The plot may not look entirely great if this is a variable- width font. unset [word] ... Unset the variables word. shift [varname] [number] If _v_a_r_n_a_m_e is the name of a list variable, it is shifted to the left by _n_u_m_b_e_r elements. (I.e, the _n_u_m_b_e_r leftmost elements are removed.) The default _v_a_r_n_a_m_e is argv, and the default _n_u_m_b_e_r is 1. rusage [resource ...] Print resource usage statistics. If any resources are given, just print the usage of that resource. Currently valid resources are: elapsed The amount of time elapsed since the last rusage elaped call. faults1227 April 1987 NUTMEG(1) Number of page faults and context switches (BSD only). space Data space used. time CPU time used so far. everything All of the above. cd [directory] Change the current working directory to directory, or to the user's home directory if none is given. aspice [output-file] Start a SPICE-3 run, and when it is finished load the data. The raw data is kept in a temporary file. If _o_u_t_p_u_t-_f_i_l_e is specified then the diagnostic output is directed into that file, otherwise it is thrown away. jobs Report on the asynchronous SPICE-3 jobs currently running. Nutmeg checks to see if the jobs are finished every time you execute a command. If it is done then the data is loaded and becomes available. rspice [input file] Runs a SPICE-3 remotely taking the input file as a SPICE-3 input deck, or the current circuit if no argument is given. Nutmeg waits for the job to complete, and passes output from the remote job to the user's standard output. When the job is finished the data is loaded in as with aspice. If the variable _r_h_o_s_t is set, nutmeg will connect to this host instead of the default remote
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -