! Edit History:
!
! 25-Aug-1985      BJP      Add esprit_2
! 29-Aug-1985   ASB     Set_cursor_abs put in
! 11-Nov-1985   KR      BBC with XTALK added

NAME = "ESPRIT"

      BOOLEAN
      ansi_crt = 0,            auto_margin = 0,
      backspace = 1,            dec_crt = 0,
      eight_bit = 0,            lowercase = 1,
      no_scroll = 0,            physical_tabs = 0,
      scope = 1,                

      NUMERIC
      columns = 80,            rows = 24,

      STRING
      begin_bold = "$^_",
      begin_normal_rendition = "$^Y",
      end_bold = "$^Y",       
      set_application_keypad = "$=",
      set_numeric_keypad = "$>",
      !begin_reverse = "",
      !begin_underscore = "",      
      !clear_tab = "$[g",
      cursor_position_report="$^E",
      delete_line="$^S^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@",    !This may only work for 1 delete line
      insert_line="$^Z^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@",
      erase_to_end_display = "$^X",      erase_to_end_line = "$^O",
      erase_whole_display = "$^\",       erase_whole_line = "^M$^O",
      home = "$^R",
      key_left_arrow = "^H"
      key_down_arrow = "$^K",            key_backspace = "^H",
      key_right_arrow = "^P",            key_up_arrow = "$^L",
      set_cursor_abs = "$^Q(%2-1)(%1+95)", 
      cursor_down = "$^K",            cursor_left = "^H",
      cursor_right = "^P",            cursor_up = "$^L",
      !set_tab = "$H",  Does ESPRIT have this capability?

      END

NAME = "NEWBURY"

      BOOLEAN
            scope = 1,            backspace = 1,
            lowercase = 1

      NUMERIC
            columns = 80,            rows = 24

      STRING
            erase_to_end_line = "^Y",
            erase_whole_line  = "^M^Y",
            erase_whole_display = "^]^_",
            erase_to_end_display = "^_",
            begin_underscore = "^R",      end_underscore = "^S"
            begin_normal_rendition = "^S"
            delete_line="^B",
            insert_line="^A",
            set_cursor_abs = "^V(%2+31)(%1+31)",
            delete_char = "^N",       insert_char = "^O"
            key_up_arrow = "^K",      key_down_arrow = "^J",
            key_left_arrow = "^H",      key_right_arrow = "^X"
            cursor_right ="^K",       cursor_down  = "^J"
            cursor_left  = "^H",      cursor_right = "^X"
      END
NAME = "BBCX"

      BOOLEAN
      ansi_crt = 0,            auto_margin = 0,
      backspace = 1,            dec_crt = 0,
      eight_bit = 0,            lowercase = 1,
      no_scroll = 0,            physical_tabs = 0,
      scope = 1,                

      NUMERIC
      columns = 80,            rows = 24,

      STRING
      begin_reverse="(17)(129)(17)(2)", end_reverse="(17)(130)(17)(1)",
      begin_normal_rendition="(17)(130)(17)(1)",
      erase_whole_display = "^_^^L",
      erase_to_end_display = "^L",
      home = "^_^",
      key_left_arrow = "^H",
      key_down_arrow = "^J",            key_backspace = "^H",
      key_right_arrow = "^I",            key_up_arrow = "^K",
      set_cursor_abs = "^_(%2-1)(%1-1)",
      cursor_down = "^J",            cursor_left = "^H",
      cursor_right = "^I",            cursor_up = "^K",

      END
!
! The VT220 and VT240 are described by /DEVICE=VT200_SERIES.  
!

