Subversion Repositories planix.SVN

Compare Revisions

Ignore whitespace Rev 107 → Rev 108

/ports/trunk/editors/rvi/Makefile
31,11 → 31,11
NONDEBUGFLAGS= -O
DEB= $(NONDEBUGFLAGS) # or $(DEBUGFLAGS) to to debug
# this should be correct for any modern Unix
OPTIONS=-DLISPCODE -DCHDIR -DFASTTAG -DVFORK -DUSG3TTY -DVMUNIX -DBIGMEM -D_BSD_EXTENSION -DTRACE
OPTIONS=-DLISPCODE -DCHDIR -DFASTTAG -DUSG3TTY -DVMUNIX -DBIGMEM -D_BSD_EXTENSION -DTRACE
# define to use ISO-8859-X character sets
#OPTIONS += -DISO
LDFLAGS=
TERMLIB = -L./termcap -ltermlib
TERMLIB = -ltermlib
 
# That's it.
 
/ports/trunk/editors/rvi/ex.h
374,7 → 374,7
extern int (*Outchar)();
extern int (*Pline)();
extern int (*Putchar)();
extern void (*oldhup)();
void (*oldhup)();
int (*setlist())();
int (*setnorm())();
int (*setnorm())();
/ports/trunk/editors/rvi/ex_addr.c
60,6 → 60,7
* to delete 5 lines, etc.
* Such nonsense is implemented by setcount.
*/
void
setcount()
{
register int cnt;
96,6 → 97,7
* Set the default addresses for commands which use the whole
* buffer as default, notably write.
*/
void
setall()
{
 
/ports/trunk/editors/rvi/ex_cmds.c
27,6 → 27,7
* is to strip command addresses, do a little address oriented
* processing and call command routines to do the real work.
*/
void
commands(noprompt, exitoneof)
bool noprompt, exitoneof;
{
/ports/trunk/editors/rvi/ex_subr.c
889,6 → 889,7
}
 
#ifndef V6
/* XXX
exit(i)
int i;
{
899,6 → 900,8
# endif
_exit(i);
}
*/
 
#endif
 
#ifdef SIGTSTP
917,7 → 920,7
putpad(TE);
flush();
 
(void) sigsetmask(0L);
/*XXX (void) sigsetmask(0L); */
signal(SIGTSTP, SIG_DFL);
kill(0, SIGTSTP);
 
/ports/trunk/editors/rvi/ex_tty.h
114,7 → 114,7
extern short LINES; /* Number of lines on screen */
extern short COLUMNS;
var short OCOLUMNS; /* Save COLUMNS for a hack in open mode */
var struct winsize winsz; /* Save window size for stopping comparisons */
/* XXX var struct winsize winsz; */ /* Save window size for stopping comparisons */
 
var short outcol; /* Where the cursor is */
var short outline;
/ports/trunk/editors/rvi/ex_vmain.c
1228,7 → 1228,7
} while (isalpha(*cp) || isdigit(*cp) || *cp == '_'
#ifdef LISPCODE
|| (value(LISP) && *cp == '-')
#endif LISPCODE
#endif /*LISPCODE*/
);
*dp++ = 0;
}
/ports/trunk/editors/rvi/ex_vops.c
704,7 → 704,7
cursor = linebuf;
linebuf[0] = 0;
vappend('o', 1, ind);
(void)sigsetmask(oldmask);
/*XXX (void)sigsetmask(oldmask); XXX*/
}
 
/*
/ports/trunk/editors/rvi/ex_vops2.c
404,7 → 404,7
doomed = 0;
wcursor = cursor;
vmove();
(void)sigsetmask(oldmask);
/*XXX (void)sigsetmask(oldmask); */
}
 
/*