Changeset 5461:3726177a7bae in roaraudio


Ignore:
Timestamp:
03/30/12 19:46:18 (10 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Bring Telnet in right mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/universal/tic-tac-toe.c

    r5455 r5461  
    3232 
    3333#define _DISPLAY \ 
     34/* Bring Telnet in right mode: */ \ 
     35/* IAC WILL ECHO IAC WILL SUPPRESS_GO_AHEAD IAC WONT LINEMODE */ \ 
     36/* 255  251    1 255  251                 3 255  252       34 */ \ 
     37"\377\373\001\377\373\003\377\374\042" \ 
    3438"\e[2J\e[H" \ 
    35 " Tic Tac Toe\n" \ 
    36 " (running: roard " ROAR_VERSION_STRING ")\n" \ 
    37 "\n" \ 
    38 "Game board:     IDs:\n"        \ 
    39 " %c | %c | %c      7 | 8 | 9\n"   \ 
    40 "---+---+---     ---+---+---\n" \ 
    41 " %c | %c | %c      4 | 5 | 6\n"   \ 
    42 "---+---+---     ---+---+---\n" \ 
    43 " %c | %c | %c      1 | 2 | 3\n"   \ 
    44 "\n" \ 
    45 "%s\n" 
     39" Tic Tac Toe\r\n" \ 
     40" (running: roard " ROAR_VERSION_STRING ")\r\n" \ 
     41"\r\n" \ 
     42"Game board:     IDs:\r\n"        \ 
     43" %c | %c | %c      7 | 8 | 9\r\n"   \ 
     44"---+---+---     ---+---+---\r\n" \ 
     45" %c | %c | %c      4 | 5 | 6\r\n"   \ 
     46"---+---+---     ---+---+---\r\n" \ 
     47" %c | %c | %c      1 | 2 | 3\r\n"   \ 
     48"\r\n" \ 
     49"%s\r\n" 
    4650#define _DISPLAY_BUFFER_LEN 1024 
    4751 
Note: See TracChangeset for help on using the changeset viewer.