Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/PtySettings.java @ 273:91a31873c42a ganymed
start conversion from trilead to ganymed
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 18 Jul 2014 11:21:46 -0700 |
parents | |
children | 071eccdff8ea |
comparison
equal
deleted
inserted
replaced
272:ce2f4e397703 | 273:91a31873c42a |
---|---|
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 /** | |
19 * TERM environment variable value (e.g., vt100) | |
20 */ | |
21 public String term; | |
22 | |
23 /** | |
24 * Terminal width, characters (e.g., 80) | |
25 */ | |
26 public int term_width_characters; | |
27 | |
28 /** | |
29 * Terminal height, rows (e.g., 24) | |
30 */ | |
31 public int term_height_characters; | |
32 | |
33 /** | |
34 * Terminal width, pixels (e.g., 640) | |
35 */ | |
36 public int term_width_pixels; | |
37 | |
38 /** | |
39 * Terminal height, pixels (e.g., 480) | |
40 */ | |
41 public int term_height_pixels; | |
42 | |
43 /** | |
44 * Encoded terminal modes | |
45 */ | |
46 public byte[] terminal_modes; | |
47 } |