01-08-2010
Problem with SAVE AS
Hi there,
I've some trouble with my editors (gedit, vim) when I try to SAVE AS:
the application freezes and if I try to close it I get the message "The windows ... is not responding. Forcing this application to quit will cause you to lose any unsaved changes"
...while everything works fine when I click on SAVE.
Any help would be appreciated,
GB
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi!
can anyone tell me how to save a file from command line?
Any help appreciated. (2 Replies)
Discussion started by: hufs375
2 Replies
2. Programming
Hello! I have a problem:
I compile some function, which must save file:
=====================
// prog.cpp
void save_file(){
FILE *fs = fopen("file.txt", "w");
if(!fs) cerr<< "cannot save";
fprintf(fs, "This is a text file.");
fclose(fs)
}
=====================
If i compile it from... (8 Replies)
Discussion started by: szzz
8 Replies
3. Shell Programming and Scripting
hi i would like someone to assist me to find out how i can Write a script called save which copies a file into a special directory, and another called recover which copies a file back out of the special directory. The user of the script should not be aware of the location of the special directory... (2 Replies)
Discussion started by: swainaina
2 Replies
4. Shell Programming and Scripting
how does one save changes in crontab? i am using vi editor. Issued crontab -e command on the prompt. however not sure how to save changes. :wq doesnt work. any idea.... (10 Replies)
Discussion started by: shahab03
10 Replies
5. Shell Programming and Scripting
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
0 Replies
6. Shell Programming and Scripting
I make shell script by use "if" statement, what should add it to
shell script save which I enter it in output file txt?
---------- Post updated at 08:27 AM ---------- Previous update was at 05:59 AM ----------
I mean
like this
echo "enter your name"
read name
# now i when start... (1 Reply)
Discussion started by: Oman_Member
1 Replies
7. Shell Programming and Scripting
Hi all,
my log server is completely full with logs.
I have used gzip to compress logs, but as i tried, 7z has a better compression, it saves the half size of my server. I want to uncompress .gz files, then compress them to .7z
Can you please help me with a script that does this:
1.... (2 Replies)
Discussion started by: arrals_vl
2 Replies
8. Shell Programming and Scripting
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
Core Utilization
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
9. UNIX for Dummies Questions & Answers
If I have a A.log
1 Air Flow Monitor : 34.070 Degrees C
2 Air Flow Monitor : 41.730 Degrees C
3 Air Flow Monitor : 35.340 Degrees C
4 Air Flow Monitor : 33.370 Degrees C
5 Air Flow Monitor : 36.770 Degrees C
6 Air Flow Monitor : 45.910 Degrees C
7 Air Flow Monitor ... (1 Reply)
Discussion started by: sabercats
1 Replies
gedit(1) User Commands gedit(1)
NAME
gnome-text-editor, gedit - Limited functionality text editor for the GNOME desktop.
SYNOPSIS
gnome-text-editor [--debug [-section]] [gnome-std-options] [--help] [--new-document] [--new-window] [--quit] [filename]
gedit [--debug [-section]] [gnome-std-options] [--help] [--new-document] [--new-window] [--quit] [filename]
DESCRIPTION
The gnome-text-editor application is a text editor for the GNOME desktop. The application is also called gedit. You can use gedit as a
shorter command to start the application. The application enables you to edit multiple documents at the same time. Each document resides in
a specific tabbed section of the application window.
When you start the application from the command line, you can specify one or more filenames. When gedit starts, the application opens all
files that you list on the command line.
OPTIONS
The following options are supported:
--debug [-section] Run gedit in debug mode. In debug mode all the functions that are being called dump the function names to the con-
sole. You can specify the following sections for debugging:
o window
o commands
o document
o file
o plugins
o prefs
o print
o search
o undo
o view
o recent
Run gedit --help for more information.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
--help Print the command line options.
--new-document Create a new top-level document or tabbed section in an existing instance of gedit.
--new-window Create a new top-level window in an existing instance of gedit.
--quit Quit an existing instance of gedit.
EXTENDED DESCRIPTION
The gedit application accepts pipes, so you can specify a pipe after another command, to load the output of the command into gedit. For
example:
example% ls -l | gedit
EXAMPLES
Example 1: To Edit an ASCII File Named document.txt
example% gedit document.txt
Example 2: To Add a New Tab That Contains an ASCII File Named book.txt
example% gedit --new-document book.txt
Example 3: To Add a New Top-Level Window That Contains an ASCII File Named testfile.txt
example% gedit --new-window testfile.txt
EXIT STATUS
The following exit values are returned:
0 Application exited successfully.
>0 An error occurred.
FILES
The following files are used by this application:
/usr/bin/gnome-text-editor
The executable file for the gnome-text-editor application.
/usr/bin/gedit
A symbolic link to the gnome-text-editor executable file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-text-editor |
+-----------------------------+-----------------------------+
| | |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-std-options(5), libgtksourceview-1.0(3)
Online Help gedit manual.
NOTES
This man page was written by the following people: Paolo Maggi, Chema Celorio, James Willcox, Federico Mena Quintero.
Updated by Brian Cameron, Sun Microsystems Inc., 2003, 2004.
SunOS 5.10 31 Aug 2004 gedit(1)