Do you know what the scroll Lock key is for on the keyboard? Most people may not know the key, but I'm afraid it only serves to light up a lamp on the keyboard. However, since the original dos, it is estimated that this key is used for Rolling locking. What is the specific issue? See the following:
[Original article link] http://www.straightdope.com/mailbag/mscrolllock.html
Dear straight dope:
Why does my computer keyboard have this "scroll lock" key that seems to serve no purpose whatsoever? In 15 years I don't remember ever pushing that button. I'm almost scared to touch it -- insanegrey, Lawrence, KS
Guest contributor una Persson replies:
Although your mother told you that there are getting things to avoid touching (like downed electric lines, scorpions, and the "naughty place "), don't be afraid to touch the scroll Lock key. nothing bad will happen ? In fact, probably nothing at all will happen. Once upon a time, however, something did.
the scroll Lock key has appeared on the keyboards of IBM personal computers since the original 83-key PC/XT and the 84-key at layouts, and remains on the 101-key and greater "enhanced" keyboards currently in use. the scroll Lock key wasn't on the original Macintosh keyboards but appears on the Mac's "enhanced" keyboard.
the main intent of the scroll Lock key was to allow scrolling of screen text up, down and presumably sideways us ing the arrow keys In the days before large displays and graphical scroll bars. you can see where this might have been handy in the DOS era, when screen output typically was limited to 80 characters wide by 25 rows deep. for some types of programs, spreadsheets being the obvious example, it's still handy now. in Microsoft Excel, scroll lock allows you to scroll a spreadsheet with the arrow keys without moving the active cell pointer from the currently highlighted cell. In Quattro Pro, another spreadsheet program, scroll Lock works in a similar manner, although in contrast to excel it's not possible to scroll the active cell pointer completely off the screen.
Other programs use scroll lock for special functions. It's said (Although I haven ' T personally verified this) that the Linux operating system as well as some early mainframe and minicomputer terminals employ Ed Scroll lock to stop text from scrolling on your screen in command-line sessions ? Pausing the scrolling, in effect. The specified ent DoS Adventure Game ? Rogue? (One of my all-time favorites) Used scroll lock Scroll your character? S movement through the ASCII dungeons on the display. I'm told some computers in the late 1980 s used the scroll Lock key to halt the scrolling of the boot-up messages that appear Ed When you start Ed The computer. This last use may be apocryphal, as I cocould find no examples of computers that displayed this behavior. The point is, scroll lock sometimes does something Besides make that little light up.
Other odd keys worthy of note on your keyboard include the sysrq key (sometimes appearing as sysreq), which shares the same key as? Print Screen? Key .( H Istorical side Light ? Sysrq was? 84th key?Added when The 83-Key PC/XT Keyboard became 84-Key At Keyboard .) unless programmed by a participant application, the sysrq key does nothing in most operating systems, including DOS, windows, and OS/2. the sysrq key has different "hooks" into the system BIOS (Basic Input/Output System, the interface between the software and the low-level functions of the computer) from the other keys on the keyboard. IBM evidently Included This key to facilitate Task Switching in future operating systems ? That is, to allow either switching from one task to another ( As On a mainframe computer), or interrupting all tasks and returning control to the keyboard. Advanced MS-DOS Programming , Second edition, Microsoft press, states:
A multitasking Program Manager wocould be expected to capture int 15 h so that it can be notified when the user strikes the sysreq key.
In layman's terms that means, "You can makeMultitaskingProgramManagerMonitor a specific location in your computer's hardware so it can do something cool, Such as leader the user switch tasks,When the sysreq key is pressed ."As it turned out, the developers of Windows didn't use sysreq when implementing Task Switching. sOme new keyboards no longer feature this key, and its days seem numbered.
The pause/Break Key was used in the DOS command line environment to pause scrolling of text on the screen, which cocould, depending on the program And its method of text output to the screen, have the effect of pausing Program execution. I have several old dos Power Plant analysis programs that run under OS/2, Windows NT, and Windows XP, And I can attest that the pause Key pair tively pauses execution of all of these programs Halting Display Of their screen output. Other programs may be unaffected by the pause key , Though, Depending on how they are written and whether or not they output text to the screen. The Break Key, when combined with the ctrl key, is used to terminate dos applications ? And still does today, Even in the DOS window of Windows XP. Some dos communication programs used the Break Key as a shortcut cut to terminate a modem connection, That was really A function of the program, not the operating system.
The <'> key is called into names. According to the "hacker's jargon FAQ," These include:
Backquote, left quote, left single quote, Open quote, (grave ACCENT), grave. Rare: backprime, [backspark], Unapostrophe, Birk, blugle, back tick, back glitch, push, (opening single quotation mark), quasiquote.
That's nice, but what is the symbol used? It has no operating system function in DOS or Windows (although it does find use in the UNIX operating system ), and in most type fonts doesn't match the appearance of an ordinary single quote (apostrophe), so it can't really be used as an Open quote Mark. however, programmers, being loath to let extraneous keys sit unused on a keyboard, have found use for it as an operator in the lisp and Python programming languages.
The pipe key <|>, also known as the bar key or vertical bar, is found above the backslash key <\>. it sees frequent use in C, C ++, C # and other programming languages where it serves as the "or" symbol. A single pipe indicates "bitwise OR," and two pipes together (|) signify "logical or. "For example:
C = (a | B)
Means "Apply bit operations to A and B and put the result in C." That is, if A is 0000 0110, and B is 1111 0000, then the result is:
A 0000 0110
B 1111 0000
--------------
C 1111 0110
Which is bit-level arithmetic. If you're not a programmer, don't worry about it. The use of double pipes, such:
If (a> 0 | B> 0)
Is a logical statement that means, "If variable A is greater than 0, or variable B is greater than 0, then do something ."
In command-line environments such as DOS, the pipe symbol can add functionality to a DOS command. the way I most frequently use it is when doing a directory listing (DIR) on a large directory with hundreds of files. say I Type? Dir? At the command prompt likeSo:
C: \ una \ lesbian porn> dir
...Then the 22,000 files in that directory scroll past so fast I can't see their names. However, if I apply the pipe function at the command prompt Like this:
C: \ una \ lesbian porn> dir | more
...Then the display will show me one screen of files at a time, with a "more" at the bottom. to display the next screen of files, I hit any key to continue, until all of the files in the Directory have been listed (or I break, by pressing Ctrl-C ).What's happening is that the pipe symbol causes the output of the Dir command to be "piped" to the "more" (paging) command. You get pretty much the same resultUsing the "/P" modifier, such as "DIR/P," to display directory information a page at a time.
One suspects that some oddballKeys were put on the PC keyboard (or to be more precise, encoded in the ASCII character set, most of which found its way onto the PC keyboard) because the developers figured they 'd come in handy for something. On the whole that has turned out to be the case-- Programmers and developers haveFoundA use for nearly every key on the keyboard, even if that use isn't obvious to the general computing public. Witness the Tilde <~>, Which, whatever use it may have as a diacritical mark, now can mean "home directory" or "text omitted," among other things. given the pace of change in information technology, there's a lot to be said for designing your user interface for maximum flexibility.
-- Guest contributor una Persson(Nee anthracite)
Straight dope Science Advisory Board