SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sun Mar 07, 2021 05:29
SMSTools3 Community » Bug reports Bottom

Duplicated character from new line

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Aug 2020
Location: Canada
Hello,

Whenever I receive an incoming message that is past a certain length smstools adds a '\n' character. The main issue with this isn't the '\n' character, it's the fact that just before that character is printed smstools seems to duplicate the character that is printed just before the new line break.

Here's an example of my issue:



Haven't managed to find any config options that could change this so I figured I'd ask if anyone else here has had this issue.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Can you please show the received PDU's?

If you had loglevel 7, PDU's can be found from the log.

If you don't have a log, use a global setting store_received_pdu = 3, and receive the same message again.

You can protect the data using Private tag.

Member
Registered:
Aug 2020
Location: Canada
Topic owner
Thanks for the quick reply.

Here's the same message with the PDU output:




« Last edit by keke on Fri Aug 21, 2020 01:18, 6 months ago. »
Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Thank's for the information, which looks interesting...

Your file looks like adjusted to the line width of 82 or 83. What is causing those extra characters, I do not know. Not smstools in any case. Do you have an eventhandler which does weird stuff? Probably not, perhaps some editor which you are using to view messages does some wrapping but fails? Or is it a terminal? If you just cat incoming/GSM1.xxxxxx and there are extra characters visible, is it possible to change the width of terminal window?

To be sure about what really is in the file, you could use hexdump -C to verify it.

Member
Registered:
Aug 2020
Location: Canada
Topic owner
Thanks for all the info and ideas.

I tried using cat incoming/GSM1.xxxxxx and the duplicated character was nowhere to be seen. I also tried accessing the file using nano and I still couldn't see the duplicated character. For whatever reason when I use vim the duplicated character seems to show (must have something to do with the fact that I'm using a TTY application to get access to the device). So it seems like this visual bug only happens in that one editor which is strange but is a big relief.

Thanks for the help with this, it's much appreciated.

Login and Post Reply

Page:  1

SMSTools3 Community » Bug reports Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.