how to fix man page messed up on ssh
时间:2006-10-24 来源:megazeng
It is a small tip, but it is very helpful and may get you out of the problem some times can drive you mad. what is it :-)
Let's say that you are using putty or other kind of ssh client to ssh to linux box to work on your job, like do perl coding.
But sometimes, you want to check some documents via man, for example, you want to read perldebug tutorial, and you key in "man perldebtut" on your bash shell. And you find that some part of the document is messed up with very weired characters. Then what can you do ???
Here is the how:
First, check the font of your linux box, mostly , the linux box font is UTF-8. Then make sure that your putty client matches the font.
Second, if the first approach is not working, then check with the /etc/man.conf file.
Edit EROFF or TROFF according to the comments in man.conf
Let's say that you are using putty or other kind of ssh client to ssh to linux box to work on your job, like do perl coding.
But sometimes, you want to check some documents via man, for example, you want to read perldebug tutorial, and you key in "man perldebtut" on your bash shell. And you find that some part of the document is messed up with very weired characters. Then what can you do ???
Here is the how:
First, check the font of your linux box, mostly , the linux box font is UTF-8. Then make sure that your putty client matches the font.
Second, if the first approach is not working, then check with the /etc/man.conf file.
Edit EROFF or TROFF according to the comments in man.conf
相关阅读 更多 +
排行榜 更多 +