All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: openembedded-devel@lists.openembedded.org
Cc: Holger Hans Peter Freyther <holger@freyther.de>
Subject: Re: xterm: either fix it, or remove it. please.
Date: Fri, 13 Nov 2009 03:55:02 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0911130349390.31541@localhost> (raw)
In-Reply-To: <200911121411.53422.holger+oe@freyther.de>

On Fri, 13 Nov 2009, Holger Hans Peter Freyther wrote:

> On Thursday 12 November 2009 13:58:23 Robert P. J. Day wrote:
>
> >   i'm checking right now if there's an option to "ls" to turn
> > *off* that feature, but i don't see one offhand.  perhaps a better
> > lesson is that the way xterm's sinstall.sh script works is really
> > hacky, using sed to allegedly reproduce a file's existing mode
> > settings.  perhaps there's a simpler way to get that effect
> > without dragging "sed" into it.  but, again, if only one package
> > was affected, maybe just hack up an xterm fix and move on, and
> > deal with things on a case-by-case basis as they come up.
>
> Hi Robert,
>
> Could you please try this patch to the sinstall.sh?
>
> http://paste.lisp.org/display/90216

  it looks like that patch was already applied, but that doesn't solve
the problem since the final numeric mode string still has that
trailing period that mucks things up.

  as a simple fix that i've used before, i just added this to
sinstall.sh, at line 131:

        PROG_MODE=`echo ".$cf_mode" | sed -e 's/^..//' -e 's/rw./7/g'
-e 's/r-./5/g' -e 's/---/0/g' -e 's/--[sxt]/1/g' -e 's/+//g'`
        $trace "final PROG_MODE = ${PROG_MODE}"  # prints "755."
        PROG_MODE=${PROG_MODE%\.}     <--  manually strip that period
        $trace "really final PROG_MODE = ${PROG_MODE}"  # prints "755"

and it works, i just tested that.  so i'm not sure what that extended
sed expression was supposed to accomplish but it did nothing to solve
this issue.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================



  parent reply	other threads:[~2009-11-13  8:57 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12  5:47 xterm: either fix it, or remove it. please Robert P. J. Day
2009-11-12  5:56 ` Holger Hans Peter Freyther
2009-11-12  6:22   ` Robert P. J. Day
2009-11-12  6:22   ` Holger Hans Peter Freyther
2009-11-12  6:36     ` Robert P. J. Day
2009-11-12  7:20       ` Holger Hans Peter Freyther
2009-11-12  7:32         ` Holger Hans Peter Freyther
2009-11-12  7:34         ` Robert P. J. Day
2009-11-12  8:33           ` Michael 'Mickey' Lauer
2009-11-12  8:28         ` Graeme Gregory
2009-11-12  8:15       ` Frans Meulenbroeks
2009-11-12 12:28         ` Robert P. J. Day
2009-11-12 12:47           ` Frans Meulenbroeks
2009-11-12 12:58             ` Robert P. J. Day
2009-11-12 13:05               ` Graeme Gregory
2009-11-12 15:37                 ` Robert P. J. Day
2009-11-12 13:11               ` Holger Hans Peter Freyther
2009-11-13  8:43                 ` Robert P. J. Day
2009-11-13  8:55                 ` Robert P. J. Day [this message]
2009-11-13  9:32                   ` Graeme Gregory
2009-11-12 13:15             ` Robert P. J. Day
2009-11-12 18:49             ` Mike Westerhof
2009-11-12 21:42               ` GNUtoo
2009-11-12 21:59                 ` Philip Balister
2009-11-12 22:17                   ` Graeme Gregory
2009-11-13  4:38                   ` Robert P. J. Day
2009-11-12 11:51 ` Philip Balister

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=alpine.LFD.2.00.0911130349390.31541@localhost \
    --to=rpjday@crashcourse.ca \
    --cc=holger@freyther.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.