Secure Shell (dev) 0.8.34.1 released

396 views
Skip to first unread message

Robert Ginda

unread,
Jun 16, 2015, 7:03:39 PM6/16/15
to chromium-hterm
I've just released Secure Shell (dev) 0.8.34.1 which adds customizable keybindings (finally), spiffs up the options page, and fixes issues with utf-8 surrogate pairs and vt mouse reporting.  The changelogs are below.

If you maintain a client of the hterm library and you had modified the hterm.Preference.Manager.defaultPreferences data structure, you'll need to make changes for this version.  Have a look at the new format in hterm_preference_manager.js for the details.

User keybindings are stored in the "keybindings" preference as a json map.  The map key is the key sequence you want to trap, and the value is the action to take.  Key sequences use the "modifierKeys" and "keyCodes" identifiers from hterm_parser_identifiers.js.  To send a string to the host, the action itself must be quoted (which makes for the awkward doubly-quoted string in the example below).  Unquoted actions must come from the "actions" identifiers.  The list of action functions is short right now, but they're easy to add.  Please feel free to submit patches :)

Here's a sample keybindings map:

{ "Ctrl-Alt-K": "clearScrollback",
  "Ctrl-Shift-L": "PASS",
  "Ctrl-H": "'HELLO\\n'"
}

Notice the double-quoted and double-escaped final value, which sends the string "HELLO\n" when you press Ctrl-H.

If it seems like your keybinding aren't working, check the js console for errors.

Full changelogs are:

Secure Shell 0.8.34.1, 2015-06-16, hterm 1.56, freshen up the options page.

* Update to hterm 1.56.
* Use hterm's new pref category and data type data to improve the options
  page.

hterm 1.56, 2015-06-16, pref shuffle, keybindings, utf-8, and mouse reporting.

* Fix mouse reporting.  Previously users had to click, then move the mouse
  before mouse reporting would start.
* Deal with surrogate pairs more properly.
* Add customizable keybindings.
* hterm_preference_manager.js: Group prefs into categories, declare input types
  rather than guess based on default value, improve layout.


Rob.

e...@ezuk.org

unread,
Jun 18, 2015, 8:42:49 PM6/18/15
to chromiu...@chromium.org
That sounds awesome - but how do I install the dev version? :)

Robert Ginda

unread,
Jun 18, 2015, 9:12:07 PM6/18/15
to e...@ezuk.org, chromium-hterm

You need to visit the chrome webstore link (from the top of this thread) while signed in to an account that is a member of this list.

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/d19b4289-01c2-4f9d-99f6-fccffaba38ba%40chromium.org.

Bill Who

unread,
Jun 21, 2015, 1:00:58 PM6/21/15
to chromiu...@chromium.org
When I click the link it takes me to 'Secure Shell' not 'Secure Shell (dev)'

This url gets me to 'Secure Shell (dev)':
"https://chrome.google.com/webstore/detail/secure-shell-dev/okddffdblfhhnmhodogpojmfkjmhinfp"

jrpdu...@gmail.com

unread,
Jun 24, 2015, 5:14:22 PM6/24/15
to chromiu...@chromium.org
I use this shell extensively for work since its easy and amazing. I want to contribute to the development. Please guide me as this padawan needs a master.

Thanks
Jay


On Tuesday, June 16, 2015 at 4:03:39 PM UTC-7, rginda wrote:

wi...@willynolan.com

unread,
Oct 9, 2015, 9:01:00 PM10/9/15
to chromium-hterm, jrpdu...@gmail.com
My apologies for the possibly obvious question, but how do I find the "hterm_preference_manager.js". 
Also, I see that you mention the "keybindings" preference", but I looked in my preferences, (the file that is saved as backup) and do not see that json map for the bindings... 

Lastly, is there a place where the preferences are explained.  Some of them are quite self-explanatory but, for instance, I do not know how to write CSS into the CSS field and make it work. I also do not know what, if anything, the text that says:

# Welcome to Secure Shell version 0.8.34.
$ ./configure && make && make install
# Welcome to Secure Shell version 0.8.34.
$ ./configure && make && make install

At the top, does.  Are these things documented somewhere?

Mike Frysinger

unread,
Oct 9, 2015, 9:13:30 PM10/9/15
to Willy Nolan, chromium-hterm, jrpdu...@gmail.com
the window in the options page specifically says above it: "Preview".  that's the only point of the window -- see changes to the preferences live.
-mike

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.

Willy Nolan

unread,
Oct 9, 2015, 9:18:34 PM10/9/15
to Mike Frysinger, chromium-hterm, jrpdu...@gmail.com
Oh snap - missed that, my apologies. However is what the rest of the preferences do documented somewhere?
--
// Willy Nolan

Reply all
Reply to author
Forward
0 new messages