Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #266593 > unrolled thread

Changing The PSI Definition

Started byThomas George <debianlist@mailfence.com>
First post2024-01-26 01:40 +0100
Last post2024-01-29 18:20 +0100
Articles 20 on this page of 27 — 15 participants

Back to article view | Back to linux.debian.user


Contents

  Changing The PSI Definition Thomas George <debianlist@mailfence.com> - 2024-01-26 01:40 +0100
    Re: Changing The PSI Definition Greg Wooledge <greg@wooledge.org> - 2024-01-26 02:00 +0100
      Re: Changing The PSI Definition Dan Ritter <dsr@randomstring.org> - 2024-01-26 13:50 +0100
        Re: Changing The PSI Definition Greg Wooledge <greg@wooledge.org> - 2024-01-26 14:20 +0100
        Monospace fonts, Re: Changing The PSI Definition David Wright <deblis@lionunicorn.co.uk> - 2024-01-26 21:00 +0100
          Re: Monospace fonts, Re: Changing The PSI Definition Michael Stone <mstone@debian.org> - 2024-01-27 17:20 +0100
          How to insert symbols into emails (was: Re: Monospace fonts, Re:  Changing The PSI Definition) Franco Martelli <martellif67@gmail.com> - 2024-01-29 15:40 +0100
            Re: How to insert symbols into emails (was: Re: Monospace fonts, Re:  Changing The PSI Definition) <tomas@tuxteam.de> - 2024-01-29 16:00 +0100
              Re: How to insert symbols into emails (was: Re: Monospace fonts, Re:  Changing The PSI Definition) Greg Wooledge <greg@wooledge.org> - 2024-01-29 16:40 +0100
                Re: How to insert symbols into emails Franco Martelli <martellif67@gmail.com> - 2024-01-29 22:10 +0100
                  Re: How to insert symbols into emails Greg Wooledge <greg@wooledge.org> - 2024-01-29 22:20 +0100
                  Re: How to insert symbols into emails Charles Curley <charlescurley@charlescurley.com> - 2024-01-29 23:40 +0100
                    Re: How to insert symbols into emails fxkl47BF@protonmail.com - 2024-01-30 01:20 +0100
                      Re: How to insert symbols into emails Franco Martelli <martellif67@gmail.com> - 2024-01-30 21:20 +0100
                        Re: How to insert symbols into emails fxkl47BF@protonmail.com - 2024-01-31 03:50 +0100
                          Re: How to insert symbols into emails David Wright <deblis@lionunicorn.co.uk> - 2024-01-31 05:40 +0100
                      Re: How to insert symbols into emails Max Nikulin <manikulin@gmail.com> - 2024-01-31 05:40 +0100
                    Re: How to insert symbols into emails Franco Martelli <martellif67@gmail.com> - 2024-01-30 20:10 +0100
                    Re: How to insert symbols into emails Franco Martelli <martellif67@gmail.com> - 2024-01-30 21:40 +0100
                      Re: How to insert symbols into emails Max Nikulin <manikulin@gmail.com> - 2024-01-31 03:40 +0100
                Re: How to insert symbols into emails Max Nikulin <manikulin@gmail.com> - 2024-01-30 04:30 +0100
                  Re: How to insert symbols into emails Greg Wooledge <greg@wooledge.org> - 2024-01-30 20:20 +0100
              Re: How to insert symbols into emails (was: Re: Monospace fonts, Re:  Changing The PSI Definition) Bret Busby <bret@busby.net> - 2024-01-29 17:00 +0100
            Re: How to insert symbols into emails (was: Re: Monospace fonts, Re:  Changing The PSI Definition) Michael Grant <mgrant@grant.org> - 2024-01-29 16:00 +0100
            Re: How to insert symbols into emails davenull@tuxfamily.org - 2024-01-29 16:40 +0100
        Re: Changing The PSI Definition Karl Vogel <vogelke@pobox.com> - 2024-01-27 11:30 +0100
        Re: Changing The PSI Definition hw <hw@adminart.net> - 2024-01-29 18:20 +0100

Page 1 of 2  [1] 2  Next page →


#266593 — Changing The PSI Definition

FromThomas George <debianlist@mailfence.com>
Date2024-01-26 01:40 +0100
SubjectChanging The PSI Definition
Message-ID<I0iqd-5Ao9-3@gated-at.bofh.it>
The current PSI works perfectly but I don't like the pale green prompt.

