Changeset fc879b8ebfb9f5de9e38c553a69f55837e32a394

Show
Ignore:
Timestamp:
05/22/08 02:26:02 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1211423162 +0000
git-parent:

[105337673852fc86c170bafc0e21f947f2b6f6d2]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1211423162 +0000
Message:

Disable LINEMODE on Linux -- I can't get it to work. This solves the echoing telnet sessions. Make compiles without LINEMODE clean. fixes #19

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_console_telnet.c

    r1053376 rfc879b8  
    119119static void set_termbuf(noit_console_closure_t ncct); 
    120120static void init_termbuf(noit_console_closure_t ncct); 
    121 static void defer_terminit(noit_console_closure_t ncct); 
    122121static void flowstat(noit_console_closure_t ncct); 
    123122static int spcset(noit_console_closure_t ncct, int func, cc_t *valp, cc_t **valpp); 
    124123static void suboption(noit_console_closure_t ncct); 
     124static void get_slc_defaults(noit_console_closure_t ncct); 
     125 
     126#ifdef LINEMODE 
     127static void defer_terminit(noit_console_closure_t ncct); 
    125128static void send_slc(noit_console_closure_t ncct); 
    126129static void default_slc(noit_console_closure_t ncct); 
    127 static void get_slc_defaults(noit_console_closure_t ncct); 
    128130static void add_slc(noit_console_closure_t ncct, char func, char flag, cc_t val); 
    129131static void start_slc(noit_console_closure_t ncct, int getit); 
     
    133135static void check_slc(noit_console_closure_t ncct); 
    134136static void do_opt_slc(noit_console_closure_t ncct, unsigned char *ptr, int len); 
     137#endif 
    135138 
    136139#ifdef LINEMODE 
  • src/noit_console_telnet.h

    r4be21f8 rfc879b8  
    5454#endif 
    5555 
     56#if !defined(__linux__) 
     57/* At least _I_ can't get LINUMODE working on Linux */ 
    5658#define LINEMODE 1 
     59#endif 
    5760 
    5861#ifndef _POSIX_VDISABLE