certain words in the man pages appear to be invisible
Hi, I have a new Linux box, and certain words in the man pages appear to be invisible
FTP(1) BSD General Commands Manual FTP(1) NAME INVISIBLE - Internet file transfer program INVISIBLE INVISIBLE [INVISIBLE] [host] If I highlight it and copy it to a document I can see that INVISIBLE really is something there. I also get these odd â characters like on this line too in the display: Restrains ftp from attempting âauto-loginâ I think it may be a some "new to me" setting that I could change, however, I am a bit at at loss on what to search for as I am still learning my way around Linux. Thank you very much for your help, it would be nice to be able to "see" all the words. |
Which tool are you using to read the man pages? The man cmd itself should be fine, but its possible your environment is not setup correctly.
Please post the out put of of these cmds Code:
env |
It may be helpful if you were to edit your LQ profile adding your location (country, region) and what distribution you're using -- might get better answers.
In addition to what @chrism01 indicated to open a terminal and enter Code:
locale Code:
LANG=en_US |
Here is the output from the settings - certain things blanked out:
$ env HOSTNAME=xxxxxxxxxxxxxxxxxx SHELL=/bin/bash TERM=xterm HISTSIZE=500 SSH_CLIENT=xxxxxxxxxxxxxxxxxxxxxxxx SSH_TTY=/dev/pts/5 USER=XXXXXXXXXXXXXXXX LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi= 01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00 ;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz =00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: MAIL=/usr/mail/xxxxxxxxxxxxxxxxxxxxxx PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin@/usr/loca/bin:/usr/openwin/bin::/usr/ucb:/usr/lib/font EXINIT=set showmode tabstop=4 INPUTRC=/etc/inputrc PWD=xxxxxxxxxxxxxxxxxxxxxxxxxxx EDITOR=/usr/bin/vi LANG=en_US.UTF-8 PS1=$(uname -n)($USER):$PWD$ SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1 HOME=xxxxxxxxxxxxxx LOGNAME=xxxxxxxxxxxxxx VISUAL=/usr/bin/bi CVS_RSH=ssh SSH_CONNECTION=xxxxxxxxxxxxxxxx LESSOPEN=|/usr/bin/lesspipe.sh %s G_BROKEN_FILENAMES=1 _=/bin/env OLDPWD=/etc ---------------------- $ set BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="2" [2]="25" [3]="1" [4]="release" [5]="x86_64-redhat-linux-gnu") BASH_VERSION='3.2.25(1)-release' COLORS=/etc/DIR_COLORS.xterm COLUMNS=80 CVS_RSH=ssh DIRSTACK=() EDITOR=/usr/bin/vi EUID=XXXXXXX EXINIT='set showmode tabstop=4' GROUPS=() G_BROKEN_FILENAMES=1 HISTFILE=/XXXXXXXXXXX/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=XXXXXXXXXXXXXXX HOSTNAME=XXXXXXXXXX HOSTTYPE=x86_64 IFS=$' \t\n' INPUTRC=/etc/inputrc LANG=en_US.UTF-8 LESSOPEN='|/usr/bin/lesspipe.sh %s' LINES=24 LOGNAME=XXXXXXXXXXX LS_COLORS='no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi =01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=0 0;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.g z=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00; 35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:' MACHTYPE=x86_64-redhat-linux-gnu MAIL=/usr/mail/XXXXXXXXXXXX MAILCHECK=60 OLDPWD=/etc OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin@/usr/loca/bin:/usr/openwin/bin::/usr/ucb:/usr/lib/font PIPESTATUS=([0]="0") PPID=5129 PS1='$(uname -n)($USER):$PWD$ ' PS2='> ' PS4='+ ' PWD=XXXXXXXXXXXXXX SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:histexpand:interactive-comments:monitor:vi SHLVL=1 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SSH_CLIENT=XXXXXXXXXXXXXXX SSH_CONNECTION='XXXXXXXXXXXXXXXXXX' SSH_TTY=/dev/pts/5 TERM=xterm UID=XXXXXX USER=XXXXXXXXX VISUAL=/usr/bin/bi _=env consoletype=pty ---------------------- $ cat /etc/*release* cat: /etc/lsb-release.d: Is a directory Red Hat Enterprise Linux Server release 5.8 (Tikanga) ----------------------- $ uname -a Linux XXXXXXXX 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux -------------- All the entires you asked about under locale I believe are ok they are all: en_US.UTF-8 |
One you might want look at is
Code:
VISUAL=/usr/bin/bi From your description of the problem it sounds like you don't have a font installed; the "invisible" stuff is the bold font where the visible stuff is the "regular" font (the one you see in an open terminal, xterm, window). You might open an xterm and look in the preferences for appearance and try selecting a different font (a good one might be Courier 10 Pitch). Hope this helps some. |
I use putty, so you are thinking it is one of my putty settings? This the whole color and bold options are all new to me - in my particular environment the UNIX boxes were never set up with any of this. As for the VISUAL=/usr/bin/bi (this is a new variable to me too - the SA set that up and since I'd not seen it before I didn't question it - though I did look after you mentioned this and don't see anything called bi in the /usr/bin directory, so think you are correct there - typo. So I changed it logged off/on echoed back to make sure it was now vi and checked the man pages and they still look the same. I did go out and read about the VISUAL variable and it said something about leaving EDITOR unset and setting VISUAL to vi -e Which is leading me to more reading...that said set VISUAL and EDITOR to the same thing...so more research...
|
Not to be stupid, but what the heck are you using PuTTY for? Are you connecting to another box with it and that's where you're having trouble?
PuTTY is for connecting to another system, not for a local system (you simply open an X terminal locally); it's almost exclusively used on Windows machines to connect to a Unix/Linux system and have a terminal window to work in. And, yeah, if you're using PuTTY, that's why you're having trouble with manual pages. Check you settings (and, sorry, I don't have any idea what settings to check -- don't use Windows for anything). Most likely something to do with fonts but I've no idea what to look for, sorry. If you've got a Linux box sitting in front of you and you're running KDE or Xfce, you can open an X terminal from the "System" menu and pick "Terminal." If you're using GNOME, you might be able to right-click on the screen and open a terminal (you can also do that in Xfce). Might want to give that a try. Hope this helps some. |
Ok I use my PC running Windows 7 - Linux is not on my PC it is on a server that I need to log into just as the UNIX is on a separate box
- I use Putty on my PC to connect to the UNIX box, so when they said here's the new Linux box - I just used Putty to connect to it too. I really didn't know if there was another way, there isn't anybody who knows anything for me to ask, so I worked with what I had. Is there something better? I basically just need to get to the box so I can get into the directory structure. I'm happy to check out anything that is free with SSH capability and I can download. I welcome any suggestion as I mentioned Linux is a whole new area. I'm really learning quite a bit in this forum. |
Ahh tronayne you did send me in a new direction - appears yes Putty is valid for what I am doing searching on the web
- first instruction was download Putty. So I poked around more from a Putty perspective and found someone else experience this issue, also referencing fonts, so poked though Putty settings under Putty settings Window/Colours/Options controlling use of colors there was a check box "Bolded text is a different colour" it was checked I unchecked it and now I can see the "invisible" words as black bolded words. Thank you all for your help with this, sometimes it just takes someone to say something that makes you look at it a different way! |
All righty then, glad you've got it solved.
For future questions it is a good idea to mention what you're using when you have a problem. The "default condition" is a keyboard, mouse and monitor (more or less) connected directly to a computer sitting right next to you that you have complete control over. The behavior of your setup is radically different from that and had we known we'd more than likely been able to help out much, much quicker with lot less back-and-forth, eh? I'm not being critical, just making a suggestion -- you've come the the right place for answers to questions and problems (and most everybody here is more than willing to help). Just let us know what you've got to work with and what you need to do and somebody will step up and try help out. This isn't a closed club and you're more than welcome to come on in, sit right down, put your feet up and feel at home. |
While not directly related to the OP, I had a similar problem a while back. Perhaps it will help someone if they come across this.
When root, man pages had some syntax highlighting show up as black, on a black background. I still have no idea what causes it, but I finally found a workaround. Perhaps there are more elegant ways about it, but this works for me. I just added the following LESS_TERMCAP settings to my bashrc. Code:
LESS_TERMCAP_mb=$'\e[01;31m' # blinking text begin (bright red) |
All times are GMT -5. The time now is 02:16 AM. |