From b1261ac503b21e552e45e7c0c2683eb8dad752dc Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 15 Jan 2024 20:48:23 +0100 Subject: [PATCH] platforms: Fix for usable TERM. * platforms/qemu/*{freebsd,netbsd}*: Set TERM in /etc/profile, not ~/.profile. --- platforms/environments/qemu/arm-freebsd12.txt | 2 +- platforms/environments/qemu/arm64-freebsd132.txt | 2 +- platforms/environments/qemu/powerpc64-freebsd14.txt | 2 +- platforms/environments/qemu/ppc64le-freebsd14.txt | 2 +- platforms/environments/qemu/sparc64-freebsd12.txt | 2 +- platforms/environments/qemu/sparc64-netbsd.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/platforms/environments/qemu/arm-freebsd12.txt b/platforms/environments/qemu/arm-freebsd12.txt index 623e32a6..6ecd4558 100644 --- a/platforms/environments/qemu/arm-freebsd12.txt +++ b/platforms/environments/qemu/arm-freebsd12.txt @@ -173,7 +173,7 @@ Invite MY_USER_NAME into other groups? wheel login: MY_USER_NAME password: ******** -Edit ~/.profile to set TERM=xterm (since qemu's 'gtk' display is based on vte): +Edit /etc/profile to set TERM=xterm (since qemu's 'gtk' display is based on vte): # env TERM=xterm vi /etc/profile .cshrc In /etc/profile, add TERM=xterm diff --git a/platforms/environments/qemu/arm64-freebsd132.txt b/platforms/environments/qemu/arm64-freebsd132.txt index 0681c398..c7110644 100644 --- a/platforms/environments/qemu/arm64-freebsd132.txt +++ b/platforms/environments/qemu/arm64-freebsd132.txt @@ -133,7 +133,7 @@ This boots fine. Now is the time to switch to a graphic display, if desired: Login in as root. -Edit ~/.profile to set TERM=xterm (since qemu's 'gtk' display is based on vte): +Edit /etc/profile to set TERM=xterm (since qemu's 'gtk' display is based on vte): # env TERM=xterm vi /etc/profile .cshrc In /etc/profile, add TERM=xterm diff --git a/platforms/environments/qemu/powerpc64-freebsd14.txt b/platforms/environments/qemu/powerpc64-freebsd14.txt index bc2e65f5..48755fef 100644 --- a/platforms/environments/qemu/powerpc64-freebsd14.txt +++ b/platforms/environments/qemu/powerpc64-freebsd14.txt @@ -120,7 +120,7 @@ This boots fine. Now is the time to switch to a graphic display, if desired: Login in as root. -Edit ~/.profile to set TERM=xterm (since qemu's 'gtk' display is based on vte): +Edit /etc/profile to set TERM=xterm (since qemu's 'gtk' display is based on vte): # env TERM=xterm vi /etc/profile .cshrc In /etc/profile, add TERM=xterm diff --git a/platforms/environments/qemu/ppc64le-freebsd14.txt b/platforms/environments/qemu/ppc64le-freebsd14.txt index e621a5ab..8035c9e0 100644 --- a/platforms/environments/qemu/ppc64le-freebsd14.txt +++ b/platforms/environments/qemu/ppc64le-freebsd14.txt @@ -120,7 +120,7 @@ This boots fine. Now is the time to switch to a graphic display, if desired: Login in as root. -Edit ~/.profile to set TERM=xterm (since qemu's 'gtk' display is based on vte): +Edit /etc/profile to set TERM=xterm (since qemu's 'gtk' display is based on vte): # env TERM=xterm vi /etc/profile .cshrc In /etc/profile, add TERM=xterm diff --git a/platforms/environments/qemu/sparc64-freebsd12.txt b/platforms/environments/qemu/sparc64-freebsd12.txt index 359ccd72..c87f87d2 100644 --- a/platforms/environments/qemu/sparc64-freebsd12.txt +++ b/platforms/environments/qemu/sparc64-freebsd12.txt @@ -131,7 +131,7 @@ Shell: sh login: MY_USER_NAME password: ******** -Edit ~/.profile to set TERM=xterm (since qemu's 'gtk' display is based on vte): +Edit /etc/profile to set TERM=xterm (since qemu's 'gtk' display is based on vte): # env TERM=xterm vi /etc/profile .cshrc In /etc/profile, add TERM=xterm diff --git a/platforms/environments/qemu/sparc64-netbsd.txt b/platforms/environments/qemu/sparc64-netbsd.txt index 8926e814..9fd0d7d6 100644 --- a/platforms/environments/qemu/sparc64-netbsd.txt +++ b/platforms/environments/qemu/sparc64-netbsd.txt @@ -116,7 +116,7 @@ This does not need a -kernel option, since an OpenBIOS bootloader is installed. % qemu-system-sparc64 $common_args -Edit ~/.profile: Set TERM to vt100. +Edit /etc/profile: Set TERM to vt100. (PK) Install packages --------------------- -- 2.39.5