Closed GoogleCodeExporter closed 9 years ago
Issue 157 has been merged into this issue.
Original comment by kenny@the-b.org
on 21 Jun 2009 at 4:31
Slight correction:
When the screen was set to 68 columns, vi was using 18 of that.
'stty -a' reports the correct screen size. ROWS and COLUMNS environment vars
were
not initially set, but even setting those didn't help.
For yucks, I tried to run VIM under GNU screen, and things were really messed
up.
Original comment by ansibl...@gmail.com
on 22 Jun 2009 at 2:13
I think I see the problem.
Check line 183 of src/org/connectbot/transport/Local.java.
I think the function signature is:
public static native void setPtyWindowSize(FileDescriptor fd, int row, int col,
int
xpixel, int ypixel);
So it looks like the row and column parameters to
mExec_setPtyWindowSize.invoke() are
swapped.
Attached is an untested patch... I'm having Eclipse issues...
Original comment by ansibl...@gmail.com
on 22 Jun 2009 at 9:14
Attachments:
Thank you for looking into this. It figures it would be something silly like
that. I
put that in as r323
Original comment by kenny@the-b.org
on 22 Jun 2009 at 11:30
Original issue reported on code.google.com by
ansibl...@gmail.com
on 21 Jun 2009 at 4:57