Tried editing .bashrd , /ext/fprofile and /ext/bash.bashrc but no 
changes to the PSI definition had any effect

Searched for PSI and found

/usr/src/linux-headers-6.1.0-16-amd64/include/config/PSI
/usr/src/linux-headers-6.1.0-17-amd64/include/config/PSI

Is the definition of PSI baked in?

If so, I can live with it the way it is.

Tom George

[toc] | [next] | [standalone]


#266594

FromGreg Wooledge <greg@wooledge.org>
Date2024-01-26 02:00 +0100
Message-ID<I0iJA-5Auw-5@gated-at.bofh.it>
In reply to#266593
On Thu, Jan 25, 2024 at 07:32:38PM -0500, Thomas George wrote:
> The current PSI works perfectly but I don't like the pale green prompt.
> 
> Tried editing .bashrd , /ext/fprofile and /ext/bash.bashrc but no changes to
> the PSI definition had any effect

You appear to be asking about the shell prompt.

In bash, the shell prompt is defined in the PS1 variable, which stands
for "Prompt String One (1)".  The last character is the numeral 1, not
the capital letter I.

[toc] | [prev] | [next] | [standalone]


#266614

FromDan Ritter <dsr@randomstring.org>
Date2024-01-26 13:50 +0100
Message-ID<I0tOF-5HqY-5@gated-at.bofh.it>
In reply to#266594
Greg Wooledge wrote: 
> On Thu, Jan 25, 2024 at 07:32:38PM -0500, Thomas George wrote:
> > The current PSI works perfectly but I don't like the pale green prompt.
> > 
> > Tried editing .bashrd , /ext/fprofile and /ext/bash.bashrc but no changes to
> > the PSI definition had any effect
> 
> You appear to be asking about the shell prompt.
> 
> In bash, the shell prompt is defined in the PS1 variable, which stands
> for "Prompt String One (1)".  The last character is the numeral 1, not
> the capital letter I.

Might be time for a new font. I like Inconsolata, but l1I!
should never look similar, nor O0@ or S$. 


In the kernel, PSI is pressure stall information, a way of
looking at performance under load.


-dsr-

[toc] | [prev] | [next] | [standalone]


#266616

FromGreg Wooledge <greg@wooledge.org>
Date2024-01-26 14:20 +0100
Message-ID<I0uhH-5HQj-3@gated-at.bofh.it>
In reply to#266614
On Fri, Jan 26, 2024 at 07:25:13AM -0500, Dan Ritter wrote:
> Might be time for a new font. I like Inconsolata, but l1I!
> should never look similar, nor O0@ or S$. 

Indeed.  Also, ({[ and )}] are character groups that must be visibly
different, or else any terminal or programming work you do is going to
be a massive pain.

[toc] | [prev] | [next] | [standalone]


#266651 — Monospace fonts, Re: Changing The PSI Definition

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2024-01-26 21:00 +0100
SubjectMonospace fonts, Re: Changing The PSI Definition
Message-ID<I0AwO-5LqC-11@gated-at.bofh.it>
In reply to#266614
On Fri 26 Jan 2024 at 07:25:13 (-0500), Dan Ritter wrote:
> Greg Wooledge wrote: 
> > On Thu, Jan 25, 2024 at 07:32:38PM -0500, Thomas George wrote:
> > > The current PSI works perfectly but I don't like the pale green prompt.
> > > 
> > > Tried editing .bashrd , /ext/fprofile and /ext/bash.bashrc but no changes to
> > > the PSI definition had any effect
> > 
> > You appear to be asking about the shell prompt.
> > 
> > In bash, the shell prompt is defined in the PS1 variable, which stands
> > for "Prompt String One (1)".  The last character is the numeral 1, not
> > the capital letter I.
> 
> Might be time for a new font. I like Inconsolata, but l1I!
> should never look similar, nor O0@ or S$. 

I'll give a shout-out for Hack,¹ which I can't fault for use in
xterms. Comparing    xterm -geometry 80x25+0+0 -fa hack -fs 16
with   xterm -geometry 80x25+0+0 -fa inconsolata -fs 18
(to make the sizes roughly the same), I find the inconsolata
stroke width on the basic Roman alphabet is a little spindly.

