home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 243,222 of 243,242   
   Richard Harnden to James Kuyper   
   Re: My experimental HMAC cipher in C99,    
   18 Feb 26 19:26:37   
   
   XPost: sci.crypt   
   From: richard.nospam@gmail.invalid   
      
   On 18/02/2026 18:58, James Kuyper wrote:   
   > On 2026-02-18 13:06, Scott Lurndal wrote:   
   >> jayjwa  writes:   
   > ...   
   >>> [12:24] jayjwa@ibushi:~/hmac$ gcc -pipe -o ct_hmac_sha2_512   
   >>   
   >> You'd have more command line to work with if you set PS1="$ ".   
   >>   
   >> I mean, surely you know which host you're logged into and   
   >> which user you logged in with without a constant reminder   
   >> eating up half the command line :-)   
   >   
   > It depends very much upon your work environment. I've worked in   
   > environments where I might often be logged into multiple hosts in   
   > different windows at the same time, and in some cases there were   
   > multiple different users I might have been logged into a given host.   
   >   
   >> In my case, the current host and  working directory is stashed in the   
   >> xterm title bar automatically by a shell function wrapping the cd command.   
   >   
   >   
   > I agree that the title bar is a more appropriate location for current   
   > host and current user information. However, I've found it useful to be   
   > able to tell directly which directory was the current one when I issued   
   > each command. If the cd (or pushd or popd) command is still on screen,   
   > it can be figured out, but it is easier when it's part of the prompt. Of   
   > course, the value of this depends upon how much work you do at the   
   > command line. While I was working on NASA projects, most of my work was   
   > done at the command line.   
      
   I have a multi-line PS1 for exactly those reasons.  Wastes a bit of   
   vertical space, but I want the constant reminder about   
   this-host-is-production and which directory I'm in.   
      
   Having info in the title very useful when the window is minimised.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca