Hi,
I think it is a minor problem, but It bother me a lot.
When I key in long words in console, whenever it reach to 80 chars,
it will return to the front and cover the previous words I key in.
Can I make it longer ?
Thanks !!!
Tai Chang.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I think it is a minor problem, but It bother me a lot.
When I key in long words in console, whenever it reach to 80 chars,
it will return to the front and cover the previous words I key in.
Can I make it longer ?
Thanks !!!
Tai Chang.
While I am not sure how to change the width (haven't tried) I have worked around the overwriting of the prior line issue by using a different terminal client, I have seen this happen with Minicom in Linux but if you use Teraterm from Windows or GtkTerm from Linux than when the line wraps it will start at a new line instead of writing over the prior line.
That is odd, I don't recall setting anything specific to this in Teraterm, I believe I am using all the defaults. Unfortunately I don't have the PC I normally use Teraterm on in front of me at the moment but I should be able to check the settings tomorrow to see if I have anything different, Teraterm has always wrapped properly to my knowledge, I have only seen the line overwriting in Minicom.
In Teraterm, Setup->Terminal->New-Line->Receive item, when I set it to CR+LF, it works fine. But the printf message of run-time program will vertical extend lines.... [:S]
Actually in the same configuration location where you are changing the new line option there is a terminal size box. I tried playing with this and it looks like you can widen the terminal there, for example if I set this to 160 instead of 80 I can go 160 characters before anything wraps (tested with the U-boot terminal on a DM355), have you tried changing this option in Teraterm?
Hi Bernie,
I have tried this befre, it only changes the size of terminal window, but not the max number per line input of console.
test with linux terminal on DM6467
Thanks !!
You are correct, for some reason this works with U-Boot but does not work with Linux, before I just didn't bother booting all the way into the Linux terminal but after doing so I see the artifacts you mention.
I still have not been able to fix the width what you type into the terminal, but I found a way to widen the terminal that Linux prints to, I set my Minicom to a width of 160 and than ran 'stty columns 160' on the EVM which allowed me to have much wider output on the terminal, the problem is if you just start typing eventually what you type gets wrapped around over what you were typing so this does not fix your original problem but is one step closer, I suspect one of the stty command options will allow this to work.