NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/56496: etcupdate(8) merge formatting issue



The following reply was made to PR bin/56496; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/56496: etcupdate(8) merge formatting issue
Date: Sat, 20 Nov 2021 00:01:45 +0700

     Date:        Fri, 19 Nov 2021 11:35:01 +0000 (UTC)
     From:        Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
     Message-ID:  <20211119113502.0A5581A923A%mollari.NetBSD.org@localhost>
 
   |  That would be great, except for whatever reason `tset -Qs -` output=20
   |  prepends the terminal string:
 
 You really shoukd read tset(1)...
 
 
      The options are as follows:
 
      -     The terminal type is displayed to the standard output, and the
            terminal is not initialized in any way.
 
      -I    Do not send the terminal or tab initialization strings to the
            terminal.
 
 that's not the complete set obviously.
 
 Note the: "The terminal type is displayed to the standard output"
 This allows (in sh) TERM=$(tset -)  or similar usage in any other
 context.
 
 So try:
 	eval `tset -QIs`
 or whatever the csh syntax is that works.
 
 kre
 


Home | Main Index | Thread Index | Old Index