---
name: "tedit"
section: "1"
platform: "linux"
package: "endeavour2"
version: "2.7.3-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/tedit"
---

# tedit(1)

Text Editor

## NAME

TEdit - Text Editor

## SYNTAX

**tedit** \[*path*\] \[*options*\] \[*GUI\_options*\]

## DESCRIPTION

TEdit is Endeavour Mark II's text editor.

Features cut/copy/paste, search & replace, printing, and drag & drop opening of objects.

The \[*path*\] specifies the path to the text file to open at startup.

## OPTIONS

- **--line** \<*n*\>

  Sets the cursor position to line \<n\> at startup, \<n\> must be a positive integer value or -1 for the last line.

- **-l**

  Same as **--line**.

- **--help**

  Prints help screen and exits.

- **--version**

  Prints version information and exits.

## ENVIRONMENT VARIABLES

- **DISPLAY**

  Specifies the host address, display number, and screen number to connect to the X server.

- **PATH**

  Specifies the search path, a string containing a list of paths separated by : characters

- **USERNAME**

  Specifies the user's name.

- **USER**

  Fallback for **USERNAME**.

- **HOME**

  Specifies the full path to the user's home directory.

- **EDITOR**

  Specifies the command to execute the preferred text editor.

- **EDIT**

  Fallback for **EDITOR**.

- **VIEWER**

  Specifies the command to execute the preferred file viewer.

- **VIEW**

  Fallback for **VIEWER**.

- **HELPBROWSER**

  Specifies the command to execute the preferred help browser.

- **BROWSER**

  Fallback for **HELPBROWSER**.

- **TMPDIR**

  Specifies the full path to the temporary files directory.

- **PRINTCOMMAND**

  Specifies the print command.

- **PRINTCMD**

  Fallback for **PRINTCOMMAND**.

- **PRINT**

  Fallback for **PRINTCMD**.

- **PRINTER**

  Specifies the name of the prefered printer.

- **EDVCFGFILE**

  Specifies the full path to the program's configuration file.

- **EDVINTERPSLOCK**

  Specifies the full path to the InterPS lock link.

- **EDVINTERPSCMDFILE**

  Specifies the full path to the InterPS command file.

## WMCLASS NAMES

- **TEdit**

  Class name

- **texteditor**

  Text Editor Window name

- **dialog**

  All Dialogs name

- **fileselection**

  File Selection Dialog name

## EXAMPLES

To run this program the standard way, type:

\# tedit &

To open a text file a startup, type:

\# tedit file.txt &

To open a text file a startup and go to a specific line, type:

\# tedit file.txt -l 12345 &

## AUTHORS

- Tara Milana

  Head programmer

## SEE ALSO

- Endeavour Mark II home page

  http://wolfpack.twu.net/Endeavour2/

[endeavour2(1)](/endeavour2/1.md) [hedit(1)](/hedit/1.md)
