liuzhe02 / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

Always render a certain size terminal, stretched to the window size #196

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We have a terminal app that stays in a 80x25 window.  I would like to be able 
to always render this regardless of window size, but have the browser 
zoom/stretch it to fit.

Is this possible with the current code?  If not, can someone point to where I 
should be looking in the code to tweak this?

Original issue reported on code.google.com by phobo...@gmail.com on 20 Jun 2012 at 10:18

GoogleCodeExporter commented 8 years ago
In launcher.c, search for LINES and COLUMNS.  I think if you hard code these 
environment variables to COLUMNS=80 and LINES=25, they get passed through to 
the ssh session that is spawned, and will be respected.

Original comment by sean.nee...@gmail.com on 24 Oct 2012 at 9:58