Questions tagged [undocumented-behavior]

Undocumented behaviour (or 'features') relates to elements of software not intended for use by end users (and therefore 'undocumented'), but left available for use by the vendor for software support and development.

Undocumented behaviour (or 'features') relates to elements of software not intended for use by end users (and therefore 'undocumented'), but left available for use by the vendor for software support and development.

Since the suppliers of the software usually consider the software documentation to constitute a contract for the behavior of the software, undocumented features are generally left unsupported, and may be removed or changed at will and without notice to the users. This makes using undocumented features a double-edged sword.

Sometimes such a feature (for example, the ability to change the switch character in MS-DOS, usually to a hyphen) is included for compatibility (in this case with Unix utilities) or future-expansion reasons, but the software provider changes their mind or goes out of business; the absence of documentation makes it easier to justify the feature's removal.

New versions of software might omit mention of old (possibly superseded) features in documentation but keep them implemented for users who've grown accustomed to them.

In other cases, software bugs are referred to jokingly as undocumented features. ("It's not a bug; it's an undocumented feature!") This usage may have been popularised in some of Microsoft's responses to bug reports for its first Word for Windows product, but doesn't originate there. The oldest surviving reference on Usenet dates to 5 March 1984. Between 1969 and 1972, Sandy Mathes, a systems programmer for PDP-8 software at Digital Equipment Corporation (DEC) in Maynard, MA, used the terms "bug" and "feature" in her reporting of test results to distinguish between undocumented actions of delivered software products that were unacceptable and tolerable, respectively. This usage may have been perpetuated.

Ironically, undocumented features themselves have become a major feature of computer games. Developers often include various cheats and other special features ("easter eggs") that are not explained in the packaged material, but have become part of the "buzz" about the game on the Internet and among gamers. The undocumented features of foreign games are often elements that were not localized from their native language.

Closed source APIs can also have undocumented functions that are not generally known. These are sometimes used to gain a commercial advantage over third-party software by providing additional information or better performance to the application provider.

Source: Wikipedia (https://en.wikipedia.org/wiki/Undocumented_feature)

70 questions
2
votes
0 answers

Adjust antialiasing on macOS 10.14, programmatically

I'm looking for a way to adjust text stroke weight in programmatically drawn text macOS Mojave with the default configuration of no subpixel antialiasing. You used to be able to tweak the subpixel antialiasing algorithm with a private API:…
George
  • 3,900
  • 2
  • 22
  • 20
2
votes
1 answer

Achieving 160x100 Mode in x86 Assembly

I've known for a while that it is possible to achieve a pseudo 160 by 100 graphics mode on the IBM CGA by using the CRTC to change line height to two pixels. I've been trying to accomplish this for a few days now, coming to a dead end. The Intel®…
verbicide
  • 31
  • 3
2
votes
1 answer

Matlab debug: skip next line without execution

Questions: (full description of problem is below) Does anyone have a suggestion on how to trick Matlab into skipping a line or several lines of code? (mex / java / rewriting some internal Matlab features?) Does anyone know where db* code files may…
AlexanderF
  • 588
  • 1
  • 7
  • 21
2
votes
1 answer

How to properly display TeX strings in axes' datatips? (MATLAB hg2)

I have recently tried to run an old piece of code (written on hg1) on a new version of MATLAB (2015a) that has hg2. I used to be able to do the following (according to the "gnovice-Amro" method): function output_txt = customDatatip(~,event_obj) %…
Dev-iL
  • 22,722
  • 7
  • 53
  • 89
2
votes
1 answer

alternative to `regs` attribute of `match` object in `re` in python3

Is there an alternative to Match.regs? It is undocumented, and I see a proposal to remove it at http://bugs.python.org/issue18043, but it is useful to me. Here's it's usage: > m = re.match('(a) (b)', 'a b ') > m <_sre.SRE_Match object; span=(0,…
pjvandehaar
  • 988
  • 9
  • 23
2
votes
1 answer

How to detect if I'm using an undocumented api in iOS

I'd like to figure out if I'm using undocumented api's in my app. Are there certain hallmarks or patterns that I can look out i.e., if I use code in my project from a website?
DOLOisSOLO
  • 141
  • 1
  • 1
  • 12
1
vote
1 answer

Windows NtCreateFile returning STATUS_INVALID_PARAMETER (using undocumented NT syscall interface)

I thought it might be interesting/fun to write a program in assembly (for 64-bit x86, NASM) that uses the undocumented Windows NT system call interface. Unfourtunately, it appears as though somewhere along the line I'm incorrectly setting up a…
1
vote
0 answers

What is cLongFixedRectangle?

Everywhere that I found online is just a raw definition like this: cLongFixedRectangle = 'lfrc', /* 0x6c667263 */ But nowhere do I see it documented or used. All I could figure out is that it seems to be defined mostly in Apple OSs…
Ben Leggiero
  • 25,904
  • 38
  • 161
  • 267
1
vote
1 answer

set Matlab WindowButtonDownFcn and preserve default behavior

can I manually set WindowButtonDownFcn and selectively overwrite the right or middle-click, while preserving default behavior? Ultimate goal would be to copy figure to clipboard on some click. set(gcf,'WindowButtonDownFcn',@(src,~)…
user2305193
  • 2,115
  • 14
  • 34
1
vote
1 answer

matlab evaluate current line (where cursor is)

How do I do the same as F9, but without marking the current line (e.g. with shift+home, then F9)? Obviously this is purely for convenience sake - but something like shift-F9 or ctrl+F9 would be cool? How to make that shortcut? Would any poweruser…
user2305193
  • 2,115
  • 14
  • 34
1
vote
1 answer

How come griddedInterpolant works with inputs that should be rejected?

The documentation of griddedInterpolant states that the pchip method "requires at least 4 (grid) points". However when I run it with 2-point vectors it goes like this: >> F = griddedInterpolant([0,1],[1,2],'pchip') F = griddedInterpolant with…
1
vote
1 answer

Windows 10 Undocumented Credential Providers API

I am developing a credential provider. It is working fine, but on one of debugging stages I have been tracing calls to my provider's QueryInterface method and have found some interesting IID's it has been asked for: Intrface IID:…
1
vote
1 answer

Matlab estimate time it takes to save to disk

Simple question: is there any (undocumented?) way to estimate (ballpark) how long it will take for Matlab to save a single, very big variable from workspace to disk, sort of like Windows would for file transfers? Thanks
user2305193
  • 2,115
  • 14
  • 34
1
vote
0 answers

How to find hidden or undocumented options/flags in a binary executable?

A lot of CLI programs have documented syntax for flags and options, typically available in a man page or using a -h or --help flag. But there are often very useful, very powerful options that are intentionally undocumented, but I find it very…
Geoff Nixon
  • 3,540
  • 2
  • 23
  • 34
1
vote
2 answers

Why doesn't Excel display argument hints for DATEDIF()?

Whenever I type a function into Microsoft Excel 2013, a small hint box is displayed which lists the function's arguments. For some reason, this hint box doesn't appear when using DATEDIF(). I can't find it listed anywhere on the formula tab, nor am…
Stevoisiak
  • 16,510
  • 19
  • 94
  • 173