Changeset 11
- Timestamp:
- 01/04/07 05:04:39 (2 days ago)
- Files:
-
- people/psilotum/porta2030-console (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
people/psilotum/porta2030-console
r10 r11 3 3 ################################################### 4 4 # note and to do: 5 # 1. The library must auto-echo the input6 # 2. The usb phone screen width:height = 128:64 (dots)7 # 3. How to send escape(return to default screen) key5 # 1. NOTE: The library must auto-echo the input 6 # 2. NOTE: The usb phone screen width:height = 128:64 (dots) 7 # 3. TODO: How to send escape(return to default screen) key 8 8 # (for example: x, please refer following key mapping) 9 9 # without press enter again? 10 # 4. shortcut dial, address book 11 # 5. check date format of main_screen 10 # 4. TODO: shortcut dial, address book 11 # 5. check date format of main_screen (ok!) 12 # 6. TODO: how to display the time realtime? 13 # 7. TODO: no matter what key you press, the last screen 14 # will display the default main_screen 15 # I use ``while'' to implement this, but need more testing! 12 16 13 17 # the key mapping … … 53 57 echo `date +%Y/%m/%d` 54 58 echo `date +%H:%M:%S` 59 return 0 55 60 } 56 61 … … 99 104 100 105 # default display: main_screen 106 while echo "" 107 do 108 101 109 main_screen 102 110 read function_key … … 153 161 dial 154 162 else 163 main_screen 155 164 156 165 fi … … 158 167 # dial number (IP) section 159 168 # I need to think when I wake up. 169 done