Hi, > But do we really need it to be that complex? Why not just use a > type with an optional member, instead of going through a union: > > { 'type' : 'ChardevReturn', 'data': { '*pty' : 'str' } }
Yes, should do, we don't have to pass back the chardev type here. thanks, Gerd