hi all,

last week, I arranged a small training course on SEC, and one of the 
participants pointed out that on Centos Linux the apostrophes in SEC man 
page don't format correctly.

After some investigation I have found that on some RedHat-like Linux 
distros the ’ symbol (ASCII 226) is printed instead apostrophe (ASCII 
39). This might cause issues when someone tries to copy and paste 
examples from man page (most notably, examples regarding the 'pipe' 
action which uses apostrophes for parsing reasons).

I found a relevant thread in one Linux mailing lists where a suggestion 
was made to write all apostrophes with the "\(aq" macro. Unfortunately, 
this macro is only supported by GNU roff (the utility that formats man 
pages), and does not work on systems which have other flavor of roff 
installed (like Solaris which I am using myself a lot). After searching 
some other mailing lists I found some comments that there is really no 
solution to this problem that would work across all UNIX platforms.

Oddly enough, I have seen this issue only on some Redhat-like systems 
like Centos 5.5, but not on Debian-like Ubuntu. Moreover, on Fedora 
which has strong RedHat influence the issue can be corrected with "env 
LANG=C man sec" (i.e., when your locale is set to C, you don't have this 
problem).

Now comes my question -- is anyone aware of a way to tackle the problem 
in a portable way? If not, I am likely to add some comments to the man 
page that point out this potential apostrophe formatting problem.

with kind regards,
risto

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to