diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-06 04:19:49 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-06 04:19:49 +0800 |
commit | ff24026ce0222c9b0bc78ee075dd0ca9bb50c193 (patch) | |
tree | 70f8bffef1edbe949b5aaf83c5dd8717fdb9e87b /include/proto.h | |
parent | 7fe0f796e47c21a8975c956830f0b63f024e35d2 (diff) | |
download | pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar.gz pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar.bz2 pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar.lz pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar.xz pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar.zst pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.zip |
large terminal rules.
- vmsg with formats is now vmsgf.
- deprecates vmsg_lines
= i hope changes in admin does not make trouble
because the old way looks like a mess within my terminal.
- pending issue:
= pressanykey_or_callangel is in oldway
= showtitle, msg_seperator, and others should also be fixed
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r-- | include/proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/proto.h b/include/proto.h index 95b29d17..699c1ff8 100644 --- a/include/proto.h +++ b/include/proto.h @@ -551,8 +551,7 @@ void screen_restore(int len, screenline_t *bp, const void *buf); #define isprint2(ch) ((ch & 0x80) || isprint(ch)) #define not_alpha(ch) (ch < 'A' || (ch > 'Z' && ch < 'a') || ch > 'z') #define not_alnum(ch) (ch < '0' || (ch > '9' && ch < 'A') || (ch > 'Z' && ch < 'a') || ch > 'z') -#define pressanykey() vmsg_lines(b_lines, NULL) -int vmsg_lines(int lines, const char *msg); +#define pressanykey() vmsg(NULL) int log_user(const char *fmt, ...) GCC_CHECK_FORMAT(1,2); unsigned int ipstr2int(const char *ip); time4_t gettime(int line, time4_t dt, const char* head); @@ -560,7 +559,8 @@ void setcalfile(char *buf, char *userid); void stand_title(const char *title); char getans(const char *fmt,...) GCC_CHECK_FORMAT(1,2); int getkey(const char *fmt,...) GCC_CHECK_FORMAT(1,2); -int vmsg(const char *fmt,...) GCC_CHECK_FORMAT(1,2); +int vmsgf(const char *fmt,...) GCC_CHECK_FORMAT(1,2); +int vmsg(const char *msg); void trim(char *buf); int show_file(const char *filename, int y, int lines, int mode); void bell(void); |