#garfield Logs
Dec 21 2019
#garfield Calendar
03:09 AM Tom_L: morning
03:22 AM rue_mohr: so, I think I'm working it out
03:23 AM rue_mohr: at the lowest level you look at the operations you would apply to editing a single line of text, a form in a field
03:23 AM rue_mohr: entering characters, moving the cursor forwards and back
03:23 AM rue_mohr: erp, detelting
03:26 AM rue_mohr: then at the enxt level, you take it in the form context, with being able to cancel or submit or move to the next or previous field in the form
03:27 AM rue_mohr: then you take it in the form context
03:41 AM rue_mohr: ok, jingle! this is more involved than I thought
03:41 AM rue_mohr: buffEdEvent_e { EV_NOP = 0, EV_CRS_FWD, EV_CRS_BCK, EV_OVERWR, EV_INSERT, EV_CRS_START, EV_CRS_END, EV_DELETE, EV_BACKSP
03:24 PM MoonyMoon: hey zhanx
03:26 PM zhanx: ?
04:45 PM rue_mohr: so, I'm working on writing a program to help make state machines
04:46 PM rue_mohr: I need to parse vt100 escape seqences to get things from the linux console like arrow keys
04:46 PM rue_mohr: which, is best done with a state machine
04:46 PM rue_mohr: @#%$!@#$^$&#%^@#$%^@$
04:47 PM rue_mohr: 0x1B 0x5B 0x41 <-- up arrow
04:47 PM rue_mohr: 0x1B 0x5B 0x31 0x3B 0x32 0x41 <-- shift-up arrow
04:47 PM rue_mohr: 0x1B 0x5B 0x31 0x3B 0x35 0x41 <-- control-up arrow
04:50 PM rue_mohr: this keybaord has 101 buttons
04:50 PM rue_mohr: (I'v torn 3 out)
04:50 PM rue_mohr: so 3 of them are modifiers
04:50 PM rue_mohr: well
06:26 PM MoonyMoon: zhanx: what ever happaned to that lego robot stuff you was goig to send me? Do I need to send you chocolate first?
08:09 PM rue_mohr: they denied it at the border
08:09 PM rue_mohr: z, have MoonyMoon forward ya shipping to try again!
09:23 PM Tom_L: so, what's up tonight?
09:23 PM rue_mohr: coding
09:23 PM rue_mohr: "Why is this so non-trivially stupid?
09:23 PM rue_mohr: WELL, what we are getting back is NOT key codes, its ansi terminal data
09:23 PM rue_mohr: and so anything thats not a printable character comes back as a
09:23 PM rue_mohr: sequence starting with escape, ACCPET the escape character itself.
09:23 PM rue_mohr: think on that..."
09:24 PM Tom_L: early in'law xmas
09:24 PM Tom_L: i'm pooped
09:30 PM Tom_L: i had similar trouble if you recall with java and my database app
10:28 PM Tom_L: rue_mohr
10:28 PM Tom_L: what was the name of that downloader for the fpga
10:28 PM Tom_L: for linux
10:31 PM Tom_L: xc3sprog
10:31 PM Tom_L: nm
11:12 PM rue_mohr: hmm I should do that for a while
11:12 PM rue_mohr: I'm having issues with linux terminals
11:59 PM rue_mohr: huh
11:59 PM rue_mohr: the terminal was screwed up