aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt/vt.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-21tty: vt: do not open code DIV_ROUND_UP()Jiri Slaby (SUSE)1-2/+2
2025-09-12vt: move vc_saved_screen to within tty allocated judgmentEdward Adam Davis1-4/+4
2025-09-06vt: remove redundant check on vc_mode in con_font_set()Wang Liang1-2/+0
2025-09-06vt: add support for smput/rmput escape codesCalixte Pernot1-0/+58
2025-08-17tty/vt: use guard()sJiri Slaby (SUSE)1-60/+38
2025-08-17tty/vt: use guard()s in con_font_set/get() and con_{set,get}_unimap()Jiri Slaby (SUSE)1-49/+40
2025-06-19vt: add missing notification when switching back to text modeNicolas Pitre1-0/+1
2025-05-21vt: bracketed paste supportNicolas Pitre1-0/+15
2025-05-21vt: make use of ucs_get_fallback() when glyph is unavailableNicolas Pitre1-0/+13
2025-05-21vt: move glyph determination to a separate functionNicolas Pitre1-33/+38
2025-05-21vt: make sure displayed double-width characters are remembered as suchNicolas Pitre1-1/+8
2025-04-26vt: remove zero-width-space handling from conv_uni_to_pc()Nicolas Pitre1-1/+1
2025-04-26vt: pad double-width code points with a zero-width spaceNicolas Pitre1-3/+8
2025-04-26vt: support Unicode recompositionNicolas Pitre1-3/+11
2025-04-26vt: properly support zero-width Unicode code pointsNicolas Pitre1-2/+68
2025-04-26vt: move unicode processing to a separate fileNicolas Pitre1-39/+1
2025-04-26vt: minor cleanup to vc_translate_unicode()Nicolas Pitre1-5/+8
2025-04-26Revert "vt: minor cleanup to vc_translate_unicode()"Greg Kroah-Hartman1-8/+5
2025-04-26Revert "vt: move unicode processing to a separate file"Greg Kroah-Hartman1-1/+39
2025-04-26Revert "vt: properly support zero-width Unicode code points"Greg Kroah-Hartman1-44/+2
2025-04-26Revert "vt: support Unicode recomposition"Greg Kroah-Hartman1-9/+2
2025-04-26Revert "vt: pad double-width code points with a zero-white-space"Greg Kroah-Hartman1-8/+3
2025-04-26Revert "vt: remove zero-white-space handling from conv_uni_to_pc()"Greg Kroah-Hartman1-3/+1
2025-04-11vt: remove zero-white-space handling from conv_uni_to_pc()Nicolas Pitre1-1/+3
2025-04-11vt: pad double-width code points with a zero-white-spaceNicolas Pitre1-3/+8
2025-04-11vt: support Unicode recompositionNicolas Pitre1-2/+9
2025-04-11vt: properly support zero-width Unicode code pointsNicolas Pitre1-2/+44
2025-04-11vt: move unicode processing to a separate fileNicolas Pitre1-39/+1
2025-04-11vt: minor cleanup to vc_translate_unicode()Nicolas Pitre1-5/+8
2025-04-05treewide: Switch/rename to timer_delete[_sync]()Thomas Gleixner1-2/+2
2025-01-13tty: Permit some TIOCL_SETSEL modes without CAP_SYS_ADMINGünther Noack1-2/+0
2024-10-11vt: prevent kernel-infoleak in con_font_get()Jeongjun Park1-1/+1
2024-05-04tty: add the option to have a tty reject a new ldiscLinus Torvalds1-0/+10
2024-03-21Merge tag 'tty-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-700/+831
2024-03-02vt: fix unicode buffer corruption when deleting charactersNicolas Pitre1-1/+1
2024-02-17tty/vt: Corrected doc of vc_sanitize_unicode(), vc_translate_unicode()Roman Žilka1-4/+12
2024-02-06tty: vt: decrypt magic constants in vc_is_control()Jiri Slaby (SUSE)1-3/+7
2024-02-06tty: vt: use ASCII enum constants in vt_console_print()Jiri Slaby (SUSE)1-4/+5
2024-02-06tty: vt: use switch+case in the ESgetpars caseJiri Slaby (SUSE)1-4/+8
2024-02-06tty: vt: use switch+case in the ESnonstd caseJiri Slaby (SUSE)1-6/+8
2024-02-06tty: vt: add new helper for reseting vc parametersJiri Slaby (SUSE)1-6/+9
2024-02-06tty: vt: handle CSI+[ inside preexisting switch-caseJiri Slaby (SUSE)1-4/+3
2024-02-06tty: vt: simplify ansi_control_string()Jiri Slaby (SUSE)1-5/+6
2024-02-06tty: vt: name, reflow and document enum vc_ctl_stateJiri Slaby (SUSE)1-17/+55
2024-02-06tty: vt: move CSI ECMA handling to a separate functionJiri Slaby (SUSE)1-130/+139
2024-02-06tty: vt: move CSI DEC handling to a separate functionJiri Slaby (SUSE)1-31/+44
2024-02-06tty: vt: separate ESesc state handling into handle_esc()Jiri Slaby (SUSE)1-62/+72
2024-02-06tty: vt: extract ascii handling to handle_ascii()Jiri Slaby (SUSE)1-21/+37
2024-02-06tty: vt: accept u8 in do_con_trol() and vc_setGx()Jiri Slaby (SUSE)1-3/+3
2024-02-06tty: vt: put cases on separate linesJiri Slaby (SUSE)1-4/+8
2024-02-06tty: vt: rename setterm_command() to csi_RSB()Jiri Slaby (SUSE)1-4/+10
2024-02-06tty: vt: define an enum for CSI+] codesJiri Slaby (SUSE)1-11/+25
2024-02-06tty: vt: move CSI+n handling along to other ECMA CSIsJiri Slaby (SUSE)1-8/+6
2024-02-06tty: vt: remove unneeded assignment of EPecma to vc_privJiri Slaby (SUSE)1-3/+2
2024-02-06tty: vt: split DEC CSI+h/l handling into csi_DEC_hl()Jiri Slaby (SUSE)1-67/+77
2024-02-06tty: vt: rename set_mode() to csi_hl()Jiri Slaby (SUSE)1-3/+3
2024-02-06tty: vt: define enums for CSI+h/l codesJiri Slaby (SUSE)1-12/+30
2024-02-06tty: vt: make rgb_from_256() slighly more comprehensibleJiri Slaby (SUSE)1-4/+7
2024-01-27tty/vt: UTF-8 parsing update according to RFC 3629, modern UnicodeRoman Žilka1-12/+2
2024-01-27tty: vt: fix up kernel-docJiri Slaby (SUSE)1-43/+43
2024-01-27tty: vt: remove unused consw::con_flush_scrollback()Jiri Slaby (SUSE)1-15/+12
2024-01-27tty: vt: remove consw::con_getxy()Jiri Slaby (SUSE)1-15/+5
2024-01-27tty: vt: make types of screenpos() more consistentJiri Slaby (SUSE)1-6/+5
2024-01-27tty: vt: remove consw::con_screen_pos()Jiri Slaby (SUSE)1-9/+3
2024-01-27tty: vt: make font of consw::con_font_set() constJiri Slaby (SUSE)1-1/+1
2024-01-27tty: vt: use enum constants for VESA blanking modesJiri Slaby (SUSE)1-2/+2
2024-01-27tty: vt: use VESA blanking constantsJiri Slaby (SUSE)1-4/+5
2024-01-27tty: vt: stop using -1 for blank mode in consw::con_blank()Jiri Slaby (SUSE)1-1/+1
2024-01-27tty: vt: make consw::con_switch() return a boolJiri Slaby (SUSE)1-1/+1
2024-01-27tty: vt: remove CM_* constantsJiri Slaby (SUSE)1-2/+2
2024-01-27tty: vt: add con_putc() helperJiri Slaby (SUSE)1-5/+13
2024-01-27tty: vt: sanitize arguments of consw::con_clear()Jiri Slaby (SUSE)1-1/+1
2024-01-27tty: vt: make init parameter of consw::con_init() a boolJiri Slaby (SUSE)1-4/+4
2024-01-27tty: vt: make consw::con_debug_*() return voidJiri Slaby (SUSE)1-17/+4
2024-01-27tty: vt: define an enum for ascii charactersJiri Slaby (SUSE)1-18/+44
2024-01-27tty: vt: reflow csi_K()Jiri Slaby (SUSE)1-14/+14
2024-01-27tty: vt: define an enum for CSI+K codesJiri Slaby (SUSE)1-3/+9
2024-01-27don't pass vc->vc_par[0] to csi_?() handlersJiri Slaby (SUSE)1-16/+19
2024-01-27use clamp() for counts in csi_?() handlersJiri Slaby (SUSE)1-22/+5
2024-01-27tty: vt: reflow csi_J()Jiri Slaby (SUSE)1-25/+25
2024-01-27tty: vt: define an enum for CSI+J codesJiri Slaby (SUSE)1-8/+15
2024-01-27tty: vt: use case ranges for CSI+m fg/bg colorsJiri Slaby (SUSE)1-19/+16
2024-01-27tty: vt: define an enum for CSI+m codesJiri Slaby (SUSE)1-29/+69
2024-01-27tty: vt: pass vc_resize_user as a parameterJiri Slaby (SUSE)1-15/+13
2024-01-27tty: vt: push console lock from tioclinux() down to 2 functionsJiri Slaby (SUSE)1-8/+5
2024-01-27tty: vt: pass proper pointers from tioclinux()Jiri Slaby (SUSE)1-9/+10
2024-01-27tty: vt: expect valid vc when in tty opsJiri Slaby (SUSE)1-16/+3
2024-01-27tty: vt: fix 20 vs 0x20 typo in EScsiignoreJiri Slaby (SUSE)1-1/+1
2024-01-27vgacon: inline vc_scrolldelta_helper() into vgacon_scrolldelta()Jiri Slaby (SUSE)1-40/+0
2023-10-07tty: vt: make vtconsole_class constantGreg Kroah-Hartman1-10/+9
2023-10-05tty: Restrict access to TIOCLINUX' copy-and-paste subcommandsHanno Böck1-0/+6
2023-10-03tty: stop using ndash in kernel-docJiri Slaby (SUSE)1-2/+2
2023-08-11tty: make tty_operations::write()'s count size_tJiri Slaby (SUSE)1-1/+1
2023-08-11tty: propagate u8 data to tty_operations::put_char()Jiri Slaby (SUSE)1-1/+1
2023-08-11tty: propagate u8 data to tty_operations::write()Jiri Slaby (SUSE)1-2/+2
2023-08-03tty: vt: Remove some repetitive initializationoushixiong1-12/+4
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2023-04-20tty: vt: drop checks for undefined VT_SINGLE_DRIVERJiri Slaby (SUSE)1-8/+2
2023-04-20tty: vt: distribute EXPORT_SYMBOL()Jiri Slaby (SUSE)1-20/+14
2023-04-20tty: vt: simplify some cases in tioclinux()Jiri Slaby (SUSE)1-36/+26
2023-04-20tty: vt: reformat tioclinux()Jiri Slaby (SUSE)1-83/+84
2023-04-03tty: make tty_class a static const structureGreg Kroah-Hartman1-1/+1
2023-04-03Merge 6.3-rc5 into driver-core-nextGreg Kroah-Hartman1-0/+3
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman1-1/+1
2023-03-09tty: vt: protect KD_FONT_OP_GET_TALL from unbound accessSamuel Thibault1-0/+3
2023-01-19VT: Bump font size limitation to 64x128 pixelsSamuel Thibault1-12/+16
2023-01-19VT: Add KD_FONT_OP_SET/GET_TALL operationsSamuel Thibault1-4/+10
2023-01-19VT: Add height parameter to con_font_get/set consw operationsSamuel Thibault1-2/+2
2023-01-19tty: vt: cache row count in con_scroll()Jiri Slaby (SUSE)1-3/+4
2023-01-19tty: vt: saner names for more scroll variablesJiri Slaby (SUSE)1-18/+22
2023-01-19tty: vt: separate array juggling to juggle_array()Jiri Slaby (SUSE)1-24/+28
2023-01-19tty: vt: simplify some unicode conditionsJiri Slaby (SUSE)1-49/+36
2023-01-19tty: vt: replace BUG_ON() by WARN_ON_ONCE()Jiri Slaby (SUSE)1-1/+2
2023-01-19tty: vt: remove struct uni_screenJiri Slaby (SUSE)1-59/+58
2023-01-19tty: vt: remove char32_t typedefJiri Slaby (SUSE)1-14/+12
2023-01-19tty: vt: use sizeof(*variable) where possibleJiri Slaby (SUSE)1-5/+5
2023-01-19tty: vt: remove reference to undefined NO_VC_UNI_SCREENJiri Slaby (SUSE)1-3/+0
2023-01-19tty: vt: drop get_vc_uniscr()Jiri Slaby (SUSE)1-17/+10
2023-01-19tty: vt: remove vc_uniscr_debug_check()Jiri Slaby (SUSE)1-40/+0
2023-01-19tty/vt: prevent registration of console with invalid numberSven Schnelle1-0/+6
2022-09-05Merge 6.0-rc4 into tty-nextGreg Kroah-Hartman1-4/+8
2022-09-01tty/vt: Add console_lock check to vt_console_print()Daniel Vetter1-1/+3
2022-09-01kernel/panic: Drop unblank_screen callDaniel Vetter1-1/+2
2022-08-30vt: Clear selection before changing the fontHelge Deller1-4/+8
2022-08-30tty/vt: Remove printable variableDaniel Vetter1-4/+0
2022-08-08Merge tag 'tty-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-8/+8
2022-07-19tty: vt: initialize unicode screen bufferTetsuo Handa1-1/+1
2022-06-30vt: fix memory overlapping when deleting chars in the bufferYangxi Xiang1-1/+1
2022-06-27tty/vt: consolemap: rename struct vc_data::vc_uni_pagedir*Jiri Slaby1-4/+4
2022-06-10tty: vt: convert sysfs snprintf to sysfs_emitXuezhi Zhang1-2/+2
2022-06-10tty/vt: consolemap: make parameters of inverse_translate() sanerJiri Slaby1-1/+1
2021-11-25tty: drivers/tty/, stop using tty_schedule_flip()Jiri Slaby1-1/+1
2021-09-01Merge tag 'tty-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-5/+22
2021-08-30console: consume APC, DM, DCSnick black1-4/+27
2021-07-27tty: stop using alloc_tty_driverJiri Slaby1-3/+3
2021-07-21tty: Fix out-of-bound vmalloc access in imageblitIgor Matheus Andrade Torrente1-2/+19
2021-05-31Merge 5.13-rc4 into tty-nextGreg Kroah-Hartman1-1/+1
2021-05-15tty: vt: always invoke vc->vc_sw->con_resize callbackTetsuo Handa1-1/+1
2021-05-13tty: remove tty_operations::chars_in_buffer for non-bufferingJiri Slaby1-6/+0
2021-05-13tty: make tty_operations::write_room return uintJiri Slaby1-1/+1
2021-05-13tty: cumulate and document tty_struct::ctrl* membersJiri Slaby1-2/+2
2021-05-13tty: cumulate and document tty_struct::flow* membersJiri Slaby1-2/+2
2021-05-13tty: remove broken r3964 line disciplineJiri Slaby1-2/+0
2021-03-28tty: fix memory leak in vc_deallocatePavel Skripkin1-0/+1
2021-03-23tty: vt: Mundane typo fix in the file vt.cBhaskar Chowdhury1-1/+1
2021-01-07vt: drop old FONT ioctlsJiri Slaby1-36/+3
2021-01-07vt: move set_leds to keyboard.cJiri Slaby1-2/+1
2020-11-08vt: Disable KD_FONT_OP_COPYDaniel Vetter1-22/+2
2020-08-31Merge 5.9-rc3 into tty-nextGreg Kroah-Hartman1-5/+6
2020-08-26Merge tag 'tty-5.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-2/+3
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-3/+3
2020-08-18tty: vt, fix kernel-docJiri Slaby1-3/+4
2020-08-18vc: propagate "viewed as bool" from screenpos upJiri Slaby1-8/+10
2020-08-18vt: declare xy for get/putconsxy properlyJiri Slaby1-5/+5
2020-08-18vt: make vc_data pointers const in selection.hJiri Slaby1-7/+8
2020-08-18vt: defer kfree() of vc_screenbuf in vc_do_resize()Tetsuo Handa1-2/+3
2020-07-27Merge 5.8-rc7 into tty-nextGreg Kroah-Hartman1-11/+18
2020-07-21tty: vt: Replace HTTP links with HTTPS onesAlexander A. Klimov1-1/+1
2020-07-21vt: Reject zero-sized screen buffer size.Tetsuo Handa1-11/+18
2020-06-24vt: simplify noncolor attributes in build_attrJiri Slaby1-4/+4
2020-06-24vt: remove superfluous parens in invert_screen and build_attrJiri Slaby1-3/+7
2020-06-24vt: use newly defined CUR_* macrosJiri Slaby1-9/+13
2020-06-24vt: redefine world of cursor macrosJiri Slaby1-1/+1
2020-06-24vt: whitespace and paren cleanup in add_softcursorJiri Slaby1-7/+11
2020-06-24vt: synchronize types and use min in csi_XJiri Slaby1-3/+5
2020-06-24vt: make tc write more obvious in vc_con_write_normalJiri Slaby1-5/+8
2020-06-24vt: simplify vc_attr handling in vc_con_write_normalJiri Slaby1-8/+4
2020-06-24vc: simplify condition in vc_con_write_normalJiri Slaby1-1/+1
2020-06-24vc: move normal char processing from do_con_writeJiri Slaby1-89/+109
2020-06-24vc: extract detecting control characters from do_con_writeJiri Slaby1-26/+45
2020-06-24vc: introduce struct vc_draw_regionJiri Slaby1-19/+25
2020-06-24vc: move translation out of do_con_writeJiri Slaby1-10/+16
2020-06-24vt: move rescan_last_byte label earlierJiri Slaby1-8/+4
2020-06-24vt: extract attribute inversion to vc_invert_attrJiri Slaby1-8/+16
2020-06-24vt: rearrange vc_translate_unicodeJiri Slaby1-57/+64
2020-06-24vt: separate unicode handling into vc_translate_unicodeJiri Slaby1-68/+81
2020-06-24vt: use modern types in do_con_writeJiri Slaby1-9/+9
2020-06-24vt: move vc_translate to vt.c and rename itJiri Slaby1-1/+13
2020-06-24vt: get rid of VT10.ID macrosJiri Slaby1-7/+4
2020-06-24vt: use tty_insert_flip_string in respond_stringJiri Slaby1-12/+15
2020-06-24vt: convert vc_tab_stop to bitmapJiri Slaby1-26/+18
2020-06-24vt: switch G0/1_charset to an arrayJiri Slaby1-11/+8
2020-06-24vt: deduplicate setGx codeJiri Slaby1-20/+26
2020-06-24vc: switch state to boolJiri Slaby1-16/+16
2020-06-24vt: introduce enum vc_intensity for intensityJiri Slaby1-15/+17
2020-06-24vc: separate stateJiri Slaby1-170/+157
2020-05-04vt: fix unicode console freeing with a common interfaceNicolas Pitre1-2/+7
2020-04-23vt: don't hardcode the mem allocation upper boundNicolas Pitre1-1/+1
2020-04-23vt: don't use kmalloc() for the unicode screen bufferNicolas Pitre1-2/+3
2020-03-27vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual consoleEric Biggers1-1/+22
2020-03-16vt: indent switch-case in setterm_command properlyJiri Slaby1-61/+59
2020-03-16vt: use min() to limit intervalsJiri Slaby1-2/+2
2020-03-12vt: drop redundant might_sleep() in do_con_write()Eric Biggers1-2/+0
2020-03-10Merge 5.6-rc5 into tty-nextGreg Kroah-Hartman1-2/+0
2020-02-28vt: selection, push console lock downJiri Slaby1-2/+0
2020-02-24Merge 5.6-rc3 into tty-nextGreg Kroah-Hartman1-2/+13
2020-02-21vt: selection, introduce vc_is_selJiri Slaby1-3/+4
2020-02-10vt: fix scrollback flushing on background consolesNicolas Pitre1-2/+13
2020-01-14vt: Correct comment documenting do_take_over_console()Lukas Wunner1-1/+1
2020-01-14vt: Delete comment referencing non-existent unbind_con_driver()Lukas Wunner1-1/+0