From 25826efb9e7c97cde69db4e74f9b1b7733bc8ff1 Mon Sep 17 00:00:00 2001 From: vasilito Date: Sat, 18 Jul 2026 12:42:04 +0900 Subject: [PATCH] =?UTF-8?q?getty:=20temporary=20diag=20=E2=80=94=20log=20i?= =?UTF-8?q?nput=20forwarded=20from=20tty=20to=20pty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bin/getty.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/getty.rs b/src/bin/getty.rs index 6afb645771..f3dc787273 100644 --- a/src/bin/getty.rs +++ b/src/bin/getty.rs @@ -67,6 +67,7 @@ pub fn handle( Err(ref err) if err.errno() == EAGAIN => break, Err(_) => panic!("getty: failed to read from TTY"), }; + eprintln!("getty-diag: fwd {count} bytes tty->pty {:?}", &packet[..count.min(24)]); redox::write(master_fd as usize, &packet[..count]) .expect("getty: failed to write master PTY"); }