Discussion Locked

anti-virus

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

1. why is anti-virus in dos mode is slow but it checks the viruses better than windows

2. what is the difference between binary mode and text mode.

3. why is printing in dos mode is fast

4. what is the character corresponding to ascii valueof 27

5 replies

by xanderoth

1. Dos mode anti-virus is slow for many reasons, mostly due to the fact that windows can speed it up using greaters levels of RAM than DOS, but when in DOS- you do not have file access issues so you can scan all files, while windows may prevent certain files from being scanned (ie. .swp file)

2.Now this one i'm kinda guessing- when you view program code with a hex editor for example, you can choose to view in hexadecimal, binary or text mode. But all 3 modes are greek to me. Binary is simply the representation of anything in a boolean expression. Basically anything with 2 possible answers- usually yes/no, on/off, true/false or 0/1.

3.printing is dos mode is sometimes faster because of the fact that it must in essence "map" the port it prints to.

4.← is the ascii value of 27.

by rdbaird

1) Xanderoth is exactly right on this point.

2) Xanderoth's explanation for this is correct as well, I thought I would shed some more light on this subject. Binary mode is a series of on/off switches (designated by 0/1). Every character has avalue and each value is either on or off, which determines the output. Text mode is an ascii version (plain text) of a file -- not necessarily legible, but dumped as pure ascii.

3) Dos mode is also faster because it does not spool (unless you are in Windows and print option for spooling is checked). DOS throws raw data at the port and tells it to go, basically.

4) Xanderoth's character is correct.

This discussion is closed to new replies.