Skip to content

Comments

Include termios.h instead of termio.h#71

Open
luveti wants to merge 1 commit intofreemed:masterfrom
luveti:luveti-include-termios
Open

Include termios.h instead of termio.h#71
luveti wants to merge 1 commit intofreemed:masterfrom
luveti:luveti-include-termios

Conversation

@luveti
Copy link

@luveti luveti commented Feb 8, 2026

termio.h was removed from glibc in version 2.42 (released in July 2025)

termio.h was removed from glibc in version 2.42 (released in July 2025)
@stappersg
Copy link
Collaborator

Now waiting for confirmation.

(It other words: This merge request waits for works for me)

@lamerous
Copy link

Can't run tty0tty because there is no termio.h library in system. Have no idea how to launch it

@krokosik
Copy link

The fix does half the job, it also needs to be applied in module

Once I changed:

sed -i 's|<termio.h>|<linux/termios.h>|' module/tty0tty.c
sed -i 's|<termio.h>|<termios.h>|' pts/tty0tty.c

The program successfully compiles and runs on CachyOS with 6.19 kernel.

@luveti
Copy link
Author

luveti commented Feb 22, 2026

@krokosik I do not see termio.h being imported in https://github.com/freemed/tty0tty/blob/master/module/tty0tty.c. Maybe it was included in an older version, or by a patch CachyOS/Arch/pacman is applying?

@krokosik
Copy link

Huh, indeed. The AUR package seems to use a different repo? https://github.com/lcgamboa/tty0tty
Does anyone know what's the difference?

@luveti
Copy link
Author

luveti commented Feb 22, 2026

It looks like https://github.com/lcgamboa/tty0tty was created by the original author https://sourceforge.net/projects/tty0tty/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants