cp437.1 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH CP437 1 "2020-11-25" "0.6" "SlackBuilds.org"
  4. .SH NAME
  5. cp437 \- emulate code page 437 on a UTF-8 terminal
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .\" RST source for cp437(1) man page. Convert with:
  34. .
  35. .\" rst2man.py cp437.rst > cp437.1
  36. .
  37. .\" rst2man.py comes from the SBo development/docutils package.
  38. .
  39. .SH SYNOPSIS
  40. .sp
  41. cp437 \fBcommand\fP [\fIarg\fP [\fIarg\fP ...]]
  42. .SH DESCRIPTION
  43. .sp
  44. cp437 is a program to emulate an old\-style "code page 437" / "IBM\-PC"
  45. character set terminal on a modern terminal emulator that uses UTF\-8
  46. or similar.
  47. .sp
  48. It was written for the purpose of running the BitchX IRC client, which utilises
  49. CP437 line\-drawing characters in its default theme and artwork. It should
  50. also be broadly useful for things like viewing CP437 "ANSI art", running
  51. nethack with the IBMgraphics option or running EPIC with scripts that use CP437
  52. artwork.
  53. .sp
  54. It takes no command line options. The only arguments are the command to run
  55. and its arguments (if any).
  56. .sp
  57. You\(aqll need to have your LANG or LC_CTYPE environment variable
  58. set up to match the character set used by your terminal
  59. emulator. On Slackware, this can be done system\-wide by editing
  60. \fB/etc/profile.d/lang.sh\fP, or by editing your shell\(aqs startup scripts
  61. (e.g. \fB~/.bash_profile\fP).
  62. .SH EXAMPLES
  63. .sp
  64. Just run cp437 followed by the command and argument you want to run:
  65. .INDENT 0.0
  66. .INDENT 3.5
  67. cp437 BitchX irc.efnet.org
  68. .UNINDENT
  69. .UNINDENT
  70. .sp
  71. To convert a text file from codepage 437, you might try:
  72. .INDENT 0.0
  73. .INDENT 3.5
  74. cp437 cat orig.txt > converted.txt
  75. .UNINDENT
  76. .UNINDENT
  77. .SH COPYRIGHT
  78. .sp
  79. See the file /usr/doc/cp437\-0.6/COPYRIGHT for license information.
  80. .SH AUTHORS
  81. .sp
  82. cp437 was written by Kevin Easton.
  83. .sp
  84. This man page written for the SlackBuilds.org project
  85. by B. Watson, and is licensed under the WTFPL.
  86. .SH SEE ALSO
  87. .sp
  88. The cp437 homepage: \fI\%https://github.com/keaston/cp437\fP
  89. .\" Generated by docutils manpage writer.
  90. .