NAME = "VT200_wide"

	BOOLEAN
	ansi_crt = 1,		auto_margin = 1,	backspace = 1,
	dec_crt = 1,		eight_bit = 1,		scope = 1,
	lowercase = 1,		edit = 1,		printer_port = 1,
	dec_crt_2 = 1,		no_scroll = 0,		physical_tabs = 1

	NUMERIC
	columns = 132,		rows = 24,	wide_screen_columns = 132

	STRING
	truncation_icon="`",	cr_graphic="d",	ff_graphic="c",
	lf_graphic="e",		ht_graphic="b",	vt_graphic="i",
	device_attributes = "$[?62;1;2;6;7;8c",
	begin_alternate_char = "^N",	begin_line_drawing_char = "^N"
	begin_normal_rendition = "$[m",end_line_drawing_char = "^O"
	begin_blink = "$[5m",		begin_bold = "$[1m",
	set_application_keypad = "$=",	begin_reverse = "$[7m",
	begin_underscore = "$[4m",	bottom_t_char = "v",
	clear_tab = "$[g",		cross_char = "n",
	cursor_down = "$[!ULB",		cursor_left = "$[!ULD",
	cursor_right = "$[!ULC",	cursor_up = "$[!ULA",		
	dark_screen = "$[?5l",		double_high_bottom = "$#4",
	double_high_top = "$#3",	double_wide = "$#6",
	end_alternate_char = "^O",	end_blink = "$[25m",
	end_bold = "$[22m",		set_numeric_keypad = "$>",
	end_reverse = "$[27m",		end_underscore = "$[24m",
	erase_to_end_display = "$[J",	erase_to_end_line = "$[K",
	erase_whole_display = "$[2J",	erase_whole_line = "$[2K",
	home = "$[;H",			horizontal_bar = "q",
	left_t_char = "t",		light_screen = "$[?5h",
	lower_left_corner = "m",	lower_right_corner = "j",
	restore_cursor = "$8",		right_t_char = "u",
	save_cursor = "$7",		scroll_forward = "$D",
	scroll_reverse = "$M",		set_cursor_abs = "$[!UL;!ULH",
	set_tab = "$H",			single_high = "$#5",
	top_t_char = "w",		upper_left_corner = "l",
	upper_right_corner = "k",	vertical_bar = "x",
	width_narrow = "$[?3l",		width_wide = "$[?3h",
	init_string = '$)0$[4l',	set_scroll_region = "$[!UL;!ULr",
	cursor_preceding_line = "$[!UL;0H",
	begin_autoprint_mode = "$[?5i",	end_autoprint_mode = "$[?4i",
	begin_autowrap_mode = "$[?7h", 	end_autowrap_mode = "$[?7l",
	begin_autorepeat_mode = "$[?8h", end_autorepeat_mode = "$[?8l",
	print_screen = "$[i",		erase_line_to_cursor = "$[1K",
	set_cursor_on = "$[?25h",	set_cursor_off = "$[?25l",
	set_printer_output = "$[5i",	set_screen_output = "$[4i",
	set_origin_absolute = "$[?6l",	set_origin_relative = "$[?6h",
	next_line = "$E",		erase_display_to_cursor = "$[1J",
	insert_char = "$[!UL_@",	delete_char = "$[!ULP",
	insert_line = "$[!ULL",		delete_line = "$[!ULM",
	begin_insert_mode = "$[4h",	end_insert_mode = "$[4l",
	begin_delete_mode = "$[4l",	end_delete_mode = "$[4h",

	key_0 = "$Op", key_1 = "$Oq", key_2 = "$Or", key_3 = "$Os", 
	key_4 = "$Ot", key_5 = "$Ou", key_6 = "$Ov", key_7 = "$Ow", 
	key_8 = "$Ox", key_9 = "$Oy", 
	key_comma = "$Ol", 	key_minus = "$Om", 	key_period = "$On", 
	key_enter = "$OM",	key_pf1 = "$OP", 	key_pf2 = "$OQ", 
	key_pf3 = "$OR", 	key_pf4 = "$OS", 	key_down_arrow = "$[B", 
	key_left_arrow = "$[D",	key_right_arrow = "$[C", key_up_arrow = "$[A",
	key_f6 = "$[17~", key_f7 = "$[18~", key_f8 = "$[19~", key_f9 = "$[20~",
	key_f10 = "$[21~", key_f11 = "$[23~", key_f12 = "$[24~", 
	key_f13 = "$[25~", key_f14 = "$[26~", key_f15 = "$[28~", 
	key_f16 = "$[29~", key_f17 = "$[31~", key_f18 = "$[32~", 
	key_f19 = "$[33~", key_f20 = "$[34~",
	key_e1 = "$[1~", key_e2 = "$[2~", key_e3 = "$[3~",
	key_e4 = "$[4~", key_e5 = "$[5~", key_e6 = "$[6~"

	END

NAME = "SUN"

	BOOLEAN
	ansi_crt = 1,		auto_margin = 1,	backspace = 1,
	dec_crt = 0,		eight_bit = 0,		scope = 1,
	no_scroll = 0,		physical_tabs = 1,	dec_crt_2 = 0

	NUMERIC
	columns = 80,		rows = 34

	STRING
	begin_bold = "$[1m",
	begin_reverse = "$[7m",		begin_underscore = "$[4m",
	cursor_down = "$[!ULB",		cursor_left = "$[!ULD",
	cursor_right = "$[!ULC",	cursor_up = "$[!ULA",		
	end_blink = "$[0m",		end_bold = "$[0m",
	home = "$[0;0H",		begin_normal_rendition = "$[0m",
	end_reverse = "$[0m",		end_underscore = "$[0m",
	erase_to_end_display = "$[0J",	erase_to_end_line = "$[0K",
	erase_whole_display = "^L",	erase_whole_line = "$[2K",
	set_cursor_abs = "$[!UL;!ULH",	set_tab = "$H",
	clear_tab = "$[0g",		cursor_preceding_line = "$[!UL;0H",
	erase_line_to_cursor = "$[1K",	next_line = "$E",
	erase_display_to_cursor = "$[1J",	delete_char = "$[!ULP",
        insert_char = "$[!UL@",         
        insert_line = "$[L",            delete_line = "$[M",

	key_0 = "$[217z", key_1 = "$[208z", key_2 = "$[209z", key_3 = "$[210z", 
	key_4 ="$[211z", key_5 = "$[212z", key_6 = "$[213z", key_7 = "$[214z", 
	key_8 = "$[218z", key_9 = "$[216z", 
	key_comma = "$[220z", key_minus = "$[222z", 
	key_period = "$[231z", key_enter = "$[230z",
	key_pf1 = "$[226z", key_pf2 = "$[227z", key_pf3 = "$[228z", 
	key_pf4 = "$[229z", 
	key_down_arrow = "$[B", key_left_arrow = "$[D",
	key_right_arrow = "$[C", key_up_arrow = "$[A"

	END
