(build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
Any idea why this can possibly happen? fixes/workarounds? Thank you.
Best regards,
Alexandre Bezroutchko
www.gremwell.com
--
Problem reports: http://cygwin.com/problems.html
FAQ:
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
Any idea why this can possibly happen? fixes/workarounds? Thank you.
Best regards,
Alexandre Bezroutchko
www.gremwell.com
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Docu
you can use a different separator in the sed command.
You can use the following line
echo 123 | sed "s%2%${HOME}%g"
Right, this will work in most cases. But will fail if $HOME happens to
contains % sign.
The version I have suggested in the previous post is more robust.
Best regards,
Alex
Hi Fergus,
The problem is $HOME contains '/' character used as delimited in regex.
You need to escape it first:
HOME_ESCAPED=`echo "$HOME" | sed 's#/#/#g'`
echo 123 | sed "s/2/$HOME_ESCAPED/g"
It is not cygwin-specific.
Cheers,
Alex
www.gremwell.com
On 11/25/2010 02:15 PM, Fergus wrote:
I'm not the expert on cygwin.exe, but there might be an easier way to
solve you problem.
For POSIX shell scripts you could keep a symlink /my-usb-stick pointing
to /cygdrive/X, and use that symlink in your scripts. Similarly, for
Windows batch scripts you keep drive mapping with native Windows
w to fix it) are
greatly appreciated...
Am I doing something fundamentally wrong by relocating/stripping
cygwin distribution? I thought recent versions of cygwin should
tolerate execution from alternative locations, as there is no more
pathes hardcoded into the registry.
Best regards,
A
Andrew,
Yes, I understand that it is not possible for you to invest too much
time into an exotic bug like this one. Thank you for the response.
Apparently, reattaching works from rxvt if the detached 'screen' process
was launched from the console. With a little bit of luck it let me
continue usin
reattach to it, the reattaching 'screen'
process hangs. It is easy to reproduce:
sh-3.2# screen -d -m sleep 1000
sh-3.2# screen -ls
There is a screen on:
1072..rock (Detached)
1 Socket in /tmp/screens/S-abb.
sh-3.2# screen -r
...
Output of cygcheck is attached. Please help...
Best
8 matches
Mail list logo