Incidencia #11253

variable in connect
Abrir Fecha: 2007-10-31 22:29 Última actualización: 2007-10-31 23:54

Informador:
(Anónimo)
Propietario:
(Ninguno)
Estado:
Cerrado
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Invalid
Fichero:
Ninguno
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
  • Resolución Update from Ninguno to Invalid
  • Estado Update from Open to Cerrado
Comentario
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

Editar

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