[12107] in Athena Bugs

home help back first fref pref prev next nref lref last post

xcodecenter for the decmips

daemon@ATHENA.MIT.EDU (yandros@MIT.EDU)
Wed Jun 8 13:03:38 1994

From: yandros@MIT.EDU
Date: Wed, 8 Jun 94 13:03:25 EDT
To: bugs@MIT.EDU


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'.



home help back first fref pref prev next nref lref last post