Ticket #11253

variable in connect
오픈 날짜: 2007-10-31 22:29 마지막 업데이트: 2007-10-31 23:54

Reporter:
(Anonymous)
소유자:
(None)
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Invalid
File:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

If I use a variable in connect like:

connect '127.0.0.'VARIABLE':23 /nossh'

then I'll get an Error, it would be fine, if you guys
can change that.

Ticket History (1/1 Histories)

2007-10-31 23:54 Updated by: (del#1144)
  • Ticket Close date is changed to 2007-10-31 23:54
  • Resolution Update from None to Invalid
  • Status Update from Open to Closed
댓글 올리기
Logged In: YES
user_id=1144

TeraTerm macro cannot concatenate strings with your syntax.

You can do it with strconcat or sprintf function.
e.g.
host = '127.0.0.'
strconcat host VARIABLE
strconcat host ':23 /nossh'
connect host

Attachment File List

No attachments

Edit

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