Posted on 11/13/2009 1:37:37 PM PST by Swordmaker
It would seem that perhaps Microsoft is actually thinking that they might have a PROBLEM
We all know why this one was posted and it seems many folks here have never used sudo.
The first installation of emacs I ran at home, /usr/local/bin/emacs was larger than /unix (and I had to port emacs to my local architecture before it would run, but that's another story..
Being the guy who kept XEmacs running as a login shell for some years, allow me to quote myself:
/* This is hairy. We need to compute where the XEmacs binary was invoked from because temacs initialization requires it to find the lisp directories. The code that recomputes the path is guarded by the restarted flag. There are three possible paths I've found so far through this:
temacs -- When running temacs for basic build stuff, the first main_1 will be the only one invoked. It must compute the path else there will be a very ugly bomb in startup.el (can't find obvious location for doc-directory data-directory, etc.).
temacs w/ run-temacs on the command line -- This is run to bytecompile all the out of date dumped lisp. It will execute both of the main_1 calls and the second one must not touch the first computation because argc/argv are hosed the second time through.
xemacs -- Only the second main_1 is executed. The invocation path must computed but this only matters when running in place or when running as a login shell.
As a bonus for straightening this out, XEmacs can now be run in place as a login shell. This never used to work.
As another bonus, we can now guarantee that (concat invocation-directory invocation-name) contains the filename of the XEmacs binary we are running. This can now be used in a definite test for out of date dumped files. -slb */
"You are not expected to understand this."
I did that over 20 years ago on my first emacs build on System V. It's a very nice test to be sure that your emacs works.
So for the Microsofties, the burning question is when are you going to be able to run notepad, or whatever your basic editor is called from within a Microsoft Word screen?
Yeah and as the great Henry Spencer wrote: “He who does not understand Unix is doomed to reimplement it ... badly.”
When i say emacs I really mean xemacs cuz that is what I run - I forked about 10 years ago and have never looked back.
If you like that, you might take a look at zsh (installed by default on Mac OS X). The emacs mode command line editing in zsh is superb. Zsh is significant because it also features right side command line prompts (which auto erase when you type into them) that can be used to display context. My .z* files set the hostname, userid and current directory (works in xterm-compatibles like Terminal.app and kconsole) in the title bar and the hostname, userid and error return status of the previous command on the right side of the command line. Colored, of course, if the display permits it. Because of the way the zsh command line hooks work, this all works correctly regardless of what command you use to log in to remote hosts.
One of the things I love about Unix is the sheer number of choices available to us.
+1 I'm a Unix guy who is delighted that AAPL has put such a happy face on my beloved OS. Unix - Live Free or Die.
This is nothing. In another application still working its way through the system, Microsoft attempts to patent the invention of any Operating System whose name contains the letter "u" as well as the letters "nix"!
Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.