Friday, 6 November 2015

Re: [gccsdk] ^H^H^H

In my view this is a bug in GCC SDK. It makes GCC all but useless for porting command line programs—it shouldn't be necessary to change the mode file just for this: Norcroft (unsurprisingly) works correctly—as does GCC on other platforms.

This has been a "feature" for a long time—it's in GCC 4.1.2 too—and affects all task window managers that I've tried on RO 4.39 and 5.21. Isn't it time it was fixed?

--
David Gee
Gateshead

On 30 Sep 2015, at 20:00, gcc-request@gccsdk.riscos.info wrote:

Send gcc mailing list submissions to
  gcc@gccsdk.riscos.info

To subscribe or unsubscribe via the World Wide Web, visit
  http://www.riscos.info/mailman/listinfo/gcc
or, via email, send a message with subject or body 'help' to
  gcc-request@gccsdk.riscos.info

You can reach the person managing the list at
  gcc-owner@gccsdk.riscos.info

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gcc digest..."


Today's Topics:

 1. Re: ^H^H^H (Ron)


----------------------------------------------------------------------

Message: 1
Date: Wed, 30 Sep 2015 09:36:29 +1200
From: Ron <gettingchoppy@gmail.com>
To: gcc@gccsdk.riscos.info
Subject: Re: [gccsdk] ^H^H^H
Message-ID: <ad1ee70a55.beeb@-.->
Content-Type: text/plain; charset=us-ascii

In message <6e71c20a55.gavin@wra1th.plus.com>
        Gavin Wraith <gavin@wra1th.plus.com> wrote:

Running a C program in a Taskwindow. It reads from stdio and
outputs it. The backspace key, instead of backspacing,
produces ^H. I am assuming that this is because the program
is using gets and puts from the stdio library. Is that
right? Are there alternative functions that interpret control
sequences gracefully rather than display control characters with a
^-prefix?
I'll leave the alternative functions to someone who knows them,

[snipped rest]

No comments:

Post a Comment