Other criticisms are that the stroke widths (and even the size)
later in the table (eg 0x256–1312) are thicker or larger, and
many single-width characters are slightly oversize and get
truncated at the top & right (eg Ŵ at 0x372, Lj 456). Mixing
fractions is ugly, too: ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞. The ‘’ quotes
are pretty, though.

Of course, these criticisms only apply to the implementation from
fonts-inconsolata, rendered on xterms, as compared with fonts-hack.
I don't know whether they arise because the font is a work in
progress, and the implementation hasn't yet caught up: eg, the
capitals with diacriticals look fine in the sample off the web at:
  https://levien.com/type/myfonts/textest.pdf

¹ I first saw Hack mentioned by Gene in May 2016, thanks.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#266665 — Re: Monospace fonts, Re: Changing The PSI Definition

FromMichael Stone <mstone@debian.org>
Date2024-01-27 17:20 +0100
SubjectRe: Monospace fonts, Re: Changing The PSI Definition
Message-ID<I0Tzr-5XDC-1@gated-at.bofh.it>
In reply to#266651
On Fri, Jan 26, 2024 at 01:50:38PM -0600, David Wright wrote:
>On Fri 26 Jan 2024 at 07:25:13 (-0500), Dan Ritter wrote:
>> Greg Wooledge wrote:
>> > On Thu, Jan 25, 2024 at 07:32:38PM -0500, Thomas George wrote:
>> > > The current PSI works perfectly but I don't like the pale green prompt.
>> > >
>> > > Tried editing .bashrd , /ext/fprofile and /ext/bash.bashrc but no changes to
>> > > the PSI definition had any effect
>> >
>> > You appear to be asking about the shell prompt.
>> >
>> > In bash, the shell prompt is defined in the PS1 variable, which stands
>> > for "Prompt String One (1)".  The last character is the numeral 1, not
>> > the capital letter I.
>>
>> Might be time for a new font. I like Inconsolata, but l1I!
>> should never look similar, nor O0@ or S$.
>
>I'll give a shout-out for Hack,¹ which I can't fault for use in
>xterms. Comparing    xterm -geometry 80x25+0+0 -fa hack -fs 16
>with   xterm -geometry 80x25+0+0 -fa inconsolata -fs 18
>(to make the sizes roughly the same), I find the inconsolata
>stroke width on the basic Roman alphabet is a little spindly.

I've been pretty happy with the Intel One Mono font lately, it seems to 
incorporate the lessons learned from previous attempts at a highly 
readable mono font and I find it extremely legible. There are complaints 
about certain features being "ugly", but I'm well into a stage of life 
where I care more about being able to easily read the text without 
eyestrain than what it looks like on a sample sheet.

[toc] | [prev] | [next] | [standalone]


#266714 — How to insert symbols into emails (was: Re: Monospace fonts, Re: Changing The PSI Definition)

FromFranco Martelli <martellif67@gmail.com>
Date2024-01-29 15:40 +0100
SubjectHow to insert symbols into emails (was: Re: Monospace fonts, Re: Changing The PSI Definition)
Message-ID<I1AXL-6nJp-3@gated-at.bofh.it>
In reply to#266651
On 26/01/24 at 20:50, David Wright wrote:
> I'll give a shout-out for Hack,¹ which I can't fault for use in
> xterms. Comparing    xterm -geometry 80x25+0+0 -fa hack -fs 16
> with   xterm -geometry 80x25+0+0 -fa inconsolata -fs 18
> (to make the sizes roughly the same), I find the inconsolata
> stroke width on the basic Roman alphabet is a little spindly.
> 
> Other criticisms are that the stroke widths (and even the size)
> later in the table (eg 0x256–1312) are thicker or larger, and
> many single-width characters are slightly oversize and get
> truncated at the top & right (eg Ŵ at 0x372, Lj 456). Mixing
> fractions is ugly, too: ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞. The ‘’ quotes
> are pretty, though.

Those symbols are very nice, which tool have you used to insert them? 
I'm using Thunderbird for my emails but I've to enable "Compose message 
in HTML" to have a small subset of symbols, for me isn't enough. I'm 
using KDE desktop.

Thanks in advance, best regards.

-- 
Franco Martelli

[toc] | [prev] | [next] | [standalone]


#266715 — Re: How to insert symbols into emails (was: Re: Monospace fonts, Re: Changing The PSI Definition)

