Page 1 of 1

dssh terminal setting

Posted: Fri Nov 16, 2007 10:59 am
by flashgordon
Hi,

Yesterday I found out about dssh through search on dsxchange. This is very useful to us because we have a "locked" dsadm id (you can only su) and we need to do as much as possible in tty mode. I use dssh through putty connected to a sun box. Certain help commands in dssh seem to expect a different terminal type or something than I'm using because they flash the content and go into inverse video. Is there some terminal type I should be setting before I go into dssh? Is dssh the equivalent of the "Command" line in Administrator on a project?

... Flash

Posted: Fri Nov 16, 2007 4:12 pm
by ray.wurlod
Yes, it's the command line interface.
Yes, but you can set terminal type after entering dssh. The command is

Code: Select all

SET.TERM.TYPE type
where type is your terminal type, for example vt100.

DataStage uses a terminfo database (not termcap) so it's probably advisable to set terminal type once in the dssh environment, if you intend interactive use.

However, if you're using single commands - without entering the dssh environment interactively, then it's probably useful to have the terminal type set (using the TERM environment variable) first.