06-11-2014
Quote:
Thank you, sounds very much the same as from my friend.. but since TUI is not an application by itself, but a package of multiple executables (scripts, keep it interpreted is a MUST!) that would mean the libs/mods would be loaded upon each call of a 'function', such as the blue line, the white line, and the non-colored ones...
You have a seperate
executable for each and every little task? Such as, for instance, draw_line.sh so to draw a line, you do
./draw-line.sh row col row col? No wonder it's slow.
Imagine it this way... If this were a visual basic script, it'd be loading visual basic, calling the draw line routine, and quitting visual basic
each time you drew a line. This is not going to be fast no matter how you cut it, in any language.
You should put these routines into functions, instead. Load once, use many times. This could make it literally hundreds to thousands times faster.
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to display a system warning message at the prompt of every live terminal on a sun solaris 8 machine using CDE.
I know this can be done on a console, but what about dtterm and xterm regular windows?
Does anyone know how this is done?
What about a single terminal?
Clear skies,... (2 Replies)
Discussion started by: seismic_willy
2 Replies
2. UNIX for Advanced & Expert Users
Gurus,
I've been on computers for a while, but I've yet to have the behind-the-scenes knowledge. I'm not sure if this is so much a Unix question as it is a nitty gritty computer one.
We received a customer file which had a "funny apostrophe." When displaying the file via more, the character... (1 Reply)
Discussion started by: effigy
1 Replies
3. Shell Programming and Scripting
hi all,
am trying to 'grep' some text from a log file and use the 'cut' command to read from that line i just grep'ed to extract date/time and response times.
code sniplet i am using is :
grep -i 'text to grep' Out.log |
while read LINE;
do
... (11 Replies)
Discussion started by: cesarNZ
11 Replies
4. Shell Programming and Scripting
Hi all,
I would like to know how to have a color display in the terminal...
In the sense that,
In many linux terminals,we have color coded for each file type,
green for executable ,blue for dirs and so on...
I wanted to know how i can have the same arrangement in solaris(b-79a)
I am not... (5 Replies)
Discussion started by: wrapster
5 Replies
5. Windows & DOS: Issues & Discussions
Hi.
I was, not too long ago, an OS X home user. One of the things I remember from using the Apple-installed Terminal is: whenever an executable that took more than a split second to do its thing was running, its name would appear in the title bar in a way similar to "Terminal: ssh" or "Terminal:... (0 Replies)
Discussion started by: SilversleevesX
0 Replies
6. Shell Programming and Scripting
Hello all,
I would like a message to be displayed on the shell when someone opens up the terminal - something like a welcome msg with date and time. I know how to do this by running the shell commands but dont know how to display it when a user opens up the terminal?
Thanks in advance (27 Replies)
Discussion started by: mrudula009
27 Replies
7. UNIX for Advanced & Expert Users
Hello,
I am doing fluid simulations using OpenFOAM. This program produces a lot of output every time step.
Producing output is surely not the most time consuming part, but I wonder whether writing output to the terminal or writing it into a file is faster.
With thousands of time steps a... (1 Reply)
Discussion started by: Chuck Morris
1 Replies
8. UNIX for Advanced & Expert Users
Want few input related to unix environment and terminal settings:
1. Am trying to find a way to keep the unix terminal display intact even after opening and closing a vi/less file. Currently if I open a vim file in the unix terminal and then close the file,it displays the contents of vim file on... (4 Replies)
Discussion started by: talktovkjain
4 Replies
9. Homework & Coursework Questions
I would like to get an opinion for my solution for this task and get feedback about better approach or mistakes I have made.
1. The problem statement, all variables and given/known data:
The task is to create a script which prints information about users whose names are specified in the... (2 Replies)
Discussion started by: kornfan
2 Replies
10. Shell Programming and Scripting
Hi,
Anyone can help I am just converting the excel file to csv using python, I can get the conversion output but the date not display exactly.
test.xlsx date format
167 1588 risks/SCS JP CAMPANA & CIE.pdf SCS JP CAMPANA & CIE 2 1 1 0 2015-03-16 16:56:25
167 1146 risks/AirBNB... (1 Reply)
Discussion started by: fspalero
1 Replies
LEARN ABOUT SUSE
aa-autodep
AUTODEP(8) AppArmor AUTODEP(8)
NAME
aa-autodep - guess basic AppArmor profile requirements
SYNOPSIS
aa-autodep <executable> [<executable> ...]
DESCRIPTION
aa-autodep is used to generate a minimal AppArmor profile for a set of executables. This program will generate a profile for binary
executable as well as interpreted script programs. At a minimum aa-autodep will provide a base profile containing a base include directive
which includes basic profile entries needed by most programs. The profile is generated by recursively calling ldd(1) on the executables
listed on the command line.
BUGS
This program does not perform full static analysis of executables, so the profiles generated are necessarily incomplete. If you find any
bugs, please report them to bugzilla at <http://bugzilla.novell.com>.
SEE ALSO
apparmor(7), apparmor.d(5), aa-complain(1), aa-enforce(1), change_hat(2), and <http://forge.novell.com/modules/xfmod/project/?apparmor>.
NOVELL
/SUSE 2008-06-11 AUTODEP(8)