Re: Sending commands to shell

Alan Jurgensen <jurgyman-/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
to have shift-delete send my password and an enter (its in file .screenmacro_p) I have this in my .screenrc file:

# load .screenmacro_p into register p
readreg p $HOME/.screenmacro_p
bind P paste 'p'
# paste register p via:  shift-delete
bindkey ^[[3$ paste 'p'
 


     On Thursday, September 10, 2015 2:22 PM, - <[email protected]> wrote:
   

 
Hello, I'm fairly new to screen.

Is there a way to send a command from within an application running in a 
screen session to the shell?  For example, without leaving the application 
can I send a shell script to perform a task then return to the 
application?

Thanks.

Dan
XB

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.