pub struct Entry {Show 32 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 font_file: String,
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 download_dir: String,
pub upload_dir: String,
pub hide_status: bool,
pub group: String,
pub script: String,
pub macros: Vec<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.
font_file: StringA font file (see crate::fontfile) in place of font: a name in
the fonts folder, or a path.
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.
download_dir: StringWhere this BBS’s downloads go, and where uploads to it start looking; empty for the folders in the settings.
upload_dir: String§hide_status: boolNo status bar under this BBS’s screen.
group: StringThe group it is listed in (the directory can show one at a time).
script: StringA script (see crate::script) run once the call is connected.
macros: Vec<String>Its own keyboard macros; an empty one leaves the settings’ one.
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