M README.md => README.md +2 -1
@@ 115,7 115,8 @@ Until then, mobroute may still be integrated by performing the following:
This will install both the `mobroute` executable and a script
`mepo_menu_mobroute.sh` to /usr/local/bin. Once installed, launching
-the central menu within mepo, you'll see new entries for `Route: via Mobroute`.
+the central menu within mepo, you'll see new entries for `Route: via
+Mobroute directions` and `Route: show Mobroute stoptimes on cursor`.
Do note, that by default Mobroute is configured to use NYC's subway
system GTFS file. This can be changed by [configuring a few variables
R => +1 -1
@@ 1,5 1,5 @@
#!/usr/bin/env sh
DISPLAYNAME=" Route: via Mobroute"
DISPLAYNAME=" Route: via Mobroute directions"
[ -z "$MOBDBGTFSREGEX" ] && MOBDBGTFSREGEX="nyc_subway$"
[ -z "$MOBROUTEMEPODEBUG" ] && MOBROUTEMEPODEBUG="1"
A => +14 -0
@@ 0,0 1,14 @@
#!/usr/bin/env sh
DISPLAYNAME=" Route: show Mobroute stoptimes on cursor"
[ -z "$MOBDBGTFSREGEX" ] && MOBDBGTFSREGEX="nyc_subway$"
[ -z "$TERM" ] && TERM="foot"
"$TERM" sh -c "
mobroute \
-cmd stoptimes \
-lat \"$MEPO_CURSOR_LAT\" \
-lon \"$MEPO_CURSOR_LON\" \
-gtfsregex \"$MOBDBGTFSREGEX\" \
2> /tmp/mobroutedebug \
| less -SR
"
D => +0 -9
@@ 1,9 0,0 @@
#!/usr/bin/env sh
DISPLAYNAME=" Mobroute: show stoptimes on cursor"
[ -z "$MOBDBGTFSREGEX" ] && MOBDBGTFSREGEX="nyc_subway$"
[ -z "$TERM" ] && TERM="foot"
mobroute -cmd stoptimes -lat "$MEPO_CURSOR_LAT" -lon "$MEPO_CURSOR_LON" -gtfsregex "$MOBDBGTFSREGEX" > /tmp/mob
"$TERM" sh -c "less -SR /tmp/mob"