1
   

A Word Processor Technical Question

 
 
Reply Thu 4 Jan, 2007 08:04 am
When you are using a word processor, what happens to make a letter 'T' appear on the screen when you press the button labelled 'T' on your key board?

This is a question I must answer as an oral presentation for entrance into a teaching course. I would be most grateful if anyone had any idea or could point me to any relevant resources.

Many thanks.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 839 • Replies: 7
No top replies

 
cjhsa
 
  1  
Reply Thu 4 Jan, 2007 08:17 am
A word processor basically runs a loop reading forever from the standard input, i.e. the keyboard. It interprets the keycode in ASCII format to decide what to display on the screen. A "t" is 1010100. The output is sent to standard out, in this case, the screen.
0 Replies
 
cjhsa
 
  1  
Reply Thu 4 Jan, 2007 10:17 am
Or you could just make something up. Nobody really knows how these things work.
0 Replies
 
DrewDad
 
  1  
Reply Thu 4 Jan, 2007 10:38 am
I'd just like to say that the thread author's screen name is the most replusive thing I've read since BlueVeinedThrobber went back to being Bi-Polar Bear.
0 Replies
 
USAFHokie80
 
  1  
Reply Thu 4 Jan, 2007 08:28 pm
actually... that's not really the best description of how this works. a keyboard is hardware driven by the bios. the word processor doesn't poll the keyboard specifically. when a key is pressed, it sends an event message to the operating system. the OS decodes the message and dispatches it to the correct program. this raises an even function in the program and it acts accordingly, in this case, simply displaying the character on the screen (which is *not* standard out).
0 Replies
 
cjhsa
 
  1  
Reply Fri 5 Jan, 2007 07:05 am
So what would be standard out?

What is the purpose of this (Perl) if you don't read directly from the keyboard (from a programmers perspective)?

$input=<STDIN>;
chop($name);

I think many educators would be lucky to find the "any key".
0 Replies
 
USAFHokie80
 
  1  
Reply Sat 6 Jan, 2007 10:09 am
being a programmer myself, standard out usually refers to a console terminal (the command prompt screen). and standard is in input from there as well.
0 Replies
 
NickFun
 
  1  
Reply Sat 6 Jan, 2007 10:20 am
Does it really matter? Did we question how T's were made back in the typewriter days? Let's just be glad that the WP DOES make T's so we can all share our T's with our families and friends!
0 Replies
 
 

Related Topics

Clone of Micosoft Office - Question by Advocate
Do You Turn Off Your Computer at Night? - Discussion by Phoenix32890
The "Death" of the Computer Mouse - Discussion by Phoenix32890
Windows 10... - Discussion by Region Philbis
Surface Pro 3: What do you think? - Question by neologist
Windows 8 tips thread - Discussion by Wilso
GOOGLE CHROME - Question by Setanta
.Net and Firefox... - Discussion by gungasnake
Hacking a computer and remote access - Discussion by trying2learn
 
  1. Forums
  2. » A Word Processor Technical Question
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 08/16/2025 at 07:41:50