[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question .. did u implent when checkwinsize no need to exteral bin t
From: |
Kerin Millar |
Subject: |
Re: question .. did u implent when checkwinsize no need to exteral bin to update |
Date: |
Sun, 23 Apr 2023 21:01:30 +0100 |
On Sun, 23 Apr 2023 15:01:25 -0400
Grisha Levit <grishalevit@gmail.com> wrote:
> On Sun, Apr 23, 2023, 11:56 alex xmb ratchev <fxmbsw7@gmail.com> wrote:
>
> > hmm , thank you
> > i go the /bin/true way then
> >
>
> You can also use (:) to save an exec.
This is not case because : is a builtin. For COLUMNS and LINES to be set,
either the command must be external or the shell must be interactive and must
have received SIGWINCH.
$ bash -c 'declare -p COLUMNS LINES; :; declare -p COLUMNS LINES'
bash: line 1: declare: COLUMNS: not found
bash: line 1: declare: LINES: not found
bash: line 1: declare: COLUMNS: not found
bash: line 1: declare: LINES: not found
$ bash -c 'declare -p COLUMNS LINES; /bin/true; declare -p COLUMNS LINES'
bash: line 1: declare: COLUMNS: not found
bash: line 1: declare: LINES: not found
declare -- COLUMNS="80"
declare -- LINES="25"
--
Kerin Millar
- question .. did u implent when checkwinsize no need to exteral bin to update, alex xmb ratchev, 2023/04/23
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, Greg Wooledge, 2023/04/23
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, alex xmb ratchev, 2023/04/23
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, Grisha Levit, 2023/04/23
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, alex xmb ratchev, 2023/04/23
- Re: question .. did u implent when checkwinsize no need to exteral bin to update,
Kerin Millar <=
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, alex xmb ratchev, 2023/04/23
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, Grisha Levit, 2023/04/23
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, alex xmb ratchev, 2023/04/23
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, Kerin Millar, 2023/04/23
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, Greg Wooledge, 2023/04/23
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, Chet Ramey, 2023/04/24
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, alex xmb ratchev, 2023/04/24
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, Chet Ramey, 2023/04/25
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, alex xmb ratchev, 2023/04/25
- Re: question .. did u implent when checkwinsize no need to exteral bin to update, Chet Ramey, 2023/04/25