1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 07:01:11 -08:00
emacs/src
Karoly Lorentey 28d7d09f84 Separate frame-local, tty-dependent parameters from tty-local parameters.
src/termchar.h (struct tty_output): Redefined to contain frame-local
tty-dependent parameters.  (Currently there are no such parameters, so
it consists of the tty_display_info pointer.)
(struct tty_display_info): New structure, with reference_count.
(FRAME_TTY): Updated to reflect new termcap frame structure.

src/term.c: Update prototypes. Use tty_display_info instead of tty_output.

src/cm.c (current_tty, cmcheckmagic, cmcostinit, calccost, cmgoto, Wcm_clear)
(Wcm_init): Use tty_display_info instead of tty_output.

src/cm.h: Update prototypes.
src/dispextern.h: Ditto.

src/dispnew.c (window_change_signal, init_display, make_terminal_frame):
Use tty_display_info instead of tty_output.

src/frame.c (Fdelete_frame): Use tty_display_info instead of
tty_output.  Fix delete_tty check.
(make_terminal_frame): Allocate f->output_data.tty.  Increase
reference count of tty device.
(delete_frame): Free f->output_data.tty.  Use reference count to
decide if the tty should be closed.

src/frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): New,
unconditional definitions.
(struct device): New declaration (at the moment, it is defined as
empty in termhooks.h).
(struct frame): Added display, background_pixel, foreground_pixel member.

src/keyboard.c (read_avail_input): Use tty_display_info instead of tty_output.

src/lisp.h: Declare struct display.  Update prototypes.

src/sysdep.c: Update prototypes.
(discard_tty_input, init_all_sys_modes, init_sys_modes, reset_all_sys_modes)
(reset_sys_modes, hft_init, hft_reset): Use tty_display_info instead
of tty_output.


