summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
Commit message (Collapse)AuthorAgeFilesLines
* - many small revisekcwu2009-05-271-7/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - CRLF issue: make accepting LF an option.piaip2008-04-221-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4232 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code refine: use ANSI_REVERSE to replace ANSI_COLOR(7), more meaningful.piaip2008-04-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine key processing of CR(C-M), LF(C-J), BS(C-H), BS2(0x7f)piaip2008-04-211-11/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) visio/vget: change old NOECHO to ASCII_ONLY + NOECHO.piaip2008-04-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4222 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: fixed: push_bottom nofitication not refreshed if abort.piaip2008-04-201-280/+0
| | | | | | | | | - io: drop traditional getdata code - read: prevent non-BM seeing ZA alert messages - visio: change license to 2-clause BSD because I don't want to maintain compatible code... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4219 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) refine i/o system to try new vget systempiaip2008-04-181-41/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) getans -> vanspiaip2008-04-171-6/+24
| | | | | | | - (internal) update license git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) visio: add vgetspiaip2008-04-171-35/+25
| | | | | | | | - (internal) add key name KEY_BS2 - (internal) move getDBCSstatus to DBCS_Status git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) add some Maple-3 API interface to help portingpiaip2008-04-081-6/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4099 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - vt100/200 key conversion: improve error handling (may cause endless loop) ↵piaip2008-03-121-10/+22
| | | | | | for HOME/INS family. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3993 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - testing to narrow down buffer overrun reasonpiaip2008-02-151-3/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve input system logicpiaip2008-01-191-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io/getdata: close buffer piaip2008-01-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3825 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: enable ^C to break <workaround>piaip2008-01-111-0/+17
| | | | | | | - TODO: enable ungetch() someday. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3818 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed: peek_input keeps waiting for new input. (due to buf control)piaip2008-01-061-8/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io: add more control APIpiaip2008-01-051-0/+48
| | | | | | | - bbslua: enable system break git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3788 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - better flush/synchronization flowpiaip2007-12-311-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3767 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - redrawin() changed to 'invalid only' and will take change at next refreshpiaip2007-12-241-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3734 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* -general message refinepiaip2007-12-221-11/+29
| | | | | | | -telnet send brk can toggle printing raw output in DBG_OUTRPT mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3726 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refresh screen after changing window sizepiaip2007-12-211-0/+1
| | | | | | | - fix getdata() clrtoeol issue git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change screen APIs to ncurses-like namespiaip2007-12-211-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* -remove standout() API, prepare for pftermpiaip2007-12-201-147/+94
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3714 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io: EXP_OUTRPT report total and sessioned output bytes, for evaluation of ↵piaip2007-12-201-9/+26
| | | | | | terminal system performance git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3711 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message update and optimizationpiaip2007-12-171-2/+11
| | | | | | | - change search_num() to getdata(), allow unified control git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - unify processing clock variable 'now'piaip2007-12-151-15/+3
| | | | | | | - pmore: support time refresh git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3683 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * extract common functions as library.kcwu2007-12-121-136/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - getdata: offset-by-one in input field with ANSIpiaip2007-12-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3659 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen: add grayout systempiaip2007-12-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3637 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - sync ptt2 local modification piaip2007-12-011-4/+6
| | | | | | | | - refine post/vote restriction magic code - color in making recommend git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3603 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add move_ansi() to support moving to lines with prior ANSI code.piaip2007-12-011-20/+61
| | | | | | | - general improvement git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * adjust OBUFSIZE according observation.kcwu2007-09-201-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * skip KEY_UNKNOWN.kcwu2007-05-091-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3513 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allocate water[] on demend. Saved about 4400 bytes.kcwu2006-09-171-0/+5
| | | | | | | Only 4%~5% online user of ptt use this feature. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missed counting of SYSWRITEkcwu2006-09-171-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a lot of assertions to ensure bid is in correct range when access via bid.kcwu2006-04-081-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3341 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate compiler warnings (mostly signed/unsigned)piaip2005-08-251-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3082 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix buffer overflow.kcwu2005-08-231-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3076 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Equivalent config file updatespiaip2005-08-181-9/+9
| | | | | | | | - little/big endian is useless. - DBCSAWARE_* now merged into DBCSAWARE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3056 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen_backup() & screen_restore() update:scw2005-08-171-24/+9
| | | | | | | | | * automatic allocate memory, save cursor location and backup * automatic restore screen, cursor location and free memory * works on screen lessening * no more crash on screen enlarged git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen-resize awareness between screen_backup() and screen_restore().victor2005-08-151-17/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3038 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* large terminal rules.piaip2005-08-061-1/+1
| | | | | | | | | | | | | - 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
* enable Esc-1 Esc-4 againpiaip2005-07-261-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2964 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make recommendation system betterpiaip2005-07-251-1/+7
| | | | | | | | - prevent waterball overwrites recommendation - eliminate confirm scroll git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2952 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cp log format updatepiaip2005-07-231-1/+3
| | | | | | | cp with invis board mosaic format update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2941 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make getdata support prompt with ANSI escapes.piaip2005-07-161-31/+78
| | | | | | | old code makes correct positioning but wrong attributes git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2933 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix magic dbcs_off if no DBCSAWARE_GETDATApiaip2005-07-091-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2929 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dbcs aware chatpiaip2005-07-091-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2925 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dbcs aware talkpiaip2005-07-091-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2923 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix getdata with dbcs_aware bugpiaip2005-06-091-4/+25
| | | | | | | | | --This line, and those beflow, will be ignored-- M mbbsd/io.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2811 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* io.c: revised keyseqpiaip2005-06-091-12/+17
| | | | | | | user/pmore: general update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2810 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug mode: raw key escape codes checkerpiaip2005-06-091-5/+87
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2809 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make new seq parser more robustpiaip2005-06-081-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2806 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New VT100/220 Escape Sequence Parser,piaip2005-06-081-11/+80
| | | | | | | supporting F1~F12 and S-TAB. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2805 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New DBCS aware: detecting and reversed default valuepiaip2005-06-081-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2803 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* take look at num_in_buf.piaip2005-06-081-1/+38
| | | | | | | | | | I can't believe that this bug has been existed for at least 3 years more, since the first revision of SVN. (see r1, 03/07/2002) Nobody even noticed that!? git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2801 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-1/+1
| | | | | | | | | First introduced by pmore, but this hard work (to transform all files to new style) is made by Rong-en Fan (rafan). Thanks! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dbcs_aware: can be toggled.piaip2005-06-071-3/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* DBCS Aware for getdata and edit.piaip2005-06-071-6/+60
| | | | | | | Thanks to Michael Hsin (mhsin) for his patching edit. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2781 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. make tty_read more clear and reablepiaip2005-04-181-8/+4
| | | | | | | 2. hack to prevent ^W SIGSEGV when parent is incorrect. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a patch to fix bug caused by changes of igetch()'s behavior piaip2005-04-091-2/+5
| | | | | | | | which was introduced in r2690. (cpu freaks out on chatroom/chess [I_OTHERDATA]) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2692 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* "Bye-Bye Flying Horse" patchpiaip2005-04-081-101/+37
| | | | | | | | | | - a robust and clean TELNET protocol implementation - fixed hz lib (autoconvert) utf8 buffer overflow exploit - enabled term resizing in runtime, and even AYT! - eliminated the flying-horse delay in connecting stage git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2691 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* handle telnet protocol and enable NAWS (resize terminal) capability.in22005-04-081-18/+94
| | | | | | | | SKIP_TELNET_CONTROL_SIGNAL can be disabled now. by piaip git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2690 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment on bad codekcwu2005-03-191-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2661 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Backup screen without hole. Save 8~11kb for normal user.kcwu2005-03-191-4/+7
| | | | | | | This one is missed in r2314. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2658 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistickcwu2005-03-191-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* all use same same of io bufferkcwu2005-03-191-6/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2641 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dead codekcwu2005-03-191-12/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning free: "static" should be in front of "const"kcwu2005-03-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allowing reply inviting request.scw2005-01-301-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2449 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some help pages are showed from filevictor2004-12-021-0/+9
| | | | | | | | more comments remove dirty hack in fav.c since it's safe now git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Backup screen without hole. Save 8~11kb for normal user.kcwu2004-11-061-9/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2314 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strip none-big5 char in user's nickkcwu2004-10-161-8/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2257 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strip IAC char in user's nickkcwu2004-10-161-0/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2254 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* undo r2169, r2170 in io.cin22004-09-191-10/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2204 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from branch victor.solarisvictor2004-09-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug in r2169in22004-08-271-5/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* less screen copying in ofo water ball modevictor2004-08-261-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Go game add color board (dirty hack @@),scw2004-07-251-2/+14
| | | | | | | and allow throwing waterball in games. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2144 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reverting revision 2098 and 2100. These make kernel panic due to out of swap.scw2004-06-291-55/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2101 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Parse a little TELNET control string.scw2004-06-291-2/+55
| | | | | | | Support big screen on telnet connection. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2098 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-1/+1
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Only registered user can call angel.scw2004-05-251-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge from scw.angel.scw2004-05-241-6/+29
| | | | | | | | *NOTE* Before running this revision, please read PttCurrent board at telnet://ptt.cc or http://scwg.wiki.ptt.cc/-Angel git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-04-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1850 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* last one buggy in io.cptt2004-04-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1836 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-1/+1
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a small bug fixedptt2004-04-241-6/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1829 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrate igetkey igetch egetchptt2004-04-241-58/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless functionsptt2004-04-231-25/+0
| | | | | | | integrate similiar functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Missing commit.scw2004-01-101-4/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1480 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wrong caculation of ansi escape sequence length.scw2004-01-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1479 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rm SUPPORT_GB codevictor2004-01-091-6/+0
| | | | | | | | mv protos to convert.c rename Jaky_outs git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1476 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore 0 from networkin22004-01-081-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1471 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* support utf8 convertion, but still buggyvictor2004-01-031-33/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1456 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NOKILLWATERBALL done.in22004-01-011-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NOKILLWATERBALL,in22004-01-011-0/+4
| | | | | | | | | | | do NOT kill(2) the process after sending a waterball, and check if there exists a waterball before read(2) from socket. this code is under testing and may have some bugs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1441 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix warningvictor2003-12-241-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Rewrite strip_ansi() (also move from vote.c to io.c).scw2003-12-241-1/+62
| | | | | | | | Using STRIP_ALL instead of 0 when calling strip_ansi. Fix some buffer overflow problem. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing commitvictor2003-12-221-12/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1423 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix Ptt_prints bugvictor2003-12-221-22/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1422 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.#ifdef GQ_CONVERTvictor2003-11-281-0/+16
| | | | | | | 2.add info to FAQ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1380 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge gb branch backvictor2003-11-281-4/+45
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* disallow user input telnet protocol leading char IAC chr(255)kcwu2003-11-011-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1285 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* commentkcwu2003-11-011-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1284 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean upkcwu2003-09-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code cleanupkcwu2003-09-061-54/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add SKIP_TELNET_CONTROL_SIGNALin22003-08-041-6/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1082 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* OUTTA_TIMERbbs2003-05-071-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@823 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show sbrk, idrss, isrssin22003-03-151-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add some assert() code, but disable first.kcwu2003-01-191-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@636 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show memory usage by hitting Ctrl-Q in DEBUG modein22003-01-151-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@599 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix buffer overflow in oldgetdata()in22002-12-241-6/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@586 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* KEY_DEL, KEY_HOME, KEY_END of getdata()in22002-10-021-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix screen rotate bug when returning from Ctrl-Ukcwu2002-09-111-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@517 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check the using of `sizeof' with strlcpy()kcwu2002-07-221-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@432 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-14/+14
| | | | | | | fix indent's word error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strcpy() -> strlcpy()in22002-07-211-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-232/+246
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-51/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-05-151-8/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix idle a bitptt2002-05-151-11/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix idle timeoutptt2002-05-141-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* idle timeout improvementptt2002-05-141-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix idle timeptt2002-05-141-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* anti robot testptt2002-05-131-6/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@165 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace time(NULL) by nowptt2002-05-131-26/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change getdata() constant to sizeof()in22002-04-291-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-03-301-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@72 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-03-161-24/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@31 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-03-161-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@28 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22002-03-151-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@27 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of ofo's waterballin22002-03-151-11/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@26 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ofo_water updatein22002-03-141-6/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@23 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ofo's water show 'x' for dead usersin22002-03-091-2/+2
| | | | | | | my_write() input uin if already got it git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@11 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+611
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204