SUSE 11.2 minicom and expect not sending backspaces
I am writing an expect script that will automate flashing an embedded device through minicom using a serial connection and am running into problems sending backspaces.
The script catches the configuration prompt on startup and can flash the device, but setting the MAC addresses in the fconfig are being problematic.
For example, when I run the script, I can set the variables that are defaults by just pressing enter or enter new directives when prompted.. the problem arrises when I need to enter a new MAC address and there is already one set - I need to overwrite it somehow.
If I manually go through fconfig using minicom (minicom version 2.3 (compiled Dec 3 2008)), I can use backspace on my keyboard to remove the old MAC address and enter a new one - no problem.. but with expect.. I am having issues.
I tried sending \b, \^H, \010 \177... These do not work. Minicom has BS set for the backspace key though... I tried setting it to DEL - no luck.
On the other hand, I can send control-C with send "send \003"...
Any help would be great.. thanks!