Results 1 to 2 of 2
Hey guys. O.k., here's my issue. I want to write a new screen reader for my blind girlfriend, and I think that the terminal would be a good place to ...
- 12-29-2007 #1Linux Newbie
- Join Date
- Jun 2006
- Posts
- 150
What program runs virtual terminals?
Hey guys. O.k., here's my issue. I want to write a new screen reader for my blind girlfriend, and I think that the terminal would be a good place to start considering the amount of things she can do by just typing a command. However, I have no idea how to get the text from a virtual terminal (virtual terminal as in ctrl+alt+F2). What program runs these (at least on ubuntu)? I'd like to study it's source code for a while to see if I can find a good way to read off stdout. Thanks in advance for your help guys
.
- 12-29-2007 #2Linux Enthusiast
- Join Date
- Apr 2004
- Location
- UK
- Posts
- 658
The program that accepts your login details is probably getty
The actual shell once you've logged in is probably bash, this can be checked as follows.Code:chris@angua:~$ ps ax | grep tty 6333 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 6334 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 6338 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 6339 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 6340 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 6341 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 7024 tty7 Rs+ 3:30 /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-eNeEyF 9989 pts/1 D+ 0:00 grep tty
The last field is the shell program.Code:chris@angua:~$ grep chris /etc/passwd chris:x:1000:1000:Chris<snip>:/home/chris:/bin/bash
Good luck, and let us know how you get on,
Chris...To be good, you must first be bad. "Newbie" is a rank, not a slight.


Reply With Quote
