aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (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.
* (have_menus_p): Defined.Richard M. Stallman1995-12-251-8/+12
|
* (check_timer): get rid of the DOS-specific menubar clockKarl Heuer1995-12-191-44/+57
| | | | | | | | | 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'.
* (run_msdos_command): Support redirection of stderr.Karl Heuer1995-12-131-4/+5
|
* (IT_set_terminal_modes): Save screen color attributeKarl Heuer1995-12-131-5/+50
| | | | | | | | | | 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.
* (XMenuActivate): Display the menu pane title.Karl Heuer1995-12-131-5/+3
| | | | | (XMenuLocate): Do not ignore pane title length when deciding on menu location.
* (sys_select): Check timer once even if input is pending.Richard M. Stallman1995-11-271-2/+3
|
* (IT_set_menu_bar_lines): Clear last_modified field.Richard M. Stallman1995-11-251-0/+1
|
* Comment change.Richard M. Stallman1995-11-251-1/+1
|
* (internal_terminal_init): Initialize the_only_x_display.font.Richard M. Stallman1995-11-221-0/+1
|
* (dos_set_keyboard): If CODE is not recognized,Richard M. Stallman1995-11-221-0/+6
| | | | initialize to the US keyboard table.
* (dos_menubar_clock_displayed): New variable.Richard M. Stallman1995-11-111-0/+8
| | | | (check_timer): Erase the clock if it has been turned off.
* (the_only_x_display): Type is now struct x_output.Karl Heuer1995-11-041-7/+13
| | | | | (internal_terminal_init): frame member is now named output_data. (init_environment): Fix timezone rules.
* (IT_ring_bell): Use intdos, not write.Richard M. Stallman1995-10-261-4/+54
| | | | | | (recent_doskeys_index, total_doskeys, recent_doskeys): New variables. (Frecent_doskeys): New function. (syms_of_msdos): New function.
* Whitespace changes.Richard M. Stallman1995-10-221-24/+26
|
* [!HAVE_X_WINDOWS]:Kim F. Storm1995-10-111-1295/+1698
| | | | | | | | | | | | | | | 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.
* (gettimeofday, init_gettimeofday, daylight, gmtoffset): Undo previous change.Paul Eggert1995-09-201-5/+36
| | | | | | | (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.
* (gettimeofday): Don't bother setting time zone,Richard M. Stallman1995-09-101-39/+6
| | | | | | 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.
* (putchar): Call internal_flush instead of _flsbuf.Richard M. Stallman1995-09-031-214/+451
| | | | | | | | | | | | | | | | | | | | | (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.
* (init_environment): Move alloca call out of function arg.Richard M. Stallman1995-07-201-1/+2
|
* (mouse_get_pos, mouse_check_moved, XMenuActivate):Karl Heuer1995-07-181-4/+4
| | | | Access mouse_moved in selected_frame.
* (mouse_get_pos): New arg `insist'.Richard M. Stallman1995-03-261-1/+2
|
* Comment change.Richard M. Stallman1995-01-201-1/+1
|
* (XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate,Richard M. Stallman1995-01-201-7/+10
| | | | XMenuActivate, XMenuDestroy): Add dummy `display *' argument.
* *** empty log message ***Morten Welinder1994-10-171-21/+615
|
* (run_msdos_command): Use type test macros.Karl Heuer1994-09-271-1/+1
|
* (mouse_init1): Use alternate mouse detection for old mouse drivers.Richard M. Stallman1994-07-141-3/+16
| | | | (mouse_get_pos): Downscale coordinates by 8.
* (dos_rawgetc): Use bios, not kbhit ().Richard M. Stallman1994-07-111-1/+5
|
* (install_ctrl_break_check): Doc fix.Richard M. Stallman1994-07-091-35/+21
| | | | (do_visible_bell): Clean-up using Gnu assembly extension.
* (init_environment): Clean up code and make the defaultRichard M. Stallman1994-06-071-25/+38
| | | | | | EMACSPATH equal to the directory from which Emacs was started. (emacsroot): New variable. (rootrelativepath): New function.
* (run_msdos_command): Make local copy of argv[2] on stack, not on heap.Karl Heuer1994-06-031-7/+12
| | | | | (run_msdos_command): When changing argv[2] from using slashes to using backslashes, only do so on the first white-space delimited part.
* (output_string): New function.Richard M. Stallman1994-05-301-6/+49
| | | | | (internal_flush): Use output_string for faster screen update. (internal_flush): Clear to end of line by writing a string of spaces.
* (do_visible_bell): Renamed from visible_bell to avoidRichard M. Stallman1994-05-241-2/+6
| | | | | potential conflict with variable of the same name. Caller changed. (internal_flush): Code for audio bell inserted.
* (dos_rawgetc): Doc fix. Make C-, S-, and M- modifiersRichard M. Stallman1994-05-241-16/+33
| | | | | independent. Make modifiers work with mouse. Improve C-S-<ascii> handling by using look-up tables. Fix kp-decimal problem.
* (gettimeofday): New function substituting the libraryRichard M. Stallman1994-05-171-0/+53
| | | | | | | function of the same name. (init_gettimeofday): New function. (init_environment): Call init_gettimeofday after possibly setting TZ environment variable.
* (crlf_to_lf): Fix off-by-one condition.Richard M. Stallman1994-05-151-1/+3
|
* Finish downcasing mouse_init1, mouse_off,Richard M. Stallman1994-05-021-47/+78
| | | | | | | | | | | | | 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.
* (run_msdos_command): Use assignment instead of initialization.Karl Heuer1994-03-231-2/+5
|
* (mouse_get_pos): Don't convert to glyph units.Richard M. Stallman1994-02-241-2/+2
|
* Use <...> for config.h.Richard M. Stallman1994-02-171-1/+1
|
* Initial revisionRichard M. Stallman1994-01-081-0/+1067