Nice plugin! I set the shell to be cygwin in the preferences. Shell view is ok and all works fine. However the shell error window keeps poping up with one character being displayed each time. Is this normal behaviour? I did turn off the shell error window to not have the popup.
I did set the PS1 to be PS1='cyg $ '.
-----
27. May 2006 07:18:48 # Shell Error Display is listening...
27 May 2006 07:18:50 # ]0;~
27 May 2006 07:18:50 # [32mmorechoff@ACI02 [33m~[0m
27 May 2006 07:19:19 # x
27 May 2006 07:19:31 # w
27 May 2006 07:19:47 # c
-------------
]0;~
[32mmorechoff@A02 [33m~[0m
$ export PS1='cyg $ '
cyg $ pwd
/cygdrive/c/Documents and Settings/morechoff
cyg $ echo $HOME
/cygdrive/c/Documents and Settings/morechoff
cyg $ pwd
/cygdrive/c/Documents and Settings/morechoff
cyg $
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it is normal behaviour that on startup the bash.exe puts something in the error output, I don't know why... But the first error message you get,
27 May 2006 07:18:50 # ]0;~
27 May 2006 07:18:50 # [32mmorechoff@ACI02 [33m~[0m
can be eliminated by setting the PS1 variable in the '.bashrc' file of your cygwin user home directory. The problem is, that the default setting of the PS1 sends some ASCII escape characers (]0;~ , [32m , [33m and [0m) which cannot be displayed by the SWT Text widget. When you set the PS1=\\t' '\\u'@'\\H\\r\\n\\w'$ ' and define your cygwin root folder (installation directory) you also have command completion.
Regards Stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The first "errors" I understand (they are from the PS1), but after I set PS1 to be 'cyg $ ', whenever I enter a command I get the one character returned in error window.
Are you saying the one character returned for each command is normal behaviour too?
Thanks Stefan!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi back,
I just had a look and it seems to be 'normal'. Actually I didn't pay attention to the error log as I disabled the popup on error as well. The characters come from the OutputStream of the bash.exe RuntimeProcess . I don't know why but it doesn't seem to harm either :-). I'll take a closer look, maybe I do something wrong on transferring the input...
Hope the plugin is still usable though.
Regards Stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nice plugin! I set the shell to be cygwin in the preferences. Shell view is ok and all works fine. However the shell error window keeps poping up with one character being displayed each time. Is this normal behaviour? I did turn off the shell error window to not have the popup.
I did set the PS1 to be PS1='cyg $ '.
-----
27. May 2006 07:18:48 # Shell Error Display is listening...
27 May 2006 07:18:50 # ]0;~
27 May 2006 07:18:50 # [32mmorechoff@ACI02 [33m~[0m
27 May 2006 07:19:19 # x
27 May 2006 07:19:31 # w
27 May 2006 07:19:47 # c
-------------
]0;~
[32mmorechoff@A02 [33m~[0m
$ export PS1='cyg $ '
cyg $ pwd
/cygdrive/c/Documents and Settings/morechoff
cyg $ echo $HOME
/cygdrive/c/Documents and Settings/morechoff
cyg $ pwd
/cygdrive/c/Documents and Settings/morechoff
cyg $
Hi Mike,
it is normal behaviour that on startup the bash.exe puts something in the error output, I don't know why... But the first error message you get,
27 May 2006 07:18:50 # ]0;~
27 May 2006 07:18:50 # [32mmorechoff@ACI02 [33m~[0m
can be eliminated by setting the PS1 variable in the '.bashrc' file of your cygwin user home directory. The problem is, that the default setting of the PS1 sends some ASCII escape characers (]0;~ , [32m , [33m and [0m) which cannot be displayed by the SWT Text widget. When you set the PS1=\\t' '\\u'@'\\H\\r\\n\\w'$ ' and define your cygwin root folder (installation directory) you also have command completion.
Regards Stefan
Hi Stefan!
The first "errors" I understand (they are from the PS1), but after I set PS1 to be 'cyg $ ', whenever I enter a command I get the one character returned in error window.
Are you saying the one character returned for each command is normal behaviour too?
Thanks Stefan!
Hi back,
I just had a look and it seems to be 'normal'. Actually I didn't pay attention to the error log as I disabled the popup on error as well. The characters come from the OutputStream of the bash.exe RuntimeProcess . I don't know why but it doesn't seem to harm either :-). I'll take a closer look, maybe I do something wrong on transferring the input...
Hope the plugin is still usable though.
Regards Stefan