"Day Brown" <[EMAIL PROTECTED]> wrote:
> > [...]
> > Try "man <command name>" or "apropos <topic>". Also, most distributions
have
> > a rather extensive /usr/doc directory structure.
> Well, i got a round tuit to try that, looking for
> 'ANSI'. I see ansi color during the linux bootup, but then it
> goes into GUI, and it is gone. MC seems to be in ANSI, but no
> clue as to how ANSI color text mode screens are done.
I think you're looking for stuff like
http://www.linux.com/howto/Bash-Prompt-HOWTO-6.html (one example). If you
have an existing text file with embedded ANSI sequences, try "cat
<filename>". Keep in mind that the ANSI codes were a form of terminal
emulation for ONE SPECIFIC terminal (the DOS PC screen), and Linux (and most
*nix-like systems) support many, many others. What is displayed will depend
on your TERM environment setting. If the one selected supports escape
sequences, you can do all sorts of nifty stuff, just like under DOS.
If you're interested in writing something that display formatted text on the
screen, try looking up info on "curses" (and many others). Are you working
on that text file viewer?
> Does the Linux kernel use the same interrupts that are found
> in Ralf Brown's list, or does it replace them with a set of
> it's own?
As I recall (having not used that list in a LONG time), much of that would
be DOS-specific (windows etc.). Most programs written for Linux would NOT
have that level of access to the hardware, unless running as root (not
generally a good idea).
- Bob
To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.
More info can be found at;
http://www.softcon.com/archives/SURVPC.html