In DOS, you can
then type at the screen, and everything will be sent to the file until you do a CTRL-z to end the copying
or, maybe
will append the abcdef to the end of the existing testfile.txt
Unfortunately, this isn't exaclty what I meant.
What I wanted was to be able to use VB6 to open a command prompt (which I've managed) and then telnet onto a server by sending keypresses to the command prompt (which I've also managed) and I wanted the output for the command prompt to be sent to a file on my local machine.
I thought the best way to do this would be an equivalent of << in Unix
I have however, managed to get around it by running my telnet commands on the server and sending its output to a file on the server and then using Inet to FTP the file to my local computer.
Okay here is a DOS comparison. When I search for a file in DOS and I was not sure what directory it was in then I would put dir /s/o/p filename the s would tell it to look in every directory including subs, the o would sort it alphabetically and the p would limit the display to one page at a... (1 Reply)
This question maybe in the wrong category but I'm posting here due to urgency.
In DOS is there a command to perform a similar function to spool command in SQL or Script command in UNIX?
I want to print all command line output to a file but I don't want to use the echo command for each line.
... (2 Replies)
I need to set the serial port attributes to 9600,7,E,1 in order to read and write data to it from within a Foxpro program. Unfortunately there is no function in Foxpro to set the line attributes, only open. close read and write.
Stty only works on the stdout and stdin in this release, and the... (3 Replies)
Hi all,
Is there any command in unix equivalent to setlocal in windows.
setlocal command is really useful in restoring local environment variables in windows.
Thanks,
Sonal. (7 Replies)
Dear All
Could you please advice how do we convert a unix file to dos
I know one command,ux2dos, which somehow does not work to give desired output
Inputs on this is appreciated
Thanks,
Suresh (3 Replies)
In Unix I can use command line to do a find for files older than so many days and remove them. I can also capture the date to see if its a saturday and do something different. Are there any dos/intel command line equivalent commands to do this on a windows 2003 server? This is from an... (6 Replies)
Hi Can any one please let me know which will be the PHP equivalent of the below Unix statement,
curl -H "Content-type: application/json" -H "Accept: application/json" --data-binary '{"text" : "how to check the temperature?"}' -H "X-JaskUid:111" -X POST "www.google.com/res"'Thanks in advance!!
... (0 Replies)
Discussion started by: vidhyaS
0 Replies
LEARN ABOUT OPENSOLARIS
gnome-text-editor
gedit(1) User Commands gedit(1)NAME
gnome-text-editor, gedit - Text Editor for the GNOME desktop.
SYNOPSIS
gnome-text-editor | gedit [--encoding=encoding] [--new-document] [--new-window] [+[num]] [gnome-std-options] [filename]
DESCRIPTION
gedit or gnome-text-editor is the official text editor of the GNOME desktop environment.
While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor. It can be used to create and edit all kinds of
text files. Multiple documents can be edited at the same time. Each document resides in a specific tabbed section of the application win-
dow.
gedit features a flexible plugin system which can be used to dynamically add new advanced features to gedit itself.
OPTIONS
The following options are supported:
--encoding=encoding Set the character encoding to be used to open the files listed on the command line.
--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.
+[num] For the first file, go to the line specified by num (do not insert a space between the "+" sign and the number). If
num is missing, go to the last line.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
OPERANDS
The following operands are supported:
filename The name of the image file to edit.
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/gedit The executable file for the gnome-text-editor application.
/usr/bin/gnome-text-editor A symbolic link to the gedit executable file.
/usr/lib/gedit/plugins Location of gedit plugins.
/usr/share/gtk-doc/html/gedit Location of developer documentation for writing a gedit plugin.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-text-editor |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO libgtksourceview-1.0(3), attributes(5), gnome-std-options(5)
Online Help gedit manual.
NOTES
This man page was written by the following people: Paolo Maggi, Paolo Borelli, Chema Celorio, James Willcox, Federico Mena Quintero.
Updated by Brian Cameron, Sun Microsystems Inc., 2003, 2004, 2006.
SunOS 5.11 31 Aug 2004 gedit(1)