### Eclipse Workspace Patch 1.0 #P org.eclipse.rse.shells.ui Index: src/org/eclipse/rse/shells/ui/view/SystemViewRemoteOutputAdapter.java =================================================================== RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/shells/ui/view/SystemViewRemoteOutputAdapter.java,v retrieving revision 1.33 diff -u -r1.33 SystemViewRemoteOutputAdapter.java --- src/org/eclipse/rse/shells/ui/view/SystemViewRemoteOutputAdapter.java 17 Jul 2007 18:33:42 -0000 1.33 +++ src/org/eclipse/rse/shells/ui/view/SystemViewRemoteOutputAdapter.java 20 Sep 2007 20:53:29 -0000 @@ -1241,16 +1241,7 @@ } else if (name.equals(ISystemPropertyConstants.P_SHELL_CONTEXT)) { - Object context = cmdShell.getContext(); - if (context instanceof IRemoteFile) - { - IRemoteFile cwd = (IRemoteFile)context; - return cwd.getAbsolutePath(); - } - else - { - return context; - } + return cmdShell.getContextString(); } } return ""; //$NON-NLS-1$