Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-18-2003, 03:13 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 14
Rep:
|
Serial Devices
I have two questions regarding serial devices. This is on a Slackware 9.0 system.
1. I have a WYSE WY-55 serial terminal connected to my system. I am currently using VT100 emulation for this terminal, but certain things just do not seem to be interpreted correctly. For instance, I get a lot of "\n"'s at the end of lines, which looks like a newline command that is not being interpreted correctly by the terminal. I was wondering what other terminal emulation "modes" that I should try with this WY-55 terminal. I do not even know what other modes are available other than like VT320.
2. The computer that I am using seems to have a card in it to provide an additional serial and parallel port for the computer. I tried plugging the WY-55 terminal into this serial connnection, but could not get anything to work. Does anyone have some information on how I can check to see if Slack is even recognizing my additional serial port, I suspect that it is not. Any information on how to get this second serial port will be greatly appreciated!!
|
|
|
08-18-2003, 03:38 PM
|
#2
|
Member
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111
Rep:
|
1. Try setting your TERM environment variable to "wy55". If that doesn't work, try "wy50". I know the WYSE WY-50 is supported, and that should be close enoough to the WY-55 model to work. At least, it will work better than the VT100.
There are two databases of terminal support information in Linux: termcap and terminfo. Termcap data is in /etc/termcap, and terminfo data is in directories under /usr/share/terminfo. If you look in these, you'll see that there's a huge number of supported terminal types. If you find that the wy50 setting does most things right, but a few things are still broken, and you have docs on that terminal that tell how to program those features, you can create a termcap or terminfo description for the wy55 that does things just right. Like you really want to get into that! :-)
2. It's possible that the system didn't see that serial line. Figure out which device it is (one of /dev/ttyS?) and echo something to it to see if it shows up on the WY-55. If not, try another ttyS? number until you get the right one. Then you have to arrange for a getty program to be running on that device so that the system will present a login: prompt on the terminal. This is usually done in /etc/inittab. You'll see some mgetty lines in there for the virtual terminals running on your system's console. You can add similar lines for the serial device your terminal is on.
Hope this helps!
|
|
|
All times are GMT -5. The time now is 09:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|