Ticket #11253

variable in connect
Date d'ouverture: 2007-10-31 22:29 Dernière mise à jour: 2007-10-31 23:54

Rapporteur:
(Anonyme)
Propriétaire:
(Aucun)
État:
Atteints
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Invalid
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

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
  • Résolution Update from Aucun to Invalid
  • État Update from Ouvert to Atteints
Commentaire
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

Modifier

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