I do not think it is on purpose. Both keys should work on all platforms. I am on windows and they work fine for me. So someone on MacOsx might want to confirm.
maybe the version of the bundles aren't correct:
Apache Felix Karaf :: Shell OSGi Commands (1.4.0.fuse-01-00)
Apache Felix Gogo Shell Runtime (0.2.2)
Does these includes the corrections made to support these keys?
Those are all correct library versions. I am running on Mac OSX 10.6.2, JDK 1.5 and JDK 1.6 with the release and it works fine for me. Is this a consistent issue (restart after deleting data dir, etc)? Any os/java info you can provide will help us figure this out.
Karaf home /opt/servers/fuse-esb/apache-servicemix-4.2.0-fuse-01-00
Karaf base /opt/servers/fuse-esb/apache-servicemix-4.2.0-fuse-01-00
OSGi Framework org.eclipse.osgi - 3.5.1.R35x_v20090827
Java Virtual Machine Java HotSpot(TM) 64-Bit Server VM version 14.3-b01-101
Vendor Apple Inc.
Uptime 5 minutes
Total compile time 7.076 seconds
Live threads 42
Daemon threads 23
Total started 90
Current heap size 22,292 kbytes
Maximum heap size 83,392 kbytes
Committed heap size 81,280 kbytes
Pending objects 0
Garbage collector Name = 'ParNew', Collections = 35, Time = 0.287 seconds
Garbage collector Name = 'ConcurrentMarkSweep', Collections = 2, Time = 0.361 seconds
Current classes loaded 4,953
Total classes loaded 4,964
Total classes unloaded 11
Name Mac OS X version 10.6.2
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
(sorry, just noticed the java version wasn't there)
Also I deleted all stuff under /data. Still, same result.
Edited by: jsbournival on Feb 17, 2010 6:22 PM
Are you using the console directory (e.g. after starting bin/servicemix) or are you logging into the console over ssh? Are there any changes to the default MacOS settings for Terminal or to the TERM environment variable over the default installation settings?
using console dir.
Here are my term settings:
I don't know the exact meaning of these, nor their relation to the gogo shell. Maybe you guys will find something.
Under terminal->preferences->"Advanced" tab, could you make sure that the "Delete send Ctrl-H" is unchecked? I have tried all of your settings and config and this is the only thing that I could find in Terminal to break the backspace and delete functionality.
Let me know if this is unchecked and still exhibits the behavior.
Thanks for the tip. Have to check the purpose of this option (ctrl-h).
Thanks a lot for your help.
That is basically used by old terminals that didn't have a hard backspace key. I'll see if there is anything we can do to support that sequence so that it doesn't cause confusion.
Hi. When you open console, is the word ServiceMix (ServiceMix text logo) light blue color by any chance?
In my company, we noticed that sometimes for whatever reason (error) this logo turns from white color to light blue. Sometimes it happens for no apparent reason. And when it happens backspace and delete are no longer working and console is reacting slower to key presses.
It's on Win XP and Win 2003.
Are you using the released FUSE ESB 4.2.0-fuse-01-00 ? There was an issue fixed in the final release that sounds much like what you describe with the ANSI colors working after restart but the backspace, etc not working. Let me know if you see this with the 4.2.0 final release.