Sponsored Content
Full Discussion: Vi editor issue
Operating Systems HP-UX Vi editor issue Post 302519430 by jlliagre on Wednesday 4th of May 2011 02:16:51 AM
Old 05-04-2011
Quote:
Originally Posted by soumyabubun
Can you please let me know what is the correct value and how can I set it to normal..
The correct value depends on the terminal emulator you are using. Perhaps is it just your TERM variable which is incorrectly set.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Vi Editor

I'm doing a teaching ass't for a basic unix course for a local college and we have given the new students an assignment where they have to code 10 pages of html by hand using the Vi Editor (i know it's cruel) The purpose of this exersize is to get them used to unix and vi commands and how the... (4 Replies)
Discussion started by: juxtaman
4 Replies

2. UNIX Desktop Questions & Answers

best editor

We work on AIX 5L We use vi as text editor (only scripts to create and modifiy). What do you think of emacs ? Where can I find it ? Do you know better text editor for scripts ? Thank you for all answers. (1 Reply)
Discussion started by: annemar
1 Replies

3. Shell Programming and Scripting

Unix Arithmatic operation issue , datatype issue

Hi, I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ). Eg: 0000001 0000220 0001235 0000022 0000023 ........... ......... ........ Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies

4. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

5. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

6. Solaris

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

7. Solaris

VI Editor issue "E558: Terminal entry not found in terminfo"

When trying to open a document with VI editor, getting the following error.. E558: Terminal entry not found in terminfo 'vt100' not known. Available builtin terminals are: builtin_gui builtin_riscos builtin_amiga builtin_beos-ansi builtin_ansi builtin_pcansi ... (8 Replies)
Discussion started by: vikram3.r
8 Replies

8. Linux

Space bar issue in Vi editor on Linux - Solaris

Hi I have a process generating a file in Solaris. Now we have migrated the process to Linux. When we open the file in vi on solaris and hit space bar, it stops after reaching the end of line. But in linux it continues to go on the next line. So I want to know whether the difference is between the... (4 Replies)
Discussion started by: sudhamacs
4 Replies

9. UNIX for Dummies Questions & Answers

ED editor

Hi folks I wanted help with writing a ED editor script that automatically runs files i saved in my directory /home/MyFiles/firstBorn. Any helping ideas... ? thanx Lakerfan (2 Replies)
Discussion started by: Lakerfan
2 Replies

10. Shell Programming and Scripting

Variable value substitution issue with awk command issue

Hi All, I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command. The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
VTPRTOFF(1)						      General Commands Manual						       VTPRTOFF(1)

NAME
vtprtoff,vtprton - turn off or on printer attached to local terminal SYNOPSIS
vtprtoff [ -dDeEhlqQNtvw ] [ -L vtprintcap ] [ -T termtype ] [ -V device ] vtprton [ -dDeEhlqQNtvw ] [ -L vtprintcap ] [ -T termtype ] [ -V device ] DESCRIPTION
vtprtoff is a simple program that turns off (or on) redirection of ASCII text to a printer connected to a terminal or terminal emulator. It uses terminal escape sequences to achieve this end. OPTIONS
-d Use the tty device file instead of stdout for output. This is defined as /dev/tty on this system. (This is operating system spe- cific and may vary from system to system.) -D Use the stdout stream for output, rather than a tty device file. -e Forces vtprtoff to ignore the TERM environment variable and use the builtin control codes instead. -E Undoes the effect of the -e option, which allows vtprtoff to attempt to find an entry in /etc/vtprintcap for the TERM value and use the corresponding control codes. -h Print out a simple usage message. -l Print out the license agreement. -L vtprintcap Specifies an alternate file to use instead of /etc/vtprintcap. -q Quiet mode. Suppress various status messages from being displayed. -Q Cancels the effect of the -q option, allowing normal progress reporting to occur. -t Force the use of the TERM variable to perform a look up of the control sequences to be used in /etc/vtprintcap. If an entry in that file can't be found, vtprtoff will abort with an error. -T termtype Use the value of termtype instead of the value of the TERM environment variable when performing lookups in /etc/vtprintcap. -v Display version information. -V device Specifies an alternate device file instead of /dev/tty to use. -w Display important warranty waiver information. NO WARRANTY! ENVIRONMENT
TERM the type of the terminal vtprtoff will assume is being used. VTPRINT string of options to be used by vtprtoff. AUTHOR
vtprtoff was written by Garrett D'Amore, on June 5, 1994 and last modified on October 25, 1994. It is heavily derived from a similar pro- gram, called lprint, by the same author. He can be reached via Internet e-mail at garrett@sciences.sdsu.edu. DISTRIBUTION
The latest version of vtprtoff is available as part of the vtprint package, and can be obtained by anonymous ftp at ftp.sdsu.edu in the /pub/vtprint directory. Please read the INDEX and README files before downloading. If you do not have ftp availability, then you can request a uuencoded copy of vtprint be sent to you via e-mail from the author. The author is also willing to make other arrangements as needed, within certain limitations. COPYRIGHT
vtprtoff is copyrighted 1994, by Garrett D'Amore. It may be freely redistributed or modified, so long as this and any other copyright notices are included in their original form with the program. The user is granted the right to use this program without limitation. DISCLAIMER
vtprtoff is provided WITHOUT WARRANTY. The user agrees to indemnify the author from any claims of damage or loss arising from the use of or inability to use this program. In other words, USE AT YOUR OWN RISK! FILES
/etc/vtprintcap SEE ALSO
lpr(1), vtprint(1), vtprintcap(5) vtprint v2.0.2 25 October 1994 VTPRTOFF(1)
All times are GMT -4. The time now is 08:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy