mehrdadrad/mylg

case insensitivity for lg

jungle-boogie opened this issue · 1 comments

Hi,

local> lg
lg/telia/los angeles> connect cogent
AT - Vienna           BE - Brussels         BG - Sofia            CA - Montreal         CA - Toronto          CH - Zurich           DE - Berlin           DE - Dusseldorf       DE - Frankfurt        DE - Hamburg
DE - Munich           DE - Nuremberg        DK - Copenhagen       EE - Tallinn          ES - Barcelona        ES - Madrid           ES - Valencia         FR - Bordeaux         FR - Marseille        FR - Paris
GB - London           GB - Southport        GR - Athens           HU - Budapest         IE - Dublin           IT - Milan            IT - Rome             JP - Tokyo            MX - Mexico City      NL - Amsterdam
NO - Oslo             PL - Warsaw           PT - Lisbon           RO - Bucharest        SE - Stockholm        SK - Bratislava       UA - Kharkiv          US - Atlanta          US - Boston           US - Chicago
US - Dallas           US - Denver           US - Houston          US - Jacksonville     US - Kansas City      US - Los Angeles      US - Miami            US - Minneapolis      US - New York         US - Orlando
US - Philadelphia     US - Sacramento       US - San Diego        US - San Francisco    US - San Jose         US - Seattle          US - Tampa            US - Washington, DC

Is it possible to have all of these lower case so shift isn't needed to select a node?

It's 'covered' to lower case when a node is selected:

lg/cogent/us - los angeles> node BE - Brussels
lg/cogent/be - brussels>

This affects all the lg's in mylg

ahh, looking at cogent as an example, I think you're making a request to their looking glass, which uses the capitalization:
https://github.com/mehrdadrad/mylg/blob/master/lg/cogent.go#L169