Req #72768 [Com]: Add ENABLE_VIRTUAL_TERMINAL_PROCESSING flag for php.exe

From: Date: Mon, 19 Oct 2020 05:53:08 +0000
Subject: Req #72768 [Com]: Add ENABLE_VIRTUAL_TERMINAL_PROCESSING flag for php.exe
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229728@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72768&edit=1

 ID:                 72768
 Comment by:         kevanjake at gmail dot com
 Reported by:        mlocati at gmail dot com
 Summary:            Add ENABLE_VIRTUAL_TERMINAL_PROCESSING flag for
                     php.exe
 Status:             Closed
 Type:               Feature/Change Request
 Package:            Output Control
 Operating System:   Windows 10
 PHP Version:        Irrelevant
 Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

I decided to make some rearrangements to ensure I made the most of that time. I lifted her legs up
and pinned them with my arms so that her knees were against her shoulders and her ankles were on my
shoulders. She looked at me with a mixture of surprise and mild apprehension. She seemed so petite
and vulnerable under me. With a long lunging thrust I embedded myself to a new depth within her. Her
eyes flew wide but with a few more powerful prods her eyes narrowed to slits and her breaths came in
gasps between clenched teeth. She hissed a response to my comprehensive ransacking of her most
private passage, "So deep, So deeep. So deeeep." As I bottomed out at the end of each
lunge, she flinched a little but did nothing to deter my advances.
https://livesex.bar
I went into jack hammer mode and was invigorated by her vocalizations which, although incoherent,
clearly signposted considerable pleasure. The small bed had a pretty unforgiving mattress, so she
was really feeling the ram. I was steadily bumping her up the bed so when her head hit the small bed
head at the top of the bed it gave me pause. I offered to move back but she simply spurred me on.
She actually seemed to enjoy my thrusts banging the top of her head into the headboard. Whatever
floats you boat I thought. It crossed my mind that a modicum of pain with her pleasure was not
unwelcome. That would have been valuable data if the unlikely opportunity of a return fixture ever
presented itself. Regardless, I did not offer her any mercy in terms of my rollicking motion.
Indeed, as the point of no return loomed, my efforts became even more boisterous.

I realized with some amusement that my thrusts had become synchronized with the clock sounds. Tick
in, tock out, tick in, tock out, tick in tock out. I had become metronomic! I saw her eyes flick to
the clock. I too took a quick glance and saw the second hand continue its relentless advance. Only a
minute remained. It spurred me to race.

My pace doubled to a, tick in-out, tock in-out cadence. With this final flurry of forceful
piston-like plunges I emptied my magazine into her. I felt pulse after pulse of my cream filling her
most private purse. Another glance. I had beaten the clock.

She wailed in my ear, at a volume that disturbed my desire to remain clandestine. If other garden
ramblers were nearby that would have been alarmed by her animalistic howling. I slowly withdrew and
felt my now diminished little soldier slip reluctantly from her sodden vagina. We were both still
gasping for breath.

She shuddered, scanned the clock and smiled, "Good boy. Right on time. Now let's tidy
up." I stood up and she moved a little unsteadily to a credenza and produced some wet wipes
which were handed to me. She went to the small attached bathroom and used its mirror to inspect the
damage to her make up. "You really are naughty. With the kissing I mean. I can see that I will
have to keep a close eye on you." She could keep anything on me if it meant I could clean out
her pipes again.


Previous Comments:
------------------------------------------------------------------------
[2016-10-28 18:53:11] ab@php.net

The PR is merged into master.

Thanks.

------------------------------------------------------------------------
[2016-08-30 08:24:23] mlocati at gmail dot com

Here's the PR on GitHub: https://github.com/php/php-src/pull/2103

------------------------------------------------------------------------
[2016-08-29 14:55:57] ab@php.net

@mlocati, thanks for all the work so far.

I made a quick look over your latest patch so far, a couple of comments already.

Please check the coding style doc for function naming conventions, etc.
http://git.php.net/?p=php-src.git;a=blob;f=CODING_STANDARDS;h=5cf70c92b5f5ab06977629ba6fff87255cc80116;hb=HEAD
. Particularly, in most casse the internal APIs should be prefixed with php_*, and Windows specific
with php_win32_*. Also the underscore is used for separation, etc. Please see other sources there.

Also the following regarding the code:

- the Unicode APIs have to be used, where it matters in 7.1+. Fe GetFinalPathNameByHandleW. Please
check the corresponding helper routines in win32/ioutil.h.
- usually we don't use the driver routines, Rtl*, etc. Regarding getting the version,
there's quite some functionality already in the core, please check EG(windows_version_info). It
should suffice as till now the only case is the usage after MINIT is bypassed.
- please don't use static vars in functions, until it's thread safe
- for the streams, particularly main/streams/plain_wrapper.c were relevant for STDIO. Taking some
stream and stepping through it in the debugger might help for better understanding. Basically, a
stream resource needs to be passed, as the fd might be duped but still point to a vt100 term.
- tests are required :)

Indeed, it might be handier to discuss the patch in a github PR, which you already can attach to
this ticket.

Thanks.

------------------------------------------------------------------------
[2016-08-28 18:12:04] mlocati at gmail dot com

What about continuing this discussion on a new pull request at https://github.com/php/php-src ?

------------------------------------------------------------------------
[2016-08-26 16:38:48] mlocati at gmail dot com

I changed the stream_vt100_support function to accept strings ('php://stdout',
'php://stderr') instead of stream objects.

This is a bit a workaround, but I really don't know how to determine the standard stream
(stdin/stdout/stderr) from stream objects.

See patch 0001-Start-adding-VT100-support-for-Windows-v3

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=72768


--
Edit this bug report at https://bugs.php.net/bug.php?id=72768&edit=1


Thread (38 messages)

« previous php.bugs (#229728) next »