diff options
| author | rsc <devnull@localhost> | 2004-04-15 02:04:30 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-04-15 02:04:30 +0000 |
| commit | 4dcd9af228643d37bb63ab1642c5128b3b30f4bd (patch) | |
| tree | 5fb7111b84b44aa4da4126f43d2545c45ce0e6e5 /src/cmd/9term/Linux.c | |
| parent | aeb54c0efed03187235820c73b7feef2260951cf (diff) | |
| download | plan9port-4dcd9af228643d37bb63ab1642c5128b3b30f4bd.tar.gz plan9port-4dcd9af228643d37bb63ab1642c5128b3b30f4bd.zip | |
9term manages to turn off echo at the right times under SunOS ?
Diffstat (limited to 'src/cmd/9term/Linux.c')
| -rw-r--r-- | src/cmd/9term/Linux.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cmd/9term/Linux.c b/src/cmd/9term/Linux.c index 872417e6..823344c9 100644 --- a/src/cmd/9term/Linux.c +++ b/src/cmd/9term/Linux.c @@ -44,3 +44,20 @@ updatewinsize(int row, int col, int dx, int dy) ows = ws; } + +int +israw(int fd) +{ + return 0; +/* + if(tcgetattr(fd, &ttmode) < 0) + fprint(2, "tcgetattr: %r\n"); + return !(ttmode.c_lflag&(ICANON|ECHO)); +*/ +} + +int +setecho(int fd, int on) +{ + return 0; +} |
