situation: i would like to have the ability to automate the telnet process in unix environment so that instead of having to open a terminal and typing out all the commands, one would only have to click on an option in the context menu, enter user name and password in a pop-up box, and the connection is made, and then a program is run thereafter.
set up: two solaris (i believe) computers on seperate lans. both are shared/multi-user computers using xwindows (or similar type of desktop gui).
more specifics: my normal rutine (as with many of the other users) consists of opening a terminal window, telneting a specific computer, logging in, and then running a command (that is a rather long string). what i would like is to somehow have a program that would automate the process a bit. for security reasons, i'd like it to still require the user to enter the user name and pass for the telnet session, but have everything else automated.
i am familiar with editing the context menu and writting scripts, but because i want this to run without the need of an open terminal, and because i still need user input, i'm assuming this would need to be written in a compiled language like c instead of, say, perl. also, this is a work computer on which i am not allowed to download/upload anything, but i can create files and believe i can compile programs written in c.
if you have any information regarding this, please share. this seems like it would be a simple enough program (the more simple, the better), but as i have no experience writting in c, i'm not exactly sure.
thank you for your help
p.s. if this is in the wrong section, please feel free to move it, thank you.