sync with OpenBSD -current

This commit is contained in:
purplerain 2024-07-25 20:49:18 +00:00
parent a34e492c6b
commit acb2a22980
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
86 changed files with 12131 additions and 4602 deletions

View file

@ -1,10 +1,10 @@
#!/bin/sh
# $XTermId: uxterm,v 1.29 2020/03/07 15:52:31 tom Exp $
# $XTermId: uxterm,v 1.30 2023/05/03 23:47:34 tom Exp $
# -----------------------------------------------------------------------------
# this file is part of xterm
#
# Copyright 2001-2007,2020 by Thomas E. Dickey
#
# Copyright 2001-2020,2023 by Thomas E. Dickey
#
# All Rights Reserved
#
# Permission is hereby granted, free of charge, to any person obtaining a
@ -83,7 +83,7 @@ done
# user's shell does not reset unknown locale specifiers, but not all shells do.
if test $found != yes ; then
if test -n "$value" ; then
value=`echo ${value} |sed -e 's/[.@].*//'`.UTF-8
value=`echo "${value}" |sed -e 's/[.@].*//'`.UTF-8
else
expect=
for name in LC_ALL LC_CTYPE LANG
@ -146,4 +146,4 @@ fi
# for testing:
#test -f ./xterm && XTERM_PROGRAM=./xterm
exec "$XTERM_PROGRAM" -class UXTerm -title "$whoami" -u8 "$@"
exec "$XTERM_PROGRAM" -class UXTerm -u8 "$@"