Re: Use of `mktemp' is dangerous, better use `mkstemp'...

2021-01-18 Thread Chet Ramey
On 1/17/21 7:46 PM, Ángel wrote: [Explanation of when is mktemp() used and patch to remove the warning] The warning can be ignored. Sure. However, actually removing the spurious warning would not only make (some) build systems happier, but also produce less confused users, so it seemed (pote

Re: Feature: where terminal reports mouse click to bash, support positioning the cursor accordingly

2021-01-18 Thread Chet Ramey
On 1/17/21 6:57 PM, mcarans--- via Bug reports for the GNU Bourne Again SHell wrote: Hi, It would be great to be able to use the mouse to click to position the cursor in bash. I raised this with the Gnome terminal emulator here and they said "The cursor position is under the control of the ap

Re: Feature: where terminal reports mouse click to bash, support positioning the cursor accordingly

2021-01-18 Thread Andreas Schwab
On Jan 18 2021, Chet Ramey wrote: > What information does the terminal emulator pass to the application to > indicate the desired position? Emacs supports it as xterm-mouse-mode. See . Andreas. -- Andreas Schwab, sch..

Re: Feature: where terminal reports mouse click to bash, support positioning the cursor accordingly

2021-01-18 Thread mcarans--- via Bug reports for the GNU Bourne Again SHell
I had a look for information on this. I found  https://www.xfree86.org/current/ctlseqs.html#Mouse%20Tracking Also this question from stackexchange has a helpful answer:Any terminal shell with mouse support? | | | Any terminal shell with mouse support? | Perhaps the method that works with

Re: Use of `mktemp' is dangerous, better use `mkstemp'...

2021-01-18 Thread Ángel
On 2021-01-18 at 14:05 -0500, Chet Ramey wrote: > On 1/17/21 7:46 PM, Ángel wrote: > > > > > [Explanation of when is mktemp() used and patch to remove the > > > > warning] > > > > > > The warning can be ignored. > > > > Sure. However, actually removing the spurious warning would not > > only mak