difference between a Linux console and a virtual terminal
I just installed my very 1st Linux box few days ago.. as well as reading a book...
Anyway, here is my question: What is the difference between a Linux console (where we get when booting into a no desktop environment Linux box) and a virtual terminal (where we use when execute it from a desktop environment)? Apparently, the xterm virtual terminal by default is the virtual terminal emulated in my ubuntu 9.04. Also, I noticed I have a few other types of terminals stored under /usr/share/terminfo and I can see there is a "linux" under "l" directory. I assume it is the linux console. So, why the terminal emulation package under ubuntu 9.04 use "xterm" instead of the "linux", when it is a Linux system (why it need to go all the hesitation when there is a Linux's "linux console)? Summarize, there are 2 questions: 1. what is the difference between a Linux console and a virtual terminal? 2. Why use other virtual terminal when there is a default "linux" console stored under /usr/share/terminfo/l in the desktop environment? |
In short, they're almost the same, but if you need technicalities:
http://www.bigwebmaster.com/General/...OWTO.html#toc6 |
Basically, the standard console is kind of limited, in my books, as it can't have a scroll bar (can be easier to use than more/less), harder to change color than most virtual consoles, and you only get around 6 or so (depending on your distro or if running different *nix). Virtuals can also do stuff like transparencies and different backgrounds, and multiple in your viewing ability. it all depends on what you want to use them for. if your are using cut and paste, you would use a virtual terminal, same for something which you would need to look stuff up on the web. but the original console is useful since its full screen. very useful when using Vim to edit files as the letters become easier to read.
|
Quote:
|
Hi,
Quote:
Quote:
You could actually learn the commands necessary to move, copy or even have a system that will have less overhead by not using that 'GUI' when you learn the 'cli' using the console. :) |
Quote:
|
B3Co0L:
Were the answers enough? By this time you should be running the cli. >>Summarize, there are 2 questions: 1. what is the difference between a Linux console and a virtual terminal?<< ===Console I understand you as "shell" without running X. Virtual terminal I understand you as the emulators available to type in commands while X is running. They're almost as capable as equally although there are some advantages when you must run console with X shutdown. >>2. Why use other virtual terminal when there is a default "linux" console stored under /usr/share/terminfo/l in the desktop environment?<< ===Ubuntu offers default to xterm, but you can switch to linux term if you want anytime. They have the same capability, both of them are linux terminals, only the name varies. You can also change the appearance and features either of them later when you learn the tricks. It doesn't hurt to run xterm or linux, me I prefer xterm too. goodluck hope it helps. |
Yes, yes..I am pretty much clear about it.. thanks a lot guys
Anyway, Ubuntu is not having xterm as default but GNOME terminal.. I didn't know i could just browse help>about to get it instead i used "echo $TERM" that returned "xterm". (I get the command from the book i am reading.. the book didn't explain in detail as it an introduction section to virtual terminal not commands..) Not very sure about why it returned "xterm" and I only know that $TERM is an environment variable.. |
All times are GMT -5. The time now is 10:14 PM. |