Mercurial > 510Connectbot
comparison app/src/main/java/ch/ethz/ssh2/PtySettings.java @ 438:d29cce60f393
migrate from Eclipse to Android Studio
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 03 Dec 2015 11:23:55 -0800 |
parents | src/ch/ethz/ssh2/PtySettings.java@071eccdff8ea |
children |
comparison
equal
deleted
inserted
replaced
437:208b31032318 | 438:d29cce60f393 |
---|---|
1 /* | |
2 * Copyright (c) 2012-2013 Christian Plattner. All rights reserved. | |
3 * Please refer to the LICENSE.txt for licensing details. | |
4 */ | |
5 package ch.ethz.ssh2; | |
6 | |
7 /** | |
8 * PTY settings for a SSH session. Zero dimension parameters are ignored. The character/row dimensions | |
9 * override the pixel dimensions (when nonzero). Pixel dimensions refer to | |
10 * the drawable area of the window. The dimension parameters are only | |
11 * informational. The encoding of terminal modes (parameter | |
12 * <code>terminal_modes</code>) is described in RFC4254. | |
13 * | |
14 * @author Christian | |
15 */ | |
16 public class PtySettings { | |
17 /** | |
18 * TERM environment variable value (e.g., vt100) | |
19 */ | |
20 public String term; | |
21 | |
22 /** | |
23 * Terminal width, characters (e.g., 80) | |
24 */ | |
25 public int term_width_characters; | |
26 | |
27 /** | |
28 * Terminal height, rows (e.g., 24) | |
29 */ | |
30 public int term_height_characters; | |
31 | |
32 /** | |
33 * Terminal width, pixels (e.g., 640) | |
34 */ | |
35 public int term_width_pixels; | |
36 | |
37 /** | |
38 * Terminal height, pixels (e.g., 480) | |
39 */ | |
40 public int term_height_pixels; | |
41 | |
42 /** | |
43 * Encoded terminal modes | |
44 */ | |
45 public byte[] terminal_modes; | |
46 } |