任务单 #39496

TTLマクロで収集したログは余計なスペースがあるが

开放日期: 2019-08-21 13:38 最后更新: 2019-08-22 03:17

报告人:
(匿名)
属主:
类型:
状态:
开启 [Owner assigned]
组件:
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Won't Fix
文件:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

Tera Term (version 4.63) TTL マクロでlinux自動登録し、ログを収集する:

logopen filename 0 0 

sendln 'ls -l helloworld.txt'

wait '$'
pause 2
logclose

現象例:

たとえばコマンドls -l helloworld.txtを実行すると、windowsのサイズが小さいため、windowsでは一つのコマンド長すぎるため、二行になった、下記のように

ls -l hello
world.txt
収集したログファイルでは、ls -l helloworld.txtになるべきだが、実際は ls -l hello world.txt になった、helloとworld.txtの間に余計な一桁のスペースが出た。

ご確認お願いします。

任务单历史 (2/2 Histories)

2019-08-21 13:38 Updated by: None
  • New Ticket "TTLマクロで収集したログは余計なスペースがあるが" created
2019-08-22 03:17 Updated by: doda
  • Details Updated
  • 组件 Update from (无) to Tera Term
  • 处理结果 Update from to Won't Fix
  • 属主 Update from (无) to doda
评论

余計なスペースはシェルが出力しています。

Tera Termは送られて来たデータをそのままログに記録しているので、スペースも記録されるのは正しい動作です。

Attachment File List

No attachments

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名