Wrap a program in borders The Next CEO of Stack OverflowReal time system info script using ncurses and dialogLog file visualizer in a Terminal (UNIX) (terminal logging replay)Clear the screen and show a bannercurses-based program for selection item from the listPresentation Tools Back In The DayCan the Bash shell “Ignore” Excess copy-paste text?Comboboxes from bashLinux terminal skipping some (repeating/whitespace) charactersNCurses over Mosh, altcharsetResize window in multi-thread ncurses program
How to start emacs in "nothing" mode (`fundamental-mode`)
Any way to transfer all permissions from one role to another?
How can I quit an app using Terminal?
Customer Requests (Sometimes) Drive Me Bonkers!
Is HostGator storing my password in plaintext?
Is a stroke of luck acceptable after a series of unfavorable events?
Anatomically Correct Strange Women In Ponds Distributing Swords
How to make a variable always equal to the result of some calculations?
What makes a siege story/plot interesting?
Opposite of a diet
How to write papers efficiently when English isn't my first language?
Whats the best way to handle refactoring a big file?
Why did we only see the N-1 starfighters in one film?
How do spells that require an ability check vs. the caster's spell save DC work?
Apart from "berlinern", do any other German dialects have a corresponding verb?
Grabbing quick drinks
'Given that' in a matrix
Why do professional authors make "consistency" mistakes? And how to avoid them?
Is it my responsibility to learn a new technology in my own time my employer wants to implement?
Rearrange c++ const and reference specifiers
Inappropriate reference requests from Journal reviewers
Unreliable Magic - Is it worth it?
Are there languages with no euphemisms?
How to be diplomatic in refusing to write code that breaches the privacy of our users
Wrap a program in borders
The Next CEO of Stack OverflowReal time system info script using ncurses and dialogLog file visualizer in a Terminal (UNIX) (terminal logging replay)Clear the screen and show a bannercurses-based program for selection item from the listPresentation Tools Back In The DayCan the Bash shell “Ignore” Excess copy-paste text?Comboboxes from bashLinux terminal skipping some (repeating/whitespace) charactersNCurses over Mosh, altcharsetResize window in multi-thread ncurses program
I want a unix command like this:
$ wrap mc
$ wrap ls
$ wrap vi
It should create a border box with the size of the terminal window and run the command passed to it inside this box so that the command passed to it (mc, ls, vi) thinks the terminal is 2 columns and 2 rows smaller than the actual terminal window size and renders its output inside the box.
Do you have a suggestion?
Something like this:
ncurses user-interface
|
show 1 more comment
I want a unix command like this:
$ wrap mc
$ wrap ls
$ wrap vi
It should create a border box with the size of the terminal window and run the command passed to it inside this box so that the command passed to it (mc, ls, vi) thinks the terminal is 2 columns and 2 rows smaller than the actual terminal window size and renders its output inside the box.
Do you have a suggestion?
Something like this:
ncurses user-interface
I would swear you can do that with dialog.
– Rui F Ribeiro
yesterday
1
tmux can do that
– Thomas Dickey
yesterday
@RuiFRibeiro dialog doesn't seem to be able to run vi or mc inside
– Sassan
yesterday
@ThomasDickey tmux would be overkill, I need a simple light solution.
– Sassan
yesterday
No, it won't run those kind of programs. For that, I also second tmux
– Rui F Ribeiro
yesterday
|
show 1 more comment
I want a unix command like this:
$ wrap mc
$ wrap ls
$ wrap vi
It should create a border box with the size of the terminal window and run the command passed to it inside this box so that the command passed to it (mc, ls, vi) thinks the terminal is 2 columns and 2 rows smaller than the actual terminal window size and renders its output inside the box.
Do you have a suggestion?
Something like this:
ncurses user-interface
I want a unix command like this:
$ wrap mc
$ wrap ls
$ wrap vi
It should create a border box with the size of the terminal window and run the command passed to it inside this box so that the command passed to it (mc, ls, vi) thinks the terminal is 2 columns and 2 rows smaller than the actual terminal window size and renders its output inside the box.
Do you have a suggestion?
Something like this:
ncurses user-interface
ncurses user-interface
edited yesterday
Sassan
asked yesterday
SassanSassan
1343
1343
I would swear you can do that with dialog.
– Rui F Ribeiro
yesterday
1
tmux can do that
– Thomas Dickey
yesterday
@RuiFRibeiro dialog doesn't seem to be able to run vi or mc inside
– Sassan
yesterday
@ThomasDickey tmux would be overkill, I need a simple light solution.
– Sassan
yesterday
No, it won't run those kind of programs. For that, I also second tmux
– Rui F Ribeiro
yesterday
|
show 1 more comment
I would swear you can do that with dialog.
– Rui F Ribeiro
yesterday
1
tmux can do that
– Thomas Dickey
yesterday
@RuiFRibeiro dialog doesn't seem to be able to run vi or mc inside
– Sassan
yesterday
@ThomasDickey tmux would be overkill, I need a simple light solution.
– Sassan
yesterday
No, it won't run those kind of programs. For that, I also second tmux
– Rui F Ribeiro
yesterday
I would swear you can do that with dialog.
– Rui F Ribeiro
yesterday
I would swear you can do that with dialog.
– Rui F Ribeiro
yesterday
1
1
tmux can do that
– Thomas Dickey
yesterday
tmux can do that
– Thomas Dickey
yesterday
@RuiFRibeiro dialog doesn't seem to be able to run vi or mc inside
– Sassan
yesterday
@RuiFRibeiro dialog doesn't seem to be able to run vi or mc inside
– Sassan
yesterday
@ThomasDickey tmux would be overkill, I need a simple light solution.
– Sassan
yesterday
@ThomasDickey tmux would be overkill, I need a simple light solution.
– Sassan
yesterday
No, it won't run those kind of programs. For that, I also second tmux
– Rui F Ribeiro
yesterday
No, it won't run those kind of programs. For that, I also second tmux
– Rui F Ribeiro
yesterday
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508859%2fwrap-a-program-in-borders%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508859%2fwrap-a-program-in-borders%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I would swear you can do that with dialog.
– Rui F Ribeiro
yesterday
1
tmux can do that
– Thomas Dickey
yesterday
@RuiFRibeiro dialog doesn't seem to be able to run vi or mc inside
– Sassan
yesterday
@ThomasDickey tmux would be overkill, I need a simple light solution.
– Sassan
yesterday
No, it won't run those kind of programs. For that, I also second tmux
– Rui F Ribeiro
yesterday