On 2020-04-13 20:33,
dan d. <dandun...@gmail.com> 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.

--
Dave

The antibloat squad!
For those interested in no bloat, minimal desktop Linux
gopher://tty1.uk/1/?minimal-linux
http://tty1.uk/minimal-linux
#minimallinux @ chat.freenode.net

Reply via email to