9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] UTF-8 characters in acme
@ 2021-09-07 12:15 Maurizio Boriani
  2021-09-07 12:21 ` umbraticus
  0 siblings, 1 reply; 10+ messages in thread
From: Maurizio Boriani @ 2021-09-07 12:15 UTC (permalink / raw)
  To: 9fans


Hi all,
  may be a dummy question: How to write UTF-8 caracters in acme?


Thanks in advance,


-- 
Maurizio Boriani 
PGP key: 0xCC0FBF8F

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-M9ca70d5498411227cb9608b2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] UTF-8 characters in acme
  2021-09-07 12:15 [9fans] UTF-8 characters in acme Maurizio Boriani
@ 2021-09-07 12:21 ` umbraticus
  2021-09-07 14:24   ` revcomninos
  2021-09-09  9:11   ` Maurizio Boriani
  0 siblings, 2 replies; 10+ messages in thread
From: umbraticus @ 2021-09-07 12:21 UTC (permalink / raw)
  To: 9fans

> How to write UTF-8 caracters

keyboard(6)


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-Mb9d3caaf9c167393db658f43
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] UTF-8 characters in acme
  2021-09-07 12:21 ` umbraticus
@ 2021-09-07 14:24   ` revcomninos
  2021-09-08  1:44     ` Frank D. Engel, Jr.
  2021-09-09  9:11   ` Maurizio Boriani
  1 sibling, 1 reply; 10+ messages in thread
From: revcomninos @ 2021-09-07 14:24 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

I was under the impression you could only use ASCII.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-Med338a73860dc960cac21090
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 768 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] UTF-8 characters in acme
  2021-09-07 14:24   ` revcomninos
@ 2021-09-08  1:44     ` Frank D. Engel, Jr.
  0 siblings, 0 replies; 10+ messages in thread
From: Frank D. Engel, Jr. @ 2021-09-08  1:44 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1135 bytes --]

Seems rather unlikely considering that UTF-8 was originally invented for 
Plan 9?


Turns out it is the same as anywhere else in Plan 9 - tap ALT (not hold) 
then the letter x then the hex code for the rune you are trying to enter 
and a semicolon (if fewer than 6 hexadecimal nybbles).


Example:  ALT x 2 1 d 4 ;


There are shorter versions for some characters - see the man page 
keyboard (6) for details



On 9/7/21 10:24 AM, revcomninos@gmail.com wrote:
> I was under the impression you could only use ASCII.
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions 
> <https://9fans.topicbox.com/groups/9fans> + participants 
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options 
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink 
> <https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-Med338a73860dc960cac21090> 
>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-M4479c3e7548c22fab86cfc0d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1713 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] UTF-8 characters in acme
  2021-09-07 12:21 ` umbraticus
  2021-09-07 14:24   ` revcomninos
@ 2021-09-09  9:11   ` Maurizio Boriani
  2021-09-09 12:46     ` revcomninos
  1 sibling, 1 reply; 10+ messages in thread
From: Maurizio Boriani @ 2021-09-09  9:11 UTC (permalink / raw)
  To: 9fans


umbraticus@prosimetrum.com writes:

>> How to write UTF-8 caracters
>
> keyboard(6)

works very well! What pleasantly! Compose key and mnemonics are
fantastic idea!



-- 
Maurizio Boriani 
PGP key: 0xCC0FBF8F

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-M1a2b316cc5864ceee73a6979
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] UTF-8 characters in acme
  2021-09-09  9:11   ` Maurizio Boriani
@ 2021-09-09 12:46     ` revcomninos
  2021-09-09 13:09       ` Ethan Gardener
  0 siblings, 1 reply; 10+ messages in thread
From: revcomninos @ 2021-09-09 12:46 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

I came to this impression after reading:
"Sam edits uninterpreted ASCII text."
http://doc.cat-v.org/plan_9/4th_edition/papers/sam/
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-Mf25e9d16a3b91bb3c67546e2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 960 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] UTF-8 characters in acme
  2021-09-09 12:46     ` revcomninos
@ 2021-09-09 13:09       ` Ethan Gardener
  2021-09-09 14:48         ` revcomninos
  0 siblings, 1 reply; 10+ messages in thread
From: Ethan Gardener @ 2021-09-09 13:09 UTC (permalink / raw)
  To: 9fans

On Thu, Sep 9, 2021, at 1:46 PM, revcomninos@gmail.com wrote:
> I came to this impression after reading:
> "Sam edits uninterpreted ASCII text."
> http://doc.cat-v.org/plan_9/4th_edition/papers/sam/

Understandable, but you missed the last paragraph of the abstract, which reads, "This paper is reprinted from Software—Practice and Experience, Vol 17, number 11, pp. 813-845, November 1987. The paper has not been updated for the Plan 9 manuals. Although Sam has not changed much since the paper was written, the system around it certainly has. Nonetheless, the description here still stands as the best introduction to the editor." (You're not the only one to miss things like this, I do it all the time.)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-Meaf19165d007ceda21623d19
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] UTF-8 characters in acme
  2021-09-09 13:09       ` Ethan Gardener
@ 2021-09-09 14:48         ` revcomninos
  2021-09-09 15:30           ` Steve Simon
  0 siblings, 1 reply; 10+ messages in thread
From: revcomninos @ 2021-09-09 14:48 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]

Thanks for clarifying. Now why does sam not display utf-8 characters on my setup? 
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-M73d5efdb47296d7869a25279
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 809 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] UTF-8 characters in acme
  2021-09-09 14:48         ` revcomninos
@ 2021-09-09 15:30           ` Steve Simon
  2021-09-09 18:03             ` revcomninos
  0 siblings, 1 reply; 10+ messages in thread
From: Steve Simon @ 2021-09-09 15:30 UTC (permalink / raw)
  To: 9fans


pretty much the only major change to sam since 87 was (i believe)  the migration from ASCII (on Unix v10 and p9 Ed1) to utf-8.

if you are not seeing unicode characters it is most probably because you don’t have a font with the appropriate glyphs.
 
-Steve



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-Md18979d7b72cafad9f3775d1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] UTF-8 characters in acme
  2021-09-09 15:30           ` Steve Simon
@ 2021-09-09 18:03             ` revcomninos
  0 siblings, 0 replies; 10+ messages in thread
From: revcomninos @ 2021-09-09 18:03 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

Thanks so much!
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0d54d4b593281935-M872a6411e5772d69166bf414
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 731 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-09-09 18:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 12:15 [9fans] UTF-8 characters in acme Maurizio Boriani
2021-09-07 12:21 ` umbraticus
2021-09-07 14:24   ` revcomninos
2021-09-08  1:44     ` Frank D. Engel, Jr.
2021-09-09  9:11   ` Maurizio Boriani
2021-09-09 12:46     ` revcomninos
2021-09-09 13:09       ` Ethan Gardener
2021-09-09 14:48         ` revcomninos
2021-09-09 15:30           ` Steve Simon
2021-09-09 18:03             ` revcomninos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).