help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] ANSI Escape Codes


From: Ryland Taylor-Almanza
Subject: Re: [Help-smalltalk] ANSI Escape Codes
Date: Tue, 8 Jul 2014 10:58:01 -0700

Looks like I'm running 3.2.5, which came from my system's repos. Is it
recommended that I use the 3.3 alpha?

On Tue, Jul 8, 2014 at 10:26 AM, Paolo Bonzini <address@hidden> wrote:
> Il 08/07/2014 18:29, Ryland Taylor-Almanza ha scritto:
>
>> This seems to be giving me the following error.
>>
>> stdin:1: parse error, expected '>'
>
>
> You're probably using an older version of GNU Smalltalk.  What version are
> you running on ("Smalltalk version" will tell you).
>
> Paolo
>
>
>> My apologies if I'm missing something. I'm a bit new to smalltalk
>>
>> On Tue, Jul 8, 2014 at 1:13 AM, Paolo Bonzini <address@hidden> wrote:
>>>
>>> Il 08/07/2014 02:50, Ryland Taylor-Almanza ha scritto:
>>>
>>>> I'm trying to make a console-based program that makes use of ANSI
>>>> escape codes. I can't seem to figure out how to go about printing a
>>>> string object formatted with ANSI escape codes. I've tried the
>>>> following.
>>>>
>>>> '\x1b[31mHi' displayNl
>>>
>>>
>>>
>>> You can use formatted strings to put the Escape character in place:
>>>
>>> ('%1[31mHi' % #($<16r1b>)) displayNl.
>>>
>>> Paolo
>>>
>>> _______________________________________________
>>> help-smalltalk mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/help-smalltalk
>>
>>
>> _______________________________________________
>> help-smalltalk mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/help-smalltalk
>>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]