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
Regexp::Common::URI::telnet(3)				User Contributed Perl Documentation			    Regexp::Common::URI::telnet(3)

NAME
Regexp::Common::URI::telnet -- Returns a pattern for telnet URIs. SYNOPSIS
use Regexp::Common qw /URI/; while (<>) { /$RE{URI}{telnet}/ and print "Contains a telnet URI. "; } DESCRIPTION
$RE{URI}{telnet} Returns a pattern that matches telnet URIs, as defined by RFC 1738. Telnet URIs have the form: "telnet:" "//" [ user [ ":" password ] "@" ] host [ ":" port ] [ "/" ] Under "{-keep}", the following are returned: $1 The complete URI. $2 The scheme. $3 The username:password combo, or just the username if there is no password. $4 The username, if given. $5 The password, if given. $6 The host:port combo, or just the host if there's no port. $7 The host. $8 The port, if given. $9 The trailing slash, if any. REFERENCES
[RFC 1738] Berners-Lee, Tim, Masinter, L., McCahill, M.: Uniform Resource Locators (URL). December 1994. SEE ALSO
Regexp::Common::URI for other supported URIs. AUTHOR
Damian Conway (damian@conway.org) MAINTAINANCE
This package is maintained by Abigail (regexp-common@abigail.be). BUGS AND IRRITATIONS
Bound to be plenty. LICENSE and COPYRIGHT This software is Copyright (c) 2001 - 2009, Damian Conway and Abigail. This module is free software, and maybe used under any of the following licenses: 1) The Perl Artistic License. See the file COPYRIGHT.AL. 2) The Perl Artistic License 2.0. See the file COPYRIGHT.AL2. 3) The BSD Licence. See the file COPYRIGHT.BSD. 4) The MIT Licence. See the file COPYRIGHT.MIT. perl v5.18.2 2013-03-08 Regexp::Common::URI::telnet(3)
All times are GMT -4. The time now is 11:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy