summaryrefslogtreecommitdiff
path: root/src/os_unix.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.4532: suspending with CTRL-Z does not work on OpenBSDv8.2.4532Stuart Henderson2022-03-091-2/+3
| | | | | Problem: Suspending with CTRL-Z does not work on OpenBSD. Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912)
* patch 8.2.4480: suspending with CTRL-Z does not work on Androidv8.2.4480xtkoba2022-02-271-1/+3
| | | | | Problem: Suspending with CTRL-Z does not work on Android. Solution: Do not handle SIGTSTP. (closes #9854)
* patch 8.2.4457: the GPM library can only be linked staticallyv8.2.4457Bram Moolenaar2022-02-231-1/+67
| | | | | Problem: The GPM library can only be linked statically. Solution: Make it possible to load the GPM library dynamically. (Damien)
* patch 8.2.4316: __CYGWIN32__ is not defined on 64 bit systemsv8.2.4316K.Takata2022-02-071-1/+1
| | | | | Problem: __CYGWIN32__ is not defined on 64 bit systems. Solution: Update #ifdefs. (Ken Takata, closes #9709)
* patch 8.2.4294: MS-Windows: #ifdefs for Cygwin are too complicatedv8.2.4294K.Takata2022-02-041-8/+6
| | | | | Problem: MS-Windows: #ifdefs for Cygwin are too complicated. Solution: Simplify the conditions. (Ken Takata, closes #9693)
* patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar2022-01-311-153/+21
| | | | | Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
* patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=2022-01-281-4/+4
| | | | | Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
* patch 8.2.4201: when using the GUI CTRL-Z does not stop gvimv8.2.4201Bram Moolenaar2022-01-241-1/+8
| | | | | | Problem: When using the GUI CTRL-Z does not stop gvim. Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev, closes #9570)
* patch 8.2.4195: resizing terminal may cause to behave like CTRL-Zv8.2.4195dbivolaru2022-01-231-1/+3
| | | | | | Problem: Resizing terminal may cause to behave like CTRL-Z. Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru, closes #9602, closes #9586)
* patch 8.2.3985: error messages are spread outv8.2.3985Bram Moolenaar2022-01-021-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar2022-01-011-7/+7
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3941: SIGTSTP is not handledv8.2.3941dbivolaru2021-12-291-3/+36
| | | | | Problem: SIGTSTP is not handled. Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
* patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle2021-12-271-1/+1
| | | | | Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
* patch 8.2.3770: new compiler warnings from clang-12 and clang-13v8.2.3770ichizok2021-12-091-1/+9
| | | | | Problem: New compiler warnings from clang-12 and clang-13. Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
* patch 8.2.3760: not automatically handling gnome terminal mouse like xtermv8.2.3760Bram Moolenaar2021-12-081-0/+1
| | | | | | Problem: Not automatically handling gnome terminal mouse like xterm. Solution: Default 'ttymouse' to "xterm" and recognize Focus events. (issue #9296)
* patch 8.2.3750: error messages are everywherev8.2.3750Bram Moolenaar2021-12-051-2/+2
| | | | | Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
* patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar2021-11-291-21/+5
| | | | | Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
* patch 8.2.3623: "$*" is expanded to "nonomatch"v8.2.3623Christian Brabandt2021-11-191-4/+11
| | | | | | Problem: "$*" is expanded to "nonomatch". Solution: Only add "set nonomatch" when using a csh-like shell. (Christian Brabandt, closes #9159, closes #9153)
* patch 8.2.3544: Unix: may leak file descriptor using non-existing directoryv8.2.3544itchyny2021-10-201-1/+4
| | | | | | Problem: Unix: may leak file descriptor when using a non-existing directory. Solution: Always close the file. (closes #9023)
* patch 8.2.3502: cannot enter password in shell commandv8.2.3502Bram Moolenaar2021-10-131-0/+5
| | | | | Problem: Cannot enter password in shell command. Solution: Revert patch 8.2.2919.
* patch 8.2.3468: problem with :cd when editing file in non-existent directoryv8.2.3468Bram Moolenaar2021-10-031-1/+9
| | | | | | Problem: Problem with :cd when editing file in non-existent directory. (Yee Cheng Chin) Solution: Prepend the current directory to get the full path. (closes #8903)
* patch 8.2.3388: fnamemodify('path/..', ':p') differs from using 'path/../'v8.2.3388Bram Moolenaar2021-08-301-1/+7
| | | | | Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. Solution: Include the "/.." in the directory name. (closes #8808)
* patch 8.2.3327: no check for sysconf() failingv8.2.3327Zdenek Dohnal2021-08-111-19/+27
| | | | | | Problem: No check for sysconf() failing. Solution: If sysconf() fails use SIGSTKSZ for the signal stack size. (Zdenek Dohnal, closes #8743)
* patch 8.2.3041: detecting if the process of a swap file is running failsv8.2.3041Bram Moolenaar2021-06-231-2/+11
| | | | | | Problem: Detecting if the process of a swap file is running fails if the process is owned by another user. Solution: Check for the ESRCH error. (closes #8436)
* patch 8.2.2919: using ":!command" does not work if it uses posix_spawn()v8.2.2919Bram Moolenaar2021-06-011-5/+0
| | | | | Problem: Using ":!command" does not work if the command uses posix_spawn(). Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
* patch 8.2.2662: there is no way to avoid some escape sequencesv8.2.2662Bram Moolenaar2021-03-271-4/+7
| | | | | | Problem: There is no way to avoid some escape sequences. Solution: Suppress escape sequences when the --not-a-term argument is used. (Gary Johnson)
* patch 8.2.2550: signal stack size is wrong with latest glibc 2.34v8.2.2550Bram Moolenaar2021-02-251-1/+13
| | | | | | Problem: Signal stack size is wrong with latest glibc 2.34. Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes #7895)
* patch 8.2.2109: "vim -" does not work well when modifyOtherKeys is enabledv8.2.2109Bram Moolenaar2020-12-081-3/+7
| | | | | | | Problem: "vim -" does not work well when modifyOtherKeys is enabled and a shell command is executed on startup. Solution: Only change modifyOtherKeys when executing a shell command in raw mode.
* patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar2020-10-241-4/+4
| | | | | Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
* patch 8.2.1896: valgrind warns for using uninitialized memoryv8.2.1896Bram Moolenaar2020-10-241-2/+5
| | | | | | Problem: Valgrind warns for using uninitialized memory. Solution: NUL terminate the SmcOpenConnection() error message. (Dominique Pellé, closes #7194)
* patch 8.2.1818: SE Linux: deprecation warning for security_context_tv8.2.1818Bram Moolenaar2020-10-091-2/+4
| | | | | Problem: SE Linux: deprecation warning for security_context_t. Solution: Use "char *" instead. (James McCoy, closes #7093)
* patch 8.2.1805: Unix: terminal mode changed when using ":shell"v8.2.1805Bram Moolenaar2020-10-051-4/+8
| | | | | Problem: Unix: terminal mode changed when using ":shell". Solution: Avoid calling settmode() when not needed. (issue #7079)
* patch 8.2.1676: compiler warnings for function typecastv8.2.1676Bram Moolenaar2020-09-131-2/+2
| | | | | Problem: Compiler warnings for function typecast. Solution: Add an intermediate cast to "void *".
* patch 8.2.1545: ch_logfile() is unclear about closing when forkingv8.2.1545Bram Moolenaar2020-08-301-1/+3
| | | | | Problem: ch_logfile() is unclear about closing when forking. Solution: Adjust the log messages.
* patch 8.2.1513: cannot interrupt shell used for filename expansionv8.2.1513Bram Moolenaar2020-08-231-13/+22
| | | | | | Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes #6770)
* patch 8.2.1422: the Mac GUI implementation is outdatedv8.2.1422Bram Moolenaar2020-08-111-2/+2
| | | | | | | Problem: The Mac GUI implementation is outdated and probably doesn't even work. Solution: Remove the Mac GUI code. The MacVim project provides the supported Vim GUI version.
* patch 8.2.1215: Atari MiNT support is outdatedv8.2.1215Bram Moolenaar2020-07-141-2/+1
| | | | | Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it.
* patch 8.2.1091: no check if opening a pty worksv8.2.1091Bram Moolenaar2020-06-291-0/+2
| | | | | Problem: No check if opening a pty works. Solution: Check for invalid file descriptor.
* patch 8.2.0952: no simple way to interrupt Vimv8.2.0952Bram Moolenaar2020-06-101-3/+24
| | | | | | Problem: No simple way to interrupt Vim. Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes, closes #1718)
* patch 8.2.0856: CTRL-S stops outputv8.2.0856Bram Moolenaar2020-05-311-4/+2
| | | | | Problem: CTRL-S stops output. Solution: Invert the IXON flag. (closes #6166)
* patch 8.2.0852: cannot map CTRL-S on some systemsv8.2.0852Bram Moolenaar2020-05-301-2/+0
| | | | | Problem: Cannot map CTRL-S on some systems. Solution: Do not use CTRL-S for flow control.
* patch 8.2.0849: BeOS code is not maintained and probably unusedv8.2.0849Bram Moolenaar2020-05-301-21/+9
| | | | | Problem: BeOS code is not maintained and probably unused. Solution: Remove the BeOS code. (Emir Sari, closes #5817)
* patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'v8.2.0774Bram Moolenaar2020-05-171-10/+13
| | | | | | | | Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique Pelle) Solution: Do not change the terminal mode for a short sleep. Do not output t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an enum.
* patch 8.2.0773: switching to raw mode every time ":" is usedv8.2.0773Bram Moolenaar2020-05-161-0/+7
| | | | | | Problem: Switching to raw mode every time ":" is used. Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the next time TMODE_RAW is used it is set, but not every time.
* patch 8.2.0739: incomplete profiling when exiting because of a dealy signalv8.2.0739Bram Moolenaar2020-05-111-0/+10
| | | | | Problem: Incomplete profiling when exiting because of a dealy signal. Solution: Call __gcov_flush() if available.
* patch 8.2.0737: when shell doesn't support CTRL-Z Vim still handles itv8.2.0737Bram Moolenaar2020-05-111-6/+26
| | | | | | Problem: When shell doesn't support CTRL-Z Vim still handles it. Solution: Ignore the STOP signal if it was ignored on startup. (Kurtis Rader, closes #5990, closes #6058)
* patch 8.2.0728: messages about a deadly signal are not left alignedv8.2.0728Bram Moolenaar2020-05-101-2/+2
| | | | | Problem: Messages about a deadly signal are not left aligned. Solution: Output a CR before the NL. (Dominique Pelle, #6055)
* patch 8.2.0720: occasional exit when encountering an X errorv8.2.0720Bram Moolenaar2020-05-091-4/+9
| | | | | Problem: Occasional exit when encountering an X error. (Manfred Lotz) Solution: On an X error do not exit, do preserve files.
* patch 8.2.0658: HP-UX build fails when setenv() is not definedv8.2.0658Bram Moolenaar2020-04-281-1/+1
| | | | | Problem: HP-UX build fails when setenv() is not defined. Solution: Change "colors" to "t_colors". (John Marriott)
* patch 8.2.0646: t_Co uses the value of $COLORS in the GUIv8.2.0646Bram Moolenaar2020-04-261-6/+1
| | | | | Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata) Solution: Ignore $COLORS for the GUI. (closes #5992)