06-02-2014
Sorry about that, I made a typo, I only needed 6. Let me give this a try! Thanks
![Smilie Smilie](https://www.unix.com/images/smilies/smile.gif)
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I am a newbie at Unix scritping, and I have a question.
Looking at the search functionality on Unix. Here I have a structure
root---------dir1 ------- file1, file2, file3
|_____dir2 ______file1@, file4
|_____dir3_______file1@, file5
Under root directory, I... (4 Replies)
Discussion started by: nj302
4 Replies
2. Shell Programming and Scripting
Hi all,
I'm new to awk and I'm experiencing syntax error that I don't know how to resolve. Hopefully some experts in this forum can help me out.
I created an awk file that look like this:
$ cat myawk.awk
BEGIN {
VAR1=PATTERN1
VAR2=PATTERN2
}
/VAR1/ { flag=1 }
/VAR2/ { flag=0 }
{... (7 Replies)
Discussion started by: hk18
7 Replies
3. Shell Programming and Scripting
I am trying to match 4 colums (first_name,last_name,dob,ssn) between 2 files and when there is an exact match I need to write out these matches to a new file with a combination of fields from file1 and file2. I've managed to come up with a way to match these 2 files based on the columns (see below)... (7 Replies)
Discussion started by: ambroze
7 Replies
4. Shell Programming and Scripting
Hello ,
When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Discussion started by: 915086731
0 Replies
5. Shell Programming and Scripting
Dear All,
I have a file with this name= xx-nnnn.csv , I has texts in this format,
231048975938093056;234317862284705793;609384034;14955353;1344700706000;1;
231048975938093056;234317958632054785;715450794;52422878;1344700729000;1;... (10 Replies)
Discussion started by: davidfreed
10 Replies
6. What is on Your Mind?
Hey,
I added an animation switch on the search results page; so by default the thread previews are off, but if you want to look at them, just click on the green button and the thread previews will turn on (and back off).
See image and attached animation:
... (1 Reply)
Discussion started by: Neo
1 Replies
LEARN ABOUT MOJAVE
autoscroll
autoscroll(n) Automatic mapping of scrollbars autoscroll(n)
__________________________________________________________________________________________________________________________________________________
NAME
autoscroll - Provides for a scrollbar to automatically mapped and unmapped as needed
SYNOPSIS
package require Tcl
package require autoscroll ?1.1?
::autoscroll::autoscroll scrollbar
::autoscroll::unautoscroll scrollbar
::autoscroll::wrap
::autoscroll::unwrap
_________________________________________________________________
DESCRIPTION
This package allows scrollbars to be mapped and unmapped as needed depending on the size and content of the scrollbars scrolled widget. The
scrollbar must be managed by either pack or grid, other geometry managers are not supported.
When managed by pack, any geometry changes made in the scrollbars parent between the time a scrollbar is unmapped, and when it is mapped
will be lost. It is an error to destroy any of the scrollbars siblings while the scrollbar is unmapped. When managed by grid, if anything
becomes gridded in the same row and column the scrollbar occupied it will be replaced by the scrollbar when remapped.
This package may be used on any scrollbar-like widget as long as it supports the set subcommand in the same style as scrollbar. If the set
subcommand is not used then this package will have no effect.
::autoscroll::autoscroll scrollbar
Arranges for the already existing scrollbar scrollbar to be mapped and unmapped as needed.
::autoscroll::unautoscroll scrollbar
Returns the named scrollbar to its original static state.
::autoscroll::wrap
Arranges for all scrollbars created after this command is run to be automatically mapped and unmapped as needed.
::autoscroll::unwrap
Turns off the automatic autoscrolling of all new scrollbars. Does not effect existing scrollbars
text .t -yscrollcommand ".scrolly set"
scrollbar .scrolly -orient v -command ".t yview"
pack .scrolly -side right -fill y
pack .t -side left -fill both -expand 1
::autoscroll::autoscroll .scrolly
KEYWORDS
scroll, scrollbar
autoscroll 1.1 autoscroll(n)