git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-29
2004-01-01 17:55:53 +00:00
..
bitmaps
m (XPNTR): Don't redefine. 2003-11-18 00:17:42 +00:00
s (LD_SWITCH_SYSTEM_TEMACS) 2003-11-24 13:13:14 +00:00
.dbxinit
.gdbinit Add arch taglines 2003-09-01 15:45:59 +00:00
.gdbinit-union Add arch taglines 2003-09-01 15:45:59 +00:00
.gitignore
abbrev.c Add arch taglines 2003-09-01 15:45:59 +00:00
acldef.h Add arch taglines 2003-09-01 15:45:59 +00:00
alloc.c A few more bugfixes and new features. 2003-12-31 05:09:29 +00:00
alloca.c Add arch taglines 2003-09-01 15:45:59 +00:00
atimer.c Add arch taglines 2003-09-01 15:45:59 +00:00
atimer.h Don't include lisp.h. 2003-09-19 14:36:22 +00:00
blockinput.h Add arch taglines 2003-09-01 15:45:59 +00:00
buffer.c (Fother_buffer): Don't crash if BUF is nil 2003-12-28 22:16:57 +00:00
buffer.h Comment change. 2003-12-29 11:22:31 +00:00
bytecode.c (mark_byte_stack, unmark_byte_stack): Ignore the markbit. 2003-09-11 21:58:32 +00:00
callint.c Add arch taglines 2003-09-01 15:45:59 +00:00
callproc.c Add arch taglines 2003-09-01 15:45:59 +00:00
casefiddle.c Add arch taglines 2003-09-01 15:45:59 +00:00
casetab.c Add arch taglines 2003-09-01 15:45:59 +00:00
category.c Add arch taglines 2003-09-01 15:45:59 +00:00
category.h Add arch taglines 2003-09-01 15:45:59 +00:00
ccl.c Remove period at end of error message. 2003-11-16 16:17:09 +00:00
ccl.h Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog *** empty log message *** 2003-12-29 14:06:29 +00:00
ChangeLog.1 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.2 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.3 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.4 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.5 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.6 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.7 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.8 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.9 Add arch taglines 2003-09-01 15:45:59 +00:00
charset.c Add arch taglines 2003-09-01 15:45:59 +00:00
charset.h Add arch taglines 2003-09-01 15:45:59 +00:00
chpdef.h Add arch taglines 2003-09-01 15:45:59 +00:00
cm.c Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
cm.h Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
cmds.c Add arch taglines 2003-09-01 15:45:59 +00:00
coding.c (Fcheck_coding_system): Further doc fix. 2003-12-28 19:54:24 +00:00
coding.h Add arch taglines 2003-09-01 15:45:59 +00:00
commands.h Add arch taglines 2003-09-01 15:45:59 +00:00
composite.c *** empty log message *** 2003-12-26 11:39:22 +00:00
composite.h Add arch taglines 2003-09-01 15:45:59 +00:00
config.in Rebuild. 2003-12-24 16:46:28 +00:00
COPYING
cxux-crt0.s Add arch taglines 2003-09-01 15:45:59 +00:00
data.c (store_symval_forwarding): Handle setting default-fill-column, etc., 2003-12-29 11:29:18 +00:00
dired.c (Fdirectory_files, Fdirectory_files_and_attributes): 2003-12-25 17:12:59 +00:00
dispextern.h Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
dispnew.c Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
disptab.h Add arch taglines 2003-09-01 15:45:59 +00:00
doc.c Add arch taglines 2003-09-01 15:45:59 +00:00
doprnt.c Add arch taglines 2003-09-01 15:45:59 +00:00
dosfns.c Add arch taglines 2003-09-01 15:45:59 +00:00
dosfns.h Add arch taglines 2003-09-01 15:45:59 +00:00
ecrt0.c Add arch taglines 2003-09-01 15:45:59 +00:00
editfns.c (region_limit): Support any non-zero value of BEGINNINGP. 2003-09-07 16:26:52 +00:00
emacs.c A few more bugfixes and new features. 2003-12-31 05:09:29 +00:00
epaths.in Add arch taglines 2003-09-01 15:45:59 +00:00
eval.c Comment change. 2003-12-29 11:22:31 +00:00
fileio.c (choose_write_coding_system): Ignore auto_saving 2003-12-29 11:24:14 +00:00
filelock.c Add arch taglines 2003-09-01 15:45:59 +00:00
filemode.c Add arch taglines 2003-09-01 15:45:59 +00:00
firstfile.c Add arch taglines 2003-09-01 15:45:59 +00:00
floatfns.c (Flogb): Don't use VALMASK. 2003-11-05 16:45:11 +00:00
fns.c (internal_equal): Return t for two NaN arguments. 2003-12-29 13:51:54 +00:00
fontset.c (Voverriding_fontspec_alist): New variable. 2003-12-29 06:53:50 +00:00
fontset.h Add arch taglines 2003-09-01 15:45:59 +00:00
frame.c Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
frame.h Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
getloadavg.c Add arch taglines 2003-09-01 15:45:59 +00:00
getpagesize.h Add arch taglines 2003-09-01 15:45:59 +00:00
gmalloc.c Add arch taglines 2003-09-01 15:45:59 +00:00
gnu.h Add arch taglines 2003-09-01 15:45:59 +00:00
gtkutil.c * gtkutil.c (xg_frame_set_char_size): Call x_wm_set_size_hint. 2003-12-24 10:35:24 +00:00
gtkutil.h Implement multiple display handling for GTK. 2003-11-16 16:05:24 +00:00
hftctl.c Add arch taglines 2003-09-01 15:45:59 +00:00
indent.c Implemented multiple tty support. 2003-12-25 06:59:31 +00:00
indent.h Add arch taglines 2003-09-01 15:45:59 +00:00
insdel.c Add arch taglines 2003-09-01 15:45:59 +00:00
intervals.c (graft_intervals_into_buffer): Handle over_used when splitting UNDER. 2003-09-30 12:33:19 +00:00
intervals.h Add EXFUN for Fget_char_property_and_overlay. 2003-11-30 17:12:40 +00:00
ioctl.h Add arch taglines 2003-09-01 15:45:59 +00:00
keyboard.c Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines. 2003-11-27 21:16:36 +00:00
keymap.c (map_keymap): Don't abort when binding is a vector. 2003-10-03 08:30:55 +00:00
keymap.h Add arch taglines 2003-09-01 15:45:59 +00:00
lastfile.c Add arch taglines 2003-09-01 15:45:59 +00:00
lisp.h Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
lread.c Add arch taglines 2003-09-01 15:45:59 +00:00
mac.c (struct my_group): Added. 2003-11-22 23:00:59 +00:00
macfns.c (Qimage): Remove extern (now in lisp.h). 2003-12-28 00:11:49 +00:00
macgui.h Add arch taglines 2003-09-01 15:45:59 +00:00
macmenu.c Add arch taglines 2003-09-01 15:45:59 +00:00
macros.c Add arch taglines 2003-09-01 15:45:59 +00:00
macros.h Add arch taglines 2003-09-01 15:45:59 +00:00
macterm.c Merged in changes from CVS HEAD 2003-12-28 16:05:28 +00:00
macterm.h Implemented multiple tty support. 2003-12-25 06:59:31 +00:00
Makefile.in Bugfix festival. 2003-12-29 07:16:26 +00:00
makefile.nt Add arch taglines 2003-09-01 15:45:59 +00:00
makefile.w32-in (emacs.o, coding.o, bytecode.o): Sync dependancies with Makefile.in. 2003-10-02 23:17:33 +00:00
marker.c Add arch taglines 2003-09-01 15:45:59 +00:00
md5.c Add arch taglines 2003-09-01 15:45:59 +00:00
md5.h Add arch taglines 2003-09-01 15:45:59 +00:00
mem-limits.h Add arch taglines 2003-09-01 15:45:59 +00:00
minibuf.c (Fset_minibuffer_window): Doc fix. 2003-12-29 11:25:21 +00:00
mktime.c Add arch taglines 2003-09-01 15:45:59 +00:00
msdos.c Bugfix festival. 2003-12-29 07:16:26 +00:00
msdos.h Add arch taglines 2003-09-01 15:45:59 +00:00
ndir.h Add arch taglines 2003-09-01 15:45:59 +00:00
param.h Add arch taglines 2003-09-01 15:45:59 +00:00
point.h Add arch taglines 2003-09-01 15:45:59 +00:00
pre-crt0.c Add arch taglines 2003-09-01 15:45:59 +00:00
prefix-args.c Add arch taglines 2003-09-01 15:45:59 +00:00
print.c Implemented multiple tty support. 2003-12-25 06:59:31 +00:00
process.c A few more bugfixes and new features. 2003-12-31 05:09:29 +00:00
process.h Add arch taglines 2003-09-01 15:45:59 +00:00
puresize.h Add arch taglines 2003-09-01 15:45:59 +00:00
ralloc.c Add arch taglines 2003-09-01 15:45:59 +00:00
README
regex.c Merged in changes from CVS HEAD 2003-12-28 16:03:57 +00:00
regex.h Merged in changes from CVS HEAD 2003-12-28 16:03:57 +00:00
region-cache.c Add arch taglines 2003-09-01 15:45:59 +00:00
region-cache.h Add arch taglines 2003-09-01 15:45:59 +00:00
scroll.c lib-src/emacsclient.c: Implemented --here option (open a new Emacs tty). Needs more work. 2003-12-26 04:24:54 +00:00
search.c Add arch taglines 2003-09-01 15:45:59 +00:00
sound.c Add arch taglines 2003-09-01 15:45:59 +00:00
stamp-h.in
strftime.c Add arch taglines 2003-09-01 15:45:59 +00:00
sunfns.c Remove period at end of error message. 2003-11-16 16:17:09 +00:00
syntax.c Add arch taglines 2003-09-01 15:45:59 +00:00
syntax.h Add arch taglines 2003-09-01 15:45:59 +00:00
sysdep.c Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
sysselect.h Add arch taglines 2003-09-01 15:45:59 +00:00
syssignal.h Add arch taglines 2003-09-01 15:45:59 +00:00
systime.h Add arch taglines 2003-09-01 15:45:59 +00:00
systty.h Add arch taglines 2003-09-01 15:45:59 +00:00
syswait.h Add arch taglines 2003-09-01 15:45:59 +00:00
temacs.opt
term.c Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
termcap.c (tgetst1): Scan for "%pN"; if all 2003-12-25 12:13:59 +00:00
termchar.h Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
termhooks.h Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
terminfo.c Add arch taglines 2003-09-01 15:45:59 +00:00
termopts.h Add a level of indirection to terminal characteristics. 2003-12-24 18:55:24 +00:00
textprop.c (Fget_char_property_and_overlay): New function. 2003-11-30 17:08:28 +00:00
tparam.c (tparam1): Add handling for `%pN', which 2003-12-24 07:31:42 +00:00
uaf.h Add arch taglines 2003-09-01 15:45:59 +00:00
undo.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexaix.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexalpha.c Don't include varargs.h. 2003-09-17 13:30:23 +00:00
unexapollo.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexconvex.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexec.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexelf.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexenix.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexhp9k800.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexmacosx.c These are Nozomu Ando's changes to build Emacs to run under X Window 2003-10-31 19:42:47 +00:00
unexmips.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexnext.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexsni.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexsol.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexsunos4.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexw32.c Add arch taglines 2003-09-01 15:45:59 +00:00
vlimit.h Add arch taglines 2003-09-01 15:45:59 +00:00
vm-limit.c Add arch taglines 2003-09-01 15:45:59 +00:00
w16select.c Add arch taglines 2003-09-01 15:45:59 +00:00
w32.c (struct the_group): Added. 2003-11-22 23:01:18 +00:00
w32.h Add arch taglines 2003-09-01 15:45:59 +00:00
w32bdf.c Remove period at end of error message. 2003-11-16 16:17:09 +00:00
w32bdf.h Add arch taglines 2003-09-01 15:45:59 +00:00
w32console.c Add arch taglines 2003-09-01 15:45:59 +00:00
w32fns.c (Qimage): Remove extern (now in lisp.h). 2003-12-28 00:11:49 +00:00
w32gui.h Add arch taglines 2003-09-01 15:45:59 +00:00
w32heap.c Add arch taglines 2003-09-01 15:45:59 +00:00
w32heap.h Add arch taglines 2003-09-01 15:45:59 +00:00
w32inevt.c lib-src/emacsclient.c: Implemented --here option (open a new Emacs tty). Needs more work. 2003-12-26 04:24:54 +00:00
w32inevt.h Add arch taglines 2003-09-01 15:45:59 +00:00
w32menu.c (Qmouse_click, Qevent_kind): Remove unused externs. 2003-12-27 23:16:53 +00:00
w32proc.c Add arch taglines 2003-09-01 15:45:59 +00:00
w32reg.c Add arch taglines 2003-09-01 15:45:59 +00:00
w32select.c Add arch taglines 2003-09-01 15:45:59 +00:00
w32term.c Merged in changes from CVS HEAD 2003-12-28 16:05:28 +00:00
w32term.h Implemented multiple tty support. 2003-12-25 06:59:31 +00:00
w32xfns.c Add arch taglines 2003-09-01 15:45:59 +00:00
widget.c Add arch taglines 2003-09-01 15:45:59 +00:00
widget.h Add arch taglines 2003-09-01 15:45:59 +00:00
widgetprv.h Add arch taglines 2003-09-01 15:45:59 +00:00
window.c lib-src/emacsclient.c: Implemented --here option (open a new Emacs tty). Needs more work. 2003-12-26 04:24:54 +00:00
window.h Add arch taglines 2003-09-01 15:45:59 +00:00
xdisp.c Merged in changes from CVS HEAD 2003-12-28 16:05:28 +00:00
xfaces.c Merged in changes from CVS head 2003-12-30 17:05:05 +00:00
xfns.c Merged in changes from CVS HEAD 2003-12-28 16:05:28 +00:00
xmenu.c (show_help_event): Remove unused code. 2003-12-27 22:24:01 +00:00
xrdb.c Add arch taglines 2003-09-01 15:45:59 +00:00
xselect.c Add arch taglines 2003-09-01 15:45:59 +00:00
xsmfns.c Add arch taglines 2003-09-01 15:45:59 +00:00
xterm.c Merged in changes from CVS HEAD 2003-12-28 16:05:28 +00:00
xterm.h Implement multiple display handling for GTK. 2003-11-16 16:05:24 +00:00

This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs (on Unix systems) or the Emacs
executable and map files (on VMS systems) are copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

Under GNU and Unix systems, the file `Makefile.in' is used as a
template by the script `../configure' to produce `Makefile.c'.  The
same script then uses `cpp' to produce the machine-dependent
`Makefile' from `Makefile.c'; `Makefile' is the file which actually
controls the compilation of Emacs.  Most of this should work
transparently to the user; you should only need to run `../configure',
and then type `make'.

See the file VMSBUILD in this directory for instructions on compiling,
linking and building Emacs on VMS.

The files `*.com' and `temacs.opt' are used on VMS only.
The files `vlimit.h', `ioclt.h' and `param.h' are stubs to
allow compilation on VMS with the minimum amount of #ifdefs.

`uaf.h' contains VMS uaf structure definitions.  This is only needed if
you define READ_SYSUAF.  This should only be done for single-user
systems where you are not overly concerned with security, since it
either requires that you install Emacs with SYSPRV or make SYSUAF.DAT
world readable.  Otherwise, Emacs can determine information about the
current user, but no one else.