--- a/rc/joerc.zh_TW.in
+++ b/rc/joerc.zh_TW.in
@@ -872,7 +872,7 @@
 :def shell_gparse gparse
 :def shell_release release
 :def shell_math maths
-:def shell_typemath txt,math,"ins",rtn,rtn,txt,"
",rtn
+:def shell_typemath txt,math,"ins",rtn,rtn,txt,"\r",rtn
 :def shell_rtn rtn
 :def shell_edit edit
 :def shell_dellin dellin
@@ -1272,9 +1272,9 @@
 :inherit main
 ""		^C		Abort
 ""		^D		Eof
-"	"	^I		Tab
+"\t"		^I		Tab
 ""		^H		Backspace
-"
"		^M		Return
+"\r"		^M		Return
 ""		^?		Backspace
 
 :vtshell		Input to ANSI shell windows
@@ -1291,7 +1291,7 @@
 ""		^C		Abort
 ""		^D		Eof
 ""		^E		EOL for bash
-"	"	^I		Tab
+"\t"		^I		Tab
 ""		^H		Backspace
-"
"		^M		Return
+"\r"		^M		Return
 ""		^?		Backspace