Fix terminal warning on remote Debian hosts
Use TERM=xterm instead of forwarding local TERM — exotic terminal types (foot, kitty, alacritty, etc.) are not in the remote terminfo database, causing less to warn "terminal is not fully functional". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
b4da7f14f6
commit
21716851f2
1 file changed
+1
-1
@@ -99,7 +99,7 @@ fi
|
||||
|
||||
# see http://askubuntu.com/questions/506158/unable-to-initialize-frontend-dialog-when-using-ssh
|
||||
#FRONTEND="DEBIAN_FRONTEND=noninteractive" # then you should use clush instead :)
|
||||
FRONTEND="TERM=$TERM DEBIAN_FRONTEND=dialog"
|
||||
FRONTEND="TERM=xterm DEBIAN_FRONTEND=dialog"
|
||||
#FRONTEND="DEBIAN_FRONTEND=readline"
|
||||
|
||||
if [ "$verbose" = true ]
|
||||
|
||||
Reference in new issue
Block a user