9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "andrey mirtchovski" <mirtchovski@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Mac OS X Drawterm Oddity
Date: Fri, 28 Dec 2007 14:20:09 -0700	[thread overview]
Message-ID: <14ec7b180712281320n46e706a8p1e6d0ceb43f8db96@mail.gmail.com> (raw)
In-Reply-To: <e28eb076cf4cd32372c6257cfcf32cf5@comcast.net>

here's the offending code in clipread (gui-osx/screen.c):

                while (*s) {
                    if (*s == '\r') *s = '\n';
                    s++;
                }

i don't know the reason this is in there, but if you remove this and
recompile you can test whether anything breaks for us :)

On Dec 28, 2007 12:45 PM, Gregory Pavelcak <g.pavelcak@comcast.net> wrote:
> Let's try again, although you may have guessed.
>
> On my native Mac OS X drawterm, when I snarf a <CR>, subsequent pastes
> seem to insert a newline.
>
> On osx-x11 drawterm, <CR> gets pasted.
>
>


  reply	other threads:[~2007-12-28 21:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-28 19:29 Gregory Pavelcak
2007-12-28 19:45 ` Gregory Pavelcak
2007-12-28 21:20   ` andrey mirtchovski [this message]
2007-12-28 21:45     ` Gregory Pavelcak
2007-12-31 12:30   ` Russ Cox
2007-12-31 17:53     ` Gregory Pavelcak
2007-12-31 17:57       ` Pietro Gagliardi
2007-12-31 18:09         ` Gregory Pavelcak
2007-12-31 19:08     ` Gary Wright

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=14ec7b180712281320n46e706a8p1e6d0ceb43f8db96@mail.gmail.com \
    --to=mirtchovski@gmail.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).