telnet window size question


 
Thread Tools Search this Thread
Special Forums IP Networking telnet window size question
# 1  
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
# 2  
Old 06-06-2011
Not all telnet servers abide by every conceivable option.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question