Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
erlang
1045-erts-Fix-nl-mapping-in-to_erl-terminal.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1045-erts-Fix-nl-mapping-in-to_erl-terminal.patch of Package erlang
From 4e30b284b56c41f77709e84ba4f20d2cef0f4c4e Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Mon, 15 Jun 2020 16:30:40 +0200 Subject: [PATCH 16/18] erts: Fix nl mapping in to_erl terminal ttysl assumes that a nl is only a nl and not a cr+nl so we should set the to_erl tty in the same mode otherwise they will be confused and out of sync. I'm assuming that there was a reason why it was enabled to start with but I can't think of a reason that would still be applicable. --- erts/etc/unix/to_erl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erts/etc/unix/to_erl.c b/erts/etc/unix/to_erl.c index 0e2c4f266b..a8fb513f80 100644 --- a/erts/etc/unix/to_erl.c +++ b/erts/etc/unix/to_erl.c @@ -262,8 +262,7 @@ int main(int argc, char **argv) #endif tty_smode.c_oflag = - 1*OPOST |/*Post-process output.*/ - 1*ONLCR |/*Map NL to CR-NL on output.*/ + 0*ONLCR |/*Map NL to CR-NL on output.*/ #ifdef XTABS 1*XTABS |/*Expand tabs to spaces. (Linux)*/ #endif -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor