1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 05:52:32 -08:00
Commit graph

42 commits

Author SHA1 Message Date
Karl Heuer
8e6208c5d2 Comment fixes. 1996-01-05 10:03:17 +00:00
Richard M. Stallman
4fcff7b6ac (XMenuActivate): Make sure the menu title is always
displayed with `msdos-menu-active-face', no matter where the mouse pointer is.
1995-12-26 00:22:04 +00:00
Richard M. Stallman
3eb1dbb6ef (have_menus_p): Defined. 1995-12-25 01:47:56 +00:00
Karl Heuer
382cafff99 (check_timer): get rid of the DOS-specific menubar clock
feature; call `display-time-filter' from time.el to display time
on the modeline instead.  This makes `display-time' work under DOS.
(abort): use our own function instead of the one from the library
which reverts the console device to cooked mode.
(syms_of_msdos): `dos-display-time'--a new variable for
communicating with `display-time'.
1995-12-19 20:57:15 +00:00
Karl Heuer
67d98d33af (run_msdos_command): Support redirection of stderr. 1995-12-13 02:26:07 +00:00
Karl Heuer
c9adab2527 (IT_set_terminal_modes): Save screen color attribute
byte at startup, write saved screen dimensions to termscript
file.
(IT_reset_terminal_modes): When restoring startup screen contents,
only restore as much as was saved, and only as much as the screen
dimensions on exit can hold.  Blank the rest with the background
color saved at startup.  Write restored screen dimensions to
termscript file.
1995-12-13 02:22:47 +00:00
Karl Heuer
976bef0e02 (XMenuActivate): Display the menu pane title.
(XMenuLocate): Do not ignore pane title length when deciding on
menu location.
1995-12-13 02:13:59 +00:00
Richard M. Stallman
bba35edee6 (sys_select): Check timer once even if input is pending. 1995-11-27 20:05:44 +00:00
Richard M. Stallman
9a166e406c (IT_set_menu_bar_lines): Clear last_modified field. 1995-11-25 03:02:09 +00:00
Richard M. Stallman
1d28946c4a Comment change. 1995-11-25 00:20:46 +00:00
Richard M. Stallman
64ec6a0251 (internal_terminal_init): Initialize the_only_x_display.font. 1995-11-22 12:09:49 +00:00
Richard M. Stallman
ef1bfd8f71 (dos_set_keyboard): If CODE is not recognized,
initialize to the US keyboard table.
1995-11-22 10:47:09 +00:00
Richard M. Stallman
24fab5adf3 (dos_menubar_clock_displayed): New variable.
(check_timer): Erase the clock if it has been turned off.
1995-11-11 23:48:29 +00:00
Karl Heuer
f6816f883d (the_only_x_display): Type is now struct x_output.
(internal_terminal_init): frame member is now named output_data.
(init_environment): Fix timezone rules.
1995-11-04 00:10:43 +00:00
Richard M. Stallman
3635be47bd (IT_ring_bell): Use intdos, not write.
(recent_doskeys_index, total_doskeys, recent_doskeys): New variables.
(Frecent_doskeys): New function.
(syms_of_msdos): New function.
1995-10-26 19:06:38 +00:00
Richard M. Stallman
5063b15088 Whitespace changes. 1995-10-22 18:28:17 +00:00
Kim F. Storm
f32d40914e [!HAVE_X_WINDOWS]:
Reworked display code to perform immediate screen output.
Added menu-bar clock.
Reworked keyboard code to support international keyboards.
Improved keypad handling (see dos-keypad-mode).
Properly distinguish between C-end and C-kp-1 etc.
Corrected M-return & M-kp-enter.
Added support for hyper and super keys.
Reworked mouse code to avoid mouse flicker.
Saves and restores DOS-screen prior to emacs startup.
(sys_select): Would abort if rfds = NULL.
(dos_direct_output): New function.
(dos_dump_scancodes): New variable.
1995-10-11 15:08:15 +00:00
Paul Eggert
70b13a6cc9 (gettimeofday, init_gettimeofday, daylight, gmtoffset): Undo previous change.
(init_environment): No need to call tzset and init_gettimeofday,
since `main' now does that for us.
(gettimeofday): Ignore tzp; it's obsolescent.
(init_gettimeofday): Invoke tzset first.
1995-09-20 03:26:43 +00:00
Richard M. Stallman
ccc4fdaabe (gettimeofday): Don't bother setting time zone,
since nobody uses it, and our hacks to get it get in the way
of the above fix.  Use simpler method for getting time stamp.
(init_gettimeofday, daylight, gmtoffset): Remove.
1995-09-10 04:37:51 +00:00
Richard M. Stallman
aee8173001 (putchar): Call internal_flush instead of _flsbuf.
(DO_TERMSCRIPT): New macro to support open-termscript.
(internal_flush): Corrected handling of flush in middle of
escape sequences. Handle screen width > 127.
(flush_escape): New function for use by internal_flush.
(sys_select): New MS-DOS specific version with us timing.
(EMACSCOLORS): New environment variable.
(IT_clear_end_of_line): Set default face.
(run_msdos_command): Restore mouse position after command.
Close "backup fd"s.
Corrected switch to cooked mode while running command.
(mouse_on, mouse_off): Now checks have_mouse > 0.
Note: "have_mouse < 0" means that a mouse is present, but
it has been disabled via msdos-mouse-disable.
(IT_write_glyphs): Allow esc-character itself to be printed.
(event_timestamp): New function to make reliable times stamps.
(sys_chdir): Skip drive letter before calling chdir.
(sleep_or_kbd_hit): Handle 60 seconds time wrap.
(mouse_get_pos): Return event_timestamp.
1995-09-03 17:32:58 +00:00
Richard M. Stallman
872e2c822b (init_environment): Move alloca call out of function arg. 1995-07-20 18:30:49 +00:00
Karl Heuer
f2f2356280 (mouse_get_pos, mouse_check_moved, XMenuActivate):
Access mouse_moved in selected_frame.
1995-07-18 00:25:14 +00:00
Richard M. Stallman
fadfaf55b9 (mouse_get_pos): New arg `insist'. 1995-03-26 21:13:03 +00:00
Richard M. Stallman
edfc0d4575 Comment change. 1995-01-20 23:40:03 +00:00
Richard M. Stallman
1189e5a2d9 (XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate,
XMenuActivate, XMenuDestroy): Add dummy `display *' argument.
1995-01-20 23:37:00 +00:00
Morten Welinder
87485d6fc9 *** empty log message *** 1994-10-17 08:42:36 +00:00
Karl Heuer
30d0f552c4 (run_msdos_command): Use type test macros. 1994-09-27 01:59:38 +00:00
Richard M. Stallman
e118d5efd5 (mouse_init1): Use alternate mouse detection for old mouse drivers.
(mouse_get_pos): Downscale coordinates by 8.
1994-07-14 04:58:02 +00:00
Richard M. Stallman
3ec5651bc0 (dos_rawgetc): Use bios, not kbhit (). 1994-07-11 00:59:17 +00:00
Richard M. Stallman
ca986694dd (install_ctrl_break_check): Doc fix.
(do_visible_bell): Clean-up using Gnu assembly extension.
1994-07-09 05:13:38 +00:00
Richard M. Stallman
88b284831c (init_environment): Clean up code and make the default
EMACSPATH equal to the directory from which Emacs was started.
(emacsroot): New variable.
(rootrelativepath): New function.
1994-06-07 15:24:57 +00:00
Karl Heuer
647c32eb3e (run_msdos_command): Make local copy of argv[2] on stack, not on heap.
(run_msdos_command): When changing argv[2] from using slashes to
using backslashes, only do so on the first white-space delimited part.
1994-06-03 04:50:17 +00:00
Richard M. Stallman
09e2ac30b1 (output_string): New function.
(internal_flush): Use output_string for faster screen update.
(internal_flush): Clear to end of line by writing a string of spaces.
1994-05-30 09:14:39 +00:00
Richard M. Stallman
fcea9cd4db (do_visible_bell): Renamed from visible_bell to avoid
potential conflict with variable of the same name.  Caller changed.
(internal_flush): Code for audio bell inserted.
1994-05-24 19:50:04 +00:00
Richard M. Stallman
9da6e7653b (dos_rawgetc): Doc fix. Make C-, S-, and M- modifiers
independent.  Make modifiers work with mouse.  Improve C-S-<ascii>
handling by using look-up tables.  Fix kp-decimal problem.
1994-05-24 19:46:40 +00:00
Richard M. Stallman
b278e52a3b (gettimeofday): New function substituting the library
function of the same name.
(init_gettimeofday): New function.
(init_environment): Call init_gettimeofday after possibly
setting TZ environment variable.
1994-05-17 07:24:12 +00:00
Richard M. Stallman
3d4ad6e0a3 (crlf_to_lf): Fix off-by-one condition. 1994-05-15 19:38:50 +00:00
Richard M. Stallman
49a09c76b8 Finish downcasing mouse_init1, mouse_off,
mouse_check_moved, mouse_pressed, mouse_released, mouse_on, mouse_init.

(visible_bell): Now static.  Make the asm volatile.
Don't expect register %gs to survive calls to other functions
(just to be safe, %gs will survive at present).

(glyph_to_pixel_coords, pixel_to_glyph_coords) new
functions imitating those in xterm.c.

(dos_rawgetc): Key numbers are biased by 0xff00.
1994-05-02 07:52:49 +00:00
Karl Heuer
091d0bdf9d (run_msdos_command): Use assignment instead of initialization. 1994-03-23 22:55:59 +00:00
Richard M. Stallman
411acee307 (mouse_get_pos): Don't convert to glyph units. 1994-02-24 06:22:50 +00:00
Richard M. Stallman
489847162d Use <...> for config.h. 1994-02-17 20:05:33 +00:00
Richard M. Stallman
1b94449f31 Initial revision 1994-01-08 09:22:50 +00:00