|
I'm not sure what you are saying is true, but I have pictures to prove that I can display a full screen console on my Windows 10 Professional x64, Build 1803. Not only that, but I've further discovered that it works for any true command prompt window.
- The first three pictures show a Visual Studio debugger window, first in normal view, then maximized to full screen by pressing
F11 once, then restored to its normal size by pressing F11 again. - The next pictures show the same 32-bit character-mode program, compiled from ANSI C sources by the Visual Studio 2017 C/C++ compiler, launched from the File Explorer.
- The third set of pictures show the same program, preceded by a series of other programs (
ShowVer.exe and DumpBin.exe ) run in a new CMD.EXE instance.
Go figure. Meanwhile, I'd be interested in learning whether others can duplicate my observations. So far as I know, there is nothing special about my machine or my Windows installation.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
Hi,
Did you notice the scrollbar on the side of your console window? You are looking at a maximized, borderless "windowed" console at your current monitor resolution. Not a true 80×43 x 640×350 text mode.
This is very easy to understand. Let me show you.
Step 1.)
Press F11 and allow your console to go full screen.
Step 2.)
Press SHIFT + PRNTSCRN to take a screenshot
Step 3.)
Press WIN + R to open the Run Dialog and type 'mspaint'
Step 4.)
Press CTRL-V and paste the screenshot into MS Paint
Step 5.)
Use the MS Paint Menu and choose File->Properties
Notice that the image is exactly the same width as your current screen resolution. That's because your monitor resolution never changed. You are looking at a full screen window at your current monitor resolution.
I have not spent much time investigating all of the new ANSI/VT features[^]. But it looks like there has been a lot of enhancements to the console window.
Best Wishes,
-David Delaune
modified 3-Jul-18 22:34pm.
|
|
|
|
|
Yes, I discovered that scrollbar later yesterday evening, and today made a few other discoveries that go along with it.
- The new clipboard shortcuts (Ctrl-A, Ctrl-C, Ctrl-V) are fully functional.
- Alt-Enter elicits the same behavior as F11.
I suspect you surmise correctly that these improvements came along with the ANSI/VT features. In any case, they ware very welcome, since I spend lots of time working in command prompt windows, and I miss the full screens that we once had, back in the day.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
David A. Gray wrote: I suspect you surmise correctly that these improvements came along with the ANSI/VT features.
I have known about and used these new console features for many months. If you join the Windows Insider Program[^] you can also preview and give feedback on some of the newer features.
If you decide to join make sure that you choose an appropriate ring. The 'Fast Ring' can be very frustrating and might not be the best choice for an office development workstation due to frequent updates and instability.
Insider Preview Types[^]
Best Wishes,
-David Delaune
|
|
|
|
|
I just learned about them when I started this thread. How are you using them?
As for joining the insider program, I'll pass for now.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
Hi,
David A. Gray wrote: I just learned about them when I started this thread.
I mention VGA text mode emulation in a comment several months ago[^]. I've been on Insider builds for many years now on most of my Windows 10 devices.
David A. Gray wrote: How are you using them?
Like you I want my terminals to be full screen for that immersive experience. I am not using any of the new ANSI/VT features[^]. I've only done some simple experimentations with the WSL subsystem[^] terminal a few months back.
Best Wishes,
-David Delaune
|
|
|
|
|
Fair enough. What benefit do you derive from being on an insider track?
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
Well,
For any software engineer or windows-centric software company I would say that one benefit of being in the Insider Program[^] is getting exposed to features several months before they are available to the public. I also think it's important to test existing products on the insider builds to ensure that existing software isn't affected by breaking-changes.
Best Wishes,
-David Delaune
|
|
|
|
|
I agree, if you are actively developing software for paying customers.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
A search for actionable information about the distinction between const and static const led me to c - Are const Local Variables Implicitly static? - CS50 Stack Exchange. Finding the answer wanting, I changed the function that prompted me to raise the question in the first place. Examining the disassembly reminded me of a discovery that I made so long ago that I had forgotten the details that led me to almost always pair static and const when I define arrays of constants, such as lookup tables and the like. Details are in the 3rd answer shown in the Stack Overflow topic.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
Nice one.
cheers
Chris Maunder
|
|
|
|
|
Thank you, Sir!
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
At first I thought this might be a compiler quirk, so I ran a couple of trivial examples through gcc -s . That does substantially the same, so I'm guessing it's a language feature. One for the standards committee "lawyers".
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Thanks much for duplicating the observation with the other popular C compiler. As I said, I observed the same thing about a dozen years ago, but I had forgotten the details. Anyway, so far as I know, the same holds whether your code is straight ANSI C or ANSI C++. The test case that I cited in the Stack Overflow article is straight ANSI C.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
|
I have used Expresso[^] for a long time and really like it. Granted I don't use regex a lot, out of sheer terror but when I do I use Expresso.
Everyone has a photographic memory; some just don't have film. Steven Wright
|
|
|
|
|
Thank you for reminding me about Expresso. Though I've seen it before, I've never put forth the effort to install it.
A quick look at the screen shot on his home page tells me right away why you like it; it's a full-service regular expression editor that looks like it would meet most needs of anyone whose use of regular expressions is infrequent, and would be a nice productivity tool for experienced regular expression authors.
Working with Perl for the last 20 years has required becoming fairly comfortable reading and writing regular expressions. Although I write less Perl today than I did fifteen years ago, my general purpose text editor, UltraEdit, has supported Perl/AWK style usage of regular expressions in its find and replace dialog boxes for at least the last nine years, and I use them regularly. Hence, between the two, I can usually cobble together a usable expression pretty quickly. I found this online fiddle form when I went in search of a regular expression idiom that I have almost never used, the "not followed by" idiom. Incidentally, I needed it in a regular expression to search for a particular type of syntax error in a manually edited Visual C++ project configuration file. (I know, I have no business editing those .vcxproj files by hand, but I've become somewhat obsessed lately with fully parameterizing my build configurations, which can be done much more quickly by editing the configuration directly than by clicking around in the Visual Studio property page editor.
While I will probably download Expresso for use in my home office, there remains, nevertheless, a place for online fiddle forms when I must use a computer that doesn't belong to me, meaning that I must get permission to install tools of my choosing on it. That goes double when I need to borrow a clients's computer for only a few minutes to help them solve a problem.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
Mike Hankey wrote: Everyone has a photographic memory; some just don't have film.
I just noticed the quote in your sig, and told my wife. She howled.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
Glad she liked it.
I understand about the regex online thing, just didn't know if you knew about Expresso.
Everyone has a photographic memory; some just don't have film. Steven Wright
|
|
|
|
|
I vaguely recall reading about Expresso several years ago, when I was working on one of those computers onto which I was forbidden to install most tools, even of the FOSS variety.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
|
There are probably more RegExp fiddle forms than there are JSFiddle, JSONFiddle, and all the rest combined. What appealed to me about this one was the clear feedback about text entered into the test text box.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting
|
|
|
|
|
I came up with this sql to discover jobs and steps in those jobs that use a SSIS package (because our DBA "isn't a programmer")...
DECLARE @serverPath = 'MyServerPath'
;WITH cte AS
(
SELECT b.job_id AS JobID,
b.name AS JobName,
b.[enabled] AS JobEnabled,
a.step_id AS StepNumber,
CASE WHEN RTRIM(LEFT(UPPER(a.command),5)) LIKE '/FILE' THEN 'File System' ELSE 'Package Store' END AS Location,
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(UPPER(a.command), '/DTS ','')
,'/FILE ','')
,'/SQL ','')
, ' /CHECKPOINTING OFF', '')
,' /REPORTING E', '')
,' /X86', '')
, ' /SERVER '+@serverPath, '')
, '"', '') AS PackagePath
FROM msdb.dbo.sysjobsteps as a
INNER JOIN msdb.dbo.sysjobs as b on b.job_id = a.job_id
WHERE a.subsystem = 'SSIS' AND a.command NOT LIKE '/serv%'
)
SELECT * FROM cte
ORDER BY JobEnabled DESC, Location, JobName, StepNumber
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 21-Jun-18 12:35pm.
|
|
|
|
|
Odd, as long as there are some standards setup and working.
Just use Copy-DbaAgentJob – dbatools
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
Nothing is ever "easy" on a DoD installation...
For instance, I have a MCSA for SQL Server (2012), but I'm not allowed to be a DBA on our department database server.
My Active Directory account can't be used to run a job - the DBA has to change ownership to a service account, and if I need to modify the job, he has to toggle ownership back to me, and which I'm done, I have to request that he toggle it back to the service account.
Initially, I could create stored procs, but didn't have permission to execute them (that took a week to iron out).
Other chaos has ensued.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|