📄 00000005.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: <A HREF="mailto:gamete.bbs@bbs.ee.ntu.edu.tw">gamete.bbs@bbs.ee.ntu.edu.tw</A> (我遇到另一个gamete了), 看板: Linux <BR>标 题: [转载]X programming on Linux <BR>发信站: 台大电机 Maxwell 站 (Tue Apr 1 00:30:18 1997) <BR>转信站: sobee!netnews.ntu!Maxwell <BR> <BR> <BR>********form comp.os.linux.x <BR> <BR>-- <BR>Mark Duenas wrote: <BR>><I> Does anyone know where an FAQ on programming </I><BR>><I> X Windows apps on the Linux platform with the </I><BR>><I> default installation? I've seen commercial </I><BR>><I> motif packages for sale but if they are not </I><BR>><I> needed for programming X please let me know. </I><BR> <BR>You fail to say what distribution you're running. <BR> <BR>I suggest that you unpack the source for XFree86. Included in that <BR>source package is the X11 source. Included with the X11 source is the <BR>full reference documentation for the basic X11 libraries -- the xlib <BR>documentation, the raw X server interface documentation, the xt <BR>documentation for writing widgets, and the xaw documentation (for the <BR>Athena widget set). Printed out, this all adds up to about a 10-inch <BR>stack of paper, so have plenty of big binders :-). <BR> <BR>Then, look at the xview library. Included with the Xview package is <BR>a "faq" of sorts on writing programs using the library. Said programs <BR>are a bit clunky compared to Motif programs, but don't require that <BR>you buy Motif. For that matter, you can stick with the plain old <BR>Athena widget set + whatever widgets you can write with xt, but that <BR>adds more work on your part & is sort of complicated. <BR> <BR>If you're wanting to write simple "X" programs with free tools without <BR>learning much about "X", I suggest that you get Bruce Wample's "V" <BR>library (which alas does require you to use C++ for your programs). Not <BR>the most feature-filled library, but it's free, and good for "quickies". <BR>If you are wanting something a bit more feature-filled, wXwindows does a <BR>bit more than "V" and allows you to compile both on Unix and under <BR> <BR>Windows. (As does "V"). <BR> <BR>And of course, you CAN buy Motif. This is especially true if you buy <BR>a commercial "screen builder" product for "X" to ease your task of <BR>programming "X" (which is a pain in the rear)... most of those generate <BR>Motif code, meaning you'll need Motif to compile them. (LessTif, a free <BR>re-implementation of Motif, isn't ready for prime time yet, alas). <BR> <BR>Most of the problems people have with Motif and CDE deal with the fact <BR>that those are commercial products copyrighted by the Open Software <BR>Foundation (which, contrary to its name, is *NOT* a non-profit <BR>organization!). Motif terms are fairly reasonable -- a one-time lump <BR>sum payment to OSF, no re-distribution royalties. If you wonder why <BR>CDE is so expensive for Linux, though, look at OSF's terms to software <BR>developers -- assuming that there are 1,000 Linux users willing to buy <BR>CDE from me, I would have to charge over $385 just to cover my costs of <BR>buying the source (much less the cost of packaging it, porting it to <BR>Linux, etc). Apparently the OSF is favoring the large Unix vendors who <BR>ship much more than 1,000 copies, at the expense of the smaller vendors. <BR>Which makes sense, considering who owns the OSF (DEC, HP, SGI?). <BR> <BR>-- <BR>Eric Lee Green <A HREF="mailto:exec@softdisk.com">exec@softdisk.com</A> Executive Consultants <BR>Systems Specialist Educational Administration Solutions <BR> <BR>-- <BR> <BR>当我看到CAM中的 PEP 循环时 <BR> 我突然领悟到上帝创造我的原因 <BR> <BR>-- <BR> * Origin: ● 台大电机 Maxwell 站 ● From: 140.112.216.29 <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -