Reset Terminal

If you’re using Terminal on OS X, just try ‘Send Reset‘ and ‘Send Hard Reset‘ in File menu.

Fix terminal size

Often occurs after screen.
Sometimes, try Control(ctrl)+L,
sometimes, try

Random characters after cat a binary file, often in SecureCRT

Unix: How to fix UNIX garbage characters in your terminal
QQ20140903-1
Run:

Press: Control(ctrl)+v, Control(ctrl)+o, Enter, Control(ctrl)+d

Newline does not work

Output like:

Run:

More…

These links might be helpful.
http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-4.html
http://www.cyberciti.biz/tips/bash-fix-the-display.html
http://docstore.mik.ua/orelly/unix/upt/ch42_04.htm

Reset Terminal by @sskaje: https://sskaje.me/2015/10/reset-terminal/

英文OSX Terminal SSH无法输入中文

新电脑系统用了英文。
安装了两台debian 7的开发机,SSH上去之后发现Bash下中文输入不了,输入完成后Terminal会闪一下,输入不成功,但是vim里可以。
对比其他的VPS、服务器,CentOS,Ubuntu都一切正常。

为了排除字体,locale的可能,把中文字体装了,中文的locale也全加上了,依旧输入不了。

直到我想到这篇文章,然后退出SSH,本地看了眼这个session下的locale

执行

就好了

英文OSX Terminal SSH无法输入中文 by @sskaje: https://sskaje.me/2015/04/%e8%8b%b1%e6%96%87osx-terminal-ssh%e6%97%a0%e6%b3%95%e8%be%93%e5%85%a5%e4%b8%ad%e6%96%87/

Incoming search terms:

LC_CTYPE issue on OS X SOLVED!

Meet The Problem

Problem occurs when I’m using ssh working on my Ubuntu/Debian from ‘Terminal‘ of Mac OS X’s own.

I can’t remember the first time I saw

Continue reading “LC_CTYPE issue on OS X SOLVED!” »

LC_CTYPE issue on OS X SOLVED! by @sskaje: https://sskaje.me/2014/01/lc-ctype-issue/