9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] 'euro symbol' special in acme interface?
Date: Fri, 29 Mar 2002 00:23:49 -0500	[thread overview]
Message-ID: <b8e73e9e1626267c87a7a09413f994e7@plan9.bell-labs.com> (raw)

> Today I tried to update the coffeelist script I mentioned sometime
> before, such that the 'field name' 'payable' is replaced by the euro
> sign (made using 'compose' e$ ).
> However, when I read that substring from acme, so, when reading from the
> data file after making the selection with a regexp, I seem to get
> the empty string. Making the selection seems to work OK;
> using mouse button 3 on the string I use to make the selection
> (prefixed with a :) works ok.
> Anything obvious that I may have missed?

Wow.  That's quite the shell script.

Try replacing read with sed 1q in your shell
definitions.  You're in uncharted territory.
Read and acme don't get along very well
about reading multibyte UTF sequences.
Acme currently assumes that it doesn't have to deal
with programs that read from data 1 byte at a time,
like read does.

Russ


             reply	other threads:[~2002-03-29  5:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-29  5:23 Russ Cox [this message]
2002-03-29 13:07 ` Axel Belinfante
2002-04-03 13:01 ` [9fans] finding acme window id from shell script? Axel Belinfante
  -- strict thread matches above, loose matches on Subject: below --
2002-03-28 18:27 [9fans] 'euro symbol' special in acme interface? Axel Belinfante

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b8e73e9e1626267c87a7a09413f994e7@plan9.bell-labs.com \
    --to=rsc@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).