Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Comparison of command shells
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Text highlighting === The command line processors in [[DOS Plus]]<!-- COMMAND.COM/DOSPLUS.COM -->, <!-- TBD: possibly also some versions of Concurrent DOS -->[[Multiuser DOS]]<!-- TMP.EXE -->, [[REAL/32]] and in all versions of [[DR-DOS]]<!-- COMMAND.COM/DRDOS.COM --> support a number of optional environment variables to define escape sequences allowing to control text highlighting, reversion or colorization for display or print purposes in commands like [[TYPE (DOS command)|TYPE]]. All mentioned command line processors support <code>[[%$ON%]]</code> and <code>[[%$OFF%]]</code>. If defined, these sequences will be emitted before and after filenames. A typical sequence for {{code|%$ON%}} would be {{code|\033[1m}} in conjunction with [[ANSI.SYS]], {{code|\033p}} for an [[ASCII]] terminal or {{code|\016}} for an IBM or [[ESC/P]] printer. Likewise, typical sequences for {{code|%$OFF%}} would be {{code|\033[0m}}, {{code|\033q}}, {{code|\024}}, respectively. The variables <code>[[%$HEADER%]]</code> and <code>[[%$FOOTER%]]</code> are only supported by COMMAND.COM in DR-DOS 7.02 and higher to define sequences emitted before and after text blocks in order to control text highlighting, pagination or other formatting options. <!-- TBD. Other command-line processors may provide similar features. --> For the Unix/Linux shells, this is a feature of the terminal.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)