karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-536) Backspace no longer works in Putty after using 'connect' command to connect to other instance, and commands are printed in only 2 columns.
Date Thu, 31 May 2012 14:16:24 GMT

    [ https://issues.apache.org/jira/browse/KARAF-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286592#comment-13286592
] 

Christian Schneider commented on KARAF-536:
-------------------------------------------

I debugged the code to find where the terminal size 80 comes from. I think it is in org.apache.sshd.client.channel.ChannelShell.
There the terminal columns are set to 80.
Then it checks if we are on unix and uses stty to get the real size. On windows it does not
change the column number. 

So if we can change that at all it has to be at least partly done in sshd.
                
> Backspace no longer works in Putty after using 'connect' command to connect to other
instance, and commands are printed in only 2 columns.
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-536
>                 URL: https://issues.apache.org/jira/browse/KARAF-536
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.0
>            Reporter: Geert Schuring
>              Labels: backspace, columns, command, connect, putty, screen, shell, ssh,
width
>             Fix For: 2.2.8, 2.3.0, 3.0.0
>
>
> When connecting to an instance using putty, and then connect to another instance using
the 'connect' command:
> - the backspace button no longer functions
> - the commands shown after pressing TAB and choosing 'y' are shown in only 2 columns
while my screen is much wider, and the instance I originally connected to does show 5 columns.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message