summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
Commit message (Collapse)AuthorAgeFilesLines
* 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