⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 interview

📁 windows版本的emacs
💻
📖 第 1 页 / 共 2 页
字号:
			   GNU'S NOT UNIX		 Conducted by David Betz and Jon Edwards	      Richard Stallman discusses his public-domain		    UNIX-compatible software system			   with BYTE editors			      (July 1986)Copyright (C) 1986 Richard Stallman.  Permission is granted to make anddistribute copies of this article as long as the copyright and this noticeappear on all copies.Richard Stallman has undertaken probably the most ambitious free softwaredevelopment project to date, the GNU system.  In his GNU Manifesto,published in the March 1985 issue of Dr. Dobb's Journal, Stallman describedGNU as a "complete Unix-compatible software system which I am writing sothat I can give it away free to everyone who can use it...  Once GNU iswritten, everyone will be able to obtain good system software free, justlike air."  (GNU is an acronym for GNU's Not UNIX; the "G" is pronounced.)   Stallman is widely known as the author of EMACS, a powerful text editorthat he developed at the MIT Artificial Intelligence Laboratory.  It is nocoincidence that the first piece of software produced as part of the GNUproject was a new implementation of EMACS.  GNU EMACS has already achieved areputation as one of the best implementations of EMACS currently availableat any price.BYTE: We read your GNU Manifesto in the March 1985 issue of Dr. Dobb's.What has happened since?  Was that really the beginning, and how have youprogressed since then?Stallman: The publication in Dr. Dobb's wasn't the beginning of theproject.  I wrote the GNU Manifesto when I was getting ready to start theproject, as a proposal to ask computer manufacturers for funding.  Theydidn't want to get involved, and I decided that rather than spend my timetrying to pursue funds, I ought to spend it writing code.  The manifesto waspublished about a year and a half after I had written it, when I had barelybegun distributing the GNU EMACS.  Since that time, in addition to makingGNU EMACS more complete and making it run on many more computers, I havenearly finished the optimizing C compiler and all the other software thatis needed for running C programs.  This includes a source-level debuggerthat has many features that the other source-level debuggers on UNIX don'thave.  For example, it has convenience variables within the debugger so youcan save values, and it also has a history of all the values that you haveprinted out, making it tremendously easier to chase around list structures.BYTE: You have finished an editor that is now widely distributed and youare about to finish the compiler.Stallman: I expect that it will be finished this October.BYTE: What about the kernel?Stallman: I'm currently planning to start with the kernel that was writtenat MIT and was released to the public recently with the idea that I woulduse it.  This kernel is called TRIX; it's based on remote procedure call.  Istill need to add compatibility for a lot of the features of UNIX which itdoesn't have currently.  I haven't started to work on that yet.  I'mfinishing the compiler before I go to work on the kernel.  I am also goingto have to rewrite the file system.  I intend to make it failsafe just byhaving it write blocks in the proper order so that the disk structure isalways consistent.  Then I want to add version numbers.  I have a complicatedscheme to reconcile version numbers with the way people usually use UNIX.You have to be able to specify filenames without version numbers, but youalso have to be able to specify them with explicit version numbers, andthese both need to work with ordinary UNIX programs that have not beenmodified in any way to deal with the existence of this feature.  I think Ihave a scheme for doing this, and only trying it will show me whether itreally does the job.BYTE: Do you have a brief description you can give us as to how GNU as asystem will be superior to other systems?  We know that one of your goals isto produce something that is compatible with UNIX.  But at least in the areaof file systems you have already said that you are going to go beyond UNIXand produce something that is better.Stallman: The C compiler will produce better code and run faster.  Thedebugger is better.  With each piece I may or may not find a way to improveit.  But there is no one answer to this question.  To some extent I amgetting the benefit of reimplementation, which makes many systems muchbetter.  To some extent it's because I have been in the field a long timeand worked on many other systems.  I therefore have many ideas to bring tobear.  One way in which it will be better is that practically everything inthe system will work on files of any size, on lines of any size, with anycharacters appearing in them.  The UNIX system is very bad in that regard.It's not anything new as a principle of software engineering that youshouldn't have arbitrary limits.  But it just was the standard practice inwriting UNIX to put those in all the time, possibly just because they werewriting it for a very small computer.  The only limit in the GNU system iswhen your program runs out of memory because it tried to work on too muchdata and there is no place to keep it all.BYTE: And that isn't likely to be hit if you've got virtual memory.  You mayjust take forever to come up with the solution.Stallman: Actually these limits tend to hit in a time long before you takeforever to come up with the solution.BYTE: Can you say something about what types of machines and environmentsGNU EMACS in particular has been made to run under?  It's now running onVAXes; has it migrated in any form to personal computers?Stallman: I'm not sure what you mean by personal computers.  For example, isa Sun a personal computer?  GNU EMACS requires at least a megabyte ofavailable memory and preferably more.  It is normally used on machines thathave virtual memory.  Except for various technical problems in a few Ccompilers, almost any machine with virtual memory and running a fairlyrecent version of UNIX will run GNU EMACS, and most of them currently do.BYTE: Has anyone tried to port it to Ataris or Macintoshes?Stallman: The Atari 1040ST still doesn't have quite enough memory.  The nextAtari machine, I expect, will run it.  I also think that future Ataris willhave some forms of memory mapping.  Of course, I am not designing thesoftware to run on the kinds of computers that are prevalent today.  I knewwhen I started this project it was going to take a few years.  I thereforedecided that I didn't want to make a worse system by taking on theadditional challenge of making it run in the currently constrainedenvironment.  So instead I decided I'm going to write it in the way thatseems the most natural and best.  I am confident that in a couple of yearsmachines of sufficient size will be prevalent.  In fact, increases in memorysize are happening so fast it surprises me how slow most of the people areto put in virtual memory; I think it is totally essential.BYTE: I think people don't really view it as being necessary forsingle-user machines.Stallman: They don't understand that single user doesn't mean singleprogram.  Certainly for any UNIX-like system it's important to be able torun lots of different processes at the same time even if there is only oneof you.  You could run GNU EMACS on a nonvirtual-memory machine with enoughmemory, but you couldn't run the rest of the GNU system very well or a UNIXsystem very well.BYTE: How much of LISP is present in GNU EMACS?  It occurred to me that itmay be useful to use that as a tool for learning LISP.Stallman: You can certainly do that.  GNU EMACS contains a complete,although not very powerful, LISP system.  It's powerful enough for writingeditor commands.  It's not comparable with, say, a Common LISP System,something you could really use for system programming, but it has all thethings that LISP needs to have.BYTE: Do you have any predictions about when you would be likely todistribute a workable environment in which, if we put it on our machines orworkstations, we could actually get reasonable work done without usinganything other than code that you distribute?Stallman: It's really hard to say.  That could happen in a year, but ofcourse it could take longer.  It could also conceivably take less, butthat's not too likely anymore.  I think I'll have the compiler finished in amonth or two.  The only other large piece of work I really have to do is inthe kernel.  I first predicted GNU would take something like two years, butit has now been two and a half years and I'm still not finished.  Part ofthe reason for the delay is that I spent a lot of time working on onecompiler that turned out to be a dead end.  I had to rewrite it completely.Another reason is that I spent so much time on GNU EMACS.  I originallythought I wouldn't have to do that at all.BYTE: Tell us about your distribution scheme.Stallman: I don't put software or manuals in the public domain, and thereason is that I want to make sure that all the users get the freedom toshare.  I don't want anyone making an improved version of a program I wroteand distributing it as proprietary.  I don't want that to ever be able tohappen.  I want to encourage the free improvements to these programs, andthe best way to do that is to take away any temptation for a person to makeimprovements nonfree.  Yes, a few of them will refrain from makingimprovements, but a lot of others will make the same improvements andthey'll make them free.BYTE: And how do you go about guaranteeing that?Stallman: I do this by copyrighting the programs and putting on a noticegiving people explicit permission to copy the programs and change them butonly on the condition that they distribute under the same terms that Iused, if at all.  You don't have to distribute the changes you make to anyof my programs--you can just do it for yourself, and you don't have to giveit to anyone or tell anyone.  But if you do give it to someone else, youhave to do it under the same terms that I use.BYTE: Do you obtain any rights over the executable code derived from the Ccompiler?Stallman: The copyright law doesn't give me copyright on output from thecompiler, so it doesn't give me a way to say anything about that, and infact I don't try to.  I don't sympathize with people developing proprietaryproducts with any compiler, but it doesn't seem especially useful to try tostop them from developing them with this compiler, so I am not going to.BYTE: Do your restrictions apply if people take pieces of your code toproduce other things as well?Stallman: Yes, if they incorporate with changes any sizable piece.  If itwere two lines of code, that's nothing; copyright doesn't apply to that.Essentially, I have chosen these conditions so that first there is acopyright, which is what all the software hoarders use to stop everybodyfrom doing anything, and then I add a notice giving up part of thoserights.  So the conditions talk only about the things that copyright appliesto.  I don't believe that the reason you should obey these conditions isbecause of the law.  The reason you should obey is because an upright personwhen he distributes software encourages other people to share it further.BYTE: In a sense you are enticing people into this mode of thinking byproviding all of these interesting tools that they can use but only if theybuy into your philosophy.Stallman: Yes.  You could also see it as using the legal system thatsoftware hoarders have set up against them.  I'm using it to protect thepublic from them.BYTE: Given that manufacturers haven't wanted to fund the project, who doyou think will use the GNU system when it is done?Stallman: I have no idea, but it is not an important question.  My purposeis to make it possible for people to reject the chains that come withproprietary software.  I know that there are people who want to do that.Now, there may be others who don't care, but they are not my concern.  Ifeel a bit sad for them and for the people that they influence.  Right now aperson who perceives the unpleasantness of the terms of proprietary

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -