pub struct Entry {Show 25 fields
pub name: String,
pub host: String,
pub port: u16,
pub protocol: Protocol,
pub encoding: Encoding,
pub username: String,
pub password: String,
pub auto_login: bool,
pub term_type: String,
pub cols: u16,
pub rows: u16,
pub font: u8,
pub ice: Option<bool>,
pub baud: u32,
pub crt: Option<CrtMode>,
pub bell: Option<BellMode>,
pub capture: bool,
pub capture_file: String,
pub key_file: String,
pub comment: String,
pub keychain: bool,
pub pinned: bool,
pub added: Option<u64>,
pub last_connected: Option<u64>,
pub calls: u32,
}Fields§
§name: String§host: String§port: u16§protocol: Protocol§encoding: Encoding§username: String§password: StringStored in plain text, as in other BBS dialers.
auto_login: boolAnswer the BBS’s login prompts with username and password.
term_type: String§cols: u16Screen size: one of SCREEN_MODES.
rows: u16§font: u8The font, as a CTerm font ID: 0 for CP437, or an Amiga font for Amiga BBSes.
ice: Option<bool>iCE colors (the blink bit as a bright background) from the start:
None leaves it to the BBS (CSI ?33h), as before.
baud: u32Baud rate emulation: show what the BBS sends at this speed, as over a modem (0: as fast as it arrives).
crt: Option<CrtMode>Phosphor mode for this system; None follows the global setting.
bell: Option<BellMode>What the bell (Ctrl-G) does on this system; None follows the global setting.
capture: boolStart capturing the session to a file as soon as it connects.
capture_file: StringThe capture file’s name, with {name}, {date} and {time} filled
in; relative names are in the captures folder, and a .txt name
keeps only the text (see crate::session::CaptureKind). Empty for
the usual name-date-time.ans.
key_file: StringSSH private key to try first; otherwise the SSH agent and the usual
~/.ssh/id_* files are tried.
comment: String§keychain: boolThe password is kept in the OS keychain rather than in password.
pinned: boolPinned entries sort ahead of the rest.
added: Option<u64>Unix timestamps.
last_connected: Option<u64>§calls: u32