ArticleslgStudy

science

Scroll Lock

Scroll Lock is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Scroll Lock rather than just read about it. In short: Scroll Lock or ScrLk (sometimes notated ⤓ or ↕) is a lock key (typically with an associated status light) on most IBM-compatible computer keyboards. Depending on the operating system, it may be used for different purposes, and applications may assign functions to the key or change their behavior depending on its toggling state.

Scroll Lock — main illustration
Scroll Lock — illustration

Key takeaways

  • Scroll Lock belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Scroll Lock to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Scroll Lock from memory before moving on to harder problems.

Reference excerpt

Scroll Lock or ScrLk (sometimes notated ⤓ or ↕) is a lock key (typically with an associated status light) on most IBM-compatible computer keyboards. Depending on the operating system, it may be used for different purposes, and applications may assign functions to the key or change their behavior depending on its toggling state. The key is not frequently used, and therefore some reduced or specialized keyboards lack Scroll Lock altogether. Pressing Ctrl+Scroll Lock performs the same function as pressing Ctrl+Pause/Break. This behavior is a remnant of the original IBM PC keyboards, which did not have a dedicated Pause/Break key. Instead, they assigned the Pause function to Ctrl+Num Lock and the Break function to Ctrl+Scroll Lock.

Function

Window scrolling The Scroll Lock key is meant to lock all scrolling techniques and is a vestige of the original IBM PC keyboard. In its original design, Scroll Lock was intended to modify the behavior of the arrow keys. When the Scroll Lock mode is on, the arrow keys scroll the contents of a text window instead of moving the cursor. In this usage, Scroll Lock is a toggling lock key like Num Lock or Caps Lock, which have a state that persists after the key is released. Today, this particular use of Scroll Lock is rare. Modern programs honoring this behavior include Microsoft Excel, Microsoft Project, Image-Line FL Studio, IBM Lotus Notes, Forté Agent, Renoise, Cakewalk by BandLab, and LibreOffice Calc. Some text editors (such as Notepad++, Microsoft Visual Studio) exhibit similar behavior when the arrow keys are used with Ctrl pressed. Most GUI environments neglect Scroll Lock, which means scrolling must be accomplished with a mouse, using means such as scrollbars or scroll wheels, or an "autoscroll" feature activated by the middle mouse button (which may be part of the scroll wheel). In some instances, Ctrl+⇧ Shift in conjunction with the arrow keys can enable scrolling. Some web browsers including Google Chrome, Firefox, and Internet Explorer support a caret browsing mode which can be toggled by F7. While the window scrolling behavior with caret navigation disabled (the default) is similar to that suggested for Scroll Lock, enabling caret navigation will enable a cursor scrolling behavior as if Scroll Lock were disabled.

Console scrolling Pressing the Scroll Lock key in the Linux console while the text is scrolling through the screen freezes the console output (but not input) during which no further text is sent to the screen, while the program continues running as usual — or becomes blocked at the write syscall when too much data is prevented from reaching the terminal, causing the tty's output queue to become full if the tty file descriptor is not using non-blocking I/O. When Scroll Lock is pressed again, the screen is unfrozen and all text generated during the freeze is displayed at once and the program continues to run normally. This allows the user to pause the display and read long log messages that scroll through the screen too quickly to read, such as when the system is booting up (provided the keyboard driver has already been loaded). Unless configured otherwise or in raw mode, Ctrl+S (DC3 in ASCII) and Ctrl+Q (DC1 in ASCII) can be used instead of Scroll Lock in Unix-like systems to freeze and unfreeze the tty output respectively. This behavior emulates the Hold Screen key or similar flow control mechanisms on computer terminal hardware. On the FreeBSD system console, the Scroll Lock key not only pauses output, but additionally enables scrolling: after pressing Scroll Lock, one can use Page Up and Page Down to scroll up or down. Pressing Scroll Lock again disables this mode and moves back to the bottom of the output. The Linux console implemented this behaviour by using ⇧ Shift+Page Up and ⇧ Shift+Page Down, not requiring Scroll Lock to be active; this behavior has been removed due to a vulnerability (CVE-2020-14390). The NetBSD console can be scrolled either with ⇧ Shift+Page Up/ ⇧ Shift+Page Down or by pressing Scroll Lock then Page Up/Page Down .

Boot diagnostics In Multiuser DOS, System Manager, and REAL/32, activating Scroll Lock during boot will always enter a special diagnostic mode, where the operating system and loaded device drivers will display detailed status and debugging information about themselves and their interaction with the operating system, sometimes up to several screenfulls per loaded driver. Automatic scrolling is suspended for as long as Scroll Lock remains activated. DR-DOS 7.02 and higher provides a CONFIG.SYS directive named SCROLLOCK=ON|OFF to change the Scroll Lock status on the fly. Activating Scroll Lock during boot will enter a DIAG mode as well, wherein some special drivers may display more verbose messages, but in contrast to the situation under the Multiuser DOS family normal DOS drivers do not typically display additional information. The operating system, however, will temporarily suspend any automatic timeouts (TIMEOUT=<seconds>,<character>,<switch>) in CONFIG.SYS trace (TRACE=ON|OFF) and F7/F8 single-stepping modes for as long as Scroll Lock is active.

Debugging In the Microsoft Windows NT family starting with Windows 2000, a debugging feature can be enabled, that allows the user to manually crash the system, generating a memory dump for analysis of the current state of the operating system. This can be accomplished by setting the REG_DWORD registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters\CrashOnCtrlScroll to 1. Once set, the user can hold the RCtrl key and tap the Scroll Lock key twice to trigger a Blue Screen of Death. In Microsoft Visual Basic 5.0 and 6.0, Ctrl+Pause/Break pauses the running program in the integrated development environment, as does its alias Ctrl+Scroll Lock.

… excerpt ends here. Continue reading the full article.

Illustrations

Scroll Lock: The scroll-lock key with an activated indicator light on an IBM Model M keyboard
The scroll-lock key with an activated indicator light on an IBM Model M keyboard
Scroll Lock illustration

Worked examples

Example 1 — a first encounter with Scroll Lock

Start with the simplest possible case. Write down what Scroll Lock claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Scroll Lock before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Scroll Lock ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Scroll Lock

In research
Scroll Lock appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Scroll Lock in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Scroll Lock is common in secondary-school and first-year university syllabi. It links to neighbouring topics IBM PC compatibles, Lock keys, User interface techniques, so understanding it makes those chapters shorter.
In everyday life
Look for Scroll Lock outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Scroll Lock in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Scroll Lock means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Scroll Lock out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Scroll Lock in simple terms?

Scroll Lock or ScrLk (sometimes notated ⤓ or ↕) is a lock key (typically with an associated status light) on most IBM-compatible computer keyboards. Depending on the operating system, it may be used for different purposes, and applications may assign functions to the key or change their behavior de…

Why does Scroll Lock matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Scroll Lock?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Scroll Lock.

Tags

  • IBM PC compatibles
  • Lock keys
  • User interface techniques

Keep exploring