aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (init_environment): Set TMPDIR to an existingEli Zaretskii1998-05-131-0/+32
| | | | directory. Abort if none of the usual places is available.
* (IT_ring_bell, IT_write_glyphs, IT_clear_end_of_line,Eli Zaretskii1998-04-271-27/+25
| | | | | | | | | IT_clear_screen, IT_clear_to_end, IT_clear_to_end, IT_cursor_to, IT_cmgoto, IT_reassert_line_highlight, IT_change_line_highlight, IT_update_begin, IT_update_end, IT_set_terminal_modes, IT_reset_terminal_modes, IT_set_terminal_window, pixel_to_glyph_coords, IT_menu_display): Bring definitions in accordance with prototype declarations.
* (run_msdos_command): Don't construct processEli Zaretskii1998-04-211-29/+33
| | | | | environment, it's already done in child_setup. (run_msdos_command): Add ENVV to argument list.
* (it_keyboard): New variable, supports Italian keyboard.Eli Zaretskii1998-04-161-0/+18
| | | | (keyboard_layout_list): Add Italian keyboard.
* (dosv_refresh_virtual_screen): Do not use negative arguments.Eli Zaretskii1998-04-131-7/+5
| | | | | | | (dos_direct_output): Fix the offset passed to dosv_refresh_virtual_screen. (IT_display_cursor): Don't call dosv_refresh_virtual_screen. (IT_reset_terminal_modes): Don't call dosv_refresh_virtual_screen when setting cursor.
* (request_sigio, unrequest_sigio): Make consistent withKarl Heuer1998-04-081-2/+2
| | | | prototypes in lisp.h.
* Support for Japanese display on DOS/V systems.Eli Zaretskii1997-11-101-7/+97
| | | | | | | | | | | | | | | | (screen_old_address, screen_virtual_segment, screen_virtual_offset): New variables. (dosv_refresh_virtual_screen): New function. (dos_direct_output, dos_set_window_size, IT_write_glyphs, IT_clear_end_of_line, IT_clear_screen, IT_display_cursor, IT_reset_terminal_modes, XMenuActivate, abort): Call dosv_refresh_virtual_screen if under DOS/V. (IT_set_terminal_modes): If under DOS/V, update the address of primary screen buffer. (internal_terminal_init): Zero out screen_old_address, in case Emacs was dumped under DOS/V. (dos_get_saved_screen): Return failure indication if no screen was saved.
* (mouse_get_pos): Remove reduntant call to `int86'.Eli Zaretskii1997-10-131-69/+39
| | | | | | | | | | Clear the mouse-moved flag for all frames. Update last mouse position. (IT_set_menu_bar_lines): Remove. (x_set_menu_bar_lines): Call `set_menu_bar_line' (from frame.c) instead of duplicating its code. (IT_set_frame_parameters): Support the `title' and `reverse' properties.
* Switch to raw-text as coding system.Richard M. Stallman1997-09-111-1/+1
|
* (syms_of_msdos): Intern background-color andRichard M. Stallman1997-09-111-2/+8
| | | | | | foreground-color, and staticpro them. (IT_set_frame_parameters): Use Qforeground_color and Qbackground_color.
* Add coding: tag, to prevent Emacs from interpreting binary strings.Eli Zaretskii1997-08-281-1/+1
|
* (syms_of_msdos): Define and bind x-bitmap-file-path andEli Zaretskii1997-08-131-0/+22
| | | | | delete-exited-processes, to prevent cus-start.el from complaining.
* (init_environment): Set Emacs root directory properly whenRichard M. Stallman1997-08-111-3/+6
| | | | | | the executable is in its `src' subdirectory, as under a debugger. (IT_set_face): If termscript is in use, print the number of the face as well.
* (IT_set_frame_parameters): Actually store the frameRichard M. Stallman1997-08-111-5/+26
| | | | parameters in the frame parameters' alist.
* (Qbackground_color, Qforeground_color): Define vars.Richard M. Stallman1997-08-111-0/+3
|
* dos_rawgetc: When international keyboard doesn't haveEli Zaretskii1997-02-021-1/+13
| | | | | to be supported, recognize Alt-key combinations even if the Alt key is no longer pressed.
* (run_msdos_command): Remove unused variables.Eli Zaretskii1997-01-211-9/+14
| | | | | | | | | (crlf_to_lf): Remove unused variables. (Fmsdos_downcase_filename): Remove unused variable. (IT_set_frame_parameters): Declare prototypes for external functions. (IT_set_frame_parameters): Correct format specifier. (IT_set_terminal_modes): Remove unused variable. (top level): Add header files which declare used functions.
* * (sigprocmask, sig_suspender): New functions, implementEli Zaretskii1997-01-161-1/+111
| | | | signal blocking on MSDOS.
* * (XMenuActivate): Don't allow non-positive menuEli Zaretskii1997-01-161-0/+6
| | | | coordinates.
* (bright_bg): Save the original state of video blink bit.Richard M. Stallman1997-01-061-0/+35
| | | | | | | | | (maybe_enable_blinking): New function, restores the original state of the blink bit. (IT_reset_terminal_modes): Restore the original state of the blink bit when suspending/exiting. (run_msdos_command): Make sure bright background colors are again enabled after subsidiary program returns.
* (dos_set_keyboard): Test whether KEYB.COM is installedRichard M. Stallman1996-12-271-0/+15
| | | | | | for international keyboard support. (dos_get_modifiers): If international keyboard support is NOT required, make both Right and Left Alt key behave like Meta key.
* (IT_cmgoto): Don't update FRAME_CURSOR_X when the cursorKarl Heuer1996-12-061-1/+0
| | | | is in echo area.
* [__DJGPP__ >= 2] (dos_direct_output): Faster method ofKarl Heuer1996-11-191-9/+90
| | | | | | | | | | | | | | 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.
* [__DJGPP_MINOR__ == 0] (_rename): New function, aRichard M. Stallman1996-11-061-0/+116
| | | | | substitute for library low-level file-renaming function which works around Windows 95 bug.
* (run_msdos_command): When testing whether a shellRichard M. Stallman1996-09-241-2/+14
| | | | belongs to the MSDOS family, convert its name to lower-case.
* (IT_set_menu_bar_lines): Clear last_overlay_modified field.Richard M. Stallman1996-09-161-0/+1
|
* (IT_menu_display): Display control characters as ^X.Karl Heuer1996-07-071-3/+31
| | | | | (XMenuAddPane, XMenuAddSelection): Adjust menu width for control characters (displayed as ^X).
* (dostounix_filename): On caseless filesystems, downcase the filename.Miles Bader1996-07-071-4/+11
| | | | | | (unixtodos_filename): Downcase the drive letter. (init_environment): Downcase the pathnames in the environment only when running on caseless filesystems.
* (msdos_downcase_filename):Miles Bader1996-07-021-0/+11
| | | | | Always lower-case drive letters, even on systems that preserve case in filenames.
* (check_x): Fix error message.Richard M. Stallman1996-06-101-27/+72
| | | | | | | | | | | (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.
* (bright_bg): New function, enables bright background colors.Richard M. Stallman1996-06-061-8/+32
| | | | | | | | | (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): Don't change the argument, return a copy.Richard M. Stallman1996-05-121-4/+11
|
* (msdos_downcase_filename): New function to convert case in filenames.Richard M. Stallman1996-05-111-5/+29
| | | | | (Fmsdos_downcase_filename): New function. (syms_of_msdos): Defsubr it.
* (syms_of_msdos): Fix typo.Richard M. Stallman1996-05-081-1/+1
|
* (Fmsdos_long_file_names): New function.Richard M. Stallman1996-05-061-1/+8
| | | | (syms_of_msdos): Defsubr it.
* (dos_get_modifiers): Restore missing comment terminator.Richard M. Stallman1996-05-011-17/+51
| | | | | | | (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'.
* (getdefdir): Include drive letter and colon whenRichard M. Stallman1996-04-271-0/+2
| | | | constructing default directory for drive.
* (getdefdir) [DJGPP > 1]: Use 32-bit ESI to pass bufferRichard M. Stallman1996-04-261-0/+7
| | | | address to `intdos' instead of SI which can be 16-bit.
* (check_timer): Removed; use gettime instead.Richard M. Stallman1996-04-161-29/+12
| | | | | | (sys_select): Call __dpmi_yield while waiting for input to improve multitasking behaviour. Do not check timer when no timeout.
* Include signal.h.Richard M. Stallman1996-04-121-0/+84
| | | | | | | (__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.
* [MSDOS]: If DJGPP version 2, include fcntl.h.Richard M. Stallman1996-04-101-5/+72
| | | | | | | | | | | | | (_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.
* (check_timer): Remove code for dos-display-time.Richard M. Stallman1996-03-071-40/+0
| | | | (syms_of_msdos): Delete dos-display-time Lisp var.
* (dos_rawgetc): Allow simulation of `Mouse-3' byRichard M. Stallman1996-01-291-34/+60
| | | | | | | | 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.
* (dos_set_window_size): New function; switches the screenKarl Heuer1996-01-241-0/+124
| | | | to the size as close as possible to requested frame dimensions.
* (sys_select): Use time macros to prevent time valuesKarl Heuer1996-01-241-9/+22
| | | | from overflowing.
* (sigblock): New (dummy) function.Karl Heuer1996-01-231-0/+1
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (dos_rawgetc): Make buf longer.Richard M. Stallman1996-01-121-1/+1
|
* Comment fixes.Karl Heuer1996-01-051-2/+2
|
* (XMenuActivate): Make sure the menu title is alwaysRichard M. Stallman1995-12-261-1/+7
| | | | displayed with `msdos-menu-active-face', no matter where the mouse pointer is.