old man yelling at clouds or ... ?



  • Hello my fellow TDWTFers,

    per-requisites: windows only + GUI only, no custom clipboard-thingies; vi + vim-ports are out.

    Question:
    have you ever seen an ..editor.. (Windows-Textbox (single- / multiline) embedded in <App>, Editor (notepad.exe), grown up Editor (notepad++), something else (SSMS, VS Code, VS 20xx,...)) which behaves thusly:

    -) type something (say: la la la)
    -) select something else (other App, Start -> run -> ..., same window/textbox, whatever... say: foo bar baz) + CTRL + C
    -) select la la la from before via SHIFT + <CURSOR> or <Mouse> or whatever
    -) hit SHIFT + DEL
    -) hit SHIFT + INS

    What gets INSerted?
    ( ) la la la
    ( ) foo bar baz

    With one exception all combos I've tried (see above) SHIFT + INSert results in "la la la" since this is the last selected text I've CUTed into the clipboard and I'm PASTing this now.

    <Vendor enters the chat>: not so fast... SHIFT + INS will INSert "foo bar baz"

    Difficulty: Vendor only does this via "Application_via_Website", not via FatClient / .exe.

    Am I missing something fundamental here, e.g.
    "SHIFT + DEL was always intended to just DEL (we silently ignore SHIFT) and our Website -at long last- behaves as it should be(tm), just ignore FatClient since it'll be EOLed very soon now" (haha, lol)

    or is this a bug?

    NB: I think it's a bug because if I paste 5 paragraphs from lipsum.com into their multiline-textbox DEL behaves differently depending on where the cursor is (blank line: BACKSPACE, somewhere in a line: DEL...);
    doesn't matter if "direct" or "sanitizing possible shenanigans via notepad.exe before" but it's always good to get a second opinion or five.

    Thoughts & TiA!


  • Considered Harmful

    @iKnowItsLame said in old man yelling at clouds or ... ?:

    Am I missing something fundamental here, e.g.
    "SHIFT + DEL was always intended to just DEL (we silently ignore SHIFT) and our Website -at long last- behaves as it should be(tm), just ignore FatClient since it'll be EOLed very soon now" (haha, lol)

    This seems the most sadly banal and therefore most likely case.

    or is this a bug?

    Also yes - without a custom clipboard thingie, there's no stack (not even of fixed size 2), just an most-recently clipped or cut or copied datum, so it sounds like the aforesurmised bug in FatClient.


  • Notification Spam Recipient

    @iKnowItsLame said in old man yelling at clouds or ... ?:

    -) hit SHIFT + DEL
    -) hit SHIFT + INS

    What is this magic?



  • @Tsaukpaetra said in old man yelling at clouds or ... ?:

    @iKnowItsLame said in old man yelling at clouds or ... ?:

    -) hit SHIFT + DEL
    -) hit SHIFT + INS

    What is this magic?

    In DOS and Windows, they're the old keyboard shortcuts for Cut and Paste. (Ctrl-Insert is Copy.)


  • 🚽 Regular

    I use Ctrl+Ins and Shift+Ins all the time, but for some reason I never remember Shift+Del is a thing. And I used to use it a lot back in the day.


  • 🚽 Regular

    And then there was Ctrl+Alt+Del, which was Clear Clipboard Aggressively.



  • @iKnowItsLame said in old man yelling at clouds or ... ?:

    or is this a bug?

    I'd never heard of shift+del/ins before (in a text editor), but Microsoft itself officially say it's exactly identical to Ctrl+X/V for cut/paste.

    Since I've never heard of "cut-then-immediately-paste" pasting anything else than what was just cut ("la la la"), I would say that pasting something else ("foo bar baz") is definitely a bug.



  • @remi said in old man yelling at clouds or ... ?:

    I'd never heard of shift+del/ins before (in a text editor)

    It’s a remnant of IBM’s Common User Access standards, which were a 1980s attempt to provide standardised UI features (not just keyboard shortcuts) for programs running under DOS, OS/2, and other IBM operating systems. Early Windows also used it, before replacing most of them by Mac OS shortcuts but using the Ctrl key instead of — while still keeping the CUA ones as alternatives.


  • Discourse touched me in a no-no place

    @Gurth CUA was a tremendously influential effort, as both Windows 2 and Motif followed it (if not in every respect) and a great many things have followed on from there.



  • @Gurth said in old man yelling at clouds or ... ?:

    @remi said in old man yelling at clouds or ... ?:

    I'd never heard of shift+del/ins before (in a text editor)

    It’s a remnant of IBM’s Common User Access standards, which were a 1980s attempt to provide standardised UI features (not just keyboard shortcuts) for programs running under DOS, OS/2, and other IBM operating systems. Early Windows also used it, before replacing most of them by Mac OS shortcuts but using the Ctrl key instead of — while still keeping the CUA ones as alternatives.

    I never knew where this set of commands came from, just that it was there in DOS programs as well as Windows 3.x. Neat!


Log in to reply