1
linux/drivers/s390
Thomas Weißschuh dee3df68ab s390/sclp_vt220: Convert newlines to CRLF instead of LFCR
According to the VT220 specification the possible character combinations
sent on RETURN are only CR or CRLF [0].

	The Return key sends either a CR character (0/13) or a CR
	character (0/13) and an LF character (0/10), depending on the
	set/reset state of line feed/new line mode (LNM).

The sclp/vt220 driver however uses LFCR. This can confuse tools, for
example the kunit runner.

Link: https://vt100.net/docs/vt220-rm/chapter3.html#S3.2
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Link: https://lore.kernel.org/r/20241014-s390-kunit-v1-2-941defa765a6@linutronix.de
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2024-10-16 11:32:32 +02:00
..
block s390/dasd: fix error recovery leading to data corruption on ESE devices 2024-08-12 10:31:08 -06:00
char s390/sclp_vt220: Convert newlines to CRLF instead of LFCR 2024-10-16 11:32:32 +02:00
cio [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
crypto s390/pkey_pckmo: Return with success for valid protected key types 2024-10-16 11:32:32 +02:00
net net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
scsi s390/zfcp: use new address translation helpers 2024-03-13 09:23:48 +01:00
virtio virtio: rename find_vqs_info() op to find_vqs() 2024-07-17 05:20:57 -04:00
Makefile