Skip to content

Commit e76be67

Browse files
committed
Revert default MONITOR_CMD to screen
Add support for tail as `MONITOR_CMD`.
1 parent 1e766cf commit e76be67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Arduino.mk

+3-1
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ ifeq ($(strip $(NO_CORE)),)
959959
$(call show_config_variable,MONITOR_BAUDRATE, [USER])
960960
endif
961961
ifndef MONITOR_CMD
962-
MONITOR_CMD = "less +F"
962+
MONITOR_CMD = "screen"
963963
endif
964964
endif
965965

@@ -1763,6 +1763,8 @@ else ifeq ($(notdir $(MONITOR_CMD)), picocom)
17631763
else ifeq ($(notdir $(MONITOR_CMD)), cu)
17641764
$(MONITOR_CMD) -l $(call get_monitor_port) -s $(MONITOR_BAUDRATE)
17651765
else ifeq ($(MONITOR_CMD), less)
1766+
$(MONITOR_CMD) +F $(call get_monitor_port)
1767+
else ifeq ($(MONITOR_CMD), tail)
17661768
$(MONITOR_CMD) -f $(call get_monitor_port)
17671769
else ifeq ($(MONITOR_CMD), cat)
17681770
$(MONITOR_CMD) $(call get_monitor_port)

0 commit comments

Comments
 (0)