Subversion Repositories planix.SVN

Compare Revisions

Ignore whitespace Rev 105 → Rev 106

/ports/trunk/editors/rvi/ex.h
421,7 → 421,7
int numbline();
var void (*oldquit)();
void onhup();
int onintr();
void onintr();
void onsusp();
int putch();
int shift();
428,7 → 428,7
int termchar();
int vfilter();
#ifdef CBREAK
int vintr();
void vintr();
#endif
int vputch();
int vshftop();
/ports/trunk/editors/rvi/ex_io.c
433,7 → 433,8
deletenone();
clrstats();
first = addr2 + 1;
if (fstat(io, &statb) < 0)
 
/* if (fstat(io, &statb) < 0)
bsize = LBSIZE;
else {
bsize = statb.st_blksize;
440,6 → 441,9
if (bsize <= 0)
bsize = LBSIZE;
}
*/
bsize=LBSIZE;
 
ignore(append(getfile, addr2));
last = dot;
/*
710,7 → 714,10
cntln = addr2 - a1 + 1;
if (cntln == 0)
return;
if (fstat(io, &statb) < 0)
 
bsize = LBSIZE;
 
/* if (fstat(io, &statb) < 0)
bsize = LBSIZE;
else {
bsize = statb.st_blksize;
717,6 → 724,8
if (bsize <= 0)
bsize = LBSIZE;
}
*/
 
nib = bsize;
fp = genbuf;
do {
/ports/trunk/editors/rvi/ex_put.c
1120,7 → 1120,7
gTTY(i)
int i;
{
 
/*
#ifndef USG3TTY
ignore(gtty(i, &tty));
# ifdef TIOCGETC
1134,6 → 1134,7
#else
ioctl(i, TCGETA, &tty);
#endif
*/
}
 
/*
1169,7 → 1170,7
 
#else
/* USG 3 very simple: just set everything */
ioctl(i, TCSETAW, &tty);
/* ioctl(i, TCSETAW, &tty);*/
#endif
}
 
/ports/trunk/editors/rvi/ex_subr.c
792,6 → 792,7
* as they are a backup even without preservation if they
* are not removed.
*/
void
onhup()
{
 
821,6 → 822,7
* Then like a normal error (with the \n before Interrupt
* suppressed in visual mode).
*/
void
onintr()
{
 
903,6 → 905,7
/*
* We have just gotten a susp. Suspend and prepare to resume.
*/
void
onsusp()
{
ttymode f;
926,7 → 929,8
if (!inopen)
error(0);
else {
if (ioctl(0, TIOCGWINSZ, &win) >= 0)
/* XXX */
/* if (ioctl(0, TIOCGWINSZ, &win) >= 0)
if (win.ws_row != winsz.ws_row ||
win.ws_col != winsz.ws_col)
winch();
938,7 → 942,7
vcnt = 0;
}
vdirty(0, LINES);
vrepaint(cursor);
*/ vrepaint(cursor);
}
}
#endif