version 1.70, 2012/12/28 16:12:50 |
version 1.71, 2013/05/31 18:03:44 |
|
|
int lastflag; /* flags, last command */ |
int lastflag; /* flags, last command */ |
int curgoal; /* goal column */ |
int curgoal; /* goal column */ |
int startrow; /* row to start */ |
int startrow; /* row to start */ |
|
int doaudiblebell; /* audible bell toggle */ |
|
int dovisiblebell; /* visible bell toggle */ |
|
int donebell; /* done't wring bell */ |
struct buffer *curbp; /* current buffer */ |
struct buffer *curbp; /* current buffer */ |
struct buffer *bheadp; /* BUFFER list head */ |
struct buffer *bheadp; /* BUFFER list head */ |
struct mgwin *curwp; /* current window */ |
struct mgwin *curwp; /* current window */ |
|
|
dirinit(); /* Get current directory. */ |
dirinit(); /* Get current directory. */ |
edinit(bp); /* Buffers, windows. */ |
edinit(bp); /* Buffers, windows. */ |
ttykeymapinit(); /* Symbols, bindings. */ |
ttykeymapinit(); /* Symbols, bindings. */ |
|
bellinit(); /* Audible and visible bell. */ |
|
|
/* |
/* |
* doing update() before reading files causes the error messages from |
* doing update() before reading files causes the error messages from |
* the file I/O show up on the screen. (and also an extra display of |
* the file I/O show up on the screen. (and also an extra display of |
* the mode line if there are files specified on the command line.) |
* the mode line if there are files specified on the command line.) |
*/ |
*/ |
update(); |
update(CMODE); |
|
|
/* user startup file. */ |
/* user startup file. */ |
if ((cp = startupfile(NULL)) != NULL) |
if ((cp = startupfile(NULL)) != NULL) |
|
|
do_redraw(0, 0, TRUE); |
do_redraw(0, 0, TRUE); |
winch_flag = 0; |
winch_flag = 0; |
} |
} |
update(); |
update(CMODE); |
lastflag = thisflag; |
lastflag = thisflag; |
thisflag = 0; |
thisflag = 0; |
|
|
|
|
/* FALLTHRU */ |
/* FALLTHRU */ |
case FALSE: |
case FALSE: |
default: |
default: |
ttbeep(); |
if (!donebell) |
|
dobeep(); |
macrodef = FALSE; |
macrodef = FALSE; |
} |
} |
|
donebell = 0; |
} |
} |
} |
} |
|
|