From 11c04b0da3684b8922a094dd293773de3214f876 Mon Sep 17 00:00:00 2001 From: Thomas Osterried Date: Thu, 11 Feb 2016 19:00:10 +0100 Subject: UTF-8 support for call. Patch by Cathryn Mataga. 1. Now supports UTF8 or IBM850 as the encoding style over AX25. 1a. Attention was paid to make sure that wide characters worked with East Asian fonts. 2. Now the screen can be resized. correctly. The program no longer crashes when it is resized. 3. Added a scrollback buffer. Use the up and down arrow keys or the page up/page down keys to scroll through history. After the screen begins scrolling, press 'up arrow' to view history. 4. Many visual quirks have been fixed. This version is now dependent on iconv and wide character versions of ncurses, which I think should be everywhere these days. Signed-off-by: Thomas Osterried --- call/call.man | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) (limited to 'call/call.man') diff --git a/call/call.man b/call/call.man index a0ed052..f49de0d 100644 --- a/call/call.man +++ b/call/call.man @@ -42,6 +42,9 @@ Rose node tables. For Rose connects to work must have been used to set a callsign/uid mapping for the userid in use. .SH OPTIONS .TP 10 +.BI "\-8" +UTF-8 encoding (default) +.TP 10 .BI "\-b l|e" Sets the method of backoff to use with AX.25 connections. The default is taken from the port specification, but can be overridden by this option. @@ -57,6 +60,8 @@ Turn on socket level debugging. .BI \-h Selects Slave mode. .TP 10 +.BI \-i +Use IBM850 encoding .BI "\-m s|e" Sets the AX.25 mode to use. The default is taken from the port specification, but can be overridden by this option. Valid values are @@ -68,22 +73,12 @@ for extended (modulus 128) AX.25 operation. .BI "\-p paclen" Specify a specific maximum amount of data to be sent in each AX.25 packet. .TP 10 -.BI "\-s mycall" -Connect using the specified source @@@call@@@ (you may need to be root). -.TP 10 -.BI \-R -Disable all remote commands like autobin (#BIN#), 7plus downloads, //echo, etc. -This is useful for scripting where you just don't like the remote site to trigger uncaught conditions here. -.TP 10 -.BI \-S -Be silent. Useful for using @@@call@@@ in shellscripts (together with option \-r) in order to be really transparent. -.TP 10 -.BI "\-T timeout" -Set idle timeout seconds after a connection will be closed automatically when there's no data being transferred (in- and outbound). If timeout is set to 3600, the connection will close after 1h inactivity. A value of 0.5 is 500ms. -.TP 10 .BI \-r Selects Raw mode. .TP 10 +.BI "\-s mycall" +Connect using the specified source @@@call@@@ (you may need to be root). +.TP 10 .BI \-t Selects Talk mode. .TP 10 @@ -93,6 +88,16 @@ Display the version. .BI "\-w window" Specify a specific AX.25 window for this connection. Only valid in AX.25 mode. .TP 10 +.BI \-S +Be silent. Useful for using @@@call@@@ in shellscripts (together with option \-r) in order to be really transparent. +.TP 10 +.BI \-R +Disable all remote commands like autobin (#BIN#), 7plus downloads, //echo, etc. +This is useful for scripting where you just don't like the remote site to trigger uncaught conditions here. +.TP 10 +.BI "\-T timeout" +Set idle timeout seconds after a connection will be closed automatically when there's no data being transferred (in- and outbound). If timeout is set to 3600, the connection will close after 1h inactivity. A value of 0.5 is 500ms. +.TP 10 .BI "\-W" Wait for remote disconnect even if stdin is closed. Normaly, "echo q | @@@call@@@ ax0 db0fhn" closes immediately after "echo q" terminates; thus we never see the greeting from db0fhn. With the -W option, @@@call@@@ waits until the ax25-connection is disconnected (i.e. db0fhn disconnects after "q" command). Very useful for scripting. You might like to combine it with the -T option. .LP @@ -120,6 +125,9 @@ Change to Slave mode .BI ~2 Change to Talk mode .TP 16 +.BI ~8 +UTF-8 encoding +.TP 16 .BI ~a Start a file transfer (Autobin) .TP 16 @@ -132,6 +140,9 @@ Close the logfile .BI ~h List escapes .TP 16 +.BI ~i +IBM850 encoding +.TP 16 .BI "~o [filename]" Open a logfile (default 'logfile.txt') .TP 16 -- cgit v1.2.3