diff --git a/res/values/strings.xml b/res/values/strings.xml
index 58a91efdb..879076d22 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -315,6 +315,11 @@
"Port to request mosh-server use, or 0 for automatic"
+
+ "Requested Mosh Server"
+
+ "Path to mosh-server on the remote host"
+
"Locale to send to server"
diff --git a/res/xml/host_prefs.xml b/res/xml/host_prefs.xml
index 5a51a4fba..4e1fd1b16 100644
--- a/res/xml/host_prefs.xml
+++ b/res/xml/host_prefs.xml
@@ -105,6 +105,12 @@
android:summary="@string/hostpref_moshport_summary"
/>
+
+
createHostBeans(Cursor c) {
COL_ENCODING = c.getColumnIndexOrThrow(FIELD_HOST_ENCODING),
COL_STAYCONNECTED = c.getColumnIndexOrThrow(FIELD_HOST_STAYCONNECTED),
COL_MOSHPORT = c.getColumnIndexOrThrow(FIELD_HOST_MOSHPORT),
+ COL_MOSH_SERVER = c.getColumnIndexOrThrow(FIELD_HOST_MOSH_SERVER),
COL_LOCALE = c.getColumnIndexOrThrow(FIELD_HOST_LOCALE);
@@ -425,6 +432,7 @@ private List createHostBeans(Cursor c) {
host.setEncoding(c.getString(COL_ENCODING));
host.setStayConnected(Boolean.valueOf(c.getString(COL_STAYCONNECTED)));
host.setMoshPort(c.getInt(COL_MOSHPORT));
+ host.setMoshServer(c.getString(COL_MOSH_SERVER));
host.setLocale(c.getString(COL_LOCALE));
hosts.add(host);