Stty settings before login


 
Thread Tools Search this Thread
Operating Systems AIX Stty settings before login
# 8  
Old 09-03-2010
Judging from the "stty" values I don't think that AIX is even recognising that this is is is a VDU. The settings are more like a wide-carriage printer/terminal.

Have you considered getting a compatible terminal emulator?
Whether anything free on the Windows distribution will help will depend on the Windows version and whether you need a secure version.
# 9  
Old 09-03-2010
Quote:
Originally Posted by RedCabbage
My $TERM is currently "vt220". I can change it to "vt100" and "vt52" on QVT but, as far as I can tell, all three of them react the same to the return key (certainly after login, I haven't checked the password problem with vt100 or vt52).
Sometimes posible change CR, try. sometimes it's call "send CR"
Sometimes ENTER and ENTER near numeric is not the same.

Sometimes you can change name for your terminal to another name for me can be QVT
1. If can create your name:
- create new terminal QVT in terminfo (or termcap) by copy vt100 and modificate one (I not remember) of "lf", "cr" or "nel".
compile terminfo

2. if can't create your name:
- change one terminal in terminfo (or termcap) can for vt100 by change one of "lf", "cr" or "nel" and have hope nobody wants login as vt100.
# 10  
Old 09-06-2010
Quote:
Originally Posted by john1212
Sometimes posible change CR, try. sometimes it's call "send CR"
Sometimes ENTER and ENTER near numeric is not the same.

Sometimes you can change name for your terminal to another name for me can be QVT
1. If can create your name:
- create new terminal QVT in terminfo (or termcap) by copy vt100 and modificate one (I not remember) of "lf", "cr" or "nel".
compile terminfo

2. if can't create your name:
- change one terminal in terminfo (or termcap) can for vt100 by change one of "lf", "cr" or "nel" and have hope nobody wants login as vt100.
I think this is exactly what I needed. I'll have a play and get back...

---------- Post updated at 02:33 PM ---------- Previous update was at 08:55 AM ----------

I've found some documentation on the termcap file and I think that I can sort out my problem that way but the termcap file isn't compiling with the "tic" command. It just gives me the following and hangs without actually updating any of the terminfo files:

Code:
# tic -v7
Working in /usr/share/lib/terminfo
Hash table complete
264 collisions out of 531 entries


Any suggestions?

Edit: Ignore that for a moment...I may have been a bit dumb. It seems I may need to specify where the termcap file is.

Last edited by RedCabbage; 09-06-2010 at 10:40 AM..
# 11  
Old 09-06-2010
I may be wrong but I believe that you need to know how the terminal emulator identifies itself when sent a "what are you" enquiry. This is because your original problem is before login.

This interesting termcap file may help or confuse. It does mention assorted obsolete Qume terminals including a both QVT VDUs and amazingly a Qume daisy wheel printer terminal.

http://www.cygwin.com/ml/cygwin/1998...g00364/termcap
# 12  
Old 09-06-2010
It seems to me that terminfo is more often used than termcap.
Lately it's true for all OS. AIX and application on it always prefer terminfo.

ONLY ONE THING MUST DO:
QVT/Term->DefaultSettings->Display->Newline can use CRLF/LF/CR
It's all.
# 13  
Old 09-07-2010
Quote:
Originally Posted by john1212
It seems to me that terminfo is more often used than termcap.
Lately it's true for all OS. AIX and application on it always prefer terminfo.

ONLY ONE THING MUST DO:
QVT/Term->DefaultSettings->Display->Newline can use CRLF/LF/CR
It's all.

Yes, I've tried all three of those settings. It's currently on "LF", but that doesn't stop it from sending a "CR" character as well!

We do have a termcap file so I've assumed that's what I should be working from, but I notice that the information in there doesn't match the compiled data in /usr/share/lib/terminfo/*. Is there another source file somewhere?

The most obvious solution is, as suggested, use a better terminal emulator, but the customer is refusing that one.

Last edited by RedCabbage; 09-07-2010 at 04:56 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. OS X (Apple)

Where does OS X store LDAP and login settings?

I'm writing scripts to check for compliance with the DISA STIG. Several items refer to manually click-click-clicking to verify settings regarding LDAP or accounts like guest account disabled, "Allow Guests to connect to shared folders", "Display login window as:", "Show input menu in login... (7 Replies)
Discussion started by: jnojr
7 Replies

2. Shell Programming and Scripting

How to use stty?

Hi , I have shell scripting in linux box. This script is mentioned that should be run under the one particular user. If you run that mentioned user location then it is working fine.... Suppose if you are trying run from some other user like as mentioned below sudo su - gxadm -c script.sh ... (1 Reply)
Discussion started by: Mani_apr08
1 Replies

3. Shell Programming and Scripting

Use of stty vs trap in script-driven login menu

My employers would like me to selectively run one of several different (already-existing) Korn Shell menu-driven scripts out of the user's .profile file, depending on some yet-to-be-specified user critieria. I've never done this kind of thing, but I have the existing scripts (among other... (5 Replies)
Discussion started by: Clovis_Sangrail
5 Replies

4. OS X (Apple)

What settings are required for login to CVS using Terminal in Mac OS X?

Hi All, I want to login to CVS using terminal. I am executing the following command in the terminal :- export CVSROOT=: pserver:ags_rd@istcvs.corp.apple.com:/istcvs/CVSHOME cvs login But i get the following error : Afreens-iMac:buildTest Afreen$ export CVSROOT=:... (1 Reply)
Discussion started by: Afreen
1 Replies

5. Shell Programming and Scripting

What settings are required for login to CVS using Terminal in Mac OS X?

Hi All, I want to login to CVS using terminal. I am executing the following command in the terminal :- export CVSROOT=: pserver:ags_rd@istcvs.corp.apple.com:/istcvs/CVSHOME cvs login But i get the following error : Afreens-iMac:buildTest Afreen$ export CVSROOT=:... (3 Replies)
Discussion started by: Afreen
3 Replies

6. OS X (Apple)

Using stty

Hello, I am trying to configure a serial port, for mac os x 10.6. I believe I can use the stty command to look at serial port configuration and or change the serial port settings. I read the man page, but I don't really know what I am doing. Any help? (0 Replies)
Discussion started by: jamesapp
0 Replies

7. UNIX for Advanced & Expert Users

stty: : Not a typewriter -- Help please

Hi All, I have been runing the same set of program using the same auto profile for an year. Now when i run the same set of process , i getting the below error Not a terminal stty: : Not a typewriter stty: : Not a typewriter ksh: jil: not found ksh: sendevent: not found logout... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies

8. UNIX for Advanced & Expert Users

stty erase r

after hitting this command...on pressing r acts as a backspace character.... how to disable this function (5 Replies)
Discussion started by: bishweshwar
5 Replies

9. UNIX for Dummies Questions & Answers

stty

I am trying to set my backspace key as the erase key right now I have to type CONTROL-H to delete. Can you please tell me the command to set my backspace as the erase key...... (1 Reply)
Discussion started by: frank
1 Replies
Login or Register to Ask a Question