rsenn / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

set only displays first 60 characters #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. set 
A=AAAAAAAAAABBBBBBBBBCCCCCCCCCDDDDDDDDDDEEEEEEEEEEFFFFFFFFFFGGGGGGGGGGHHHHHHHHHH
IIIIIIIIIIJJJJJJJJJJKKKKKKKKK

now type:
set

>>>
AAAAAAAAAABBBBBBBBBCCCCCCCCCDDDDDDDDDDEEEEEEEEEEFFFFFFFFFF

only first 60 characters are displayed

2.
3.

What is the expected output? What do you see instead?

should display all of string

What version of the product are you using? On what operating system?

0.4.5c
Please provide any additional information below.

Original issue reported on code.google.com by Steve6375 on 15 May 2013 at 12:58

GoogleCodeExporter commented 9 years ago
In envi_cmd func.
printf("%.8s=%.60s\n",VAR[i],ENVI[i]);

Because if displays all of string,some string is too long,It looks chaotic.

Original comment by chenall.cn on 16 May 2013 at 12:12

GoogleCodeExporter commented 9 years ago
If the user has defined short strings then there is no problem.
If the user has defined long strings then that is because he needs and uses 
long string!
If the set command looks chaotic then that is not important as long as the 
strings are displayed correctly. Maybe a maximum of 150 characters (two lines) 
would be a good compromise?
I have some strings which are headings and these can be up to 80 characters 
long, this is quite common.  60 is not even a full line width (max will be 69 
with variable= string)!
Please can it be changed to 150?

Original comment by Steve6375 on 16 May 2013 at 8:32

GoogleCodeExporter commented 9 years ago
set to display all..

Original comment by chenall.cn on 21 May 2013 at 12:19