From cl at isbd.net Fri Dec 6 13:09:09 2024 From: cl at isbd.net (Chris Green) Date: Fri, 6 Dec 2024 12:09:09 +0000 Subject: [tin-users] How does tin set the cursor pointer (i.e. changes it from I-beam to an arrow)? Message-ID: I'm running tin 2.6.2 on Debian 12 Linux (though I doubt if that's really relevant). I want to know how tin changes the default I-beam cursor that one gets in terminal windows to the arrow pointer one sees in tin. I want to get that arrow pointer in some other applications too if I can. If it's significant I'm using xfce-terminal for my terminal windows, I don't see the same cursor change when I run tin in a 'real' xterm. -- Chris Green From cl at isbd.net Fri Dec 6 13:11:04 2024 From: cl at isbd.net (Chris Green) Date: Fri, 6 Dec 2024 12:11:04 +0000 Subject: [tin-users] How does tin set the cursor pointer (i.e. changes it from I-beam to an arrow)? In-Reply-To: References: Message-ID: On Fri, Dec 06, 2024 at 12:09:09PM +0000, Chris Green wrote: > I'm running tin 2.6.2 on Debian 12 Linux (though I doubt if that's > really relevant). > > I want to know how tin changes the default I-beam cursor that one gets > in terminal windows to the arrow pointer one sees in tin. I want to > get that arrow pointer in some other applications too if I can. > > If it's significant I'm using xfce-terminal for my terminal windows, I > don't see the same cursor change when I run tin in a 'real' xterm. > Sorry, I should have said 'mouse pointer', not 'cursor pointer'. -- Chris Green From urs at tin.org Fri Dec 6 13:42:26 2024 From: urs at tin.org (Urs =?UTF-8?Q?Jan=C3=9Fen?=) Date: Fri, 06 Dec 2024 13:42:26 +0100 Subject: [tin-users] How does tin set the cursor pointer (i.e. changes it from I-beam to an arrow)? References: Message-ID: In Chris Green wrote: > I want to know how tin changes the default I-beam cursor that one gets > in terminal windows to the arrow pointer one sees in tin. I want to It doesn't. It's likely some xfce config (MiscCursorShape or the like) in ${XDG_CONFIG_HOME:-~/.config}/xfce4/terminal. From Enrik.Berkhan at inka.de Fri Dec 6 13:47:49 2024 From: Enrik.Berkhan at inka.de (Enrik Berkhan) Date: Fri, 06 Dec 2024 13:47:49 +0100 Subject: [tin-users] How does tin set the cursor pointer (i.e. changes it from I-beam to an arrow)? In-Reply-To: References: Message-ID: <5803365b8aae266cab6d18aca9a13fb4f25d888e.camel@inka.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Fri, 2024-12-06 at 13:42 +0100, Urs Jan?en wrote: > In Chris Green wrote: > > I want to know how tin changes the default I-beam cursor that one > > gets > > in terminal windows to the arrow pointer one sees in tin.? I want > > to > > It doesn't. It's likely some xfce config (MiscCursorShape or the > like) in > ${XDG_CONFIG_HOME:-~/.config}/xfce4/terminal. Or maybe a side effect of tin enabling mouse support in the terminal? Cheers, Enrik -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEbLyQBMI0qAWiF6l31AjqSkbLPKQFAmdS8nUACgkQ1AjqSkbL PKSdaQwApN89LKAysToBUUJvBFovigbPfOY+RovEkd9DenIq7+F5vnUDjTbLIt8p hp/2wQr0FPNftB8Y6QE2oEuUf3vtzLlc86Y/HpBSvnzHR3GeVRAAIEibBTPALV+O SzJBYvArkxUujZo7J7hqujrngUfK4UQwNLR6WKOeW4kk3hLevZ37tXAhfLyJWIKq FSdBrHTe+sPLRGU57ZX09+N1Sr9jaiH5vzaI54UfKPWZiqRiVPU8gCUDZLrgB2uh 06DoCaiYALR+YoRei4ZbOvNxYe62R+DWvpEJlXzJeuzqOizJOhBO+xiL0M2/l/yA uy5Sp4nft6j9Rj9C6F87yS/tT+hLgc9LMPoHaNDMcRacvkDSbp0rqgq90ePec72N l7uM+0ZZ65W+iEtWizhWU5kmNPdy4GeOxTHcPMuN8QiksCujUUHRiH6fvfD1YmPQ A1hCUvHMlZKX8VOvq5XZJXD4hBQuOhRO7EsDV8MXNBmFj/rLa4cPp7i43CnylikD FEzBX9xz =47np -----END PGP SIGNATURE----- From cl at isbd.net Fri Dec 6 15:04:44 2024 From: cl at isbd.net (Chris Green) Date: Fri, 6 Dec 2024 14:04:44 +0000 Subject: [tin-users] How does tin set the cursor pointer (i.e. changes it from I-beam to an arrow)? In-Reply-To: References: Message-ID: On Fri, Dec 06, 2024 at 01:42:26PM +0100, Urs Jan?en wrote: > In Chris Green wrote: > > I want to know how tin changes the default I-beam cursor that one gets > > in terminal windows to the arrow pointer one sees in tin. I want to > > It doesn't. It's likely some xfce config (MiscCursorShape or the like) in > ${XDG_CONFIG_HOME:-~/.config}/xfce4/terminal. > There must be something that 'tells' XFCE though, everything else (e.g. my mail program, or an editor) running in a terminal window just gets the default I-Beam cursor, tin is the only case I have come across where it changes to an arrow. -- Chris Green From cl at isbd.net Fri Dec 6 15:09:46 2024 From: cl at isbd.net (Chris Green) Date: Fri, 6 Dec 2024 14:09:46 +0000 Subject: [tin-users] How does tin set the cursor pointer (i.e. changes it from I-beam to an arrow)? In-Reply-To: <5803365b8aae266cab6d18aca9a13fb4f25d888e.camel@inka.de> References: <5803365b8aae266cab6d18aca9a13fb4f25d888e.camel@inka.de> Message-ID: On Fri, Dec 06, 2024 at 01:47:49PM +0100, Enrik Berkhan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On Fri, 2024-12-06 at 13:42 +0100, Urs Jan?en wrote: > > In Chris Green wrote: > > > I want to know how tin changes the default I-beam cursor that one > > > gets > > > in terminal windows to the arrow pointer one sees in tin.? I want > > > to > > > > It doesn't. It's likely some xfce config (MiscCursorShape or the > > like) in > > ${XDG_CONFIG_HOME:-~/.config}/xfce4/terminal. > > Or maybe a side effect of tin enabling mouse support in the terminal? > Yes, you're right! Changing to 'use_mouse=OFF' gives me an I-Beam cursor in tin. So, what does tin change so that the window manager and such change the mouse pointer? -- Chris Green From urs at tin.org Fri Dec 6 16:10:48 2024 From: urs at tin.org (Urs =?iso-8859-1?Q?Jan=DFen?=) Date: Fri, 6 Dec 2024 16:10:48 +0100 Subject: [tin-users] How does tin set the cursor pointer (i.e. changes it from I-beam to an arrow)? In-Reply-To: References: <5803365b8aae266cab6d18aca9a13fb4f25d888e.camel@inka.de> Message-ID: On Fri, Dec 06, 2024 at 02:09:46PM +0000, Chris Green wrote: > So, what does tin change so that the window manager and such change > the mouse pointer? in short: it sends "\033[?9h" (see console_codes(4)) to the terminal. From cl at isbd.net Fri Dec 6 16:52:45 2024 From: cl at isbd.net (Chris Green) Date: Fri, 6 Dec 2024 15:52:45 +0000 Subject: [tin-users] How does tin set the cursor pointer (i.e. changes it from I-beam to an arrow)? In-Reply-To: References: <5803365b8aae266cab6d18aca9a13fb4f25d888e.camel@inka.de> Message-ID: On Fri, Dec 06, 2024 at 04:10:48PM +0100, Urs Jan?en wrote: > On Fri, Dec 06, 2024 at 02:09:46PM +0000, Chris Green wrote: > > So, what does tin change so that the window manager and such change > > the mouse pointer? > > in short: it sends "\033[?9h" (see console_codes(4)) to the terminal. > Brilliant, thank you, that's just what I wanted to know. Now I can get an arrow pointer as/when I need it in other places. The I-Beam pointer gets lost on my big terminal windows. -- Chris Green