Commit fb345efa authored by rswindell's avatar rswindell
Browse files

Renamed ans2msg and msg2ans utils to ans2asc and asc2ans to avoid sysop

confusion.
parent 284b1ef0
......@@ -554,13 +554,13 @@ $(JSEXEC): $(JSEXEC_OBJS)
@echo Linking $@
$(QUIET)$(CCPP) $(UTIL_LFLAGS) -o $@ $^ $(LFLAGS)
# ANS2MSG
$(ANS2MSG): $(LIBODIR)/ans2msg.o
# ANS2ASC
$(ANS2ASC): $(LIBODIR)/ans2asc.o
@echo Linking $@
$(QUIET)$(CC) $(UTIL_LFLAGS) -o $@ $^
# MSG2ANS
$(MSG2ANS): $(LIBODIR)/msg2ans.o
# ASC2ANS
$(ASC2ANS): $(LIBODIR)/asc2ans.o
@echo Linking $@
$(QUIET)$(CC) $(UTIL_LFLAGS) -o $@ $^
......
......@@ -247,15 +247,15 @@ $(JSEXEC): jsexec.c \
$(LIBS) \
$(SBBSLIB)
@echo Creating $@
$(QUIET)$(CC) $(CFLAGS) -n$(EXEODIR) $**
$(QUIET)$(CC) $(CFLAGS) -n$(EXEODIR) $**
# ANS2MSG
$(ANS2MSG): ans2msg.c
# ANS2ASC
$(ANS2ASC): ans2asc.c
@echo Creating $@
$(QUIET)$(CC) $(CFLAGS) -n$(EXEODIR) $**
# MSG2MSG
$(MSG2ANS): msg2ans.c
# ASC2ANS
$(ASC2ANS): asc2ans.c
@echo Creating $@
$(QUIET)$(CC) $(CFLAGS) -n$(EXEODIR) $**
......
/* ans2msg.c */
/* ans2asc.c */
/* Convert ANSI messages to Synchronet .MSG (Ctrl-A code) format */
/* Convert ANSI messages to Synchronet .asc (Ctrl-A code) format */
/* $Id$ */
......@@ -49,8 +49,8 @@ int main(int argc, char **argv)
sscanf("$Revision$", "%*s %s", revision);
if(argc<3) {
fprintf(stderr,"\nans2msg %s\n",revision);
fprintf(stderr,"\nusage: ans2msg infile.ans outfile.msg\n");
fprintf(stderr,"\nans2asc %s\n",revision);
fprintf(stderr,"\nusage: %s infile.ans outfile.asc\n",argv[0]);
return(0);
}
......
/* msg2ans.c */
/* asc2ans.c */
/* Converts Synchronet Ctrl-A codes into ANSI escape sequences */
......@@ -50,8 +50,8 @@ int main(int argc, char **argv)
sscanf("$Revision$", "%*s %s", revision);
if(argc<3) {
fprintf(stderr,"\nmsg2ans %s\n",revision);
fprintf(stderr,"\nusage: msg2ans infile.msg outfile.ans\n");
fprintf(stderr,"\nasc2ans %s\n",revision);
fprintf(stderr,"\nusage: %s infile.asc outfile.ans\n",argv[0]);
return(0);
}
......
......@@ -24,8 +24,8 @@ ECHOCFG = $(EXEODIR)$(SLASH)echocfg$(EXEFILE)
ADDFILES = $(EXEODIR)$(SLASH)addfiles$(EXEFILE)
FILELIST = $(EXEODIR)$(SLASH)filelist$(EXEFILE)
MAKEUSER = $(EXEODIR)$(SLASH)makeuser$(EXEFILE)
ANS2MSG = $(EXEODIR)$(SLASH)ans2msg$(EXEFILE)
MSG2ANS = $(EXEODIR)$(SLASH)msg2ans$(EXEFILE)
ANS2ASC = $(EXEODIR)$(SLASH)ans2asc$(EXEFILE)
ASC2ANS = $(EXEODIR)$(SLASH)asc2ans$(EXEFILE)
UTILS = $(BUILD_DEPENDS)$(FIXSMB) $(BUILD_DEPENDS)$(CHKSMB) \
$(BUILD_DEPENDS)$(SMBUTIL) $(BUILD_DEPENDS)$(BAJA) $(BUILD_DEPENDS)$(NODE) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment