aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog.multi-tty
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog.multi-tty')
-rw-r--r--src/ChangeLog.multi-tty72
1 files changed, 25 insertions, 47 deletions
diff --git a/src/ChangeLog.multi-tty b/src/ChangeLog.multi-tty
index 930b786f301..7472d9a0e73 100644
--- a/src/ChangeLog.multi-tty
+++ b/src/ChangeLog.multi-tty
@@ -330,7 +330,6 @@
3302006-03-26 Karoly Lorentey <lorentey@elte.hu> 3302006-03-26 Karoly Lorentey <lorentey@elte.hu>
331 331
332 * term.c: Include errno.h. 332 * term.c: Include errno.h.
333 (Fcontrolling_tty_p): Compare name with "/dev/tty", not NULL.
334 (Fresume_tty): Handle errors on reopening ttys. Don't dissociate 333 (Fresume_tty): Handle errors on reopening ttys. Don't dissociate
335 if terminal was explicitly opened on the controlling terminal. 334 if terminal was explicitly opened on the controlling terminal.
336 (init_tty): Initialize local pointers. Always set name (use 335 (init_tty): Initialize local pointers. Always set name (use
@@ -541,7 +540,6 @@
541 540
542 * term.c (get_tty_device): Rename to `get_tty_terminal'. Update. 541 * term.c (get_tty_device): Rename to `get_tty_terminal'. Update.
543 (Fdisplay_tty_type): Rename to `Ftty_type'. 542 (Fdisplay_tty_type): Rename to `Ftty_type'.
544 (Fdisplay_controlling_tty_p): Rename to `Fcontrolling_tty_p'.
545 (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes) 543 (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes)
546 (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty) 544 (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty)
547 (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) 545 (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output)
@@ -550,7 +548,6 @@
550 * frame.c (Qdevice): Rename to `Qterminal'. 548 * frame.c (Qdevice): Rename to `Qterminal'.
551 (Qdisplay_live_p): Rename to `Qterminal_live_p'. 549 (Qdisplay_live_p): Rename to `Qterminal_live_p'.
552 (terminal_frame_count): Rename to `tty_frame_count'. 550 (terminal_frame_count): Rename to `tty_frame_count'.
553 (Fframe_display): Move to terminal.c, rename to `Fframe_terminal'.
554 (make_frame_without_minibuffer, make_initial_frame) 551 (make_frame_without_minibuffer, make_initial_frame)
555 (make_terminal_frame, Fmodify_frame_parameters) 552 (make_terminal_frame, Fmodify_frame_parameters)
556 (do_switch_frame, Fdelete_frame, Fmouse_position) 553 (do_switch_frame, Fdelete_frame, Fmouse_position)
@@ -677,9 +674,8 @@
677 (set_terminal_window, cursor_to, raw_cursor_to) 674 (set_terminal_window, cursor_to, raw_cursor_to)
678 (clear_to_end, clear_frame, clear_end_of_line) 675 (clear_to_end, clear_frame, clear_end_of_line)
679 (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) 676 (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines)
680 (get_device, Fdisplay_name, create_device, delete_device) 677 (get_device, Fdisplay_name, create_device, delete_device): Move to
681 (Fdelete_display, Fdisplay_live_p, Fdisplay_list) 678 terminal.c.
682 Move to terminal.c.
683 (syms_of_term): Move their initialization to terminal.c. 679 (syms_of_term): Move their initialization to terminal.c.
684 680
685 * terminal.c: New file. 681 * terminal.c: New file.
@@ -688,8 +684,7 @@
688 (cursor_to, raw_cursor_to, clear_to_end, clear_frame) 684 (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
689 (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs) 685 (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
690 (ins_del_lines, get_device, create_device, delete_device) 686 (ins_del_lines, get_device, create_device, delete_device)
691 (Fdelete_display, Fdisplay_live_p, Fdisplay_list, Fdisplay_name): 687 (Fdisplay_name): Move here.
692 Move here.
693 (mark_devices, get_terminal_param, store_terminal_param) 688 (mark_devices, get_terminal_param, store_terminal_param)
694 (Fterminal_parameters, Fterminal_parameter) 689 (Fterminal_parameters, Fterminal_parameter)
695 (Fmodify_terminal_parameters, Fset_terminal_parameter) 690 (Fmodify_terminal_parameters, Fset_terminal_parameter)
@@ -1137,12 +1132,10 @@
1137 (Fkeyboard_coding_system): Add DISPLAY parameter. 1132 (Fkeyboard_coding_system): Add DISPLAY parameter.
1138 1133
1139 * term.c (get_display): Add THROW parameter. 1134 * term.c (get_display): Add THROW parameter.
1140 (get_tty_display, Fdisplay_name, Fdisplay_tty_type) 1135 (get_tty_display, Fdisplay_name, Fdisplay_tty_type): Update callers.
1141 (Fdisplay_controlling_tty_p, Fdelete_display, Fdisplay_live_p):
1142 Update callers.
1143 1136
1144 * xfns.c (check_x_display_info): Ditto. 1137 * xfns.c (check_x_display_info): Ditto.
1145 * frame.c (Fmake_terminal_frame, Fframe_display): Ditto. 1138 * frame.c (Fmake_terminal_frame): Ditto.
1146 1139
1147 * dispextern.h (get_display): Update prototype. 1140 * dispextern.h (get_display): Update prototype.
1148 1141
@@ -1273,17 +1266,13 @@
1273 1266
12742004-07-10 Karoly Lorentey <lorentey@elte.hu> 12672004-07-10 Karoly Lorentey <lorentey@elte.hu>
1275 1268
1276 * term.c (Fdisplay_controlling_tty_p): New function. 1269 * term.c (Fcontrolling_tty_p): New function.
1277 1270 (syms_of_term): Initialize Sdisplay_controlling_tty_p.
1278 * term.c (syms_of_term): Initialize Sdisplay_controlling_tty_p.
1279 1271
1280 * keyboard.c (Fsuspend_emacs): Give a better error message when 1272 * keyboard.c (Fsuspend_emacs): Give a better error message when
1281 there are multiple open tty devices. 1273 there are multiple open tty devices.
1282 1274 (interrupt_signal): Don't call fatal_error_signal with an extra
12832004-07-05 Karoly Lorentey <lorentey@elte.hu> 1275 parameter.
1284
1285 * keyboard.c (interrupt_signal): Don't call fatal_error_signal with
1286 an extra parameter.
1287 1276
12882004-07-04 Karoly Lorentey <lorentey@elte.hu> 12772004-07-04 Karoly Lorentey <lorentey@elte.hu>
1289 1278
@@ -1291,7 +1280,7 @@
1291 1280
12922004-07-04 Karoly Lorentey <lorentey@elte.hu> 12812004-07-04 Karoly Lorentey <lorentey@elte.hu>
1293 1282
1294 * dispextern.h (get_display, Fdisplay_tty_type): New prototypes. 1283 * dispextern.h (get_display, Fdisplay_tty_type): New prototypes.
1295 (Fframe_tty_type): Remove. 1284 (Fframe_tty_type): Remove.
1296 1285
1297 * dispnew.c (init_display): Use Fdisplay_tty_type, not Fframe_tty_type. 1286 * dispnew.c (init_display): Use Fdisplay_tty_type, not Fframe_tty_type.
@@ -1300,7 +1289,6 @@
1300 (make_terminal_frame): Get display as a parameter. 1289 (make_terminal_frame): Get display as a parameter.
1301 (Fmake_terminal_frame): Get/create display here; pass it to 1290 (Fmake_terminal_frame): Get/create display here; pass it to
1302 make_terminal_frame. 1291 make_terminal_frame.
1303 (Fframe_display): New function.
1304 (Fdelete_frame): Stop if the hook deleted the frame. 1292 (Fdelete_frame): Stop if the hook deleted the frame.
1305 (syms_of_frame): Register new stuff. 1293 (syms_of_frame): Register new stuff.
1306 1294
@@ -1326,7 +1314,6 @@
1326 (delete_tty): Don't run hooks. 1314 (delete_tty): Don't run hooks.
1327 (create_display): Set display id. 1315 (create_display): Set display id.
1328 (delete_display): Free display name. 1316 (delete_display): Free display name.
1329 (Fdelete_display, Fdisplay_live_p, Fdisplay_list): New functions.
1330 (Fsuspend_tty): Call hook with display id. Doc update. 1317 (Fsuspend_tty): Call hook with display id. Doc update.
1331 (Fresume_tty): Refuse to resume when there is already an active display 1318 (Fresume_tty): Refuse to resume when there is already an active display
1332 on the same device. Call hook with display id. Doc update. 1319 on the same device. Call hook with display id. Doc update.
@@ -1345,26 +1332,19 @@
1345 1332
1346 * term.c (Ftty_display_color_cells): Return 0 in case of an error, 1333 * term.c (Ftty_display_color_cells): Return 0 in case of an error,
1347 not nil. 1334 not nil.
1348 1335 (dissociate_if_controlling_tty): On some systems TIOCNOTTY
13492004-06-08 Karoly Lorentey <lorentey@elte.hu>
1350
1351 * term.c (dissociate_if_controlling_tty): On some systems TIOCNOTTY
1352 works only on /dev/tty. Adapt the function accordingly. 1336 works only on /dev/tty. Adapt the function accordingly.
1353 1337
13542004-06-08 Karoly Lorentey <lorentey@elte.hu> 13382004-06-08 Karoly Lorentey <lorentey@elte.hu>
1355 1339
1356 * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a 1340 * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a
1357 signal handler; use fatal_error_signal instead. 1341 signal handler; use fatal_error_signal instead.
1358 1342 (command_loop): Clear single_kboard each time Emacs returns to
13592004-06-07 Karoly Lorentey <lorentey@elte.hu> 1343 top-level.
1360
1361 * keyboard.c (command_loop): Clear single_kboard each time Emacs
1362 returns to top-level.
1363 1344
13642004-06-06 Karoly Lorentey <lorentey@elte.hu> 13452004-06-06 Karoly Lorentey <lorentey@elte.hu>
1365 1346
1366 * term.c (encode_terminal_code): Convert to use ANSI prototype 1347 * term.c (encode_terminal_code): Convert to use ANSI prototype syntax.
1367 syntax.
1368 1348
13692004-06-05 Karoly Lorentey <lorentey@elte.hu> 13492004-06-05 Karoly Lorentey <lorentey@elte.hu>
1370 1350
@@ -1402,13 +1382,11 @@
1402 updating_frame instead of selected_frame. 1382 updating_frame instead of selected_frame.
1403 1383
1404 * termchar.h (struct terminal): Rename to struct tty_output. 1384 * termchar.h (struct terminal): Rename to struct tty_output.
1405 Add name, type, input, output, termscript, old_tty, 1385 Add name, type, input, output, termscript, old_tty, term_initted,
1406 term_initted, old_tty_valid, background_pixel, foreground_pixel, 1386 old_tty_valid, background_pixel, foreground_pixel, next fields.
1407 next fields.
1408 (TTY_*): New macros.
1409 (tty_list): New variable. 1387 (tty_list): New variable.
1410 (FRAME_TTY): New function. 1388 (FRAME_TTY): New function.
1411 (CURRENT_TERMINAL, TTY_NAME, TTY_TYPE): New macros. 1389 (TTY_*, CURRENT_TERMINAL, TTY_NAME, TTY_TYPE): New macros.
1412 1390
1413 * term.c (tty_list): New variable. 1391 * term.c (tty_list): New variable.
1414 (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF) 1392 (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF)
@@ -1481,20 +1459,20 @@
1481 * termchar.h (struct terminal): New struct. 1459 * termchar.h (struct terminal): New struct.
1482 (must_write_spaces, min_padding_speed, line_ins_del_ok) 1460 (must_write_spaces, min_padding_speed, line_ins_del_ok)
1483 (char_ins_del_ok, scroll_region_ok, scroll_region_cost) 1461 (char_ins_del_ok, scroll_region_ok, scroll_region_cost)
1484 (memory_below_frame, fast_clear_end_of_line): Move to struct 1462 (memory_below_frame, fast_clear_end_of_line): Move to struct terminal.
1485 terminal.
1486 (min_padding_speed, dont_calculate_costs): Comment out (unused). 1463 (min_padding_speed, dont_calculate_costs): Comment out (unused).
1487 1464
1488 * term.c (set_terminal_window, ins_del_lines, calculate_costs) 1465 * term.c (set_terminal_window, ins_del_lines, calculate_costs)
1489 (term_init): Use the accessor macros for terminal characteristics. 1466 (term_init)
1490 * dispnew.c (line_hash_code, line_draw_cost) 1467 * dispnew.c (line_hash_code, line_draw_cost)
1491 (direct_output_for_insert, update_frame_1, scrolling) 1468 (direct_output_for_insert, update_frame_1, scrolling)
1492 (update_frame_line): Ditto. 1469 (update_frame_line):
1493 * scroll.c (calculate_scrolling, calculate_direct_scrolling) 1470 * scroll.c (calculate_scrolling, calculate_direct_scrolling)
1494 (scrolling_1, scroll_cost): Ditto. 1471 (scrolling_1, scroll_cost):
1495 * sysdep.c (hft_init): Ditto. 1472 * sysdep.c (hft_init):
1496 * xdisp.c (try_window_id): Ditto. 1473 * xdisp.c (try_window_id):
1497 * xterm.c (x_initialize): Ditto. 1474 * xterm.c (x_initialize): Use the accessor macros for terminal
1475 characteristics.
1498 1476
14992004-07-12 Karoly Lorentey <lorentey@elte.hu> 14772004-07-12 Karoly Lorentey <lorentey@elte.hu>
1500 1478