From b93692cdcea35c835fcbc3617f80decd545ca3b2 Mon Sep 17 00:00:00 2001 From: Dan Harkless Date: Wed, 12 Apr 2000 00:25:23 +0000 Subject: [PATCH] Applied Brian Campbell 's mhn.defaults.sh patch: It appears that there shouldn't be quotes around the %s in the iso-8859-1 charset entry; xterm passes the remaining arguments to the program, quoting them means that xterm thinks they're part of the program's name. %s doesn't come from MIME headers, so not quoting it is safe. --- ChangeLog | 12 ++++++++++++ etc/mhn.defaults.sh | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4adc15a..b359555 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Tue Apr 11 21:37:03 2000 Dan Harkless + + * Applied Brian Campbell 's mhn.defaults.sh + patch: + + It appears that there shouldn't be quotes around the %s in the + iso-8859-1 charset entry; xterm passes the remaining arguments + to the program, quoting them means that xterm thinks they're + part of the program's name. + + %s doesn't come from MIME headers, so not quoting it is safe. + Sun Apr 09 13:03:59 2000 Doug Morris * added check in fmt_compile() to handle a single-character diff --git a/etc/mhn.defaults.sh b/etc/mhn.defaults.sh index 603bcb1..e25cac4 100755 --- a/etc/mhn.defaults.sh +++ b/etc/mhn.defaults.sh @@ -156,7 +156,7 @@ fi PGM="`$SEARCHPROG $SEARCHPATH xterm`" if [ ! -z "$PGM" ]; then - echo "mhshow-charset-iso-8859-1: xterm -fn '-*-*-medium-r-normal-*-*-120-*-*-c-*-iso8859-*' -e '%s'" >> $TMP + echo "mhshow-charset-iso-8859-1: xterm -fn '-*-*-medium-r-normal-*-*-120-*-*-c-*-iso8859-*' -e %s" >> $TMP fi # output a sorted version of the file -- 1.7.10.4