RT firmwares: TCL interpreter - keep it or lose it?
RT firmwares: TCL interpreter - keep it or lose it?
The RouterTech development team would like to know whether, you, the users of our firmwares, would like to keep the TCL interpreter in future firmware releases. It takes up a considerable amount of space in the router's memory - memory which could be freed up for something else (e.g. a bigger minix partition ). If you don't know what the TCL interpreter is then you probably don't need it
We would be grateful if you could make your opinion known and vote below
We would be grateful if you could make your opinion known and vote below
RouterTech Team and Founding Member
RouterTech Merchandise (UK)
No support via PM, please ask your questions on the forum!
RouterTech Merchandise (UK)
No support via PM, please ask your questions on the forum!
- Shotokan101
- RouterTech Team
- Posts: 4779
- Joined: Thu Jan 26, 2006 3:17 pm
- Location: Glasgow, Scotland
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Judging from the deluge of responses (:roll:) it seems that the feature is not being used, and so it will be removed from future firmware releases. Anyone who needs it thereafter will have to stick with v2.3 ...
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Honestly I was of the opinion that TCL was a rather bad choice for a scripting language interpreter. I mean I know quite a few languages, but TCL's not one of them. In fact, I have absolutely no intention of learning TCL. So why not replace it with something more common/popular? Perhaps Perl or PHP or Python? Also I wouldn't mind if "ps" gave more options.
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Space. If we had 256mb of flash memory instead of 4mb, I could add Perl, PHP, Python, or even a C compiler.hyperair wrote:Honestly I was of the opinion that TCL was a rather bad choice for a scripting language interpreter. I mean I know quite a few languages, but TCL's not one of them. In fact, I have absolutely no intention of learning TCL. So why not replace it with something more common/popular? Perhaps Perl or PHP or Python?
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
"ps" is a Busybox applet., so I am afraid no one will be getting any more options out of it. You could of course try building the full ps utility from source - but I doubt it would be worth the space that it would take out of your flash memory.hyperair wrote:I wouldn't mind if "ps" gave more options.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Figures. I didn't think they needed THAT much space though. Looks like they do eh?thechief wrote:"ps" is a Busybox applet., so I am afraid no one will be getting any more options out of it. You could of course try building the full ps utility from source - but I doubt it would be worth the space that it would take out of your flash memory.hyperair wrote:I wouldn't mind if "ps" gave more options.
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Have you tried building any of these (plus all dependencies)? You would be surprised at the space required.
PS: and 4mb is not a lot to fit a Linux distro and a host of other things into.
PS: and 4mb is not a lot to fit a Linux distro and a host of other things into.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
If you look in the "repository" package we released a few weeks ago, you will see a few examples. "Microperl" for example compiles to circa 1.5mb. So does openvpn. So even with the best will in the world, it is impossible to add openvpn or microperl to a firmware - how much less a full blown perl (or python, or php). Bash is 1mb, etc., etc.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Here's the link for anyone interested: viewtopic.php?t=1602thechief wrote:If you look in the "repository" package we released a few weeks ago, you will see a few examples.
RouterTech Team and Founding Member
RouterTech Merchandise (UK)
No support via PM, please ask your questions on the forum!
RouterTech Merchandise (UK)
No support via PM, please ask your questions on the forum!
I don't know if I'm too late to suggest this but...
What I would like to see instead of TCL is a small tftp server set up to serve files from a share on another machine on the network. Ideally it would be configurable from a page on the RT admin pages so you could set up which cifs share (or something) to use + username + password too I suppose. Having the tftp server on the same box as the DHCP server can be very handy, but I do wonder whether it would fit...
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
I am not sure why using cifs requires an ftp server running on the router.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
- Shotokan101
- RouterTech Team
- Posts: 4779
- Joined: Thu Jan 26, 2006 3:17 pm
- Location: Glasgow, Scotland