13.1 Stream names 271 13.2 RAW, CON, and NEWCON 272 13.2.1 CON and NEWCON 272 13.2.2 RAW 275 13.2.3 ConMan 275 13.2.4 The current window 276 13.3 Internals and programming techniques 276 13.3.1 Aborting a CLI program 276 13.3.2 Line separators and the end of file (EOF) 277 13.3.3 Raw or cooked 277 13.3.4 Console windows as you like them 278 13.4 Control codes in the input stream 280 13.4.1 Key codes 280 13.4.2 Raw RAW events 281 13.5 Control codes in the output stream 285 13.5.1 Single-character control codes 287 13.5.2 Multi-character control codes 287 Listing ConWindowC.c 288 Listing ConWindowA.a 292 Listing Makefiles (ConWindow) 294