External Editor in Sun Studio 8 IDE

When I invoke any external editor (Gvim or Xemacs) via File->Open File, a note dialog comes up which says:

Waiting for connection from external editor...... If you want to cancel external editor support and use the built-in editor instead, click Cancel

The external editor never comes up and the dialog box stays there until I click "Cancel".

While this might occur for a number of common reasons, which hopefully I've considered, while trying to troubleshoot, the solution was very strange. When my unix prompt contained a carriage return as in the following:

"413:sc:/home/server_k55/rbuckwa

"

as defined by:

PS1='!:$Hostname $PWD

'

the above described behavior occurred.

However, when the unix prompt did not contain a carriage return as in:

"sc{413}$"

defined by:

PS1="$Hostname{!}$ "

the IDE opened the file and the external editor successfully.

Does anyone have any explanation or experience with this strange behavior. BTW I'm running Solaris 8.

thanks,

rick

[1083 byte] By [richard.buckwalter] at [2007-11-26 10:01:53]
# 1
This sounds like a bug. We probably don't test with a promptcontaining a carriage return. You can file this bug using http://bugs.sun.com if you like. Look for the "Sun Studio" categories.--chris
ChrisQuenelle at 2007-7-7 1:33:15 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

Yes, I agree, this looks like a bug. We fixed several bugs in the "External Editor"

module, so it is possible that this bug is fixed in Sun Studio 11.

Could you please download and try Sun Studio 11?

It is the latest release, it is supported and it is FREE.

Here is a pointer to the download center:

http://www.sun.com/download/index.jsp?cat=Application%20Development&tab=3&# 38;subcat=Development%20Tools

NikMolchanov at 2007-7-7 1:33:15 > top of Java-index,Development Tools,Solaris and Linux Development Tools...