Re: [Wickedshell-user] wickedshell on Linux - bash unresponsive
Brought to you by:
sreichert
From: <sla...@ma...> - 2007-01-04 10:28:00
|
ste...@lh... wrote: > Hi Stephane, >=20 > Wicked Shell works text baesed and analyses the shell output for > identifying the current path. Therefor a prompt delimiter is > configured which is yet not modifyable (I'm working on that :) and > the prompt has to have a specific format. A format suggestion is > provided in the quick guide in the section 'Msys and Cygwin' > (http://www.wickedshell.net/documentation/Wicked%20Shell%20Documentatio= n.pdf). Thanks for the hint. I defined the PS1 variable accordingly, adding this=20 line to my .bashrc: export PS1=3D"\\t' '\\u'@'\\H\\r\\n\\w' $" Then, I reopened the Wicked Shell view. The new PS1 is taken into=20 account as I see first the user@host line, then the prompt. But when I=20 type a first character, Wicked Shell inserts a '#' before it, and=20 remains unresponsive to the following characters (well, it just writes=20 the characters on the screen, but when hitting "Enter", it just goes to=20 next line). Or maybe I got wrong the following sentences from the Msys and Cygwin=20 paragraph. What does the second one really means? =3D=3D=3D=3D=3D=3D=3D=3D=3D The second line provides the necessary information for Wicked Shell. The=20 current full path and the separator '& ' which both are required as last=20 line. =3D=3D=3D=3D=3D=3D=3D=3D Thanks for your help! Cheers :-) St=E9phane >=20 > Hope that helps. >=20 > Best Regards and thanks for posting, Stefan >=20 > -----Urspr=FCngliche Nachricht----- Von: > wic...@li... > [mailto:wic...@li...] Im Auftrag > von St=E9phane Lauri=E8re Gesendet: Donnerstag, 4. Januar 2007 11:03 An= : > wic...@li... Betreff: [Wickedshell-user] > wickedshell on Linux - bash unresponsive >=20 > Hi all, hi Stefan! >=20 > Wicked sounds like the right plugin I'm missing for running most my=20 > things from Eclipse directly.. However, while trying to run shell=20 > commands, I currently get no response. The shell view opens well, and > displays the following: >=20 > =3D=3D=3D=3D=3D bash: no job control in this shell [sebastocha@localhos= t > Workspace1]$ #ls =3D=3D=3D=3D=3D >=20 > ...but when typing a command like ls, the view does not respond. Any > idea? I copy below i) the log entry error I get, ii) my > configuration. >=20 > Cheers >=20 > St=E9phane Lauri=E8re >=20 >=20 > Log entry =3D=3D=3D=3D=3D=3D=3D=3D=3D !ENTRY org.eclipse.ui 4 0 2007-01= -04 10:39:48.012 > !MESSAGE String index out of range: -1 !STACK 0=20 > java.lang.StringIndexOutOfBoundsException: String index out of range: > -1 at java.lang.String.substring(String.java:1768) at=20 > net.sf.wickedshell.facade.IShellFacade$ShellFacade.getCurrentPath(IShel= lFacade.java:377) > at=20 > net.sf.wickedshell.facade.IShellFacade$ShellFacade.setCurrentCommand(IS= hellFacade.java:446) > at=20 > net.sf.wickedshell.facade.IShellFacade$ShellFacade.executeCommand(IShel= lFacade.java:331) > at=20 > net.sf.wickedshell.ui.shell.viewer.ShellViewerKeyAdapter.keyPressed(She= llViewerKeyAdapter.java:68) > at=20 > org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:12= 2) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)=20 > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) at > org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1109) at > org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1094) at > org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1121) at > org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:655)=20 > at > org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2082) > at org.eclipse.swt.widgets.Text.gtk_key_press_event(Text.java:1251)=20 > at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1434) at > org.eclipse.swt.widgets.Display.windowProc(Display.java:3796) at > org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at > org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5245) at > org.eclipse.swt.widgets.Display.eventProc(Display.java:1133) at > org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native > Method) at > org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1427) > at > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2838) at > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)=20 > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at=20 > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:= 419) > at > org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)=20 > at > org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) > at=20 > org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActiv= ator.java:78) > at=20 > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplica= tion(EclipseAppLauncher.java:92) > at=20 > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ecli= pseAppLauncher.java:68) > at=20 > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java= :400) > at=20 > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java= :177) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at=20 > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:39) > at=20 > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) at > org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at > org.eclipse.core.launcher.Main.basicRun(Main.java:280) at > org.eclipse.core.launcher.Main.run(Main.java:977) at > org.eclipse.core.launcher.Main.main(Main.java:952) =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >=20 >=20 >=20 > Config =3D=3D=3D=3D=3D=3D=3D eclipse.buildId=3DM20060629-1905 eclipse.c= ommands=3D-os=20 > linux -ws gtk -arch x86 -launcher /usr/local/eclipse/eclipse -name=20 > Eclipse -showsplash 600 -exitdata d8001 -data=20 > /home/sebastocha/Workspace1 -vm /usr/java/jdk1.5.0_02/bin/java >=20 >=20 >=20 |