Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 07-19-2021, 10:08 PM
Linda's Avatar
Linda Linda is offline
Registered User
 
Join Date: Sep 2004
Location: SF-Bay Area/CA
Posts: 31
Question Why isn't SecCRT recognizing tabs? (anymore)?

SecCRT is usually pretty good about preserving the characters that are sent
to the screen, but unless I don't understand something, I'm not seeing the tab-char when it is output to the screen.

Example:
> echo -e "0\t1\t2\t$"|hexdump -C
00000000 30 09 31 09 32 09 24 0a |0.1.2.$.|
00000008
> echo -e "0\t1\t2\t$"
0 1 2 $
> hexdump -C
0 1 2 $
00000000 30 20 20 20 20 20 20 20 31 20 20 20 20 20 20 20 |0 1 |
-----
So first echo directly into hexdump shows tab, 09 between numbers.
Second echo went to screen and I did a select (copy)
then ran hexdump again, and pasted the copy into hexdump.
Now I see the tab expanded into spaces. :-(

Now for converse examples.

gvim->gvim, tabs preserved.
gvim->tty-based vim in SecCRT window: preserved!
tab-containing text (from gvim) pasted into 'hexdump -C' -- shows the
09 for tabs.

.....So I hallucinated that this used to work...and it sorta does --- if the text
contains tabs, they get expanded as such when I past them. But selecting
tab-text on the screen and copying it seems to lose the characters that are on
the screen.
Has it always been that way? I note that changing the tab stop works correctly on
expansion -- it seems to be trying to copy them off the page.

With other tty emulators and SCrt of the past, a line-break generated by a line-feed vs. wrap-around wasn't distinguished upon copy/past either, but now it is...is something missing for tabs?

p.s. seems to be same with bash or ash. I am remoting into a linux box running a 5.13 kernel from Win7x64SP1.

stty settings are:
> stty -a
speed 38400 baud; rows 45; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^X; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Y; rprnt = ^R;
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke -flusho -extproc
Ishtar:cache/suse> echo $TERM
xterm-256color

Last edited by Linda; 07-19-2021 at 10:14 PM. Reason: added config info @ end
  #2  
Old 07-20-2021, 01:27 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,099
Linda,

Please send email to support@vandyke.com for further assistance with this issue.

--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Closed Thread

Tags
copy , select , tab

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:41 PM.