| 248 |
Option = MAKELONG(ts.TransBin,ts.Append | |
Option = MAKELONG(ts.TransBin,ts.Append | |
| 249 |
(0x1000 * ts.LogTypePlainText) | |
(0x1000 * ts.LogTypePlainText) | |
| 250 |
(0x2000 * ts.LogTimestamp)); |
(0x2000 * ts.LogTimestamp)); |
| 251 |
|
|
| 252 |
|
// ログのデフォルトファイル名を設定 (2006.8.28 maya) |
| 253 |
|
strncat(LogVar->FullName, ts.LogDefaultName, sizeof(LogVar->FullName)); |
| 254 |
|
ParseStrftimeFileName(LogVar->FullName); |
| 255 |
|
|
| 256 |
if (! (*GetTransFname)(LogVar, ts.FileDir, GTF_LOG, &Option)) |
if (! (*GetTransFname)(LogVar, ts.FileDir, GTF_LOG, &Option)) |
| 257 |
{ |
{ |
| 258 |
FreeFileVar(&LogVar); |
FreeFileVar(&LogVar); |
| 579 |
if (strlen(&(SendVar->FullName[SendVar->DirLen]))==0) |
if (strlen(&(SendVar->FullName[SendVar->DirLen]))==0) |
| 580 |
{ |
{ |
| 581 |
Option = MAKELONG(ts.TransBin,0); |
Option = MAKELONG(ts.TransBin,0); |
| 582 |
|
SendVar->FullName[0] = 0; |
| 583 |
if (! (*GetTransFname)(SendVar, ts.FileDir, GTF_SEND, &Option)) |
if (! (*GetTransFname)(SendVar, ts.FileDir, GTF_SEND, &Option)) |
| 584 |
{ |
{ |
| 585 |
FileTransEnd(OpSendFile); |
FileTransEnd(OpSendFile); |
| 1066 |
FileVar->OpId = OpBPSend; |
FileVar->OpId = OpBPSend; |
| 1067 |
if (strlen(&(FileVar->FullName[FileVar->DirLen]))==0) |
if (strlen(&(FileVar->FullName[FileVar->DirLen]))==0) |
| 1068 |
{ |
{ |
| 1069 |
|
FileVar->FullName[0] = 0; |
| 1070 |
if (! (*GetTransFname)(FileVar, ts.FileDir, GTF_BP, &Option)) |
if (! (*GetTransFname)(FileVar, ts.FileDir, GTF_BP, &Option)) |
| 1071 |
{ |
{ |
| 1072 |
ProtoEnd(); |
ProtoEnd(); |
| 1127 |
|
|
| 1128 |
/* |
/* |
| 1129 |
* $Log$ |
* $Log$ |
| 1130 |
|
* Revision 1.6 2006/08/28 12:27:16 maya |
| 1131 |
|
* デフォルトのログファイル名を指定できるようにした。 |
| 1132 |
|
* エディットコントロールを "Additional settings" ダイアログに追加した。 |
| 1133 |
|
* teraterm.ini ファイルに LogDefaultName エントリを追加した。 |
| 1134 |
|
* ファイル名に strftime のフォーマットを使えるようにした。 |
| 1135 |
|
* |
| 1136 |
* Revision 1.5 2006/07/23 14:12:26 yutakakn |
* Revision 1.5 2006/07/23 14:12:26 yutakakn |
| 1137 |
* ログに含める日付フォーマットを世界標準書式に変更した。 |
* ログに含める日付フォーマットを世界標準書式に変更した。 |
| 1138 |
* |
* |