Duncan Murdoch
2024-Feb-09 17:20 UTC
[R] Avoiding Delete key function as 'Quit R' in Rterm when there are no characters in cursor line
That looks to me like a bug, but I don't use Windows any more, so I won't offer to try to fix it for you. In fact I don't think Rterm has many users at all: most Windows users probably use RStudio or one of the other graphical front ends (Visual Studio, Emacs, Rgui, etc.) So maybe you can track down the issue, or someone else will try. Or maybe you'll just have to avoid triggering the bug (if it really is one). Duncan Murdoch On 09/02/2024 10:03 a.m., Iago Gin? V?zquez wrote:> Yes, indeed, I am talking about Rterm in Windows. > > Iago > ------------------------------------------------------------------------ > *De:* Duncan Murdoch <murdoch.duncan at gmail.com> > *Enviat el:* divendres, 9 de febrer de 2024 13:50 > *Per a:* Iago Gin? V?zquez <iago.gine at sjd.es> > *Tema:* Re: [R] Avoiding Delete key function as 'Quit R' in Rterm when > there are no characters in cursor line > On 09/02/2024 6:25 a.m., Iago Gin? V?zquez wrote: >> Hi all, >> >> I cite from README.Rterm >> >> ^D, DEL?????: Delete the character under the cursor. >> >> That is the general behaviour, but when there is no character (neither under the cursor nor at its left), pressing the Delete key suggests closing the R terminal. Is there any (configurable) way to avoid this behaviour? > > Are you talking about rterm in Windows, or which front end? > > Duncan Murdoch >
CALUM POLWART
2024-Feb-09 17:28 UTC
[R] Avoiding Delete key function as 'Quit R' in Rterm when there are no characters in cursor line
I don't use term, but I've just tested it and this is reproducable. Is it a bug? Not sure. If you hit c after getting the message it will cancel the q() request. On Fri, 9 Feb 2024, 17:21 Duncan Murdoch, <murdoch.duncan at gmail.com> wrote:> That looks to me like a bug, but I don't use Windows any more, so I > won't offer to try to fix it for you. In fact I don't think Rterm has > many users at all: most Windows users probably use RStudio or one of > the other graphical front ends (Visual Studio, Emacs, Rgui, etc.) > > So maybe you can track down the issue, or someone else will try. Or > maybe you'll just have to avoid triggering the bug (if it really is one). > > Duncan Murdoch > > On 09/02/2024 10:03 a.m., Iago Gin? V?zquez wrote: > > Yes, indeed, I am talking about Rterm in Windows. > > > > Iago > > ------------------------------------------------------------------------ > > *De:* Duncan Murdoch <murdoch.duncan at gmail.com> > > *Enviat el:* divendres, 9 de febrer de 2024 13:50 > > *Per a:* Iago Gin? V?zquez <iago.gine at sjd.es> > > *Tema:* Re: [R] Avoiding Delete key function as 'Quit R' in Rterm when > > there are no characters in cursor line > > On 09/02/2024 6:25 a.m., Iago Gin? V?zquez wrote: > >> Hi all, > >> > >> I cite from README.Rterm > >> > >> ^D, DEL : Delete the character under the cursor. > >> > >> That is the general behaviour, but when there is no character (neither > under the cursor nor at its left), pressing the Delete key suggests closing > the R terminal. Is there any (configurable) way to avoid this behaviour? > > > > Are you talking about rterm in Windows, or which front end? > > > > Duncan Murdoch > > > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
Seemingly Similar Threads
- Avoiding Delete key function as 'Quit R' in Rterm when there are no characters in cursor line
- Avoiding Delete key function as 'Quit R' in Rterm when there are no characters in cursor line
- Avoiding Delete key function as 'Quit R' in Rterm when there are no characters in cursor line
- Avoiding Delete key function as 'Quit R' in Rterm when there are no characters in cursor line
- Debugging functions defined (locally) inside another functions