Skip to content

r2

Pre-release
Pre-release
Compare
Choose a tag to compare
@ksherlock ksherlock released this 12 May 15:16
· 7 commits to master since this release

Before there was marlene, there was darlene. The original darlene ran gsh under gnome (sort of like TMTerm or the GSI NDA). Later the gno/me parts were removed, telnet was added, and thus marlene.

This is a more or less complete rewrite (the original source is on ftp.gno.org).

usage:

darlene [command]

if no command is given, login -f will run. I recommend the hush shell (darlene hush) since gsh has some problems with vt100.

GSH Tips:

root> cat vt100.gsh
set term=vt100
bindkey backward-delete-char "^H"
bindkey up-history "^[[A"
bindkey down-history "^[[B"
bindkey backward-char "^[[D"
bindkey forward-char "^[[C"

root> source vt100.gsh

Explanation: your gshrc file probably sets $term to gnocon. ^H is the vt100 delete/backspace key, so it should delete (^H in the gno console is left arrow key and thus non-destructive).

the gsh actually uses the cursor key mode vt100 arrow keys internally -- ^[OA -- ^[OD. However, vt100 consoles generally default to ANSI arrow keys == ^[[A -- ^[[D. (The ks termcap would enable cursor key mode). GSH actually tries to send a ke termcap sequence at term initialization (which turns off cursor key mode) but due to a typo it sends the le sequence instead.