aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [!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