Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system/cu: remove canonical input mode from termios flag #2968

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions system/cu/cu_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
* apps/system/cu/cu_main.c
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: 2014 sysmocom - s.f.m.c. GmbH. All rights reserved.
* SPDX-FileCopyrightText:
* 2014 sysmocom - s.f.m.c. GmbH. All rights reserved.
* SPDX-FileContributor: Harald Welte <[email protected]>
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -194,7 +195,7 @@ static int set_termios(FAR struct cu_globals_s *cu, int nocrlf)

tio.c_iflag = 0;
tio.c_oflag = 0;
tio.c_lflag &= ~ECHO;
tio.c_lflag &= ~(ECHO | ICANON);

ret = tcsetattr(cu->stdfd, TCSANOW, &tio);
if (ret)
Expand Down
Loading