From 63779cfe3779f50f271d84f984652b212c441df4 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 15 Jul 2023 14:44:14 +0200 Subject: [PATCH] configs: change default TERM from linux to xterm Turns out one of the reasons some keys did not work as they should in certain commnands, most notably the Home/End in 'less', was due to the default TERM variable being set to 'linux'. Changing to 'xterm' fixes this issue, works with both console and ssh login, and from testing do not seem to have any adverse effects on existing functionality. Signed-off-by: Joachim Wiberg --- configs/aarch64_classic_defconfig | 2 +- configs/aarch64_defconfig | 2 +- configs/x86_64_classic_defconfig | 2 +- configs/x86_64_defconfig | 2 +- configs/x86_64_minimal_defconfig | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configs/aarch64_classic_defconfig b/configs/aarch64_classic_defconfig index db8264e2..6500f7bc 100644 --- a/configs/aarch64_classic_defconfig +++ b/configs/aarch64_classic_defconfig @@ -12,7 +12,7 @@ BR2_TARGET_GENERIC_ISSUE="Infix by KernelKit" BR2_INIT_FINIT=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt ${BR2_EXTERNAL_INFIX_PATH}/board/common/xattrs" -BR2_TARGET_GENERIC_GETTY_TERM="linux" +BR2_TARGET_GENERIC_GETTY_TERM="xterm" BR2_SYSTEM_DHCP="eth0" BR2_ENABLE_LOCALE_WHITELIST="C en_US en_CA" BR2_GENERATE_LOCALE="en_US en_CA" diff --git a/configs/aarch64_defconfig b/configs/aarch64_defconfig index 60789091..24535bcf 100644 --- a/configs/aarch64_defconfig +++ b/configs/aarch64_defconfig @@ -14,7 +14,7 @@ BR2_INIT_FINIT=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt ${BR2_EXTERNAL_INFIX_PATH}/board/common/xattrs ${BR2_EXTERNAL_INFIX_PATH}/board/netconf/xattrs" BR2_SYSTEM_BIN_SH_BASH=y -BR2_TARGET_GENERIC_GETTY_TERM="linux" +BR2_TARGET_GENERIC_GETTY_TERM="xterm" BR2_SYSTEM_DHCP="eth0" BR2_ENABLE_LOCALE_WHITELIST="C en_US en_CA" BR2_GENERATE_LOCALE="en_US en_CA" diff --git a/configs/x86_64_classic_defconfig b/configs/x86_64_classic_defconfig index 2178daed..930048ac 100644 --- a/configs/x86_64_classic_defconfig +++ b/configs/x86_64_classic_defconfig @@ -11,7 +11,7 @@ BR2_TARGET_GENERIC_ISSUE="Infix by KernelKit" BR2_INIT_FINIT=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt ${BR2_EXTERNAL_INFIX_PATH}/board/common/xattrs" -BR2_TARGET_GENERIC_GETTY_TERM="linux" +BR2_TARGET_GENERIC_GETTY_TERM="xterm" BR2_SYSTEM_DHCP="eth0" BR2_ENABLE_LOCALE_WHITELIST="C en_US en_CA" BR2_GENERATE_LOCALE="en_US en_CA" diff --git a/configs/x86_64_defconfig b/configs/x86_64_defconfig index 6af091af..0077fffb 100644 --- a/configs/x86_64_defconfig +++ b/configs/x86_64_defconfig @@ -13,7 +13,7 @@ BR2_INIT_FINIT=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt ${BR2_EXTERNAL_INFIX_PATH}/board/common/xattrs ${BR2_EXTERNAL_INFIX_PATH}/board/netconf/xattrs" BR2_SYSTEM_BIN_SH_BASH=y -BR2_TARGET_GENERIC_GETTY_TERM="linux" +BR2_TARGET_GENERIC_GETTY_TERM="xterm" BR2_SYSTEM_DHCP="eth0" BR2_ENABLE_LOCALE_WHITELIST="C en_US en_CA" BR2_GENERATE_LOCALE="en_US en_CA" diff --git a/configs/x86_64_minimal_defconfig b/configs/x86_64_minimal_defconfig index f4d208e8..387de832 100644 --- a/configs/x86_64_minimal_defconfig +++ b/configs/x86_64_minimal_defconfig @@ -13,7 +13,7 @@ BR2_INIT_FINIT=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt ${BR2_EXTERNAL_INFIX_PATH}/board/common/xattrs ${BR2_EXTERNAL_INFIX_PATH}/board/netconf/xattrs" BR2_SYSTEM_BIN_SH_BASH=y -BR2_TARGET_GENERIC_GETTY_TERM="linux" +BR2_TARGET_GENERIC_GETTY_TERM="xterm" BR2_SYSTEM_DHCP="eth0" BR2_ENABLE_LOCALE_WHITELIST="C en_US en_CA" BR2_GENERATE_LOCALE="en_US en_CA"