Is there a way to stop the shell from doing special formatting?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Is there a way to stop the shell from doing special formatting?

Matthew Evans-2
For example:

5> <<224,57,215,169,183,6>>.
<<224,57,215,169,183,6>>

6> <<224,57,215,169,183,7>>.
<<224,57,215,169,183,7>>

7> <<224,57,215,169,183,8>>.
<<"à9ש·\b">>








_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Is there a way to stop the shell from doing special formatting?

Steve Vinoski-2


On Wed, Jun 5, 2019 at 2:24 PM Matthew Evans <[hidden email]> wrote:
For example:

5> <<224,57,215,169,183,6>>.
<<224,57,215,169,183,6>>

6> <<224,57,215,169,183,7>>.
<<224,57,215,169,183,7>>

7> <<224,57,215,169,183,8>>.
<<"à9ש·\b">>

Try turning off shell strings:

1> <<224,57,215,169,183,8>>.
<<"\3409\327\251\267\b">>
2> shell:strings(false).
true
3> <<224,57,215,169,183,8>>.
<<224,57,215,169,183,8>>


--steve 







_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Is there a way to stop the shell from doing special formatting?

Matthew Evans-2
Thanks Steve 🙂

From: Steve Vinoski <[hidden email]>
Sent: Wednesday, June 5, 2019 2:52 PM
To: Matthew Evans
Cc: Erlang Questions discussions
Subject: Re: [erlang-questions] Is there a way to stop the shell from doing special formatting?
 


On Wed, Jun 5, 2019 at 2:24 PM Matthew Evans <[hidden email]> wrote:
For example:

5> <<224,57,215,169,183,6>>.
<<224,57,215,169,183,6>>

6> <<224,57,215,169,183,7>>.
<<224,57,215,169,183,7>>

7> <<224,57,215,169,183,8>>.
<<"à9ש·\b">>

Try turning off shell strings:

1> <<224,57,215,169,183,8>>.
<<"\3409\327\251\267\b">>
2> shell:strings(false).
true
3> <<224,57,215,169,183,8>>.
<<224,57,215,169,183,8>>


--steve 







_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions