| Anonymous | Login | Signup for a new account | 11-10-2008 10:38 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000026 | [BusyBox] Standards Compliance | trivial | always | 01-17-05 18:02 | 07-31-05 15:34 | ||||
| Reporter | pgf | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 1.00 | ||||||
| Summary | 0000026: poor man's "scriptable" telnet | ||||||||
| Description |
with most telnet programs you can do something like this: ( sleep 2 echo username sleep 2 echo somepassword sleep 2 echo date sleep 2 ) | telnet somehost > session.log there's no error checking, and no synchronization. but for a quick and dirty solution it can be handy. this doesn't work in busybox because busybox telnet exits if stdio is not a terminal. the following patch (only quickly tested) makes this work. |
||||||||
| Additional Information | it's clear that there are better tools for this job -- both expect and nc are probably more suited. but expect is probably too big for an embedded system, and nc isn't always configured. and this is a pretty cheap fix. | ||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |