-
Notifications
You must be signed in to change notification settings - Fork 38
/
fTelnetOptions.ts
47 lines (43 loc) · 1.86 KB
/
fTelnetOptions.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
fTelnet: An HTML5 WebSocket client
Copyright (C) Rick Parrish, R&M Software
This file is part of fTelnet.
fTelnet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or any later version.
fTelnet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with fTelnet. If not, see <http://www.gnu.org/licenses/>.
*/
class fTelnetOptions {
public AllowModernScrollback: boolean = true;
public BareLFtoCRLF: boolean = false;
public BitsPerSecond: number = 57600;
public ConnectionType: string = 'telnet';
public Emulation: string = 'ansi-bbs';
public Enter: string = '\r';
public Font: string = 'CP437';
public ForceWss: boolean = false;
public Hostname: string = 'bbs.ftelnet.ca';
public LocalEcho: boolean = false;
public NegotiateLocalEcho: boolean = true;
public Port: number = 1123;
public ProxyHostname: string = '';
public ProxyPort: number = 1123;
public ProxyPortSecure: number = 11235;
public RLoginClientUsername: string = '';
public RLoginServerUsername: string = '';
public RLoginTerminalType: string = '';
public ScreenColumns: number = 80;
public ScreenRows: number = 25;
public SendLocation: boolean = true;
public SkipRedrawWhenSameFontSize: boolean = false;
public SplashScreen: string = '';
public VirtualKeyboardVibrateDuration: number = 25;
public VirtualKeyboardVisible: boolean = DetectMobileBrowser.IsMobile;
public WebSocketUrlPath: string = '';
}