[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using the stuff command in screen

From: Dave Woodfall
Subject: Re: Using the stuff command in screen
Date: Tue, 14 Apr 2020 04:30:09 +0100

On 2020-04-13 20:33,
dan d. <address@hidden> put forth the proposition:
> Thanks to those who provided suggestions on this topic.
> To recap, using a keybinding for the exec command to run a shell script 
> didn't work with the stuff command.
> I wanted stuff to send keystrokes to a program to act as a macro, it was in 
> the shell script.
> Doing some tinkering, if I ran the shell script from the cli in one window it 
> provided the macro function for the program in another window.
> Likewise running the screen command for stuff directly in the cli also 
> worked, as did an alias or function in the cli.
> Eeven as it worked as desired above, there is still no joy using the exec 
> from within the program.
> I can run the shell script but not an alias or function with the exec.  Is 
> there a way to run an alias or function with exec?

Aliases and functions set in the shell are usually only available in
interactive shells.


The antibloat squad!
For those interested in no bloat, minimal desktop Linux
#minimallinux @

reply via email to

[Prev in Thread] Current Thread [Next in Thread]