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

