karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Using karaf 4.2.2, From PUTTY console, After entering characters, inconsistency while reading characters.
Date Mon, 29 Apr 2019 11:46:56 GMT
Can you please share the command ? It's a Gogo commands (not a Karaf
one), right ?

Regards
JB

On 29/04/2019 13:28, Ravi wrote:
> Thank you for reply.
> 
> It means that you have your own command, right ?
> YES
> 
> Do you use regular command arguments or is it a custom Action using directly
> the session ?
> It is a custom Action using directly the session.
> 
> @Override
> public Object execute(CommandSession session) throws Exception {
> session.getConsole().printf("Do you wish to continue? (y/n):"); 
> session.getConsole().flush(); 
> boolean result = getYesNoSelection(session);
> ....
> }
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message