| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
writing characters to the screen.
(SCREEN_SET_CURSOR): Remove.
(IT_display_cursor): New function, to turn the cursor on and off.
(IT_cmgoto): New function, sets the cursor to its final position
whenever frame update is complete.
(internal_terminal_init): Set IT_cmgoto as the hook to be called
when frame is up to date.
(dos_rawgetc): Call IT_cmgoto instead of the SCREEN_SET_CURSOR
macro (which is gone now).
(XMenuActivate): Turn off the cursor while the menu is displayed,
to prevent it from showing through the menu panes.
|
|
|
|
|
| |
substitute for library low-level file-renaming function which
works around Windows 95 bug.
|
|
|
|
| |
belongs to the MSDOS family, convert its name to lower-case.
|
| |
|
|
|
|
|
| |
(XMenuAddPane, XMenuAddSelection): Adjust menu width for control
characters (displayed as ^X).
|
|
|
|
|
|
| |
(unixtodos_filename): Downcase the drive letter.
(init_environment): Downcase the pathnames in the environment only when
running on caseless filesystems.
|
|
|
|
|
| |
Always lower-case drive letters, even on systems that preserve case in
filenames.
|
|
|
|
|
|
|
|
|
|
|
| |
(x_set_menu_bar_lines): New function, copied from xfns.c.
(IT_set_frame_parameters): Use selected_frame instead of
the_only_frame.
(internal_terminal_init): Use selected_frame instead of the_only_frame.
(check_x): New function, replacing macro in msdos.h.
(XMenuActivate): Use selected_frame instead of
the_only_frame. Don't let the title for the "Buffers" popup
include a number when it is split into several menus.
|
|
|
|
|
|
|
|
|
| |
(dos_set_window_size): Move code to `bright_bg'.
(IT_set_terminal_modes): Enable bright background colors.
(IT_set_frame_parameters): Don't mask bright color bit in
background colors. Record colors on `termscript' file.
(internal_terminal_init): Enable bright background colors. Fix
default colors setting from $EMACSCOLORS.
|
| |
|
|
|
|
|
| |
(Fmsdos_downcase_filename): New function.
(syms_of_msdos): Defsubr it.
|
| |
|
|
|
|
| |
(syms_of_msdos): Defsubr it.
|
|
|
|
|
|
|
| |
(getdefdir): Rewrite to call `_fixpath' instead of `intdos'.
(run_msdos_command) [DJGPP > 1]: Work around some MSDOS
command-line restrictions by running shell commands via `system'
instead of `spawnve'.
|
|
|
|
| |
constructing default directory for drive.
|
|
|
|
| |
address to `intdos' instead of SI which can be 16-bit.
|
|
|
|
|
|
| |
(sys_select): Call __dpmi_yield while waiting for input to
improve multitasking behaviour.
Do not check timer when no timeout.
|
|
|
|
|
|
|
| |
(__write) [DJGPP == 2.0]: New function, avoids
calling `malloc' while writing to a text file, so that buffer
text being written won't be relocated.
(abort) [DJGPP > 1]: Generate traceback, to identify the abort cause.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(_crt0_startup_flags): Initialize it.
(internal_terminal_init): Change handling of EMACSCOLORS.
(init_environment): Call tzset, not init_gettimeofday.
(ctrl_break_vector, ctrl_break_regs): Don't define if DJGPP v2.
(ctrl_break_func, install_ctrl_break_check): Don't define if DJGPP v2.
(dos_ttraw) [DJGPP v2]: Don't call install_ctrl_break_check.
Call setmode at the end and exit.
(dos_ttcooked): Call setmode at the end and exit.
(gethostname, gettimeofday): Don't define if DJGPP v2.
(alarm, fork, kill, nicr, pause, sigsetask): Don't define if DJGPP v2.
|
|
|
|
| |
(syms_of_msdos): Delete dos-display-time Lisp var.
|
|
|
|
|
|
|
|
| |
simultaneous click/drag of `Mouse-1' and `Mouse-2'.
(dos_set_window_size): Make the window size change
faster for standard sizes. Fix a bug in v2-specific code to
change window size.
|
|
|
|
| |
to the size as close as possible to requested frame dimensions.
|
|
|
|
| |
from overflowing.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
displayed with `msdos-menu-active-face', no matter where the mouse pointer is.
|
| |
|
|
|
|
|
|
|
|
|
| |
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'.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
(XMenuLocate): Do not ignore pane title length when deciding on
menu location.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
initialize to the US keyboard table.
|
|
|
|
| |
(check_timer): Erase the clock if it has been turned off.
|
|
|
|
|
| |
(internal_terminal_init): frame member is now named output_data.
(init_environment): Fix timezone rules.
|
|
|
|
|
|
| |
(recent_doskeys_index, total_doskeys, recent_doskeys): New variables.
(Frecent_doskeys): New function.
(syms_of_msdos): New function.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
Access mouse_moved in selected_frame.
|
| |
|
| |
|