I've been interested in this myself, but I don't think this can be done without a code change.
If I remove org.apache.felix.gogo.jline-1.1.0.jar and put in org.apache.felix.gogo.shell-1.1.0.jar then start Felix clean, telnetd exists and is usable, though the commands supplied are significantly less. I can't get them both to work together. >From what I can see: * jline-3.7.0.jar has org.jline.builtins.ssh and org.jline.builtins.telnet packages which should enable parts of what is needed * org.apache.felix.gogo.jline-1.1.0.jar has gosh_profile with telnetd and sshd entries * Scanning the source code for gogo.jline however, only has "telnet" appear in source under gogo/jline/src/test - nothing under gogo/jline/src/main * Looking at gogo.jline's gogo.jline's Activator class (https://github.com/apache/felix/blob/trunk/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Activator.java) doesn't register any functions related to telnet or sshd * Looking at gogo.shell's Activator class does for telnet (https://github.com/apache/felix/blob/trunk/gogo/shell/src/main/java/org/apache/felix/gogo/shell/Activator.java) I suspect some and/or all of src/test/java/org/apache/felix/gogo/jline/telnet would need to be sucked into main and the Activator class updated to achieve it. Though the src/test doesn't include the ssh or telnet packages already embedded in JLine, so there may be some opportunity there for reuse? Doing a compare of the telnet classes, they are substantially similar with the only real significant being in the Telnet class itself, all the supporting classes are virtually identical. -- Sent from: http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-f4833200.html --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org