From b65d44abe5c45aa1cd2cd851234cda570328579f Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Thu, 16 Feb 2023 18:39:25 +0100 Subject: [PATCH] ttynvt: Ignore ioctls entirely in raw mode Without this minicom Tx does not reach the server. There may be better solutions. --- src/ttynvt.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ttynvt.c b/src/ttynvt.c index cffc2c1..c164a22 100644 --- a/src/ttynvt.c +++ b/src/ttynvt.c @@ -794,6 +794,12 @@ ttynvt_ioctl(fuse_req_t req, int cmd, void *arg, _ioctl_name(cmd), arg, in_buf, (unsigned int)in_bufsz, (unsigned int)out_bufsz); + if (ttynvt_param.raw) + { + fuse_reply_ioctl(req, 0, 0, 0); + return; + } + switch (cmd) { case TCSETSF: