9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi friends,
help me i downloaded some file from the Linux and i copied it to windows.Now i am unable to open those file. please help me how to open those file. the files are something like
test.tcl
note.tcl
Thanking you
Praveen (2 Replies)
Discussion started by: prakumar
2 Replies
2. Shell Programming and Scripting
Hi Guys,
I have blank file A.txt
I will run the script xyz.sh
First i want to open a.txt file...
Now i will enter some data like
XYZ
ABC
PQR
..
Save it and keep continue my script....
END of my script.
Thanks (1 Reply)
Discussion started by: asavaliya
1 Replies
3. Shell Programming and Scripting
Hi.
I have a 10 Gb text file.the default text editor in ubuntu doens't open it.
Does anyone know how can i open it??
Thanks (4 Replies)
Discussion started by: stalaei
4 Replies
4. Shell Programming and Scripting
Hi i have a file like this
mailboxnum 20
filename <to subsitute>
fileloaction /home/dd234/
filetype txt
in a directory i have set of files for ex:
TT45.1.2
TT45.1.3
TT45.1.4
.
.
in for loop i have to take this files and subsitute one by one
ex: (1 Reply)
Discussion started by: greenworld123
1 Replies
5. Shell Programming and Scripting
Hi Everyone,
I'm really new to all this so I'm really hoping someone can help. I have a directory with ~1000 lists from which I want to extract lines from and write to new files. For simplicity lets say they are shopping lists and I want to write out the lines corresponding to apples to a new... (2 Replies)
Discussion started by: born2phase
2 Replies
6. UNIX Desktop Questions & Answers
Hi
I am a new to linux, I was faced a file to know is a text file but its type isn't text document and I cannot open it, please guide me.
Regards. (2 Replies)
Discussion started by: mkhorami76
2 Replies
7. UNIX for Dummies Questions & Answers
Hi
I am a new to linux, i was faced a file to know is a text file but its type isnt text document and i can not open it please guide me.
Regards
---------- Post updated at 02:52 AM ---------- Previous update was at 02:40 AM ----------
Thank you for your cooperation, my OS is a centOS 5.5... (1 Reply)
Discussion started by: mkhorami76
1 Replies
8. UNIX for Advanced & Expert Users
Hi All,
here i am struc (6 Replies)
Discussion started by: gsp
6 Replies
9. UNIX for Dummies Questions & Answers
how to open a text file using some tool such as gedit under gtk
I list some text file names in a GtkCList . I want to open the file on when users click on the row.
How to implement this ?
Thanks (0 Replies)
Discussion started by: cy163
0 Replies
XmTextSetSource(library call) XmTextSetSource(library call)
NAME
XmTextSetSource -- A Text function that sets the source of the widget
SYNOPSIS
#include <Xm/Text.h>
void XmTextSetSource(
Widget widget,
XmTextSource source,
XmTextPosition top_character,
XmTextPosition cursor_position);
DESCRIPTION
XmTextSetSource sets the source of the Text widget. Text widgets can share sources of text so that editing in one widget is reflected in
another. This function sets the source of one widget so that it can share the source of another widget.
Setting a new text source destroys the old text source if no other Text widgets are using that source. To replace a text source but keep
it for later use, create an unmanaged Text widget and set its source to the text source you want to keep.
widget Specifies the Text widget ID.
source Specifies the source with which the widget displays text. This can be a value returned by the XmTextGetSource(3) function. If no
source is specified, the widget creates a default string source.
top_character
Specifies the position in the text to display at the top of the widget. This is an integer number of characters from the begin-
ning of the text buffer. The first character position is 0 (zero).
cursor_position
Specifies the position in the text at which the insert cursor is located. This is an integer number of characters from the begin-
ning of the text buffer. The first character position is 0 (zero).
For a complete definition of Text and its associated resources, see XmText(3).
RELATED
XmText(3).
XmTextSetSource(library call)