Sponsored Content
Full Discussion: telnet window size question
Special Forums IP Networking telnet window size question Post 302528188 by Gustav on Monday 6th of June 2011 03:41:15 PM
Old 06-06-2011
telnet window size question

Hello!

I'm writing a small telnet client using Erlang and the gen_tcp library.

I receive IAC WILL ECHO and IAC WILL SUPPRESS_GO_AHEAD
which I respond to.

Then I receive various text output from the server, and then this:

resize: unknown character, exiting.

I'm curious as to why I do not get an IAC request for NAWS according to RFC 1073 - Telnet window size option

I tried sending IAC WILL NAWS to no avail.

Any idea what I can send to the server in order to set the window size?

As I do now have any window, I would like as large window size as possible to ease with parsing the server output.

Cheers,
Gustav
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Different font size in Unix and Window

Hi, i will like to enquire whether anybody got encountered this problem before. When i try to print a report in pdf from window to the printer the size is what i want but when i batch print from Unix , calling a batch job the report that are generated out from the printer is of bigger font , why is... (0 Replies)
Discussion started by: blueberry80
0 Replies

2. Solaris

ioctl() fails to get window size from console login

Hi, I need to get the console window size for an application, for which I used ioctl() by passing the TIOCGWINSZ parameter. The ioctl() function does not fail (returns non zero), but it could not get the window size (gets 0x0). When I tried to verify the window size by the stty -a command, the... (2 Replies)
Discussion started by: diganta
2 Replies

3. Linux

Question regarding window managers

Does anyone know of an article, or tutorial concerning the development of a window manager ? I would like to create my own window manager, and maybe even a small lightweight widget set, but I haven't been able to find any texts containing the theory behind the creation of a new window manager.... (4 Replies)
Discussion started by: NanoSec
4 Replies

4. UNIX for Advanced & Expert Users

Defining window size of telnet / ctelnet

How can I define the size of the terminal window? If I open multiple windows, it should be opened by these defined sizes. I need your help in this. Thanking you in advance. (0 Replies)
Discussion started by: sharif
0 Replies

5. UNIX Desktop Questions & Answers

Resize the default window size

Hi, How can I resize the terminal window's default size in CDE (Solaris)? Regards, Sharif. (1 Reply)
Discussion started by: sharif
1 Replies

6. UNIX Desktop Questions & Answers

How to set size of browser window in mwm?

Hi, When I launch firefox in mwm on VectorLinux 5.8, its window borders stretch just a bit beyond the screen size. My resolution is 800x600. How do I fix this issue so that it always stays within the screen when I launch it? Thank you. (1 Reply)
Discussion started by: nixusr
1 Replies

7. SCO

Cannot type properly in telnet window (windows Xp & SCO Unix)

Hello friends, I am using telnet from windows xp to connect to SCO Unix. Since i am used to telnet environment given by linux from windows, this one is annoying. The cursor movements has no boundary, causing me to type control characters accidentally, which makes it difficult to navigate,... (1 Reply)
Discussion started by: frozensmilz
1 Replies

8. Shell Programming and Scripting

size of the terminal window

Hi, I am programming a script that shows a figure on screen but I would be centered, so What I have to use command to get the size of the window? Thanks a lot, (2 Replies)
Discussion started by: Gengis-Kahn
2 Replies

9. UNIX for Dummies Questions & Answers

How to change the window size of Linux console in VMware?

The console's window size in VMware is too small. How can I change it? I mean changing the window size of pseudo terminals such as tty1, not the kde desktop. I think it may be connected to resolution.But changing resolution in the menu.lst of grub doesn't work. Any ideas? Thanks. (4 Replies)
Discussion started by: vic005
4 Replies

10. UNIX for Dummies Questions & Answers

Putty - window size

Hi Guys, When I use putty and maximize it, then the second half of the emulator window is not utilized and used! I mean the mouse cursor is at the half of the page not at the bottom! i have to once minimize and maximize the window to tell putty that i am going to use the maxmized window...is... (4 Replies)
Discussion started by: messi777
4 Replies
FINGERD(8)						      System Manager's Manual							FINGERD(8)

NAME
fingerd, in.fingerd - remote user information server SYNOPSIS
finger stream tcp nowait nobody /usr/sbin/in.fingerd in.fingerd tcpd finger /usr/sbin/in.fingerd in.fingerd DESCRIPTION
Fingerd is a simple protocol based on RFC742 that provides an interface to the Name and Finger programs at several network sites. The pro- gram is supposed to return a friendly, human-oriented status report on either the system at the moment or a particular person in depth. There is no required format and the protocol consists mostly of specifying a single ``command line''. Fingerd listens for TCP requests at port 79. Once connected it reads a single command line terminated by a <CRLF> which is passed to fin- ger(1). Fingerd closes its connections as soon as the output is finished. If the line is null (i.e. just a <CRLF> is sent) then finger returns a ``default'' report that lists all people logged into the system at that moment. If a user name is specified (e.g. eric<CRLF>) then the response lists more extended information for only that particular user, whether logged in or not. Allowable ``names'' in the command line include both ``login names'' and ``user names''. If a name is ambiguous, all possible derivations are returned. SEE ALSO
finger(1). BUGS
Connecting directly to the server from a TIP or an equally narrow-minded TELNET-protocol user program can result in meaningless attempts at option negotiation being sent to the server, which will foul up the command line interpretation. Fingerd should be taught to filter out IAC's and perhaps even respond negatively (IAC WON'T) to all option commands received. 4.3 Berkeley Distribution May 23, 1986 FINGERD(8)
All times are GMT -4. The time now is 11:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy