#include "config.h"#include "vi.h"#include "ctype.h"Include dependency graph for opts.c:

Go to the source code of this file.
Defines | |
| #define | NULL (char *)0 |
| #define | MAXWIDTH 20 |
| #define | BOOL 0 |
| #define | NUM 1 |
| #define | STR 2 |
| #define | SET 0x01 |
| #define | CANSET 0x02 |
| #define | RCSET 0x06 |
| #define | NOSAVE 0x0a |
| #define | WSET 0x20 |
| #define | MR 0x40 |
Functions | |
| char * | getenv () |
| void | initopts () |
| void | dumpopts (int all) |
| void | saveopts (int fd) |
| void | setopts (char *assignments) |
Variables | |
| char | o_autoindent [1] = {FALSE} |
| char | o_autoprint [1] = {TRUE} |
| char | o_autotab [1] = {TRUE} |
| char | o_autowrite [1] = {FALSE} |
| char | o_columns [3] = {80, 32, 255} |
| char | o_directory [30] = TMPDIR |
| char | o_edcompatible [1] = {FALSE} |
| char | o_equalprg [80] = {"fmt"} |
| char | o_errorbells [1] = {TRUE} |
| char | o_exrefresh [1] = {TRUE} |
| char | o_ignorecase [1] = {FALSE} |
| char | o_keytime [3] = {1, 0, 50} |
| char | o_keywordprg [80] = {KEYWORDPRG} |
| char | o_lines [3] = {25, 2, 96} |
| char | o_list [1] = {FALSE} |
| char | o_number [1] = {FALSE} |
| char | o_readonly [1] = {FALSE} |
| char | o_remap [1] = {TRUE} |
| char | o_report [3] = {5, 1, 127} |
| char | o_scroll [3] = {12, 1, 127} |
| char | o_shell [60] = SHELL |
| char | o_shiftwidth [3] = {8, 1, 255} |
| char | o_sidescroll [3] = {8, 1, 40} |
| char | o_sync [1] = {NEEDSYNC} |
| char | o_tabstop [3] = {8, 1, 40} |
| char | o_term [30] = "?" |
| char | o_flash [1] = {TRUE} |
| char | o_warn [1] = {TRUE} |
| char | o_wrapscan [1] = {TRUE} |
| char | o_beautify [1] = {FALSE} |
| char | o_exrc [1] = {FALSE} |
| char | o_mesg [1] = {TRUE} |
| char | o_more [1] = {TRUE} |
| char | o_novice [1] = {FALSE} |
| char | o_prompt [1] = {TRUE} |
| char | o_taglength [3] = {0, 0, 30} |
| char | o_terse [1] = {FALSE} |
| char | o_window [3] = {0, 1, 24} |
| char | o_wrapmargin [3] = {0, 0, 255} |
| char | o_writeany [1] = {FALSE} |
| char | o_cc [30] = {CC_COMMAND} |
| char | o_make [30] = {MAKE_COMMAND} |
| char | o_charattr [1] = {FALSE} |
| char | o_digraph [1] = {FALSE} |
| char | o_flipcase [80] |
| char | o_hideformat [1] = {FALSE} |
| char | o_inputmode [1] = {FALSE} |
| char | o_ruler [1] = {FALSE} |
| char | o_magic [1] = {TRUE} |
| char | o_modelines [1] = {FALSE} |
| char | o_paragraphs [30] = "PPppIPLPQP" |
| char | o_sections [30] = "NHSHSSSEse" |
| char | o_showmatch [1] = {FALSE} |
| char | o_smd [1] = {FALSE} |
| struct { | |
| char * f_name | |
| FILE * f_fp | |
| int f_type | |
| char * word | |
| int type | |
| int val | |
| char * name | |
| CMD code | |
| void(* fn )() | |
| ARGT argt | |
| char * name | |
| char * nm | |
| char type | |
| char flags | |
| char * value | |
| const char * name | |
| signed char fat_bits | |
| int tracks | |
| unsigned short heads | |
| unsigned short sectors | |
| device_t * dev | |
| int nr_partitions | |
| int free_regions | |
| int used_regions | |
| int sectors | |
| int nr_regions | |
| int biosdrive | |
| region_t regions [NR_REGIONS] | |
| int this_month | |
| int feb | |
| int sept | |
| int days_in_month | |
| int dow_first | |
| int o_file | |
| int o_field | |
| WINDOW * win | |
| char erase | |
| char kill | |
| char werase | |
| unsigned baudr | |
| int speedcode | |
| u16_t vendor | |
| u16_t device | |
| } | opts [] |
|
|
Definition at line 128 of file opts.c. Referenced by copy_member(), digits(), fill(), print(), and string_print(). |
|
|
Definition at line 132 of file opts.c. Referenced by initopts(), and saveopts(). |
|
|
|
|
|
|
|
|
Definition at line 134 of file opts.c. Referenced by saveopts(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 131 of file opts.c. Referenced by analyse_input_files(), cdiff(), diff(), dumpopts(), fts_build(), fts_children(), fts_open(), fts_read(), main(), process_command_line(), saveopts(), and update(). |
|
|
|
|
|
|
|
|
Definition at line 342 of file opts.c. References flags, i, j, k, nbuf, ncols, opts, SET, and width. Referenced by cmd_set(). |
|
|
|
|
|
Definition at line 256 of file opts.c. References atoi, CANSET, COLS, FALSE, flags, getenv(), has_VB, i, LINES, o_columns, o_directory, o_flash, o_flipcase, o_lines, o_scroll, o_shell, o_term, o_window, opts, strcmp, strcpy(), termtype, TRUE, and val. Referenced by main(). |
|
|
Definition at line 562 of file opts.c. References CANSET, flags, NOSAVE, opts, pos, and SET. Referenced by cmd_mkexrc(). |
|
|
Definition at line 606 of file opts.c. References j, o_lines, o_window, prefix, and quote(). Referenced by cmd_set(). |
|
|
|
|
|
|
|
|
Definition at line 140 of file opts.c. Referenced by Findnum(), Findparms(), Findscale(), main(), nr_ds(), nr_ft(), nr_rm(), nr_rn(), nr_rr(), nr_tr(), nr_Uf(), Nreq(), and Pass2(). |
|
|
Definition at line 27 of file opts.c. Referenced by cmd_append(), and input(). |
|
|
Definition at line 28 of file opts.c. Referenced by ex(). |
|
|
|
|
|
Definition at line 30 of file opts.c. Referenced by cmd_xit(), and tmpabort(). |
|
|
|
|
|
Definition at line 72 of file opts.c. Referenced by cmd_make(). |
|
|
|
|
|
Definition at line 31 of file opts.c. Referenced by getsize(), initopts(), and m_tocol(). |
|
|
Definition at line 81 of file opts.c. Referenced by digraph(). |
|
|
Definition at line 32 of file opts.c. Referenced by filter(), initopts(), readcutblk(), and tmpstart(). |
|
|
|
|
|
Definition at line 34 of file opts.c. Referenced by v_reformat(). |
|
|
Definition at line 35 of file opts.c. Referenced by beep(). |
|
|
|
|
|
Definition at line 36 of file opts.c. Referenced by exrefresh(). |
|
|
Definition at line 53 of file opts.c. Referenced by beep(), and initopts(). |
|
|
Definition at line 89 of file opts.c. Referenced by initopts(). |
|
|
Definition at line 93 of file opts.c. Referenced by drawtext(), and smartdrawtext(). |
|
|
|
|
|
|
|
|
Definition at line 38 of file opts.c. Referenced by getabkey(). |
|
|
Definition at line 39 of file opts.c. Referenced by v_keyword(). |
|
|
Definition at line 40 of file opts.c. Referenced by getsize(), initopts(), and setopts(). |
|
|
Definition at line 41 of file opts.c. Referenced by adjmove(), drawtext(), idx2col(), m_tocol(), and smartdrawtext(). |
|
|
Definition at line 102 of file opts.c. Referenced by cmd_substitute(), cmd_tag(), gettoken(), and regsub(). |
|
|
Definition at line 73 of file opts.c. Referenced by cmd_make(). |
|
|
|
|
|
Definition at line 106 of file opts.c. Referenced by do_modelines(). |
|
|
Definition at line 61 of file opts.c. Referenced by getabkey(). |
|
|
|
|
|
Definition at line 42 of file opts.c. Referenced by drawtext(), mark2phys(), and nudgecursor(). |
|
|
Definition at line 110 of file opts.c. Referenced by m_paragraph(). |
|
|
Definition at line 63 of file opts.c. Referenced by ex(). |
|
|
Definition at line 43 of file opts.c. Referenced by main(), tmpsave(), and tmpstart(). |
|
|
Definition at line 44 of file opts.c. Referenced by getabkey(). |
|
|
|
|
|
Definition at line 98 of file opts.c. Referenced by fillkeybuf(). |
|
|
Definition at line 46 of file opts.c. Referenced by initopts(), and m_scroll(). |
|
|
Definition at line 111 of file opts.c. Referenced by m_paragraph(). |
|
|
Definition at line 47 of file opts.c. Referenced by cmd_shell(), initopts(), rpipe(), and system(). |
|
|
|
|
|
|
|
|
Definition at line 49 of file opts.c. Referenced by mark2phys(). |
|
|
Definition at line 123 of file opts.c. Referenced by fillkeybuf(). |
|
|
|
|
|
Definition at line 51 of file opts.c. Referenced by adjmove(), cmd_shift(), drawtext(), idx2col(), m_tocol(), and smartdrawtext(). |
|
|
|
|
|
Definition at line 52 of file opts.c. Referenced by initopts(), and main(). |
|
|
|
|
|
Definition at line 54 of file opts.c. Referenced by cmd_shell(), m_bsrch(), m_fsrch(), and v_keyword(). |
|
|
Definition at line 66 of file opts.c. Referenced by initopts(), main(), and setopts(). |
|
|
Definition at line 67 of file opts.c. Referenced by input(). |
|
|
|
|
|
Definition at line 68 of file opts.c. Referenced by tmpsave(). |
|
|
Referenced by dumpopts(), initopts(), and saveopts(). |
|
|
|
|
|
|
1.4.6