Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!bu.edu!bucsf.bu.edu!jdubb From: jdubb@bucsf.bu.edu (jay dubb) Newsgroups: comp.emacs Subject: How to have an emacs program send input to telnet shell Message-ID: <73435@bu.edu.bu.edu> Date: 30 Jan 91 17:57:16 GMT Sender: news@bu.edu.bu.edu Distribution: usa Organization: Computer Science Department, Boston University, Boston, MA, USA Lines: 13 Originator: jdubb@bucsf.bu.edu I am posting this for a friend of mine who doesn't have access to USENET, so please respond directly to mlevin@jade.tufts.edu. Is there any way to write an Emacs LISP function which would provide input to (and read the output of) shells running in an Emacs window? What I want to do is to have telnet running in an emacs window, and use a function which would automatically log me in and execute some commands by sending text (like my username, etc.) directly to the telnet program. the insert function doesn't work - the text goes into the buffer, but the program doesn't seem to see it. Any ideas? Thanks in advance. Mike Levin (mlevin@jade.tufts.edu)