By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!I know that. It has been that way for 20+ years. But I seem to recall, perhaps incorrectly, that something was changed so that 0x07 wasn't sent to the console.This is related to the Winidows console functions, not Take Command.
Look at an answer regarding "net stop beep" her:
http://superuser.com/questions/10575/turning-off-the-cmd-window-beep-sound
http://support.microsoft.com/kb/838671
I thought there was some recent change that stopped TYPE from beeping when it came upon a 0x07? It's beeping. Am I remembering incorrectly?
Yup, that's what I was remembering. Thanks for the reminder.As I understood it was the FFIND command that was supposed to no longer write 0x07 characters to the console.
I thought there was some recent change that stopped TYPE from beeping when it came upon a 0x07? It's beeping. Am I remembering incorrectly?
I see. And that's not new. But it doesn't work correctly. Xavetemp.btm is a BATCOMP'd file and TYPE with /B stops after only a few characters (not having reached a BEL).Type HELP TYPE and look for the /B option.
v:\> type /b xavtemp.btm
╛δ╗
v:\> type xavtemp.btm
╛δ╗ ê♥S╖w¶αß°!S!Wu╕▀▓s╬↕rFÇTǺ╜└Y¶↑♀è∙ C«♀♀æ♀▬O₧w∞Q-r.╞╜αr╬╩¼÷←"ó4.▓¼v5.Rä╒σ╬2∙A
ñn§Dm*û$∙Z▼◄═ü/*►1&f8╗ dLj#─B²>0╣♫╫╤╘P╬Üπ&,┐8σ☻ú≥╟►↕♥ì☼w&♀,╤Ä>☻û,¼─oûóà╙╘T≡└╫↑+♠
SNIP!
C:\BIN\JPSDK\TextUtils>type "Engine Summer.txt"

ThereΓÇÖs a time in some years, after the first frosts, when the sun gets hot
again, and summer returns for a time. Winter is coming; you know that from the
way the mornings smell, the way the leaves, half-turned to color, are dry and
poised to drop. But summer goes on, a small false summer, all the more
precious for being small and false. In Little Belaire, we called this time ΓÇö
for some reason nobody now knows ΓÇö engine summer.
ΓÇö John Crowley
C:\BIN\JPSDK\TextUtils>type ControlChars.txt
This is an escape sequence: test
This is a control character:
This is another control characters: ☺
Here are some tabs: One Two Three
C:\BIN\JPSDK\TextUtils>type /b ControlChars.txt
This is an escape sequence: test
This is a control character:
This is another control characters: ☺
Here are some tabs: One Two Three
from the
way the mornings smell, the way the leaves, half-turned to color, are dry and
poised to drop. But summer goes on, a small false summer, all the more
precious for being small and false. In Little Belaire, we called this time ΓÇö
for some reason nobody now knows ΓÇö engine summer.
ΓÇö John Crowley
C:\BIN\JPSDK\TextUtils>
I see. And that's not new. But it doesn't work correctly. Xavetemp.btm is a BATCOMP'd file and TYPE with /B stops after only a few characters (not having reached a BEL).
TYPE /B doesn't even work correctly on plain text files (as Charles pointed out).It *does* work correctly; however, TYPE /B is intended for removing bells from text files, not for dumping binary files.
I assume there must be some reason why users want to use the (wildly inappropriate) TYPE command for binary files, but I haven't seen it articulated yet.
v:\> echo line 1^r^nline 2 > textfile1.txt
v:\> echo line A > textfile2.txt
v:\> type textfile1.txt
line 1
line 2
v:\> type textfile2.txt
line A
v:\> type /b textfile1.txt
line 1
line 2
♦ --------------- garbage at the end
v:\> type /b textfile2.txt
line A
line 2 ---------------- from the other file!
♦ ---------------- leftover garbage?
v:\>
TYPE /B doesn't even work correctly on plain text files (as Charles pointed out).
Not reproducible in 14.02.44.