tags:

views:

49

answers:

0

Using XTerm, ssh to a linux box and run this:

$ man ascii | grep BEL
       007   7     07    BEL â\aâ (bell)             107   71    47    G

Do the same from Mac Terminal:

$ man ascii | grep BEL
       007   7     07    BEL ’\a’       107   71    47    G

od output of above:

$ man ascii | grep BEL | od -ta
0000000  sp  sp  sp  sp  sp  sp  sp   0   0   7  sp  sp  sp   7  sp  sp
0000020  sp  sp  sp   0   7  sp  sp  sp  sp   B   E   L  sp   b nul  em
0000040   \   a   b nul  em  sp   (   b   e   l   l   )  sp  sp  sp  sp
0000060  sp  sp  sp  sp  sp  sp  sp  sp  sp   1   0   7  sp  sp  sp   7
0000100   1  sp  sp  sp  sp   4   7  sp  sp  sp  sp   G  nl
0000115

How do I get XTerm to behave properly like Terminal?