Added listchar trail and added OS conditional code
fixed bad paste and fixed bad chars in listchars