-
1. Re: Fuse 4.2: backspace/delete key in karaf shell
joe.luo Feb 16, 2010 10:19 AM (in response to jsbournival)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.
-
2. Re: Fuse 4.2: backspace/delete key in karaf shell
jsbournival Feb 16, 2010 10:40 AM (in response to joe.luo)maybe the version of the bundles aren't correct:
I have,
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?
-
3. Re: Fuse 4.2: backspace/delete key in karaf shell
ccustine Feb 17, 2010 12:20 PM (in response to jsbournival)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.
Chris
-
4. Re: Fuse 4.2: backspace/delete key in karaf shell
jsbournival Feb 17, 2010 1:16 PM (in response to ccustine)karaf@root> info
Karaf
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
JVM
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
Threads
Live threads 42
Daemon threads 23
Peak 45
Total started 90
Memory
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
Classes
Current classes loaded 4,953
Total classes loaded 4,964
Total classes unloaded 11
Operating system
Name Mac OS X version 10.6.2
Architecture x86_64
Processors 2
-
5. Re: Fuse 4.2: backspace/delete key in karaf shell
jsbournival Feb 17, 2010 1:23 PM (in response to jsbournival)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
-
6. Re: Fuse 4.2: backspace/delete key in karaf shell
gertv Feb 19, 2010 4:47 AM (in response to jsbournival)L.S.,
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?
Regards,
Gert
-
7. Re: Fuse 4.2: backspace/delete key in karaf shell
jsbournival Feb 22, 2010 9:13 AM (in response to gertv)using console dir.
Here are my term settings:
TERM_PROGRAM=Apple_Terminal
TERM=xterm
SHELL=/bin/bash
TERM_PROGRAM_VERSION=272
COMMAND_MODE=unix2003
LC_CTYPE=en_US.UTF-8
LANG=fr_CA.ISO8859-1
I don't know the exact meaning of these, nor their relation to the gogo shell. Maybe you guys will find something.
Thanks,
JS.
-
8. Re: Fuse 4.2: backspace/delete key in karaf shell
ccustine Feb 24, 2010 3:03 PM (in response to jsbournival)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.
-
9. Re: Fuse 4.2: backspace/delete key in karaf shell
jsbournival Feb 24, 2010 3:25 PM (in response to ccustine)it works.
Thanks for the tip. Have to check the purpose of this option (ctrl-h).
Thanks a lot for your help.
JS
-
10. Re: Fuse 4.2: backspace/delete key in karaf shell
ccustine Feb 24, 2010 3:31 PM (in response to jsbournival)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.
Thanks,
Chris
-
11. Re: Fuse 4.2: backspace/delete key in karaf shell
tjakopan Feb 26, 2010 9:45 AM (in response to jsbournival)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.
-
12. Re: Fuse 4.2: backspace/delete key in karaf shell
ccustine Feb 26, 2010 2:50 PM (in response to tjakopan)Tomislav,
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.
Chris