| | |
Bash script prob
![]() |
•
•
Join Date: Nov 2004
Posts: 3
Reputation:
Solved Threads: 0
Hi all,
i'm new in linux environment and have a v. tough task. Please help me how to initiate it.
give me some expample scripts..
the prob def is :
* i am trying to write a full-screen utility, that displays the permissions of a directory and all the directories in the directory's path. it will also show other information about the directories, as the cursor is moved up and down the list of directory names.
* i'm also using a Windows telnet session, because that is how I will be testing the script. I use the Windows version of QVT/Term.
please tell me how to solve this prob..
i'm new in linux environment and have a v. tough task. Please help me how to initiate it.
give me some expample scripts..
the prob def is :
* i am trying to write a full-screen utility, that displays the permissions of a directory and all the directories in the directory's path. it will also show other information about the directories, as the cursor is moved up and down the list of directory names.
* i'm also using a Windows telnet session, because that is how I will be testing the script. I use the Windows version of QVT/Term.
please tell me how to solve this prob..
•
•
Join Date: Mar 2004
Posts: 1,620
Reputation:
Solved Threads: 51
Hello,
This sounds like a homework problem. I am not certain what you are trying to do is possible with scripts. Example scripts that come to mind include the linuxconfig utility, but I would bet that is a compiled program, not a script. Pine also does a lot of screen work in a text window, but am guessing that is compiled too.
You might want to Google search on scripting full-screen applications.
Christian
This sounds like a homework problem. I am not certain what you are trying to do is possible with scripts. Example scripts that come to mind include the linuxconfig utility, but I would bet that is a compiled program, not a script. Pine also does a lot of screen work in a text window, but am guessing that is compiled too.
You might want to Google search on scripting full-screen applications.
Christian
Hmm My first comment would be to download putty, Im pritty certain the windows console dosn't use escape sequences properly, Witch could help you a great deal.
you can use tput or escape chars for moving and storing the coursers possie
Example of escape char in bash
echo -n -e "\033[34m" ( changes the color to blue )
I would suggest using tput, personly (although I havnet used it, it will prolly be easyer and more practical)
Colours and Cursor movement with tput
List of escape chars
putty
you can use tput or escape chars for moving and storing the coursers possie
Example of escape char in bash
echo -n -e "\033[34m" ( changes the color to blue )
I would suggest using tput, personly (although I havnet used it, it will prolly be easyer and more practical)
Colours and Cursor movement with tput
List of escape chars
putty
![]() |
Similar Threads
- Linux Bash Script (Shell Scripting)
- Currency format in Bash Script (Shell Scripting)
- Urgent: Help on grep the nearest value using bash script (Shell Scripting)
- need help with figuring out sizeof in bash script (Shell Scripting)
- HELP! Who can solve this bash script? (Shell Scripting)
- shell script prob (Shell Scripting)
Other Threads in the Kernels and Modules Forum
- Previous Thread: Project Help
- Next Thread: 1000% Speed Increase Using Linux Kernel 2.6
| Thread Tools | Search this Thread |






