Chinaunix首页 | 论坛 | 博客
  • 博客访问: 31543
  • 博文数量: 8
  • 博客积分: 330
  • 博客等级: 一等列兵
  • 技术积分: 81
  • 用 户 组: 普通用户
  • 注册时间: 2005-05-03 07:29
文章分类

全部博文(8)

文章存档

2014年(1)

2009年(1)

2006年(2)

2005年(4)

我的朋友
最近访客

分类: LINUX

2006-02-02 09:57:43

Shell: Converting CHM documents on Debian

CHM files are used on the Micosoft Windows platform to store program documentation, almost always in the form of HTML, with some non-standard quirks. Well, if you want a CHM viewer on gnu/Linux there is 'xCHM'. But how about viewing them on text console ?.

Well, if they are html file inside those complied and compressed libraries then you should be able to uncompress and extract them right.

On gnu/Debian Linux OS, the 'libchm1' package provides the library and the 'libchm-bin' provides testing tools has the chmtools.

libchm-bin - library for dealing with Microsoft CHM format files
libchm1 - library for dealing with Microsoft CHM format files

The tools which we will need to extract CHM files are in libchm-bin package

test_chmLib - extracts a file out of a chm file
extract_chmLib - extracts a chm file into a directory
chm_http - simplistic web server to allow browsing of chm files without extracting them
enumdir_chmLib - lists the contents of chm file(s)
enum_chmLib - lists the contents of a chm file

What really surprised me is that the 'chm_http' tools gives the same functionality as the 'archmage' (No-wonder its not in Debian yet)

So what are you waiting for, just extract or view th CHM without the need of graphical interface, but its not wise to use CHM file in the place itself.


阅读(760) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~