Index: keylist.sh =================================================================== --- keylist.sh (revision 12002) +++ keylist.sh (revision 12003) @@ -169,6 +169,14 @@ PREFIX[$2, p]++ } + function cleanup(s) + { + gsub("\260", "\\°", s) + gsub("\\\\37777777660", "\\°", s) + gsub("\\\\057", "/", s) + return s + } + END { q="\"" print "" @@ -209,9 +217,8 @@ print " " keystr for(h in HIDS) { - mn = MENUNAME[h, key] - gsub("\260", "\\°", mn) - act = ACTION[h, key] + mn = cleanup(MENUNAME[h, key]) + act = cleanup(ACTION[h, key]) if ((act == "") && (mn == "")) act = " " else {