annotate etc/LPF @ 83420:521d3f18b3d1

Reimplement terminal parameters in C; clean up term.c, create terminal.c. * lisp/termdev.el (terminal-parameter-alist, terminal-parameters, terminal-parameter-p) (terminal-parameter, set-terminal-parameter, terminal-handle-delete-frame): Remove. * src/term.c (Vring_bell_function, device_list, initial_device) (next_device_id, ring_bell, update_begin, update_end) (set_terminal_window, cursor_to, raw_cursor_to) (clear_to_end, clear_frame, clear_end_of_line) (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) (get_device, Fdisplay_name, create_device, delete_device) (Fdelete_display, Fdisplay_live_p, Fdisplay_list) Move to terminal.c. (syms_of_term): Move their initialization to terminal.c. * src/terminal.c: New file. (device_list, next_device_id, initial_device, Vring_bell_function) (ring_bell, update_begin, update_end, set_terminal_window) (cursor_to, raw_cursor_to, clear_to_end, clear_frame) (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs) (ins_del_lines, get_device, create_device, delete_device) (Fdelete_display, Fdisplay_live_p, Fdisplay_list, Fdisplay_name): Move here. (mark_devices, get_terminal_param, store_terminal_param) (Fterminal_parameters, Fterminal_parameter) (Fmodify_terminal_parameters, Fset_terminal_parameter) (init_initial_device, delete_initial_device) (syms_of_terminal): New functions. * lisp/simple.el (normal-erase-is-backspace-setup-frame) (normal-erase-is-backspace-mode): Rephrase things without terminal-parameter-p. * lisp/termdev.el (terminal-getenv, terminal-setenv) (with-terminal-environment): Ditto. * mac/makefile.MPW (EmacsObjects): Add terminal.c.x. ({Src}terminal.c.x): Add dependencies. * src/Makefile.in (obj): Add terminal.o. (terminal.o): Add dependencies. [HAVE_CARBON]: Make terminal.o depend on macgui.h. * src/alloc.c (mark_devices): Declare. (Fgarbage_collect): Call `mark_devices'. * src/dispextern.h (set_scroll_region, turn_off_insert) (turn_off_highlight, background_highlight, clear_end_of_line_raw) (tty_clear_end_of_line, tty_setup_colors, delete_tty): Remove. (raw_cursor_to, clear_to_end, tty_turn_off_insert) (tty_turn_off_highlight): Add declaration. * src/emacs.c (main): Call `syms_of_terminal'. * src/frame.c (get_future_frame_param): New function. (Fmake_terminal_frame): Use it. * src/keyboard.c (pop_kboard): Remove unused variable. (Fset_output_flow_control): Return nil. * src/keymap.h (Fset_keymap_parent): Add EXFUN. * src/lisp.h (syms_of_terminal): Declare it. * src/sysdep.c (reset_sys_modes): Update for renames. * src/term.c (set_scroll_region): Rename to `tty_set_scroll_region'. (turn_on_insert): Rename to `tty_turn_on_insert'. (turn_off_insert): Rename to `tty_turn_off_insert'. (turn_off_highlight): Rename to `tty_turn_off_highlight'. (turn_on_highlight): Rename to `tty_turn_on_highlight'. (toggle_highligh): Rename to `tty_toggle_highlight'. (background_highlight): Rename to `tty_background_highlight'. (highlight_if_desired): Rename to `tty_highlight_if_desired'. (tty_ring_bell, tty_update_end, tty_set_terminal_window) (tty_set_scroll_region, tty_background_highlight) (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end) (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs) (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines) (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty) (delete_tty): Add static modifier. (tty_reset_terminal_modes, tty_set_terminal_window) (tty_set_scroll_region, tty_background_highlight) (tty_highlight_if_desired, tty_cursor_to) (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame) (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs) (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for renames. * src/termhooks.h (param_alist): New member to struct device. * src/xterm.h (x_delete_device): Declare. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-460
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 25 Dec 2005 20:06:58 +0000
parents 885f63d7c285
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
1 Protect Your Freedom to Write Programs
Dave Love <fx@gnu.org>
parents:
diff changeset
2 Join the League for Programming Freedom
Dave Love <fx@gnu.org>
parents:
diff changeset
3 (Version of February 3, 1994)
Dave Love <fx@gnu.org>
parents:
diff changeset
4
Dave Love <fx@gnu.org>
parents:
diff changeset
5 Ten years ago, programmers were allowed to write programs using all
Dave Love <fx@gnu.org>
parents:
diff changeset
6 the techniques they knew, and providing whatever features they felt
Dave Love <fx@gnu.org>
parents:
diff changeset
7 were useful. This is no longer the case. New monopolies, known as
Dave Love <fx@gnu.org>
parents:
diff changeset
8 software patents and interface copyrights, have taken away our freedom
Dave Love <fx@gnu.org>
parents:
diff changeset
9 of expression and our ability to do a good job.
Dave Love <fx@gnu.org>
parents:
diff changeset
10
Dave Love <fx@gnu.org>
parents:
diff changeset
11 "Look and feel" lawsuits attempt to monopolize well-known command
Dave Love <fx@gnu.org>
parents:
diff changeset
12 languages; some have succeeded. Copyrights on command languages
Dave Love <fx@gnu.org>
parents:
diff changeset
13 enforce gratuitous incompatibility, close opportunities for
Dave Love <fx@gnu.org>
parents:
diff changeset
14 competition, and stifle incremental improvements.
Dave Love <fx@gnu.org>
parents:
diff changeset
15
Dave Love <fx@gnu.org>
parents:
diff changeset
16 Software patents are even more dangerous; they make every design
Dave Love <fx@gnu.org>
parents:
diff changeset
17 decision in the development of a program carry a risk of a lawsuit,
Dave Love <fx@gnu.org>
parents:
diff changeset
18 with draconian pretrial seizure. It is difficult and expensive to
Dave Love <fx@gnu.org>
parents:
diff changeset
19 find out whether the techniques you consider using are patented; it is
Dave Love <fx@gnu.org>
parents:
diff changeset
20 impossible to find out whether they will be patented in the future.
Dave Love <fx@gnu.org>
parents:
diff changeset
21
Dave Love <fx@gnu.org>
parents:
diff changeset
22 The League for Programming Freedom is a grass-roots organization of
Dave Love <fx@gnu.org>
parents:
diff changeset
23 professors, students, businessmen, programmers and users dedicated to
Dave Love <fx@gnu.org>
parents:
diff changeset
24 bringing back the freedom to write programs. The League is not
Dave Love <fx@gnu.org>
parents:
diff changeset
25 opposed to the legal system that Congress expressly established for
Dave Love <fx@gnu.org>
parents:
diff changeset
26 software--copyright on individual programs. Our aim is to reverse the
Dave Love <fx@gnu.org>
parents:
diff changeset
27 recent changes that prevent programmers from doing their work.
Dave Love <fx@gnu.org>
parents:
diff changeset
28
Dave Love <fx@gnu.org>
parents:
diff changeset
29 The League works to abolish the new monopolies by publishing articles,
Dave Love <fx@gnu.org>
parents:
diff changeset
30 talking with public officials, denouncing egregious offenders, and
Dave Love <fx@gnu.org>
parents:
diff changeset
31 filing amicus curiae briefs, most notably against Lotus in its suit
Dave Love <fx@gnu.org>
parents:
diff changeset
32 against Borland. We testified twice at the recent Patent Office
Dave Love <fx@gnu.org>
parents:
diff changeset
33 hearings on software patents. We welcome suggestions for other
Dave Love <fx@gnu.org>
parents:
diff changeset
34 activities, as well as help in carrying them out.
Dave Love <fx@gnu.org>
parents:
diff changeset
35
Dave Love <fx@gnu.org>
parents:
diff changeset
36
50442
885f63d7c285 Don't ask people to join the LPF. Ask for a volunteer to reactivate it.
Richard M. Stallman <rms@gnu.org>
parents: 49600
diff changeset
37 (Added 2003) The League for Programming Freedom is inactive nowadays,
885f63d7c285 Don't ask people to join the LPF. Ask for a volunteer to reactivate it.
Richard M. Stallman <rms@gnu.org>
parents: 49600
diff changeset
38 though its web site www.programming-freedom.org is still maintained.
885f63d7c285 Don't ask people to join the LPF. Ask for a volunteer to reactivate it.
Richard M. Stallman <rms@gnu.org>
parents: 49600
diff changeset
39 It would be very useful to find a person who could take the initiative
885f63d7c285 Don't ask people to join the LPF. Ask for a volunteer to reactivate it.
Richard M. Stallman <rms@gnu.org>
parents: 49600
diff changeset
40 to get the LPF operating again. It will be a substantial job,
885f63d7c285 Don't ask people to join the LPF. Ask for a volunteer to reactivate it.
Richard M. Stallman <rms@gnu.org>
parents: 49600
diff changeset
41 requiring persistence and working with a lawyer. If you want to do
885f63d7c285 Don't ask people to join the LPF. Ask for a volunteer to reactivate it.
Richard M. Stallman <rms@gnu.org>
parents: 49600
diff changeset
42 it, please write to rms@gnu.org.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
43