Error in SAFECHARS plugin v 1.9.0

May 29, 2008
566
4
Groton, CT
Using Win 7 and TCC 16 :

Code:
~\Work> echo abcde > x.txt

~\Work> plugin /i safechars
Module:      C:\Program Files\JPsoft\TCMD16x64\PlugIns\safechars-x64.dll
Name:        SafeChars
Author:      Charles Dye
Email:       cdye@unm.edu
Web:         http://prospero.unm.edu/plugins/safechars.html
Description: Read and write text containing special characters
Implements:  @countsafe,@countsafex,@countunsafe,@countunsafex,@safecharsinfo,@safeclip,@safeclipw,@safeenv,@safeexp,@safel
ine,@saferead,@safewrite,@unsafe,@unsafeesc,@uquotes,_amp,_bq,_caret,_closebrk,_closepat,_gt,_lt,_openbrk,_openpat,_pct,_qu
ote,_vbar,safearray,safecharshelp,safeecho,safeechos,unsafe
Version:     1.8  Build 0

~\Work> echo %@safeline[x.txt,0]
abcde

~\Work> plugin /u safechars

~\Work> plugin /l c:\temp\safechars-x64.dll
SafeChars plugin v1.9.0 loaded.

~\Work> echo %@safeline[x.txt,0]

TCC: Unknown command "*setdos"

abcde

(%?=2, %_?=0)
~\Work> echo %@line[x.txt,0]
abcde

(%?=2, %_?=0)
~\Work>

Where is the unknown command "*setdos" error coming from?
 
Last edited:

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,446
88
Albuquerque, NM
prospero.unm.edu
Yes, SafeChars calls SETDOS internally.

It used to call the internal command directly, through an API which no longer exists in v17. So now I call it a different way, through Command(). Apparently the leading * is a problem when alias expansion is disabled. I'll get a fix up sometime today.
 
Similar threads
Thread starter Title Forum Replies Date
dcantor Function @uquotes duplicated or error in listing Plugins 3
dcantor Documentation Doc error for @BETWEEN Plugins 3
nickles SETICON error Plugins 7
dcantor SYSUTILS command TIMESYNC error Plugins 4
M A weird error re a plugin... Plugins 0
T AddToHistory() produces a linker error Plugins 7
vefatica What does error() return? Plugins 1
vefatica Will error() modify contents of pszArg? Plugins 1
vefatica Does AllocMem() give error messages? Plugins 1
T Link error with v11 SDK Plugins 5
M How to? Use SafeChars plugin... Plugins 2
thedave SafeChars: Escaped version of @unsafe Plugins 7
M SafeChars plugin misbehaving... Plugins 3
S How to? SafeChars.dll question Plugins 4
dcantor Suggestion for SafeChars plugin Plugins 7
M Charles, I just installed the "new" SafeChars plugin, ... Plugins 5
Stefano Piccardi SafeChars thank you Plugins 2
M A problem with the SafeChars Plugin... Plugins 30
M A (presumbly pretty simple) SafeChars plugin request... Plugins 2
M A "SafeChars" plugin request... Plugins 2
S SafeChars plugin Plugins 2
Charles Dye New plugin: SafeChars Plugins 15
Joe Caverly 64-bit Plugin development using PureBasic Plugins 8
R New Plugin Plugins 0
Alpengreis elevated plugin questions Plugins 3
fpefpe utf-8 support in sdk/plugin api Plugins 4
S How to? Can @DU function in 4Utils64 plugin somehow cater for dirs with spaces? Plugins 3
vefatica Plugin access to arrays? Plugins 4
vefatica How big is a plugin's parameter buffer? Plugins 5
C @knownpath plugin Plugins 0
Charles Dye Updated OSD plugin Plugins 0
Joe Caverly C# plugin framework for JPSoft's TCC Plugins 0
dcantor Help for newest version of TEXTUTILS plugin Plugins 10
dcantor UISTUFF plugin missing help topic Plugins 12
dcantor Request for documentation for ISO8601 plugin Plugins 4
vefatica Possible with a plugin? Plugins 6
dcantor Inconsistency between textutils plugin and wrap utility Plugins 2
M (Stupid?) Problem with 64-bit 4Utils plugin... Plugins 3
H Latest ISO8601 plugin? Plugins 1
Charles Dye New plugin: QKeys Plugins 34
S Plugin to quickly locate all files hard linked together Plugins 5
S Documentation Plugin everything.dll Plugins 5
newbie How to? Multi-plugin installation errors, Re: FedUtils8 Plugins 7
vefatica Plugin -> thread -> Command() -> Ctrl-C? Plugins 20
Charles Dye A weirdoid plugin question Plugins 6
vefatica Plugin dilemma Plugins 2
fpefpe Documentation Plugin API/SDK Plugins 3
C Looking for Vince's old 4UTILS plugin for TCMD v8 Plugins 1
S DESKTOP plugin - anyone ? Plugins 0
C How to? a plugin to sort Outlook Express "rules" Plugins 0

Similar threads