Nicholas Marriott wrote: > Hi > > This is a cool idea, tmux should definitely just do the right thing. > > We could call realpath() to get around the // issue. If we did it on path in > main.c and that would clean up TMUX as well.
Alright. I'm thinking it may be worthwhile to parse TMUX properly, once, and avoid all these various partial parses we're now doing. I'll submit a patch for that first, and submit the revision for this patch to be applied after that one. > Is it too early to do it in main.c? No. It was in client.c because my original plan was to check _only_ whether we were doing new or attach on an existing server; the string check wasn't part of it. Now that we're doing the string check, there's no point in checking for the existing server, since if it's not an existing server, the string check would fail anyway. Guess I was too tired to realize that last night. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users