summaryrefslogtreecommitdiff
path: root/src/basic/terminal-util.c
Commit message (Expand)AuthorAgeFilesLines
* exec: Add TTYRows and TTYColumns properties to set TTY dimensionsDaan De Meyer2021-11-051-0/+33
* basic: split out inotify-related calls from fs-util.h → inotify-util.hLennart Poettering2021-10-051-0/+1
* basic: move acquire_data_fd() and fd_duplicate_data_fd() to new data-fd-util.cZbigniew Jędrzejewski-Szmek2021-06-241-1/+0
* terminal: don't hardcode major number of PTYsLennart Poettering2021-05-191-26/+38
* terminal-util: use _cleanup_close_ where appropriateLennart Poettering2021-05-191-11/+8
* terminal-util: add extra validity checks that we operate on a TTY before doin...Lennart Poettering2021-05-191-3/+11
* terminal-util: add debug logging for when TTY ioctls failLennart Poettering2021-05-191-3/+6
* tree-wide: avoid uninitialized warning on _cleanup_ variablesLuca Boccassi2021-04-141-2/+2
* tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-051-1/+2
* tree-wide: use usec_add() and usec_sub_unsigned()Yu Watanabe2021-03-051-3/+3
* terminal-util: use ansi_normal() or friends instead of ANSI_NORMALYu Watanabe2021-01-251-7/+7
* terminal-util: use 256 color mode for PID 1 output, tooLennart Poettering2020-12-171-3/+8
* basic/term-util: inline colors_enabled functionrnhmjoj2020-12-151-12/+0
* tree-wide: avoid direct use of color macrosrnhmjoj2020-12-151-13/+9
* basic/term-util: extend $SYSTEMD_COLORSrnhmjoj2020-12-151-21/+52
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* man: fix typosSamanta Navarro2020-10-031-1/+1
* fileio: fileno() can realistically return -1Lennart Poettering2020-04-131-9/+23
* basic/terminal-util: add support for $NO_COLORZbigniew Jędrzejewski-Szmek2019-11-241-0/+8
* tree-wide: drop socket.h when socket-util.h is includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-041-1/+0
* terminal-util: add fallback logic to make_console_stdio()Lennart Poettering2019-08-201-10/+17
* Revert "Move verify_vc_kbmode() to terminal-util.c as vt_verify_kbmode()"Lennart Poettering2019-07-181-17/+0
* Revert "Add check to switch VTs only between K_XLATE or K_UNICODE"Lennart Poettering2019-07-181-8/+1
* Merge pull request #13080 from keszybz/firstboot-fixesLennart Poettering2019-07-171-22/+17
|\
| * firstboot: actually accept empty input to mean skipZbigniew Jędrzejewski-Szmek2019-07-171-22/+17
* | shared: voidify call to loop_write() and trim duplicate codeZbigniew Jędrzejewski-Szmek2019-07-171-48/+34
|/
* tree-wide: use _cleanup_ attribute and strv_consume() + TAKE_PTR()Yu Watanabe2019-06-241-5/+3
* terminal-util: introduce openpt_allocate()Franck Bui2019-06-181-12/+44
* terminal-util: reset access mode in vt_restore(), tooLennart Poettering2019-05-241-7/+5
* Merge pull request #12378 from rbalint/vt-kbd-reset-checkLennart Poettering2019-05-161-1/+25
|\
| * Add check to switch VTs only between K_XLATE or K_UNICODEBalint Reczey2019-05-151-1/+8
| * Move verify_vc_kbmode() to terminal-util.c as vt_verify_kbmode()Balint Reczey2019-04-241-0/+17
* | Merge pull request #12411 from keszybz/pr/12394Lennart Poettering2019-05-081-0/+38
|\ \
| * | journalctl,shared/log: use yellow for warningsZbigniew Jędrzejewski-Szmek2019-05-081-0/+8
| * | basic/log: use colors to highlight messages like journalctlZbigniew Jędrzejewski-Szmek2019-05-081-0/+30
| |/
* | codespell: fix spelling errorsBen Boeckel2019-04-291-1/+1
|/
* terminal-util: add paranoid overflow checkLennart Poettering2019-03-271-0/+4
* terminal-util: modernize things with TAKE_PTR a bitLennart Poettering2019-03-271-11/+9
* util-lib: use a fixed buffer size for terminal pathZbigniew Jędrzejewski-Szmek2019-03-201-20/+11
* util: split out namespace related stuff into a new namespace-util.[ch] pairLennart Poettering2019-03-131-0/+1
* tree-wide: port some code over to safe_fgetc()Lennart Poettering2018-12-181-9/+4
* tree-wide: port various parts of the code over to the new device_major_minor_...Lennart Poettering2018-11-291-34/+37
* terminal-util: use PATH_STARTSWITH_SET() instead of plain startswith() where ...Lennart Poettering2018-11-261-5/+2
* terminal-util: introduce vt_release() helperFranck Bui2018-11-211-0/+16
* terminal-util: introduce vt_restore() helperFranck Bui2018-11-211-0/+34
* Split out pretty-print.c and move pager.c and main-func.h to shared/Zbigniew Jędrzejewski-Szmek2018-11-201-182/+0
* tree-wide: port over other candidates for namespace_fork()Lennart Poettering2018-11-131-12/+6
* terminal-util: use fgetc() carefully instead of fread()Lennart Poettering2018-10-181-6/+11
* terminal-util: excorcise fgets()Lennart Poettering2018-10-181-25/+21