changeset 62:aac8e0496ef9 tn5250

add 5250 config entries
author Carl Byington <carl@five-ten-sg.com>
date Fri, 13 Jun 2014 15:33:16 -0700
parents ce8f13242339
children 07c7055cc124
files res/values/strings.xml res/xml/host_prefs.xml src/com/five_ten_sg/connectbot/util/HostDatabase.java
diffstat 3 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/res/values/strings.xml	Fri Jun 13 15:27:08 2014 -0700
+++ b/res/values/strings.xml	Fri Jun 13 15:33:16 2014 -0700
@@ -346,6 +346,10 @@
 	<!-- Monitor field title for host editor preference -->
 	<string name="hostpref_monitor_title">"Monitor Init String"</string>
 
+	<!-- Override global emulation (terminal type) host editor preference -->
+	<string name="hostpref_emulation_title">"Emulation mode"</string>
+	<string name="hostpref_emulation_summary">"Override global emulation mode / answerback string"</string>
+
 	<!-- Host 5250_encryption preference title -->
 	<string name="hostpref_5250_encryption_title">"Host 5250 Encryption"</string>
 
--- a/res/xml/host_prefs.xml	Fri Jun 13 15:27:08 2014 -0700
+++ b/res/xml/host_prefs.xml	Fri Jun 13 15:33:16 2014 -0700
@@ -136,6 +136,7 @@
         <EditTextPreference
             android:key="hostemulation"
             android:title="@string/hostpref_emulation_title"
+            android:summary="@string/hostpref_emulation_summary"
             android:singleLine="true"
             />
 
--- a/src/com/five_ten_sg/connectbot/util/HostDatabase.java	Fri Jun 13 15:27:08 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/util/HostDatabase.java	Fri Jun 13 15:33:16 2014 -0700
@@ -46,7 +46,7 @@
     public final static String TAG = "ConnectBot.HostDatabase";
 
     public final static String DB_NAME = "hosts";
-    public final static int DB_VERSION = 25;
+    public final static int DB_VERSION = 26;
 
     public final static String TABLE_HOSTS = "hosts";
     public final static String FIELD_HOST_NICKNAME = "nickname";