Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#44 Cannot save .rc file with Services for Unix

open
nobody
5
2011-03-19
2011-03-19
ThomasH
No

If tkdiff for windows is being invoked from SFU (Services for Unix) ksh, tkdiff ignores the existing *.rc file and foremost uses the MS Sans Serif font, probably not a welcomed choice for software development, which needs a mono spaced font. To my astonishment, tkdiff will not save the *.rc file. The error which I see is:

couldn't open "/dev/fs/C/Documents and Settings/thh/_tkdiff.rc": no such file or directory
couldn't open "/dev/fs/C/Documents and Settings/thh/_tkdiff.rc": no such file or directory
while executing
"open $rcfile w"
(procedure "save" line 11)
invoked from within
"save"
invoked from within
".pref.buttons.save invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 24)
invoked from within
"tk::ButtonUp .pref.buttons.save"
(command bound to event)

All attempt to change this, incl. setting of TKDIFFRC=. have failed. FInally when I called the binary using
TKDIFFRC=. /dev/fs/C/dir/tkdiff.exe
tkdiff accepted this as the "user home dir" to store the tkdiff prefs.

Discussion