[13542] in Athena Bugs
xcodecenter for the decmips
daemon@ATHENA.MIT.EDU (alexp@MIT.EDU)
Fri Jun 2 12:08:14 1995
From: alexp@MIT.EDU
Date: Fri, 2 Jun 1995 12:07:51 -0400
To: yandros@MIT.EDU, bugs@MIT.EDU
Cc: alexp@MIT.EDU
Hi,
Finally got to this. Yes, they should recognize ed; I just told them
they should put it in- don't hold your breath.
As to the other part of the issue- yes, it is a good idea to make emacs
the default. We are checking around first to see if we are likely to
get flamed by vi fans :-)
>From yandros@MIT.EDU Wed Jun 8 13:03:43 1994
>Received: by gregor.MIT.EDU (5.57/4.7) id AA05870; Wed, 8 Jun 94 13:03:37 -040>0
>Received: from INFOCALYPSE.MIT.EDU by MIT.EDU with SMTP
> id AA20624; Wed, 8 Jun 94 13:03:27 EDT
>From: yandros@MIT.EDU
>Received: by infocalypse.MIT.EDU (5.0/4.7) id AA07257; Wed, 8 Jun 94 13:03:25 >EDT
>Date: Wed, 8 Jun 94 13:03:25 EDT
>Message-Id: <9406081703.AA07257@infocalypse.MIT.EDU>
>To: bugs@MIT.EDU
>Subject: xcodecenter for the decmips
>X-Orgs: MIT SIPB VWA DCNS
>X-Shabby: not
>Content-Length: 1856
>
>
>What were you trying to do?
>
> Figure out why my code didn't think I was allocating the space I
> thought it was allocating, but that's not important right now.
>
>What did you type:
>
> ; add saber
> ; xcodecenter &
>
>So what are you complaining about?
>
> It said:
>
> Warning: Unknown EDITOR "ed". Using vi instead.
> Type 'man edit' for more information; you have to setopt
> the edit options described there to use your editor.
> Alternately, if your editor is an emacs-like editor, try
> giving it an alternate name that ends in "macs", setting
> EDITOR to that name, and restarting CodeCenter.
>
>Would you like to be indignant now?
>
> Why, yes; thank you.
>
> What does it mean `Unknown EDITOR "ed".'? OF COURSE it knows what
> ed is.
>
> Here's the section from ed(1), in case you don't have it memorized (I
> can't see why not, but maybe you don't):
>
> Name
> ed, red - text editor
>
> Syntax
> ed [-] [-pstring] [-x] [file]
>
> red [-] [-x] [file]
>
> Description
> The ed text editor is the standard text editor.
>
> Note that it doesn't say `The vi text editor is the standard text
> editor.' or `The ed text editor is the standard text editor if you
> rename it to end with `macs'.' (if I wanted to use a mac, I
> certainly wouldn't be using CodeCenter!). The difference between
> having CodeCenter run `vi' and having CodeCenter run `ed' is
> nonexistant, since it runs an xterm for vi anyway. If it ran a
> standard editor like ed by default, then it wouldn't need to waste
> all those cycles forking xterm every time... ..and Falling back on
> `vi'? If it wants an emacs-like editor, why not pick `emacs'?
>
>What would you like to see done?
>
> Someone should tell CenterLine to teach CodeCenter about ed. It
> should take about 14 seconds.
>
> The default here at athena should be set to `emacs', not `vi'.
>
>
>