#include <errno.h>#include <sys/types.h>#include <fcntl.h>#include "curses.h"#include <signal.h>Include dependency graph for vi.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| union | BLK |
| struct | _viflags |
Defines | |
| #define | VERSION "ELVIS 1.5, by Steve Kirkendall (23 March 1992)" |
| #define | COPYING "This version of ELVIS is freely redistributable." |
| #define | O_BINARY 0 |
| #define | INFINITY 2000000001L |
| #define | LONGKEY 10 |
| #define | MAXRCLEN 1000 |
| #define | MAXBLKS (BLKSIZE / sizeof(unsigned short)) |
| #define | NEWFILE 0x0001 |
| #define | READONLY 0x0002 |
| #define | HADNUL 0x0004 |
| #define | MODIFIED 0x0008 |
| #define | NOFILE 0x0010 |
| #define | ADDEDNL 0x0020 |
| #define | HADBS 0x0040 |
| #define | UNDOABLE 0x0080 |
| #define | NOTEDITED 0x0100 |
| #define | setflag(x, y) viflags.x |= y |
| #define | clrflag(x, y) viflags.x &= ~y |
| #define | tstflag(x, y) (viflags.x & y) |
| #define | initflags() viflags.file = 0; |
| #define | markline(x) (long)((x) / BLKSIZE) |
| #define | markidx(x) (int)((x) & (BLKSIZE - 1)) |
| #define | MARK_UNSET ((MARK)0) |
| #define | MARK_FIRST ((MARK)BLKSIZE) |
| #define | MARK_LAST ((MARK)(nlines * BLKSIZE)) |
| #define | MARK_AT_LINE(x) ((MARK)(x) * BLKSIZE) |
| #define | NMARKS 29 |
| #define | botline (topline + LINES - 2) |
| #define | rightcol (leftcol + COLS - (*o_number ? 9 : 1)) |
| #define | ctrl(ch) ((ch)&037) |
| #define | BeforeAfter(before, after) for((before),bavar=1;bavar;(after),bavar=0) |
| #define | ChangeText BeforeAfter(beforedo(FALSE),afterdo()) |
| #define | DEFAULT(val) if (cnt < 1) cnt = (val) |
| #define | buildmark(text) (MARK)(BLKSIZE * pline + (int)((text) - ptext)) |
| #define | CMD_NULL 0 |
| #define | CMD_ABBR 1 |
| #define | CMD_ARGS 2 |
| #define | CMD_APPEND 3 |
| #define | CMD_AT 4 |
| #define | CMD_BANG 5 |
| #define | CMD_CC 6 |
| #define | CMD_CD 7 |
| #define | CMD_CHANGE 8 |
| #define | CMD_COLOR 9 |
| #define | CMD_COPY 10 |
| #define | CMD_DELETE 11 |
| #define | CMD_DIGRAPH 12 |
| #define | CMD_EDIT 13 |
| #define | CMD_EQUAL 14 |
| #define | CMD_ERRLIST 15 |
| #define | CMD_FILE 16 |
| #define | CMD_GLOBAL 17 |
| #define | CMD_INSERT 18 |
| #define | CMD_JOIN 19 |
| #define | CMD_LIST 20 |
| #define | CMD_MAKE 21 |
| #define | CMD_MAP 22 |
| #define | CMD_MARK 23 |
| #define | CMD_MKEXRC 24 |
| #define | CMD_MOVE 25 |
| #define | CMD_NEXT 26 |
| #define | CMD_NUMBER 27 |
| #define | CMD_PRESERVE 28 |
| #define | CMD_PREVIOUS 29 |
| #define | CMD_PRINT 30 |
| #define | CMD_PUT 31 |
| #define | CMD_QUIT 32 |
| #define | CMD_READ 33 |
| #define | CMD_RECOVER 34 |
| #define | CMD_REWIND 35 |
| #define | CMD_SET 36 |
| #define | CMD_SHELL 37 |
| #define | CMD_SHIFTL 38 |
| #define | CMD_SHIFTR 39 |
| #define | CMD_SOURCE 40 |
| #define | CMD_STOP 41 |
| #define | CMD_SUBAGAIN 42 |
| #define | CMD_SUBSTITUTE 43 |
| #define | CMD_SUSPEND 44 |
| #define | CMD_TR 45 |
| #define | CMD_TAG 46 |
| #define | CMD_UNABBR 47 |
| #define | CMD_UNDO 48 |
| #define | CMD_UNMAP 49 |
| #define | CMD_VERSION 50 |
| #define | CMD_VGLOBAL 51 |
| #define | CMD_VISUAL 52 |
| #define | CMD_WQUIT 53 |
| #define | CMD_WRITE 54 |
| #define | CMD_XIT 55 |
| #define | CMD_YANK 56 |
| #define | NO_FLAGS 0x00 |
| #define | MVMT 0x01 |
| #define | PTMV 0x02 |
| #define | FRNT 0x04 |
| #define | INCL 0x08 |
| #define | LNMD 0x10 |
| #define | NCOL 0x20 |
| #define | NREL 0x40 |
| #define | SDOT 0x80 |
| #define | VIZ 0x100 |
| #define | MODE_EX 1 |
| #define | MODE_VI 2 |
| #define | MODE_COLON 3 |
| #define | MODE_QUIT 4 |
| #define | WHEN_VICMD 1 |
| #define | WHEN_VIINP 2 |
| #define | WHEN_VIREP 4 |
| #define | WHEN_EX 8 |
| #define | WHEN_MSG 16 |
| #define | WHEN_POPUP 32 |
| #define | WHEN_REP1 64 |
| #define | WHEN_CUT 128 |
| #define | WHEN_MARK 256 |
| #define | WHEN_CHAR 512 |
| #define | WHEN_INMV 4096 |
| #define | WHEN_FREE 8192 |
| #define | WHENMASK (WHEN_VICMD|WHEN_VIINP|WHEN_VIREP|WHEN_REP1|WHEN_CUT|WHEN_MARK|WHEN_CHAR) |
Typedefs | |
| typedef long | MARK |
| typedef int | CMD |
Functions | |
| BLK * | blkget () |
| BLK * | blkadd () |
| char * | fetchline () |
| char * | parseptrn () |
| MARK | paste () |
| char * | wildcard () |
| MARK | input () |
| char * | linespec () |
| long | allocate () |
| int | trapint () |
| int | deathtrap () |
| void | blkdirty () |
| void | blkflush () |
| void | blksync () |
| void | blkinit () |
| void | beep () |
| void | exrefresh () |
| void | msg () |
| void | endmsgs () |
| void | garbage () |
| void | redraw () |
| void | resume_curses () |
| void | beforedo () |
| void | afterdo () |
| void | abortdo () |
| int | undo () |
| void | dumpkey () |
| void | mapkey () |
| void | savekeys () |
| void | redrawrange () |
| void | cut () |
| void | delete () |
| void | add () |
| void | change () |
| void | cutswitch () |
| void | do_abbr () |
| void | do_digraph () |
| void | exstring () |
| void | dumpopts () |
| void | setopts () |
| void | saveopts () |
| void | savedigs () |
| void | saveabbr () |
| void | savecolor () |
| void | cutname () |
| void | initopts () |
| void | cutend () |
| MARK | m_updnto () |
| MARK | m_right () |
| MARK | m_left () |
| MARK | m_tocol () |
| MARK | m_front () |
| MARK | m_rear () |
| MARK | m_fword () |
| MARK | m_bword () |
| MARK | m_eword () |
| MARK | m_paragraph () |
| MARK | m_match () |
| MARK | m_sentence () |
| MARK | m_tomark () |
| MARK | m_wsrch () |
| MARK | m_nsrch () |
| MARK | m_Nsrch () |
| MARK | m_fsrch () |
| MARK | m_bsrch () |
| MARK | m__ch () |
| MARK | m_fch () |
| MARK | m_tch () |
| MARK | m_Fch () |
| MARK | m_Tch () |
| MARK | m_row () |
| MARK | m_z () |
| MARK | m_scroll () |
| MARK | adjmove () |
| void | pfetch () |
| char | digraph () |
| void | ex () |
| void | vi () |
| void | doexcmd () |
| void | cmd_append () |
| void | cmd_args () |
| void | cmd_at () |
| void | cmd_cd () |
| void | cmd_color () |
| void | cmd_delete () |
| void | cmd_digraph () |
| void | cmd_edit () |
| void | cmd_errlist () |
| void | cmd_file () |
| void | cmd_global () |
| void | cmd_join () |
| void | cmd_mark () |
| void | cmd_make () |
| void | cmd_map () |
| void | cmd_mkexrc () |
| void | cmd_next () |
| void | cmd_print () |
| void | cmd_put () |
| void | cmd_read () |
| void | cmd_set () |
| void | cmd_shell () |
| void | cmd_shift () |
| void | cmd_source () |
| void | cmd_substitute () |
| void | cmd_tag () |
| void | cmd_undo () |
| void | cmd_version () |
| void | cmd_write () |
| void | cmd_xit () |
| void | cmd_move () |
| MARK | v_1ex () |
| MARK | v_mark () |
| MARK | v_quit () |
| MARK | v_redraw () |
| MARK | v_ulcase () |
| MARK | v_undo () |
| MARK | v_xchar () |
| MARK | v_replace () |
| MARK | v_overtype () |
| MARK | v_selcut () |
| MARK | v_paste () |
| MARK | v_yank () |
| MARK | v_delete () |
| MARK | v_join () |
| MARK | v_insert () |
| MARK | v_change () |
| MARK | v_subst () |
| MARK | v_lshift () |
| MARK | v_rshift () |
| MARK | v_reformat () |
| MARK | v_filter () |
| MARK | v_status () |
| MARK | v_switch () |
| MARK | v_tag () |
| MARK | v_xit () |
| MARK | v_undoline () |
| MARK | v_again () |
| MARK | v_keyword () |
| MARK | v_increment () |
| MARK | v_errlist () |
| MARK | v_at () |
| MARK | v_popup () |
| MARK | v_start () |
Variables | |
| int | errno |
| BLK | hdr |
| _viflags | viflags |
| char | o_autoindent [1] |
| char | o_autoprint [1] |
| char | o_autotab [1] |
| char | o_autowrite [1] |
| char | o_columns [3] |
| char | o_directory [30] |
| char | o_edcompatible [1] |
| char | o_equalprg [80] |
| char | o_errorbells [1] |
| char | o_exrefresh [1] |
| char | o_ignorecase [1] |
| char | o_keytime [3] |
| char | o_keywordprg [80] |
| char | o_lines [3] |
| char | o_list [1] |
| char | o_number [1] |
| char | o_readonly [1] |
| char | o_remap [1] |
| char | o_report [3] |
| char | o_scroll [3] |
| char | o_shell [60] |
| char | o_shiftwidth [3] |
| char | o_sidescroll [3] |
| char | o_sync [1] |
| char | o_tabstop [3] |
| char | o_term [30] |
| char | o_flash [1] |
| char | o_warn [1] |
| char | o_wrapscan [1] |
| char | o_beautify [1] |
| char | o_exrc [1] |
| char | o_mesg [1] |
| char | o_more [1] |
| char | o_novice [1] |
| char | o_prompt [1] |
| char | o_taglength [3] |
| char | o_terse [1] |
| char | o_window [3] |
| char | o_wrapmargin [3] |
| char | o_writeany [1] |
| char | o_cc [30] |
| char | o_make [30] |
| char | o_charattr [1] |
| char | o_digraph [1] |
| char | o_flipcase [80] |
| char | o_hideformat [1] |
| char | o_inputmode [1] |
| char | o_ruler [1] |
| char | o_magic [1] |
| char | o_modelines [1] |
| char | o_paragraphs [30] |
| char | o_sections [30] |
| char | o_showmatch [1] |
| char | o_smd [1] |
| char | U_text [BLKSIZE] |
| long | U_line |
| MARK | mark [NMARKS] |
| MARK | cursor |
| long | origtime |
| char | origname [256] |
| char | prevorig [256] |
| long | prevline |
| int | tmpfd |
| int | tmpnum |
| long | lnum [MAXBLKS] |
| long | nlines |
| char | args [BLKSIZE] |
| int | argno |
| int | nargs |
| long | changes |
| int | significant |
| BLK | tmpblk |
| long | topline |
| int | leftcol |
| int | physcol |
| int | physrow |
| int | exwrote |
| int | doingdot |
| int | doingglobal |
| long | rptlines |
| char * | rptlabel |
| int | wset |
| int | bavar |
| int | plen |
| long | pline |
| long | pchgs |
| char * | ptext |
| int | force_flags |
| int | mode |
| MARK | V_from |
| int | V_linemd |
|
|
|
|
|
|
|
|
Definition at line 242 of file vi.h. Referenced by m_row(), m_scroll(), redraw(), and v_popup(). |
|
|
Definition at line 367 of file vi.h. Referenced by m_bword(), m_eword(), m_fword(), and m_sentence(). |
|
|
Definition at line 308 of file vi.h. Referenced by cmd_append(), cmd_delete(), cmd_global(), cmd_join(), cmd_move(), cmd_put(), cmd_read(), cmd_shift(), filter(), input(), paste(), v_change(), v_delete(), v_increment(), v_insert(), v_overtype(), v_paste(), v_replace(), v_subst(), v_undoline(), and v_xchar(). |
|
|
|
|
|
Definition at line 374 of file vi.h. Referenced by cmd_map(). |
|
|
Definition at line 376 of file vi.h. Referenced by cmd_append(). |
|
|
|
|
|
|
|
|
Definition at line 378 of file vi.h. Referenced by cmd_shell(), and filter(). |
|
|
Definition at line 379 of file vi.h. Referenced by cmd_make(). |
|
|
|
|
|
Definition at line 381 of file vi.h. Referenced by cmd_append(). |
|
|
|
|
|
Definition at line 383 of file vi.h. Referenced by cmd_move(). |
|
|
|
|
|
|
|
|
Definition at line 386 of file vi.h. Referenced by v_switch(). |
|
|
|
|
|
Definition at line 388 of file vi.h. Referenced by v_errlist(). |
|
|
Definition at line 389 of file vi.h. Referenced by cmd_file(), and v_status(). |
|
|
Definition at line 390 of file vi.h. Referenced by cmd_global(). |
|
|
|
|
|
Definition at line 392 of file vi.h. Referenced by v_join(). |
|
|
Definition at line 393 of file vi.h. Referenced by cmd_print(), doSTAT(), and sendfile(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 398 of file vi.h. Referenced by cmd_move(). |
|
|
Definition at line 399 of file vi.h. Referenced by cmd_next(). |
|
|
|
|
|
Definition at line 400 of file vi.h. Referenced by cmd_print(). |
|
|
|
|
|
Definition at line 402 of file vi.h. Referenced by cmd_next(). |
|
|
Definition at line 403 of file vi.h. Referenced by ex(). |
|
|
|
|
|
Definition at line 405 of file vi.h. Referenced by cmd_xit(). |
|
|
Definition at line 406 of file vi.h. Referenced by do_transfer(), and w_timeout(). |
|
|
|
|
|
Definition at line 408 of file vi.h. Referenced by cmd_next(). |
|
|
|
|
|
Definition at line 410 of file vi.h. Referenced by cmd_shell(). |
|
|
Definition at line 411 of file vi.h. Referenced by v_lshift(). |
|
|
Definition at line 412 of file vi.h. Referenced by v_rshift(). |
|
|
|
|
|
|
|
|
Definition at line 415 of file vi.h. Referenced by cmd_substitute(), and v_again(). |
|
|
Definition at line 416 of file vi.h. Referenced by cmd_substitute(). |
|
|
|
|
|
Definition at line 419 of file vi.h. Referenced by v_tag(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 424 of file vi.h. Referenced by cmd_global(). |
|
|
Definition at line 425 of file vi.h. Referenced by cmd_edit(). |
|
|
Definition at line 426 of file vi.h. Referenced by cmd_xit(). |
|
|
Definition at line 427 of file vi.h. Referenced by cmd_write(), do_transfer(), and w_timeout(). |
|
|
Definition at line 428 of file vi.h. Referenced by v_xit(). |
|
|
Definition at line 429 of file vi.h. Referenced by cmd_delete(). |
|
|
Definition at line 11 of file vi.h. Referenced by cmd_version(). |
|
|
Definition at line 257 of file vi.h. Referenced by cmd_map(), CTL(), doexrc(), execmap(), expandabbr(), input(), keypress(), m_redraw(), m_scroll(), m_shell(), m_tocol(), m_updnto(), m_updown(), m_write(), main(), make_break(), map_key(), resume_curses(), and safequote(). |
|
|
Definition at line 354 of file vi.h. Referenced by m_bword(), m_eword(), m_Fch(), m_fch(), m_fword(), m_left(), m_paragraph(), m_right(), m_row(), m_scroll(), m_sentence(), m_tocol(), m_updnto(), main(), sdesc(), v_increment(), v_insert(), v_join(), v_replace(), v_subst(), v_ulcase(), and v_xchar(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 56 of file vi.h. Referenced by m_bsrch(), m_fsrch(), m_scroll(), mark2phys(), p_ere_exp(), p_simp_re(), redraw(), redrawrange(), and tmpstart(). |
|
|
Definition at line 103 of file vi.h. Referenced by tmpabort(). |
|
|
|
|
|
|
|
|
Definition at line 213 of file vi.h. Referenced by cmd_append(), cmd_edit(), cmd_global(), cmd_read(), linespec(), m_bsrch(), m_fsrch(), m_match(), m_row(), m_scroll(), m_updnto(), m_z(), v_join(), and v_undoline(). |
|
|
Definition at line 211 of file vi.h. Referenced by adjmove(), cmd_tag(), cmd_write(), m_scroll(), m_sentence(), m_tomark(), and m_updnto(). |
|
|
Definition at line 212 of file vi.h. Referenced by adjmove(), afterdo(), cmd_move(), cmd_write(), linespec(), and m_scroll(). |
|
|
Definition at line 210 of file vi.h. Referenced by abortdo(), adjmove(), cmd_append(), cmd_make(), cmd_read(), cmd_tag(), cut(), input(), m__ch(), m_bsrch(), m_bword(), m_eword(), m_Fch(), m_fch(), m_fsrch(), m_fword(), m_left(), m_match(), m_paragraph(), m_right(), m_sentence(), m_Tch(), m_tch(), m_tomark(), m_updnto(), m_z(), paste(), redraw(), resume_curses(), tmpstart(), v_1ex(), v_at(), v_delete(), v_filter(), v_increment(), v_keyword(), v_overtype(), v_redraw(), v_reformat(), v_start(), v_undo(), v_undoline(), v_xchar(), v_xit(), and vi(). |
|
|
Definition at line 209 of file vi.h. Referenced by add(), adjmove(), change(), cmd_read(), cut(), delete(), idx2col(), input(), m_bsrch(), m_bword(), m_eword(), m_Fch(), m_fch(), m_fsrch(), m_fword(), m_left(), m_match(), m_right(), m_scroll(), m_sentence(), m_Tch(), m_tch(), paste(), setviz(), v_change(), v_insert(), v_replace(), v_subst(), v_ulcase(), and v_xchar(). |
|
|
Definition at line 208 of file vi.h. Referenced by add(), adjmove(), afterdo(), change(), cmd_append(), cmd_file(), cmd_global(), cmd_join(), cmd_print(), cmd_read(), cmd_shift(), cmd_write(), delete(), ex(), fillkeybuf(), filter(), idx2col(), input(), linespec(), m_bsrch(), m_bword(), m_eword(), m_Fch(), m_fch(), m_front(), m_fsrch(), m_fword(), m_match(), m_paragraph(), m_right(), m_scroll(), m_sentence(), m_tch(), m_tocol(), m_updnto(), m_z(), mark2phys(), paste(), redraw(), setviz(), tmpabort(), v_change(), v_insert(), v_join(), v_overtype(), v_paste(), v_popup(), v_replace(), v_subst(), v_ulcase(), v_undoline(), v_xchar(), and vi(). |
|
|
Definition at line 65 of file vi.h. Referenced by beforedo(), blkadd(), preserve(), tmpsave(), and tmpstart(). |
|
|
Definition at line 59 of file vi.h. Referenced by cmd_at(). |
|
|
Definition at line 568 of file vi.h. Referenced by abortdo(), cmd_make(), cmd_shell(), resume_curses(), and v_1ex(). |
|
|
Definition at line 566 of file vi.h. Referenced by cmd_make(), cmd_read(), cmd_shell(), ex(), main(), v_quit(), and vgets(). |
|
|
Definition at line 569 of file vi.h. Referenced by cmd_xit(). |
|
|
Definition at line 567 of file vi.h. Referenced by abortdo(), cmd_edit(), cmd_make(), cmd_shell(), main(), msg(), resume_curses(), v_1ex(), v_keyword(), and vi(). |
|
|
Definition at line 92 of file vi.h. Referenced by afterdo(), cmd_cd(), cmd_file(), cmd_make(), cmd_shell(), cmd_xit(), tmpabort(), tmpend(), and tmpsave(). |
|
|
|
|
|
Definition at line 546 of file vi.h. Referenced by adjmove(). |
|
|
|
|
|
Definition at line 215 of file vi.h. Referenced by delete(). |
|
|
|
|
|
Definition at line 93 of file vi.h. Referenced by closeall(), forkexec(), remap(), and tmpstart(). |
|
|
Definition at line 97 of file vi.h. Referenced by cmd_file(). |
|
|
Definition at line 547 of file vi.h. Referenced by adjmove(). |
|
|
Definition at line 46 of file vi.h. Referenced by preserve(), sbx_tset(), and tmpstart(). |
|
|
|
|
|
Definition at line 90 of file vi.h. Referenced by cmd_file(), tmpsave(), and tmpstart(). |
|
|
Definition at line 243 of file vi.h. Referenced by mark2phys(). |
|
|
|
|
|
Definition at line 100 of file vi.h. Referenced by afterdo(), cmd_file(), cmd_xit(), tmpsave(), and tmpstart(). |
|
|
Definition at line 102 of file vi.h. Referenced by cmd_cd(), cmd_file(), cmd_make(), cmd_shell(), cmd_xit(), tmpabort(), tmpend(), tmpsave(), and undo(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 581 of file vi.h. Referenced by fillkeybuf(). |
|
|
Definition at line 579 of file vi.h. Referenced by fillkeybuf(). |
|
|
Definition at line 575 of file vi.h. Referenced by cmd_map(), fillkeybuf(), getabkey(), and mapkey(). |
|
|
|
|
|
Definition at line 582 of file vi.h. Referenced by getabkey(), main(), and mapkey(). |
|
|
Definition at line 580 of file vi.h. Referenced by fillkeybuf(). |
|
|
Definition at line 576 of file vi.h. Referenced by getabkey(), and msg(). |
|
|
Definition at line 577 of file vi.h. Referenced by mapkey(). |
|
|
Definition at line 578 of file vi.h. Referenced by fillkeybuf(). |
|
|
Definition at line 572 of file vi.h. Referenced by cmd_map(), fillkeybuf(), main(), and mapkey(). |
|
|
Definition at line 573 of file vi.h. Referenced by cmd_map(), fillkeybuf(), getabkey(), mapkey(), v_change(), v_insert(), and v_subst(). |
|
|
Definition at line 574 of file vi.h. Referenced by cmd_map(), fillkeybuf(), getabkey(), mapkey(), and v_overtype(). |
|
|
Definition at line 584 of file vi.h. Referenced by fillkeybuf(). |
|
|
|
|
|
|
|
|
Definition at line 414 of file blk.c. References afterdo(), b4cnt, FALSE, MARK_UNSET, MODE_COLON, MODE_VI, and redraw(). Referenced by trapint(). |
|
|
|
|
|
|
|
|
Definition at line 378 of file blk.c. References b4cnt, cursor, MARK_LAST, markline, MODIFIED, nlines, setflag, significant, and UNDOABLE. |
|
|
|
|
|
Definition at line 323 of file tio.c. References bl, do_VB, o_errorbells, o_flash, outc, refresh, tputs(), ttywrite, and vb. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 44 of file blk.c. References blk, _blkbuf::dirty, FALSE, i, and NBUFS. Referenced by tmpabort(), and undo(). |
|
|
Definition at line 297 of file blk.c. References blk, blkflush(), i, and NBUFS. Referenced by beforedo(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 154 of file cut.c. References BUFSIZ, columns, cuterror(), delim, DUMP_STDIN, fd, fgets(), flag_i, i, j, length, MAX_FIELD, MAX_FIELDS_EXEEDED_ERROR, maxcol, OPTIONF, printf, and strlen(). |
|
|
Definition at line 184 of file cut.c. References cutfree(), cutswitch(), i, and named. Referenced by deathtrap(). |
|
|
|
|
|
Definition at line 164 of file cut.c. References anon, close, cutfree(), i, NANONS, storename(), and tmpfd. Referenced by cutend(), and tmpabort(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 216 of file tio.c. References addch, and showmsg(). Referenced by main(). |
|
|
Definition at line 291 of file ex.c. References addch, clrtoeol, CMD_PRINT, cmd_print(), cmdbuf, cursor, doexcmd(), errno, exit(), FALSE, markline, MODE_EX, o_autoprint, o_prompt, oldline, printf, qaddch, refresh, REG, significant, strcpy(), strerror(), and vgets(). |
|
|
Definition at line 269 of file tio.c. References exwrote, kbuf, o_exrefresh, refresh, stdscr, and TRUE. Referenced by cmd_color(), do_digraph(), msg(), and v_1ex(). |
|
|
|
|
|
|
|
|
Definition at line 35 of file recycle.c. References a, addr, bitmap, e, env, hard(), i, j, k, level1(), level2(), p, r, setjmp, srand(), and tmpa. |
|
|
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 435 of file blk.c. References afterdo(), beforedo(), blkinit(), BLKSIZE, BLK::c, changes, cursor, FALSE, L, lseek, msg, read, significant, tmpfd, TRUE, tstflag, UNDOABLE, and undocurs. Referenced by cmd_undo(), and v_undo(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 39 of file vcmd.c. References cursor, FALSE, MARK_UNSET, and redraw(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 567 of file vcmd.c. References CMD_FILE, cmd_file(), and cursor. |
|
|
|
|
|
Definition at line 585 of file vcmd.c. References BLK::c, CMD_EDIT, cmd_edit(), cursor, msg, prevorig, strcpy(), and tmpblk. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 249 of file vi.c. References count, cursor, FALSE, i, key, L, MARK, MARK_UNSET, markline, MODE_VI, o_inputmode, range(), redraw(), REG, and U_line. |
|
|
|
|
|
Definition at line 45 of file vars.c. Referenced by cmd_next(), cmd_xit(), expand(), and tgoto(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 38 of file vars.c. Referenced by afterdo(), cmd_delete(), cmd_edit(), cmd_global(), cmd_move(), cmd_put(), cmd_read(), cmd_tag(), ex(), fillkeybuf(), input(), linespec(), tmpabort(), undo(), v_1ex(), v_again(), v_at(), v_errlist(), v_popup(), v_quit(), v_redraw(), v_status(), v_switch(), v_tag(), v_undo(), and vi(). |
|
|
Definition at line 76 of file vars.c. Referenced by cut(), input(), paste(), v_increment(), v_insert(), and v_overtype(). |
|
|
Definition at line 81 of file vars.c. Referenced by cmd_global(), and trapint(). |
|
|
|
|
|
Definition at line 71 of file vars.c. Referenced by exrefresh(), resume_curses(), and v_1ex(). |
|
|
|
|
|
|
|
|
Definition at line 66 of file vars.c. Referenced by drawtext(), fillkeybuf(), m_tocol(), mark2phys(), redraw(), and smartdrawtext(). |
|
|
Definition at line 22 of file vars.c. Referenced by beforedo(), blkadd(), change(), fetchline(), lookup(), and tmpstart(). |
|
|
|
|
|
|
|
|
Definition at line 46 of file vars.c. Referenced by cmd_args(), cmd_next(), cmd_xit(), Expand(), and main(). |
|
|
|
|
|
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(). |
|
|
Definition at line 32 of file vars.c. Referenced by cmd_edit(), cmd_file(), cmd_shell(), cmd_tag(), tmpabort(), tmpsave(), and tmpstart(). |
|
|
Definition at line 31 of file vars.c. Referenced by tmpabort(), and tmpstart(). |
|
|
Definition at line 58 of file vars.c. Referenced by pfetch(). |
|
|
Definition at line 67 of file vars.c. Referenced by mark2phys(), and v_popup(). |
|
|
Definition at line 68 of file vars.c. Referenced by mark2phys(). |
|
|
|
|
|
Definition at line 57 of file vars.c. Referenced by input(), patch_match(), and pfetch(). |
|
|
|
|
|
Definition at line 33 of file vars.c. Referenced by cmd_edit(), tmpabort(), and v_switch(). |
|
|
Definition at line 59 of file vars.c. Referenced by adjmove(), fillkeybuf(), input(), m_bword(), m_eword(), m_fch(), m_Fch(), m_front(), m_fword(), m_match(), m_sentence(), m_tocol(), pfetch(), and v_ulcase(). |
|
|
Definition at line 93 of file vars.c. Referenced by cmd_join(), cmd_move(), cmd_read(), and paste(). |
|
|
Definition at line 92 of file vars.c. Referenced by cmd_global(), cmd_join(), cmd_read(), cmd_substitute(), and paste(). |
|
|
Definition at line 53 of file vars.c. Referenced by add(), afterdo(), delete(), ex(), tmpsave(), and undo(). |
|
|
Definition at line 62 of file vars.c. Referenced by cb2str(), cmd_append(), cmd_errlist(), cmd_join(), cmd_print(), cmd_read(), cmd_tag(), deathtrap(), filter(), input(), paste(), printable(), readcutblk(), safequote(), tmpstart(), v_at(), v_replace(), v_switch(), v_ulcase(), and wildcard(). |
|
|
Definition at line 24 of file vars.c. Referenced by allocate(), cutswitch(), deathtrap(), maybezap(), readcutblk(), storename(), tmpabort(), tmpstart(), and undo(). |
|
|
Definition at line 25 of file vars.c. Referenced by cutneeds(), deathtrap(), maybezap(), readcutblk(), and tmpstart(). |
|
|
Definition at line 65 of file vars.c. Referenced by fillkeybuf(), m_row(), m_scroll(), mark2phys(), nudgecursor(), redraw(), smartdrawtext(), and v_popup(). |
|
|
Definition at line 96 of file vars.c. Referenced by doexcmd(), doexrc(), storename(), v_undoline(), and vi(). |
|
|
Definition at line 97 of file vars.c. Referenced by doexrc(), storename(), and v_undoline(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 27 of file vars.c. Referenced by main(). |
1.4.6