gum icon indicating copy to clipboard operation
gum copied to clipboard

Different gum filter behavior in and out of PBS

Open mathomp4 opened this issue 10 months ago • 0 comments

This is an odd one. It's like 99% probably not the fault of gum, but I'm hoping someone here has seen this?

I do work on a computing cluster that uses PBS to handle its allocation of resources. On the login nodes, a script I have that uses gum filter will let me type Alt+Backspace to delete what is set with gum filter --value and "reset" things as it were. But after getting an allocation via PBS, it doesn't work.

I yelled at ChatGPT, and it did have me try one thing: showkey -a and then hit Alt+Backspace. On the login node:

Press any keys - Ctrl-D will terminate this program

^[^? 	 27 0033 0x1b
 	127 0177 0x7f

and on compute:

Press any keys - Ctrl-D will terminate this program

^[ 	 27 0033 0x1b
^? 	127 0177 0x7f

The thing is, everything I can see between the two nodes is the same. TERM, both are ttys, both read the same .inputrc. The only real difference is there are a whole bunch of PBS env vars due to me having 4 nodes or whatever.

Has anyone encountered this?

mathomp4 avatar May 23 '25 15:05 mathomp4