From<tomas@tuxteam.de>
Date2024-01-29 16:00 +0100
SubjectRe: How to insert symbols into emails (was: Re: Monospace fonts, Re: Changing The PSI Definition)
Message-ID<I1Bh7-6nPN-5@gated-at.bofh.it>
In reply to#266714

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jan 29, 2024 at 03:29:57PM +0100, Franco Martelli wrote:
> On 26/01/24 at 20:50, David Wright wrote:
> > I'll give a shout-out for Hack,¹ which I can't fault for use in
> > xterms. Comparing    xterm -geometry 80x25+0+0 -fa hack -fs 16
> > with   xterm -geometry 80x25+0+0 -fa inconsolata -fs 18
> > (to make the sizes roughly the same), I find the inconsolata
> > stroke width on the basic Roman alphabet is a little spindly.
> > 
> > Other criticisms are that the stroke widths (and even the size)
> > later in the table (eg 0x256–1312) are thicker or larger, and
> > many single-width characters are slightly oversize and get
> > truncated at the top & right (eg Ŵ at 0x372, Lj 456). Mixing
> > fractions is ugly, too: ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞. The ‘’ quotes
> > are pretty, though.
> 
> Those symbols are very nice, which tool have you used to insert them? I'm
> using Thunderbird for my emails but I've to enable "Compose message in HTML"
> to have a small subset of symbols, for me isn't enough. I'm using KDE
> desktop.

Easy. I configured my CAPSLOCK key (which is useless IMO) to be
my X compose key. So entering COMPOSE-4-5 does ⅘, and COMPOSE-<-3
does ♥. You can even define your own compose seqs, like I did with
♀ (COMPOSE-o-+) and others.

