Re: Help with keybinding and exec command

2017-12-08 Thread dan d.
I'm wanting to run a shell script. Do I use metakey+h in your example or h alone? As I recall ctrl+h,ie. ^h would be possible also? I see web examples with bindkey, how is that different? Thanks for your help. On Thu, 7 Dec 2017, David Woodfall wrote: > >Can you provide more details? > > > >

Re: Help with keybinding and exec command

2017-12-07 Thread David Woodfall
Can you provide more details? bind h exec /usr/bin/htop works for me to start htop and returns when I quit. On Thu, Dec 7, 2017 at 7:42 PM, dan d. wrote: Hello, Years ago I had a screenrc with a key binding that allowed using the exec command. It would drop me to a sub-shell and return wh

Re: Help with keybinding and exec command

2017-12-07 Thread Neal Fultz
Can you provide more details? bind h exec /usr/bin/htop works for me to start htop and returns when I quit. On Thu, Dec 7, 2017 at 7:42 PM, dan d. wrote: > > Hello, > > Years ago I had a screenrc with a key binding that allowed using the exec > command. > > It would drop me to a sub-shell and

Help with keybinding and exec command

2017-12-07 Thread dan d.
Hello, Years ago I had a screenrc with a key binding that allowed using the exec command. It would drop me to a sub-shell and return when finished. Despite all attempts to duplicate it from google examples and poor recall, I have had only failures. Can someone help me please with a sample ke