Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2023 19:22:41 -0700
From:      little.analyst892@aceecat.org
To:        questions@freebsd.org
Subject:   Re: Check if running inside script
Message-ID:  <kx7xknlkqbecu3g666lv477i3tvdjqi7bap7bmldnfurhtyxo4@yj55yjkvao7w>
In-Reply-To: <5F4B47E8-E3A0-479D-B0E1-732AFBB659E0@febras.net>
References:  <6b3f5a7f-e0cb-bb6f-38d5-050348d76387@netfence.it> <f34196e0-5716-43b2-1f08-7c03eb48e4da@aetern.org> <5F4B47E8-E3A0-479D-B0E1-732AFBB659E0@febras.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 08, 2023 at 08:34:11PM +1000, Korolev Sergey wrote:

> echo $TERM

Some (maybe most) versions of tmux also use this same termcap entry,
so I'm not sure if this satisfies the OP requirements. It does if
the OP only uses screen and not tmux.

-- 
Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?kx7xknlkqbecu3g666lv477i3tvdjqi7bap7bmldnfurhtyxo4>