The nice part is that it works for /all/ X11 applications, even
in a plain old xterm (I'm writing this mail in vim in an xterm).

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#266722 — Re: How to insert symbols into emails (was: Re: Monospace fonts, Re: Changing The PSI Definition)

FromGreg Wooledge <greg@wooledge.org>
Date2024-01-29 16:40 +0100
SubjectRe: How to insert symbols into emails (was: Re: Monospace fonts, Re: Changing The PSI Definition)
Message-ID<I1BTP-6ohd-7@gated-at.bofh.it>
In reply to#266715
On Mon, Jan 29, 2024 at 03:54:44PM +0100, tomas@tuxteam.de wrote:
> On Mon, Jan 29, 2024 at 03:29:57PM +0100, Franco Martelli wrote:
> > Those symbols are very nice, which tool have you used to insert them?
> 
> Easy. I configured my CAPSLOCK key (which is useless IMO) to be
> my X compose key. So entering COMPOSE-4-5 does ⅘, and COMPOSE-<-3
> does ♥. You can even define your own compose seqs, like I did with
> ♀ (COMPOSE-o-+) and others.

This is documented at <https://wiki.debian.org/XCompose> by the way.

[toc] | [prev] | [next] | [standalone]


#266746 — Re: How to insert symbols into emails

FromFranco Martelli <martellif67@gmail.com>
Date2024-01-29 22:10 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I1H3c-6rvI-15@gated-at.bofh.it>
In reply to#266722
On 29/01/24 at 16:32, Greg Wooledge wrote:
> On Mon, Jan 29, 2024 at 03:54:44PM +0100, tomas@tuxteam.de wrote:
>> On Mon, Jan 29, 2024 at 03:29:57PM +0100, Franco Martelli wrote:
>>> Those symbols are very nice, which tool have you used to insert them?
>>
>> Easy. I configured my CAPSLOCK key (which is useless IMO) to be
>> my X compose key. So entering COMPOSE-4-5 does ⅘, and COMPOSE-<-3
>> does ♥. You can even define your own compose seqs, like I did with
>> ♀ (COMPOSE-o-+) and others.
> 
> This is documented at <https://wiki.debian.org/XCompose> by the way.
> 

Thanks Greg, that was what I'm looking for. I chose the right Alt key as 
"compose" key, in KDE it was very simple it's a checkbox to enable in 
systemsettings, as explained in the link that you provided.
I read that for custom sequence I've to create a ~/.XCompose file, but 
where can I find the character to map i.e. Greek letters: "α" "β" "γ" ?

In "/usr/share/X11/locale/en_US.UTF-8/Compose" file the ALPHA char is 
defined as:

<dead_greek> <a>                        : "α"   U03B1 # GREEK SMALL 
LETTER ALPHA

What stands for <dead_greek> ? Could I have an example of custom 
~/.XCompose file for this letter, please?

Thanks in advance, best regards.
-- 
Franco Martelli

[toc] | [prev] | [next] | [standalone]


#266747 — Re: How to insert symbols into emails

FromGreg Wooledge <greg@wooledge.org>
Date2024-01-29 22:20 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I1HcS-6rza-29@gated-at.bofh.it>
In reply to#266746
On Mon, Jan 29, 2024 at 10:02:20PM +0100, Franco Martelli wrote:
> I read that for custom sequence I've to create a ~/.XCompose file, but where
> can I find the character to map i.e. Greek letters: "α" "β" "γ" ?

It's a bit of a chicken-and-egg problem, admittedly.  What I did was find
a web page that had these characters on it, and then copy/pasted them.

> In "/usr/share/X11/locale/en_US.UTF-8/Compose" file the ALPHA char is
> defined as:
> 
> <dead_greek> <a>                        : "α"   U03B1 # GREEK SMALL LETTER
> ALPHA
> 
> What stands for <dead_greek> ?

That's a new one to me.  Presumably there must exist some keyboard,
somewhere, which has such a key.

If that's the route you want to take, and if you don't have this key,
then you'll use xmodmap to remap something to become dead_greek.  One of
the Alt or Super keys, for example.

<https://askubuntu.com/questions/787113/compose-dead-greek-with-compose-key>
seems to have some partial answers you can use as a starting point.

I simply went with this instead:

<Multi_key> <g> <a> : "α"
<Multi_key> <g> <b> : "β"
<Multi_key> <g> <g> : "γ"
<Multi_key> <g> <d> : "δ"

and so on.

[toc] | [prev] | [next] | [standalone]


#266748 — Re: How to insert symbols into emails

FromCharles Curley <charlescurley@charlescurley.com>
Date2024-01-29 23:40 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I1Isi-6shH-13@gated-at.bofh.it>
In reply to#266746
On Mon, 29 Jan 2024 22:02:20 +0100
Franco Martelli <martellif67@gmail.com> wrote:

> I read that for custom sequence I've to create a ~/.XCompose file,
> but where can I find the character to map i.e. Greek letters: "α" "β"
> "γ" ?

Try the gucharmap package. You look a character up by name, and copy it
into place. E.g. crocodile, 🐊.


> 
> In "/usr/share/X11/locale/en_US.UTF-8/Compose" file the ALPHA char is 
> defined as:
> 
> <dead_greek> <a>                        : "α"   U03B1 # GREEK SMALL 
> LETTER ALPHA
> 
> What stands for <dead_greek> ? 

Look at the Wikipedia entry for dead key.

> Could I have an example of custom 
> ~/.XCompose file for this letter, please?

https://wiki.debian.org/XCompose

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

[toc] | [prev] | [next] | [standalone]


#266750 — Re: How to insert symbols into emails

Fromfxkl47BF@protonmail.com
Date2024-01-30 01:20 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I1K13-6tlY-13@gated-at.bofh.it>
In reply to#266748
so i defined my compose key
in "/usr/share/X11/locale/en_US.UTF-8/Compose" file i see a definition
<Multi_key> <U22a5> <U22a4>
how do i type this

[toc] | [prev] | [next] | [standalone]


#266772 — Re: How to insert symbols into emails

FromFranco Martelli <martellif67@gmail.com>
Date2024-01-30 21:20 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I22Kl-6FzM-3@gated-at.bofh.it>
In reply to#266750
On 30/01/24 at 01:14, fxkl47BF@protonmail.com wrote:
> so i defined my compose key
> in "/usr/share/X11/locale/en_US.UTF-8/Compose" file i see a definition
> <Multi_key> <U22a5> <U22a4>
> how do i type this
> 

I dunno if it's possible to type it using the COMPOSE key, however as 
workaround you can install "gucharmap" if your desktop is GTK based or 
"kcharselect" if your desktop is KDE, then search the character by name 
(I-BEAM) then copy into the clipboard, finally create your own custom 
~/.XCompose and define your key sequence to associate i.e. <Multi_key> 
<i> <b> : "⌶" as explained in the Debian wiki:

https://wiki.debian.org/XCompose

Cheers,
-- 
Franco Martelli

[toc] | [prev] | [next] | [standalone]


#266788 — Re: How to insert symbols into emails

Fromfxkl47BF@protonmail.com
Date2024-01-31 03:50 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I28PL-6J6E-5@gated-at.bofh.it>
In reply to#266772
On Tue, 30 Jan 2024, Franco Martelli wrote:

> On 30/01/24 at 01:14, fxkl47BF@protonmail.com wrote:
>> so i defined my compose key
>> in "/usr/share/X11/locale/en_US.UTF-8/Compose" file i see a definition
>> <Multi_key> <U22a5> <U22a4>
>> how do i type this
>>
>
> I dunno if it's possible to type it using the COMPOSE key, however as
> workaround you can install "gucharmap" if your desktop is GTK based or
> "kcharselect" if your desktop is KDE, then search the character by name
> (I-BEAM) then copy into the clipboard, finally create your own custom
> ~/.XCompose and define your key sequence to associate i.e. <Multi_key>
> <i> <b> : "⌶" as explained in the Debian wiki:
>
> https://wiki.debian.org/XCompose

thanks
that helps
in "/usr/share/X11/locale/en_US.UTF-8/Compose" file i see a definition
<Multi_key> <U22a5> <U22a4> : "⌶"U2336 # ⊥ ⊤ APL FUNCTIONAL SYMBOL I-BEAM
i can directly enter the symbol above using the U2336 value without a compose key
ctrl + shift + u and type 2336 and enter

[toc] | [prev] | [next] | [standalone]


#266791 — Re: How to insert symbols into emails

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2024-01-31 05:40 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I2ayd-6Kh0-1@gated-at.bofh.it>
In reply to#266788
On Wed 31 Jan 2024 at 02:46:22 (+0000), fxkl47BF@protonmail.com wrote:
> On Tue, 30 Jan 2024, Franco Martelli wrote:
> > On 30/01/24 at 01:14, fxkl47BF@protonmail.com wrote:
> >> so i defined my compose key
> >> in "/usr/share/X11/locale/en_US.UTF-8/Compose" file i see a definition
> >> <Multi_key> <U22a5> <U22a4>
> >> how do i type this
> >
> > I dunno if it's possible to type it using the COMPOSE key, however as
> > workaround you can install "gucharmap" if your desktop is GTK based or
> > "kcharselect" if your desktop is KDE, then search the character by name
> > (I-BEAM) then copy into the clipboard, finally create your own custom
> > ~/.XCompose and define your key sequence to associate i.e. <Multi_key>
> > <i> <b> : "⌶" as explained in the Debian wiki:
> >
> > https://wiki.debian.org/XCompose
> 
> thanks
> that helps
> in "/usr/share/X11/locale/en_US.UTF-8/Compose" file i see a definition
> <Multi_key> <U22a5> <U22a4> : "⌶"U2336 # ⊥ ⊤ APL FUNCTIONAL SYMBOL I-BEAM
> i can directly enter the symbol above using the U2336 value without a compose key
> ctrl + shift + u and type 2336 and enter

I wasn't sure from you previous post why you wanted to type this
character. Is it something you often use, or was it just a random
example of an Compose definition involving codepoints rather than
more familiar letters and symbols?

I would assume that someone who was going to use a Compose sequence
to type the I-beam would already have their keyboard set up to make
APL symbols available with a shift level. AIUI they would likely
use the layout similar to the IBM 2741. On that keyboard, you could
therefore type Compose and shifted B and N; see:

  https://en.wikipedia.org/wiki/File:APL-keybd2.svg

For typing raw codepoints, your method will work in graphical
applications like FireFox and, presumably, Desktop environments
generally. In emacs, where I compose my emails, the sequence
is a little different:
  Esc x i n s Tab c Tab Return 2 3 3 6 Return
which stands for Meta-X insert-char (using Tab completion) followed
by the codepoint. Or one can type:
  Ctrl-X 8 Return 2 3 3 6 Return
or even:
  Ctrl-X 8 Return A P L Tab I - Tab
which uses Tab completion to type APL FUNCTIONAL SYMBOL I-BEAM,
the Sunday name of the symbol.

People who use vi may have different keystorkes. Horses for courses.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#266790 — Re: How to insert symbols into emails

FromMax Nikulin <manikulin@gmail.com>
Date2024-01-31 05:40 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I2aye-6Kh0-3@gated-at.bofh.it>
In reply to#266750
On 30/01/2024 07:14, fxkl47BF@protonmail.com wrote:
> so i defined my compose key
> in "/usr/share/X11/locale/en_US.UTF-8/Compose" file i see a definition
> <Multi_key> <U22a5> <U22a4>
> how do i type this

The 22a5 key presents in some apl and de layouts

     grep -ri 22a5 /usr/share/X11/xkb/

You can either add another layout or to define custom compose sequence.

[toc] | [prev] | [next] | [standalone]


#266769 — Re: How to insert symbols into emails

FromFranco Martelli <martellif67@gmail.com>
Date2024-01-30 20:10 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I21EB-6EXZ-7@gated-at.bofh.it>
In reply to#266748
On 29/01/24 at 23:31, Charles Curley wrote:
> On Mon, 29 Jan 2024 22:02:20 +0100
> Franco Martelli <martellif67@gmail.com> wrote:
> 
>> I read that for custom sequence I've to create a ~/.XCompose file,
>> but where can I find the character to map i.e. Greek letters: "α" "β"
>> "γ" ?
> 
> Try the gucharmap package. You look a character up by name, and copy it
> into place. E.g. crocodile, 🐊.

Thanks, as I'm on KDE desktop I've installed "kcharselect" it does the 
same thing. It was a bit hard to find it, first I've looked for "Similar 
packages" section in the "gucharmap" web page ¹  but I didn't find 
nothing related to QT applications then I performed an "apt search kde 
char" and I found it.

There is a thing that it hurts me a little, if you look at the section 
"Similar package" in the "kcharselect" web page ²  you'll find 
"gucharmap" but this is *not* true vice-versa.

Which guys takes care of section "Similar packages" into packages web 
pages? I think "kcharselect" must be added to "Similar packages" section 
of "gucharmap"!

Cheers,

¹ https://packages.debian.org/bookworm/gucharmap
² https://packages.debian.org/bookworm/kcharselect
-- 
Franco Martelli

[toc] | [prev] | [next] | [standalone]


#266776 — Re: How to insert symbols into emails

FromFranco Martelli <martellif67@gmail.com>
Date2024-01-30 21:40 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I233H-6FGk-11@gated-at.bofh.it>
In reply to#266748
On 29/01/24 at 23:31, Charles Curley wrote:
> On Mon, 29 Jan 2024 22:02:20 +0100
> Franco Martelli <martellif67@gmail.com> wrote:
> 
>> I read that for custom sequence I've to create a ~/.XCompose file,
>> but where can I find the character to map i.e. Greek letters: "α" "β"
>> "γ" ?
> 
> Try the gucharmap package. You look a character up by name, and copy it
> into place. E.g. crocodile, 🐊.

It happens something strange, when I type "crocodile" into the search 
bar of "kcharselect" I get an empty square visualized, if I click to 
"Copy to clipboard" button and then paste to Thunderbird I can see the 
crocodile but not in "kcharselect" … does it depend on installed fonts? 
Any hints?

Thanks again, kind regards.

-- 
Franco Martelli

[toc] | [prev] | [next] | [standalone]


#266786 — Re: How to insert symbols into emails

FromMax Nikulin <manikulin@gmail.com>
Date2024-01-31 03:40 +0100
SubjectRe: How to insert symbols into emails
Message-ID<I28G6-6J3d-9@gated-at.bofh.it>
In reply to#266776
On 31/01/2024 03:36, Franco Martelli wrote:
> 
> It happens something strange, when I type "crocodile" into the search 
> bar of "kcharselect" I get an empty square visualized, if I click to 
> "Copy to clipboard" button and then paste to Thunderbird I can see the 
> crocodile but not in "kcharselect" … does it depend on installed fonts? 
> Any hints?

Certainly applications should have fallbacks to emoji fonts (depends on 
font rendering libraries) and you need to have fonts installed. Mozilla 
brings its own font. Do you have e.g. fonts-noto-color-emoji (dependency 
of fonts-recommended)?

Concerning the issue with Compose keys, it is a rather low level 
feature, so it should work for applications with proper support of 
Unicode. I have no issue with xterm. Diagnostics:

     setxkbmap -print

and "xev"

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | linux.debian.user


csiph-web