Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

WebIDE - Default width of term-emu
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

WebIDE - Default width of term-emu

by hirnwunde on Thu Nov 15, 2012 3:04 pm

Greetings,

i've updated the (brilliant) WebIDE from a 0.1.x to the actual 0.2.3.
Now the Terminal is splitted with the edit window. Great idea!

But ... the width is limited to 80 chars and i want to change this.

In the file /usr/share/adafruid/webide/config/config.js i have change the export-line
"geometry" from "[80, 15]" to "[120, 15]" but after restart the WebIDE i cant notice any changes.

Maybe there is an option somewhere else i have to change ...

Btw.: I cant fint the term.js ... where is this file located?

Best regards from Germany :)
hirnwunde
 
Posts: 3
Joined: Thu Nov 15, 2012 2:39 pm

Re: WebIDE - Default width of term-emu

by adafruit on Thu Nov 15, 2012 7:55 pm

thanks, we'll check it out!

adafruit
 
Posts: 11903
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: WebIDE - Default width of term-emu

by hirnwunde on Fri Nov 16, 2012 7:39 am

Ok ... my first RasPi died yesterday (actually dont have enough time to figure out, why...)
and i had to change to my second RasPi.
I placed the SD-Card and USB-Stick (home-partition) in the second one, start the system ...
`e voila`... the Terminal is at the width of 120 chars ...

So ... maybe the not adopted changes in the config.js is a result of the dying RasPi ...

Sorry for the arming of your bug-hunter!
hirnwunde
 
Posts: 3
Joined: Thu Nov 15, 2012 2:39 pm