9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] col.c: one line fix for variable-width font
Date: Fri,  6 Mar 2015 08:33:27 -0800	[thread overview]
Message-ID: <ff9c9dc6cc584b5a63152ef2b89c4900@lilly.quanstro.net> (raw)
In-Reply-To: <CAHL7psGPdMXwiWa7-PaCY02hjwb+71FMz3YYehO8T0N1mOaMOA@mail.gmail.com>

On Fri Mar  6 04:57:18 PST 2015, giacomo@tesio.it wrote:

> if ((++ncp & 7) == 0 && !xflag) {
>
> with
>
> if ((++ncp & 7) == 0 && !xflag && *(p-2) == ' ') {

that solves it.  you have a problem with $tabstop.  if you've cpu'd
or ssh'd somewhere, make sure the $tabstop is set properly, and that
the font you are using is available on the remote host, and $font
is pointing to it.

- erik



  reply	other threads:[~2015-03-06 16:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 12:56 Giacomo Tesio
2015-03-06 16:33 ` erik quanstrom [this message]
2015-03-06 17:22   ` Giacomo Tesio
2015-03-06 17:27     ` Giacomo Tesio

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=ff9c9dc6cc584b5a63152ef2b89c4900@lilly.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).