What's A 'Scroll Lock' And Why Is It On My Keyboard?
Jeff Bauer writes "Today's article in The Straight Dope explains all
the weird keys that come with standard PC keyboards. Now if someone could just explain what the 'Alt Graph' key does on my Sun keyboard, enlightement would be at hand ..."
How you know it's TRUE Straight Dope:
/p," to display directory information a page at a time."
"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 like so:
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). This is similar to using the "/p" modifier, such as "DIR
Not only do they explain it, but give a real life situation where it'd be useful! It's always hard to sort through 22,000 lesbian porn pics.
I've been wondering the same thing about my windows key.
<> !*''#
^"`$$-
!*=@$_
%*<> ~#4
&[]../
|{,,SYSTEM HALTED
Waka waka bang splat tick tick hash,
Caret quote back-tick dollar dollar dash,
Bang splat equal at dollar under-score,
Percent splat waka waka tilde number four,
Ampersand bracket bracket dot dot slash,
Vertical-bar curly-bracket comma comma CRASH.
Very handy key.. I press it twice and my Linksys KVM switches to the other system. Does it do something else?
Many people think that scroll lock is now useless, except in Microsoft Excel, but it does have a much more useful purpose, at least in Linux and perhaps BSD.
Whenever my lab partner does something good, I hit the props key. Sun machines are cool like that.
Something has to turn the Scroll Lock light on and off.
It's always bugged me that Scroll Lock doesn't work in MS Word or in Visual Studio. (I know, I know.)
I'll be reading a document using the scroll wheel on my mouse, get tired of that particular method then switch to using the arrow key, which then jumps the view to the current cursor position, which is by now miles away from where I was reading.
Not exactly sure I'd remember to turn on Scroll Lock in the first place, but for read-only documents it might be a good default.
--H
Who's the smartass that switched "Caps Lock" and "Ctrl" keys?
Sweet Jesus tell me what the 'Props' key does on Sun keyboards, for me it just beeps.
--- What
The Danish keymap is the same on all PC's (and Sun Boxen as well), and we need Alt Graph to access the following characters:
\@${[]}|~?
Not sure about the US keymap, but I sure as hell wouldn't want to go without Alt Graph.
We do not live in the 21st century. We live in the 20 second century.
To clean out after you keyboard gets too sticky from all that protein.
You know, it's not just a LISP or Python operator... some of us use it to write in our languages. Tres frequemment, sometimes. (I'm not French, but, similarly to French, my native language uses the grave accent - just not as often.)
Marcelo Vanzin
Such as Message Notification for Trillian and nice blinky light plugin for music in winamp.
Like I'll believe it has a use other than those...pfft.
The tilde still has some limited use in C++ (don't know about other C-based programming languages since I don't know any of the others...yet). It's how you indicate to the compiler that this is the destructor function for programmer-defined class. That way the instructions in the destructor are automatically executed when an object of the class goes out of scope (usually used for returning dynamically allocated memory). Example: MyClass(); //CONstructor
~MyClass(); //DEstructor
This space for rent...
WHATISTHISCAPSLOCKKEYFOR?
It's for annoying the crap out of email recipients and newsgroup readers - of course.
AltGr ("alternate graphic," although it should really be "alternate glyph") is used for entering extended characters beyond what the standard keyboard layout supports. It's equivalent to the X keysym Mode_switch. When you use the "US International" keyboard layout in Windows, the right Alt key becomes AltGr, which when pressed along with other keys produces various extended characters, including accented letters, special punctuation marks, and other fancy stuff without having to type in the ASCII value on the numeric keypad while holding the Alt key. On non-US keyboards, like the ISO Spanish keyboard on my Mac, some keys have extra characters printed on the key caps, indicating which character they generate while pressing AltGr.
In Soviet Russia, Jesus asks: "What Would You Do?"
You are not using a modern keyboard.
You are using a Modern Art keyboard.
We used to use backtick an tilde as delimiters in proprietary text storage and parsing routines. Nobody will these when entering text into a program. Well at least that was the theory at design time.
134340: I am not a number. I am a free planet!
And ~ is essential in many URLs.
What has this world come to...now you have to call your lawyer and start sueing things just to move your pointer...wtf
Bottles.
Scroll lock is not what "una" says it is. The function she describes wasn't used in that manner. The IBM PC used the standard Control-S and Control-Q to stop and start screen scrolling.
The Scroll Lock key was a vestige of the old IBM word processor systems. It was used to lock the cursor in place, and the up and down arrow keys scrolled the entire screen, leaving the cursor locked. It should have been called "cursor lock."
The article is riddled with errors. For example, una says the Macintosh extended keyboards have a scroll lock key. It does not.
for a cutting edge super user friendly OS: Make the Print Screen key actually work and PRINT THE FREAKIN' SCREEN!
The more you want, the less you have.
What keys do you "liberate" from your keyboards?
"1984" was ment to be a warning, not a guidebook. You hear that Kim Jong-il!? BushCo?!
ISTR that AltGraph+Help did something on older Sun machines, but I can't recall what.
There is no sig, there is only Zuul.
In fact the alt/option key is really just a replacement for the escape key, except one has to be dexterous enough to hold two keys down at once to use it.
And lets not even get started with delete/backspace key and the del key.
Just looking at my keyboard, which has as nearly as many function/command keys as character keys, I wonder if bloat stated with the keyboard and expanded into the software. I mean it looks cool and hi tech and all, but who needs to look hi tech in the 21st century?
"She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
Alt-Gr, useful when that regular "Grrrrrrrr!" just isn't enough.
(Alt-Gr key example (in this case being illustrated as part of a key combo to produce the Euro symbol))
News for Geeks in Austin, TX
up, down, and ``straight to eleven''.
Blatanly stolen from Simpsons episode 3f05.
There is no sig, there is only Zuul.
The registration key. All my software keeps asking me for it...
THe capslock key is wired on onall nigerian keyboards by law.
Some drink at the fountain of knowledge. Others just gargle.
at my lab, we administer cisco routers using a console connection to a pc via hyperterminal. what you see in the screen is a scrolling-text, command prompt environment. sometimes, the keyboard gets bumped around and the scroll-lock button gets accidently pressed.
/.), when i'd hear him yell out:
my co-worker, in all the years that he's been working here, never seems to learn this.
i'd be sitting at my desk, trying to do more important stuff (like reading
"there's something wrong with this router! come check it out..."
me: "is the scroll-lock on?"
few seconds later...
"oh."
-- I hereby announce, on behalf of my great ancester Oog, a retroactive patent on THE WHEEL.
It would REALLY suck to lose the tilde and have to type $HOME all the time.
I think the windows key is just alt-esc or control esc or some such thing.
You're right. The "Windows Key" (AKA Start Button) is CTRL+ESC. The "right-click" is SHIFT+F10. The "Task Manager" is CTRL+SHIFT+ESC. The "Boot a Real OS" is CTRL+ALT+DEL.
I'm not a prophet or a stone-age man,
I'm just a mortal with potential of a super man.
Look no further, Compaq has the answer.
Not sure if that is was a Win95 bug, a Duke bug or what. However, clearly it is possible to detect the difference between the two keys.
Hmmm, that might have been Ctl-Esc, but I remember the bug in Duke was like that.
Kirby
this dates back to the teletype and is enshrined in the ascii alphabet as Xon and Xoff. Originally it was intended not as a scroll lock but as a way for a teletype or printer to not overflow its fixed hardware buffer. The communication baud rate could easily out pace the tele type printers print speed. when the hardware buffer was nearly full it would send an X-off (contol-s) to the sender to pause its communications. When the buffer was printed the teletype would send a X-on back to the sender to resume spewing.
There was no need for scoll locking functionality on a teletype printer since you could just hold up the paper and look at it back as many lines as you wanted.
but when dumb video terminals came along the terminals could print as fast as the data came in the X-on and X-off functions had little use as a communications protocol, but Now they were useful to humans as a scroll lock. they had at most 40 lines of text and once you scrolled off the top of the screen, you lost that line forever. There were no "windows" or "scroll bars". So you had your fingers poised over the contrl-s key to halt the text from flowing off the screen.
finally along came the PC and Microsoft messed with all the unix converions in their VMS/CPM ripoff called dos: so you could not be sure that control-S would actually work. In part this was because DOS was not really multitasking. programs could take over the OS and capture all the interupts and put hooks directly into the keyboard handler. Since there were no Menus and the "alt" key had not come into its standard defintion yet, the control keys were premium realestate for programs to hook functions into.
thus there was a need for another semaphore. So things like scroll lock and sysRequest, and print screen got added. So yes virgina you can blame MS for these keys as valuable male breasts or an appendix.
Some drink at the fountain of knowledge. Others just gargle.
Well, the clipboard is a property of the environment, rather than the OS. But there's certainly at least one environment that allows this: GNU screen.
Screen has a concept of a buffer file that can be used to store or load the clipboard. The name of this file is defined in your screenrc, so it can vary from system to system, but it's often called /tmp/screen-xchg or (better for multi-user systems) ~/.screen_exchange. The keystroke ^A< reads this file and ^A> writes it; ^A> will also flash up a message telling you what the name of the file is (for example, Copybuffer written to "/tmp/screen-xchg" ).
So what you do is:
And there you have it.
GROGGS: alive and well and living in
I dont have an key. I dont understand whats up with people on Slashdot always griping about my typing and grammar. Its perfectly acceptable. Theres nothing wrong with it. Whatever, I just dont get it.
Alito: A vote for Alito is a punch in the eye to put that bitch back in her place!
Well call me Catherine Cornelius and break out the psychotropic lesbian porn fiction...
Well it is true to the spirit of Moorcock. Just look at the cover art.
Ok, so it is a touch off-topic, but I was stunned to see a literary(sic) reference in a /. link
Q.
Insert Signature Here
Not really. The idea, I expect, is that the key is there to allow someone to not have to use a mouse at all, for certain things. ie: Move through a list of files in a directory, hit this key, select open with, or whatever.
It's useful if you are typing, with your hand away from the mouse, and want to do a right click on th highlighted item.
Really...
karma is for the weak >)
What's next to your home key?
...
My car key, my office key, my desk key,
Enclosing statements in backticks causes the string to be executed at the shell level and the resulsts stored ina string. You can do this in bash, Perl, PHP, and a myrid of other lanuages. eg type "echo `ls`" at the prompt. Then again I am sure most everyone knew this already
stupid tag filter...that should have been...
The thing actually had an [Any] key...it was just an extra Enter key.
The "| clip" thing is not a WinXP thing. It's a 32-bit command line tool created by Dave Navarro.
cmdtools website "clip" is near the bottom of the page
clip.zip direct download
wow,
just tryed that real OS trick,
and blow me down with a feather
XP is a real OS after all.
You have 5 Moderator Points!
Which Helpless Linux zealot/MS basher do you want to mod down today?
In theory, after running "apt-get install xclip" you can do things like
and the primary X selection will be loaded up with the output, all reading for middle-clicking. Likewise, you can sweep a bunch of text and use it with
Other options let you use other clipboards, etc.
In practice, you can't just apt-get it. You have to apt-get the source, apply the content negotiation patch, and run buildpackage yourself. Then it works perfectly. (I have no clue what content negotiation means, but apparently kde wants it.)
You cannot apply a technological solution to a sociological problem. (Edwards' Law)
The SysReq (or "System Request") key is still heavily used in the as/400 world for job management on the system console. Using the SysReq key, you can send different signals to whatever current job was running
Think of it as a key dedicated to the unix 'kill' command.
~dlb
I didn't see anyone comment on this, but the SysRq hooks to the Linux kernel. It allows the user to send commands to the kernel like sync, reboot, etc.
is extremely knowledgeable and cosmopolitan. No urban legends, actual investigation, proper journalistic techniques. Believe me,
You cannot apply a technological solution to a sociological problem. (Edwards' Law)
I imagine open files are tied to the "true" paths:w s/system 32/ntoskrnl.exe
multi(0)disk(0)rdisk(0)partition(1)/windo
etc, etc, etc...
The C: drive thingies are just useful for the Win32API, so opening new files off that drive won't work, and explorer will probably fail in mysterious ways later on, if the C: is mentioned anywhere in the registry where it might be used to dynamically load some view or file operation.
As you might expect, drives letters are just places where to start a mapping to a mounted filesystem (which is internally identified with a GUID, like everything else, the drive letter has no significance). Windows only needs C: to boot and load programs, but if you aren't opening files, you don't need it.
Fuck Beta. Fuck Dice
Can anybody please tell me that the "blank" key next to the help button on a Sun keyboard is used for?
I've converted the document to PDF
Thus making it less accessible than just a slashdotted server. Thanks.
it's because Sun Type 6 keyboards are made for both Suns and Linux boxes they ship, and on Linux boxes it's the escape key. The just change the key covers.
Fuck Beta. Fuck Dice
The "Alt Gr" key is used for us foreigners to reach seldomly used charatcers like @$ (Alt-Gr 2, 3 and 4 respectively), or {[]} (Alt-Gr 7890) or | (alt-GR `) or \ (alt-GR ). And more important, Alt-Gr e is the Euro character. You know, the european dollar, way stonger than the US dollar.
On the other hand, we get often used charatcers like aeoa as primary keys, and have access "# with Shift + 2, 3 and 4.
This is all based on a danish keyboard. Some people have grown beyond US-ASCII (7-bit crap)
In Window Maker, 'wxcopy --help' and 'wxpaste --help' for help on using those.
I'm afraid I don't know about the others. Anyone? Anyone?
But where is the any key?
At one point in the inspection, the technician had to monitor the machine from a boot-up state, and so he rebooted the machine. The only problem was, the machine didn't come back up. Instead, it hung early in the boot process, leaving the distinct impression on the observers that the technician had hosed up a perfectly good -- and very expensive -- minicomputer.
Apparently, the same impression was left on the technician, because he started sweating. A lot. He tried rebooting the machine again, obviously unsure of what the hell he had done to land in his present, miserable condition and just as obviously wanting desperately to be released from it. The machine hung up again. More sweat. Another attempt. Same thing: Hang. Then he opened the case and peered inside. He was clearly grasping at straws. The sweat started to bead on his forehead.
Eventually, after about fifteen minutes of increasingly distressing diagnostic procedures, consulting the LEDs, and hand wringing, he gave up: "You've got a bad motherboard. I'll have to call in for a swap." He half ran away from the uncomfortable scene to make his phone call.
While he was gone, the sysadmin busted out laughing. Then he pointed at the keyboard on the console VT320. The Scroll Lock LED was lit. The sysadmin said that the technician must have hit it earlier and never took it off before rebooting. When the kernel tried to send boot-up messages to the console, the console wouldn't accept them, and so the kernel blocked, waiting for the Scroll Lock to be released!
A few minutes later, the technician returned, looking only a bit less nervous. In his best it's-under-control voice: "Yeah, we'll have that new board out right away. No problem." The sysadmin's reply: "Great! I'm sure glad we have the preventative-maintenance contract, because I bet those boards are plenty expensive. I'd hate to pick up the tab for one of them." After a few precious moments of letting that thought sink in, the sysadmin "noticed" the scroll-lock situation: "Hey, isn't the scroll lock on? Let's just see what happens if I ..." He then tapped the keyboard.
And the Vax booted right up.
True.
Easy, automatic testing for Perl.
The Scroll Lock was also used by a DOS TSR known as ANSI. When loaded, it allowed scrolling of the entire screen history when the Scroll Lock was on. When you dir a huge folder, you could hit scroll lock and use the arrow keys to navigate the entire list of files. More useful than dir /p...
The Print Screen/SysRq key was used in Dos to send the current screen of text directly to lpt1: (your printer), hence the name "Print Screen". In Windows (all the way back to Windows 3.x), Print Screen executes a screen capture (without the mouse cursor) and puts it on the clipboard. Alt+PrintScreen copies just the current window.
In addition to what was said in the article about Pause/Break, pressing it _during_ a dir or other scrolling text operation will halt the screen. (This includes during booting before the OS loads.) Press any key to continue.
As for the `/~ key? Still haven't found a useful function for it other than typing a ` or a ~.
And the |? That one serves just about the same purpose to me as the "Context Menu" button on many newer keyboards, which is to say, none.
This message brought to you by Jack Schitt's Previously Shat Shit
I did notice the example had to do with listing 20,000 Lesbian Porn pics but didn't see anything wrong with that until you pointed it out.
I just thought he should sort them into subdirectories like I do.
Sindri Traustason.
For people who don't speak english, Alt Gr is pretty useful, as it lets you type accented characters. In EU countries, it is also used to let you type the Euro symbol - Alt-Gr+4 on UK and Irish Keyboards, Alt-Gr+E on most others.
A scroll wheel then?
It's here.
(Plug alert: I work for Platonix; this is a toy).