mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-11 21:49:12 +00:00
Implement basic canonical mode for Windows
The `cat` command now works properly, when run by itself on the bash command prompt. It's working beautifully so far, and is only missing a few keystrokes for clearing words and lines. Definitely works more well than the one that ships with WIN32 :-)
This commit is contained in:
parent
4825737509
commit
f26a280cda
36 changed files with 320 additions and 231 deletions
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VDISCARD,13+1,13+1,15,15,15,15,15,13
|
||||
.syscon termios,VDISCARD,13+1,13+1,15,15,15,15,15,13+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VEOF,4+1,4+1,0,0,0,0,0,4
|
||||
.syscon termios,VEOF,4+1,4+1,0,0,0,0,0,4+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VEOL,11+1,11+1,1,1,1,1,1,11
|
||||
.syscon termios,VEOL,11+1,11+1,1,1,1,1,1,11+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VEOL2,16+1,16+1,2,2,2,2,2,16
|
||||
.syscon termios,VEOL2,16+1,16+1,2,2,2,2,2,16+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VERASE,2+1,2+1,3,3,3,3,3,2
|
||||
.syscon termios,VERASE,2+1,2+1,3,3,3,3,3,2+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VINTR,0+1,0+1,8,8,8,8,8,0
|
||||
.syscon termios,VINTR,0+1,0+1,8,8,8,8,8,0+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VKILL,3+1,3+1,5,5,5,5,5,3
|
||||
.syscon termios,VKILL,3+1,3+1,5,5,5,5,5,3+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VLNEXT,15+1,15+1,14,14,14,14,14,15
|
||||
.syscon termios,VLNEXT,15+1,15+1,14,14,14,14,14,15+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VMIN,6+1,6+1,16,16,16,16,16,6
|
||||
.syscon termios,VMIN,6+1,6+1,16,16,16,16,16,6+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VQUIT,1+1,1+1,9,9,9,9,9,1
|
||||
.syscon termios,VQUIT,1+1,1+1,9,9,9,9,9,1+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VREPRINT,12+1,12+1,6,6,6,6,6,12
|
||||
.syscon termios,VREPRINT,12+1,12+1,6,6,6,6,6,12+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VSTART,8+1,8+1,12,12,12,12,12,8
|
||||
.syscon termios,VSTART,8+1,8+1,12,12,12,12,12,8+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VSTOP,9+1,9+1,13,13,13,13,13,9
|
||||
.syscon termios,VSTOP,9+1,9+1,13,13,13,13,13,9+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VSUSP,10+1,10+1,10,10,10,10,10,10
|
||||
.syscon termios,VSUSP,10+1,10+1,10,10,10,10,10,10+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VSWTC,7+1,7+1,0,0,0,0,0,7
|
||||
.syscon termios,VSWTC,7+1,7+1,0,0,0,0,0,7+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VTIME,5+1,5+1,17,17,17,17,17,5
|
||||
.syscon termios,VTIME,5+1,5+1,17,17,17,17,17,5+1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,VWERASE,14+1,14+1,4,4,4,4,4,14
|
||||
.syscon termios,VWERASE,14+1,14+1,4,4,4,4,4,14+1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue