>Number: 181853 >Category: misc >Synopsis: dot.shrc can't handle command line options in $PAGER variable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 06 00:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: ShelLuser >Release: 9.1-RELEASE-P6 >Organization: >Environment: FreeBSD smtp2.losoco.com 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #2 r255124: Wed Sep 4 00:10:46 CEST 2013 [email protected]:/usr/obj/usr/src/sys/SMTP2 amd64
>Description: /usr/share/skel/dot.shrc, which will end up in $HOME/.shrc contains the following line: alias m=$PAGER However this line can't handle optional parameters being used for the pager. For example; this is my PAGER definition in /home/peter/.profile: PAGER='less -Fe'; Unrelated comment: -e : quit when EOF has been reached a second time; -F : quit when the text can be displayed on one screen. But as soon as I use this definition it results in an error message after logging on to the system: alias: -Fe not found >How-To-Repeat: Edit $HOME/.profile and change: PAGER=more; export PAGER into: PAGER='less -Fe'; export PAGER >Fix: In /usr/share/skel/dot.shrc change: alias m=$PAGER into: alias m="$PAGER" >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
