[gccsdk] ^H^H^H

David Gee david_m_gee at blueyonder.co.uk
Fri Nov 6 06:28:15 PST 2015


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 at gccsdk.riscos.info wrote:
> 
> Send gcc mailing list submissions to
>   gcc at 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 at gccsdk.riscos.info
> 
> You can reach the person managing the list at
>   gcc-owner at 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 at gmail.com>
> To: gcc at gccsdk.riscos.info
> Subject: Re: [gccsdk] ^H^H^H
> Message-ID: <ad1ee70a55.beeb at -.->
> Content-Type: text/plain; charset=us-ascii
> 
> In message <6e71c20a55.gavin at wra1th.plus.com>
>         Gavin Wraith <gavin at 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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riscos.info/pipermail/gcc/attachments/20151106/14f42e09/attachment.html>


More information about the gcc mailing list